I am developping the madwifi based on AR5212 cards, madwifi-ng, Ubuntu 10.04
32-bit with the kernel (2.6.32).
I want to randomly change MAC addresses of a client when it communicates
with an AP.
Now the problem is that Group Key Handshake can not be completed because of
I use not only the wireshark to sniff the channel, but also madwifi
The two handshakes of WAP-PSK is OK. The pairwise key handshake completed
Then for the AP, it sent a 1/2 msg of Group Key Handshake. The client
After that, the client set a TKIP key and sent a response to AP. The msg is
about EAPOL key information. I think the msg is right.
But on the AP side, AP received the msg with different contents. The detail
Sending by client (wireshark on the client side)
Azurewav_62:ed:d1 ----> 06:20:a6:54:68:46 EAPOL Key
Received by ap (wireshark on the ap side)
Azurewav_62:ed:d1 -----> 06:20:a6:54:68:46 LLC I P, N(R)=91, N(S)=125;
DSAP 0xc6 Group, SSAP ox92 Command
>From above information, it seems the EAPOL frame is regarded as a LLC frame
on the AP side.
I also found that when AP received this frame, there is a interrupt
"HAL_INT_RXKCM" which means "Key cache missing" on the AP side.
I do not know what cause this error. It only appears in Group key handshake.
For pairwise key handshake, EAPOL frames are all right.
Does anyone can give me some suggestions to solve this problem?
Thank you very much.