]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: allow setting sleep_auth before interface init
authorArik Nemtsov <arik@wizery.com>
Sun, 10 Jun 2012 14:09:22 +0000 (17:09 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 21 Jun 2012 09:51:41 +0000 (12:51 +0300)
commit1951e35be675142c0859cfd57e25f025b76699f7
treee11c15268619ba6998b51cebf1496849932d7ddf
parentba13ec002a451a26a7554db0dbacb1d7d9e6a8be
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>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wlcore/acx.c
drivers/net/wireless/ti/wlcore/acx.h
drivers/net/wireless/ti/wlcore/conf.h
drivers/net/wireless/ti/wlcore/debugfs.c
drivers/net/wireless/ti/wlcore/init.c
drivers/net/wireless/ti/wlcore/main.c