Fw: 11w and WPA_CIPHER_AES_128_CMAC

rosect190 at yahoo.com rosect190 at yahoo.com
Tue Feb 21 18:04:21 PST 2017

Starting from hostapd 2.5, in src/ap/wpa_auth_ie.c, wpa_write_rsn_ie(..), this condition is added at line 265:

conf->group_mgmt_cipher != WPA_CIPHER_AES_128_CMAC

However, in the following switch statement, this condition is actually evaluated:
switch (conf->group_mgmt_cipher) {
        case WPA_CIPHER_AES_128_CMAC:

I do not quite understand this seemingly contradictory situation. Could someone explain? Thanks in advance. 

More information about the Hostap mailing list