diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-06-10 10:09:22 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-21 05:51:41 -0400 |
commit | 66340e5b259bd7ca67cf0ca079dd3997fa198d4b (patch) | |
tree | e11c15268619ba6998b51cebf1496849932d7ddf /drivers/net/wireless/ti/wl18xx/main.c | |
parent | 26b5858a67e4316ecd8159e2c0dc5591ef68226a (diff) |
wlcore: allow setting sleep_auth before interface init
Hold a value for sta_sleep_auth that is amenable to change by debugfs.
When detecting a legal value in this variable on interface init, use it
as an override value for sleep_auth.
This makes debugging more intuitive using the debugfs value.
Increment the conf version since we added an element to the conf
structure.
Note: An AP going up will always set sleep_auth to PSM_CAM.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/main.c')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c index b2ccff7d6188..d3f171ddebae 100644 --- a/drivers/net/wireless/ti/wl18xx/main.c +++ b/drivers/net/wireless/ti/wl18xx/main.c | |||
@@ -372,6 +372,7 @@ static struct wlcore_conf wl18xx_conf = { | |||
372 | .forced_ps = false, | 372 | .forced_ps = false, |
373 | .keep_alive_interval = 55000, | 373 | .keep_alive_interval = 55000, |
374 | .max_listen_interval = 20, | 374 | .max_listen_interval = 20, |
375 | .sta_sleep_auth = WL1271_PSM_ILLEGAL, | ||
375 | }, | 376 | }, |
376 | .itrim = { | 377 | .itrim = { |
377 | .enable = false, | 378 | .enable = false, |