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:
committed by
John W. Linville
parent
3a37495268
commit
195e294d21
@ -569,6 +569,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
||||
|
||||
local->hw.conf.listen_interval = local->hw.max_listen_interval;
|
||||
|
||||
local->hw.conf.dynamic_ps_forced_timeout = -1;
|
||||
|
||||
result = sta_info_start(local);
|
||||
if (result < 0)
|
||||
goto fail_sta_info;
|
||||
|
Reference in New Issue
Block a user