]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix processing of TX PS null data frames
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 24 Nov 2009 07:53:25 +0000 (02:53 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Nov 2009 20:04:49 +0000 (15:04 -0500)
commit8e0e7475570563d5d60ef9e38b573a3dff1fc8e4
tree20f92622698f9f07524db55691e0322b298031db
parent2b0efafd80fb7ba7535a5dacd28306a42aeee837
ath9k: fix processing of TX PS null data frames

When mac80211 was telling us to go into Powersave we listened
and immediately turned RX off. This meant hardware would not
see the ACKs from the AP we're associated with and hardware
we'd end up retransmiting the null data frame in a loop
helplessly.

Fix this by keeping track of the transmitted nullfunc frames
and only when we are sure the AP has sent back an ACK do we
go ahead and shut RX off.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Vivek Natarajan <Vivek.Natarajan@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/common.h
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/mac.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/reg.h
drivers/net/wireless/ath/ath9k/xmit.c