]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix ibss beacon next tbtt
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Fri, 13 Apr 2012 07:46:34 +0000 (13:16 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:38:42 +0000 (14:38 -0400)
commit37956fe578a87e599b1c8a20d32b2d03bb32c218
tree4adc959cb6b7c8a8beea82cfb4f96d6f068f51a5
parent6e6fb29fe2f766e963a6db02dec5a5fbd0160b66
ath9k: fix ibss beacon next tbtt

Sync-up ibss beacon timer with the beacon frame's timestamp. When the
node acts as joiner, it has to sync with the received beacon timestamp
instead of reading tsf from hw. As the hw tsf wont wont be update till
bssid is configured. This patch programs hw tsf with the received beacon
timestamp if beacon timers are yet to be configured.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c