This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220MODA: SL_WLAN_EVENT_DISCONNECT reasoncode is not in 'WLAN Disconnect Reason Codes' list

Part Number: CC3220MODA

Hi,

I have an CC3220 based AP and station running simplelink_cc32xx_sdk_2_40_01_01.

When I call :

sl_NetCfgSet(SL_NETCFG_AP_STATION_DISCONNECT,1,SL_MAC_ADDR_LEN, macAddress)

at the AP the station gets a SL_WLAN_EVENT_DISCONNECT as expected.

The reason code varies however, I have received 7, 30 and 208. While 7 and 208 are in the 'WLAN Disconnect Reason Codes' in wlan.h 30 isn't.

Sp what does 30 indicate and why isn't it in the list? or am I looking at the wrong list?

Regards,

  • Hi,

    Disconnect reason code -30 means WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY. This is defined by the 802.11w spec, which the CC3220 does not support. The meaning of that error code is not in wlan.h due to that lack of support.

    I suggest checking the AP you are using and ensuring that you don't have settings enabled which are not supported by the CC3220. Do you get the same -30 error code if you test with other APs?

    Regards,

    Michael