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: Is SL_WLAN_EVENT_DISCONNECT received by AP if station dies

Part Number: CC3220MODA


Hi,

As I understand things, if a station is connected to an AP and it disconnects an SL_WLAN_EVENT_DISCONNECT will be received, section 4.3.4 of Prog. Guide.

I assume this disconnection is the end result of a disconnect command executed by the AP.

Would the same event be generated by the station if the AP goes down, eg power fails on AP ?

In the same vein, would an AP get a SL_WLAN_EVENT_STA_REMOVED event if a connected station goes down?

Regards

  • Hi,

    Yes, if the CC3220 in STA mode loses connection to its AP, then a SL_WLAN_EVENT_DISCONNECT will be triggered. If the AP's power fails, the reason code will most likely be SL_WLAN_DISCONNECT_ROAMING_TRIGGER_BSS_LOSS (109), but in any case the SL_WLAN_EVENT_DISCONNECT will happen for sure.

    Similarly, a CC3220 in AP mode will trigger a SL_WLAN_EVENT_STA_REMOVED event if a connected station were to suddenly lose power.

    Let me know if you need more clarification or have further questions on this topic.

    Regards,
    Michael