wl1251: Increase the beacon loss timeout value and handle regain event
authorVidhya Govindan <vidhya.govindan@nokia.com>
Tue, 17 Nov 2009 16:49:23 +0000 (18:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:22 +0000 (17:09 -0500)
commit33d51facad8360cb9c55fd696431e2a477f16cc1
tree7f74accddf8ce730dc7f526e205f5ddda52ebaab
parent72b57344a2a1f98c6838c2268fdc5ed5fae54cd8
wl1251: Increase the beacon loss timeout value and handle regain event

This patch increases the number of beacons to be missed before generating
SYNC TIMEOUT event. It increases the beacon timeout period to 500
microseconds, which gives enough time for the firmware to receive probe
response or beacon. Also handled the regain event from firmware once it
receives a probe response or beacon.

Signed-off-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Reviewed-by: Janne Ylalehto <janne.ylalehto@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_acx.h
drivers/net/wireless/wl12xx/wl1251_event.c