For WPA/WPA2
, wpa_supplicant
can give message of wrong-password when the connection fails in the HANDSHAKE procedure.
But when I try the WEP
with a wrong password, the wpa_supplicant
can get to the COMPLETED state without reporting any error
.
I've searched on the internet and the only useful information I got is that someone said that iwconfig
can give the undecrypted packets in the Rx
invalid crypt field.
But when I using WEP
and I type iwconfig,
the Rx
invalid crypt field is 0.
I'm wondering how do those handsets judge wether the WEP password is wrong...