#439: Last wep key gets used with multiple stations
----------------------------------+-----------------------------------------
Reporter: Ron Dippold | Owner: mentor
Type: defect | Status: assigned
Priority: minor | Milestone:
Component: madwifi: driver | Version: trunk
Resolution: | Keywords:
Patch_attached: 0 |
----------------------------------+-----------------------------------------
Comment (by tharvey):
I looked into this as well using an AR5212 card (SR5). This same card can
support 4+ AP's each with their own set of WEP keys using Microtik so I
wouldn't say that the hardware doesn't support this.
What I found is that if_ath.c uses the first 4 keycache slots of a device
for WEP, so even though each VAP has 4 unique key's setting them simply
overwrites the first 4 keycache slots for the device. A one-line change
removing k->wk_keyix = kid in 'ieee80211_ioctl_siwencode' is enough to
make each VAP allocate its own keycache slot, however this breaks WEP. An
additional change is required in ath_newstate to obtain the correct
keycache slot prior to calling ath_hal_keysetmac but doing so still does
not sovle the issue. I did verify that these changes work if SW WEP
decrypt is used.
I'm uncertain exacly how the HW WEP decrypt decides what key to use to
decrypt a frame and how that interacts with the keycache. One would
assume that in the case of WEP using the wep key index ad the keycache
slot is a hardware limitation, but then how does Microtik's driver handle
more than 4 WEP keys?
--
Ticket URL: <http://madwifi.org/ticket/439>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets