ath9k: Adjust AP beacon tsf based on station context
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Jun 2014 10:48:08 +0000 (16:18 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:19 +0000 (15:49 -0400)
commit58b57375285223badddebdf8d905a864c271b87d
tree38209c32c4f0a58dca0b2715165df6ca92de47a5
parent8eab25108e374403f759dd7de01084a1f3ba6d68
ath9k: Adjust AP beacon tsf based on station context

In multi channel context (AP + STA case), adjust the TSF time of
the AP chanctx to keep its beacons at half beacon interval offset
relative to the STA chanctx.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/channel.c
drivers/net/wireless/ath/ath9k/recv.c