Regarding status code in initial SAE confirm message

Fri Sep 3 23:13:23 PDT 2021

Hi All,

What's the importance/use of status code in initial confirm message from the client. Do we need to check for status code == success in confirm message from the client.

Spec does not talk about status code in initial confirm message. It mentions: An SAE Confirm message, with a status code not equal to SUCCESS, shall indicate that a peer rejects a previously sent SAE Confirm message. An SAE Confirm message that was not successfully verified is indicated with a status code of CHALLENGE_FAILURE. 

           } else if (auth_transaction == 2) {
                hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
                               "SAE authentication (RX confirm, status=%u (%s))",
                               status_code, status2str(status_code));
                if (status_code != WLAN_STATUS_SUCCESS)
                        goto remove_sta;


More information about the Hostap mailing list