OpenCloudOS-Kernel/drivers/net/wireless
Johannes Berg 5a3d9882b8 iwlagn: rewrite HW crypto
As I just discovered while doing WoWLAN, HW crypto
is done wrong for GTKs: they should be programmed
for the AP station ID (in the managed mode case)
and the HW can actually deal with multiple group
keys per station as well (which is useful in IBSS
RSN but that I've chosen not to use this).

To fix all this, modify the way keys are sent to
the device and key offsets are allocated. After
these changes, key offsets are stored into the
hw_key_idx which we can then track for the key
lifetime, not relying on our sta_cmd array. WEP
default keys get special treatment, of course.

Additionally, since I had the API for it, we can
now pre-fill TKIP phase 1 keys for RX now that we
can obtain the P1K from mac80211, a capability I
had added for WoWLAN initially.

Finally, some keys simply don't need to be added
into the device's key cache -- a key that won't
be used for RX is only needed in the TX header,
so "pretend" to have accepted any key without
adding it into the device -- no need to use up
key space there for it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
2011-07-21 07:31:25 -07:00
..
ath wireless: ath9k: use %pM to print MAC 2011-07-20 15:04:39 -04:00
b43 b43: bcma: implement full core reset 2011-07-19 17:03:12 -04:00
b43legacy b43legacy: Fix warnings from gcc 4.6.0 2011-06-01 15:12:30 -04:00
hostap net: call dev_alloc_name from register_netdevice 2011-05-05 10:57:45 -07:00
ipw2x00 ipw2100: Fix command list for debugging 2011-07-06 15:05:43 -04:00
iwlegacy iwlegacy: Add missing comma between constant string array 2011-07-13 14:49:34 -04:00
iwlwifi iwlagn: rewrite HW crypto 2011-07-21 07:31:25 -07:00
iwmc3200wifi Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-24 16:47:54 -04:00
libertas libertas: only enable mesh when interface is active 2011-07-20 15:04:41 -04:00
libertas_tf wireless: unify QoS control field definitions 2011-06-27 15:09:39 -04:00
mwifiex wireless: mwifiex: print hw address via %pM 2011-07-20 15:04:40 -04:00
orinoco orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
p54 Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-24 16:47:54 -04:00
prism54
rt2x00 rt2800usb: Add new device ID for Belkin 2011-07-11 15:02:21 -04:00
rtl818x
rtlwifi wireless: rtlwifi: throw away MAC_FMT and use %pM instead 2011-07-20 15:04:38 -04:00
wl12xx Merge branch 'for-linville' of git://git.kernel.org/pub/scm/linux/kernel/git/luca/wl12xx 2011-07-08 11:05:20 -04:00
wl1251
zd1211rw zd1211rw: detect stalled beacon interrupt faster 2011-06-22 16:09:47 -04:00
Kconfig
Makefile
adm8211.c
adm8211.h
airo.c Merge branch 'for-davem' of ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2011-05-25 13:28:55 -04:00
airo.h
airo_cs.c
at76c50x-usb.c
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
mac80211_hwsim.c mac80211: restrict advertised HW scan rates 2011-06-27 15:09:39 -04:00
mac80211_hwsim.h mac80211_hwsim driver support userspace frame tx/rx 2011-06-01 15:11:00 -04:00
mwl8k.c mwl8k: Fixing sta dereference when ieee80211_tx_info->control.sta is NULL 2011-07-15 13:38:30 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c cfg80211: Use consistent BSS matching between scan and sme 2011-05-19 10:37:18 -04:00
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h