]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ath9k: assign keycache slots to unencrypted stations
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Apr 2011 21:28:10 +0000 (23:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Apr 2011 19:38:06 +0000 (15:38 -0400)
commit93ae2dd2230393566738a5f211ffbaa33b056d56
tree7dc59fdc6e07d2919b16e2def11258c2caa5d615
parent5519541d5a5f19893546883547e2f0f2e5934df7
ath9k: assign keycache slots to unencrypted stations

Frame filtering relies on having a valid destination index (keycache slot),
to keep track of the destination. Assigning a keycache slot (configured
to unencrypted, with no key data attached) improves powersave handling in
AP mode with no encryption.
The dummy keycache entry for a station is cleared, when a real key gets
added.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c
drivers/net/wireless/ath/key.c