Add more wpa_auth debugging messages
This commit is contained in:
parent
48b84f18a3
commit
1aae01fc04
1 changed files with 13 additions and 1 deletions
|
@ -1978,8 +1978,11 @@ SM_STEP(WPA_PTK)
|
||||||
if (sm->Init)
|
if (sm->Init)
|
||||||
SM_ENTER(WPA_PTK, INITIALIZE);
|
SM_ENTER(WPA_PTK, INITIALIZE);
|
||||||
else if (sm->Disconnect
|
else if (sm->Disconnect
|
||||||
/* || FIX: dot11RSNAConfigSALifetime timeout */)
|
/* || FIX: dot11RSNAConfigSALifetime timeout */) {
|
||||||
|
wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG,
|
||||||
|
"WPA_PTK: sm->Disconnect");
|
||||||
SM_ENTER(WPA_PTK, DISCONNECT);
|
SM_ENTER(WPA_PTK, DISCONNECT);
|
||||||
|
}
|
||||||
else if (sm->DeauthenticationRequest)
|
else if (sm->DeauthenticationRequest)
|
||||||
SM_ENTER(WPA_PTK, DISCONNECTED);
|
SM_ENTER(WPA_PTK, DISCONNECTED);
|
||||||
else if (sm->AuthenticationRequest)
|
else if (sm->AuthenticationRequest)
|
||||||
|
@ -2015,6 +2018,8 @@ SM_STEP(WPA_PTK)
|
||||||
SM_ENTER(WPA_PTK, PTKSTART);
|
SM_ENTER(WPA_PTK, PTKSTART);
|
||||||
else {
|
else {
|
||||||
wpa_auth->dot11RSNA4WayHandshakeFailures++;
|
wpa_auth->dot11RSNA4WayHandshakeFailures++;
|
||||||
|
wpa_auth_logger(sm->wpa_auth, sm->addr, LOGGER_INFO,
|
||||||
|
"INITPMK - keyAvailable = false");
|
||||||
SM_ENTER(WPA_PTK, DISCONNECT);
|
SM_ENTER(WPA_PTK, DISCONNECT);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -2035,6 +2040,9 @@ SM_STEP(WPA_PTK)
|
||||||
else if (sm->TimeoutCtr >
|
else if (sm->TimeoutCtr >
|
||||||
(int) dot11RSNAConfigPairwiseUpdateCount) {
|
(int) dot11RSNAConfigPairwiseUpdateCount) {
|
||||||
wpa_auth->dot11RSNA4WayHandshakeFailures++;
|
wpa_auth->dot11RSNA4WayHandshakeFailures++;
|
||||||
|
wpa_auth_vlogger(sm->wpa_auth, sm->addr, LOGGER_DEBUG,
|
||||||
|
"PTKSTART: Retry limit %d reached",
|
||||||
|
dot11RSNAConfigPairwiseUpdateCount);
|
||||||
SM_ENTER(WPA_PTK, DISCONNECT);
|
SM_ENTER(WPA_PTK, DISCONNECT);
|
||||||
} else if (sm->TimeoutEvt)
|
} else if (sm->TimeoutEvt)
|
||||||
SM_ENTER(WPA_PTK, PTKSTART);
|
SM_ENTER(WPA_PTK, PTKSTART);
|
||||||
|
@ -2058,6 +2066,10 @@ SM_STEP(WPA_PTK)
|
||||||
else if (sm->TimeoutCtr >
|
else if (sm->TimeoutCtr >
|
||||||
(int) dot11RSNAConfigPairwiseUpdateCount) {
|
(int) dot11RSNAConfigPairwiseUpdateCount) {
|
||||||
wpa_auth->dot11RSNA4WayHandshakeFailures++;
|
wpa_auth->dot11RSNA4WayHandshakeFailures++;
|
||||||
|
wpa_auth_vlogger(sm->wpa_auth, sm->addr, LOGGER_DEBUG,
|
||||||
|
"PTKINITNEGOTIATING: Retry limit %d "
|
||||||
|
"reached",
|
||||||
|
dot11RSNAConfigPairwiseUpdateCount);
|
||||||
SM_ENTER(WPA_PTK, DISCONNECT);
|
SM_ENTER(WPA_PTK, DISCONNECT);
|
||||||
} else if (sm->TimeoutEvt)
|
} else if (sm->TimeoutEvt)
|
||||||
SM_ENTER(WPA_PTK, PTKINITNEGOTIATING);
|
SM_ENTER(WPA_PTK, PTKINITNEGOTIATING);
|
||||||
|
|
Loading…
Reference in a new issue