mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
mac80211: Determine dynamic PS timeout based on ps-qos network latency
Determine the dynamic PS timeout based on the configured ps-qos network latency. For backwards wext compatibility, allow the dynamic PS timeout configured by the cfg80211 to overrule the automatically determined value. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
3a37495268
commit
195e294d21
4 changed files with 29 additions and 3 deletions
|
@ -668,6 +668,9 @@ enum ieee80211_smps_mode {
|
|||
* @dynamic_ps_timeout: The dynamic powersave timeout (in ms), see the
|
||||
* powersave documentation below. This variable is valid only when
|
||||
* the CONF_PS flag is set.
|
||||
* @dynamic_ps_forced_timeout: The dynamic powersave timeout (in ms) configured
|
||||
* by cfg80211 (essentially, wext) If set, this value overrules the value
|
||||
* chosen by mac80211 based on ps qos network latency.
|
||||
*
|
||||
* @power_level: requested transmit power (in dBm)
|
||||
*
|
||||
|
@ -687,7 +690,7 @@ enum ieee80211_smps_mode {
|
|||
*/
|
||||
struct ieee80211_conf {
|
||||
u32 flags;
|
||||
int power_level, dynamic_ps_timeout;
|
||||
int power_level, dynamic_ps_timeout, dynamic_ps_forced_timeout;
|
||||
int max_sleep_period;
|
||||
|
||||
u16 listen_interval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue