'\" t .\" Title: ieee80211_sta_ps_transition .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Advanced driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_STA_PS_TRA" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Advanced driver interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ieee80211_sta_ps_transition \- PS transition for connected sta .SH "SYNOPSIS" .HP \w'int\ ieee80211_sta_ps_transition('u .BI "int ieee80211_sta_ps_transition(struct\ ieee80211_sta\ *\ " "sta" ", bool\ " "start" ");" .SH "ARGUMENTS" .PP \fIsta\fR .RS 4 currently connected sta .RE .PP \fIstart\fR .RS 4 start or stop PS .RE .SH "DESCRIPTION" .PP .PP When operating in AP mode with the \fBIEEE80211_HW_AP_LINK_PS\fR flag set, use this function to inform mac80211 about a connected station entering/leaving PS mode\&. .PP This function may not be called in IRQ context or with softirqs enabled\&. .PP Calls to this function for a single hardware must be synchronized against each other\&. .SH "RETURN" .PP 0 on success\&. \-EINVAL when the requested PS mode is already set\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br