1. NAME

ieee80211_sta_ps_transition - PS transition for connected sta

2. SYNOPSIS

int ieee80211_sta_ps_transition(struct ieee80211_sta *  sta , bool  start );

3. ARGUMENTS

sta
    currently connected sta

start
    start or stop PS

4. DESCRIPTION

When operating in AP mode with the IEEE80211_HW_AP_LINK_PS flag set, use this function to inform mac80211 about a connected station entering/leaving PS mode.

This function may not be called in IRQ context or with softirqs enabled.

Calls to this function for a single hardware must be synchronized against each other.

5. RETURN

0 on success. -EINVAL when the requested PS mode is already set.

6. AUTHOR

Johannes Berg <>
    Author.

7. COPYRIGHT