dbad357b04
receive direction, while software handles WEP in the transmit direction. When net80211 calls rtw's rtw_key_set with a WEP key, I point the key's wk_cipher at our "fake" cipher, rtw_cipher_wep, which is alike to ieee80211_cipher_wep except it provides a different crypto-decapsulation routine, rtw_wep_decap. rtw_wep_decap copies the key passed to it by net80211, clears the key's SWCRYPT flag, and then calls wep_decap. Now wep_decap will decapsulate, but it will *not* re-decrypt. XXX I need to check whether the hardware supports 40-bit WEP, XXX 104-bit WEP, or both, and act accordingly. |
||
---|---|---|
bin | ||
crypto | ||
dist | ||
distrib | ||
doc | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
rescue | ||
sbin | ||
share | ||
sys | ||
tools | ||
usr.bin | ||
usr.sbin | ||
x11 | ||
BUILDING | ||
Makefile | ||
Makefile.inc | ||
UPDATING | ||
build.sh |