WE310F5  39.00.000
M2MB_CONNECTION_DATA_S Struct Reference

Connection event info for both AP and STA modes. More...

#include <m2mb_wlan_driver.h>

Data Fields

INT32 value
 
UINT8 mac_addr [M2MB_WLAN_MAC_LEN]
 
UINT32 bssCon
 

Detailed Description

Connection event info for both AP and STA modes.

Data structure that presents connect event information from the driver to the application. The application uses this data structure to interpret the event payload received with an M2MB_WLAN_CONNECT_CB, M2MB_WLAN_DISCONNECT_CB events.

Definition at line 167 of file m2mb_wlan_driver.h.

Field Documentation

◆ bssCon

UINT32 bssCon

Flag that indicates whether it is a BSS level connection/disconnection
or an individual station-level connection/disconnection.

  • STA mode connect event – A value of 1 indicates that the device is connected to an AP
  • STA mode disconnect event – A value of 1 indicates that the device is disconnected from an AP
  • STA mode – It is not expected to receive this value as 0 when operating in STA mode
  • AP mode connect Event – A value of 1 indicates that the SoftAP session has been started
  • AP mode disconnect event – A value of 1 indicates that the SoftAP session has been stopped
  • AP mode connect event – A value of 0 indicates that a peer station with a MAC address in mac_Addr has connected to SoftAP
  • AP Mode disconnect event – A value of 0 indicates that a peer station with a MAC address in mac_Addr has disconnected from SoftAP

Definition at line 185 of file m2mb_wlan_driver.h.

◆ mac_addr

MAC address related to the connect event. Based on the operating mode, the driver fills in a different MAC addresses as follows.

  • STA mode connect event – MAC address of the connected access point
  • STA mode disconnect event – MAC address contains all zeros
  • AP mode connect event – MAC address of the device itself, or a peer station that was connected to the AP (based on the bssCon parameter)
  • AP mode disconnect event – MAC address contains zeros or a peer station that was disconnected from the AP (based on the bssCon parameter)

Definition at line 173 of file m2mb_wlan_driver.h.

◆ value

INT32 value

TRUE: To indicate connect events FALSE: To indicate disconnect/deauthorization events

Definition at line 169 of file m2mb_wlan_driver.h.


The documentation for this struct was generated from the following file: