## **Overview**
**Related Modules:**
[WLAN](WLAN.md)
**Description:**
Declares WLAN driver events.
The functions in this file are used to report events such as scanning results, scanning completion, and station disconnection to the WPA interface.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures
## Enumerations
WifiHmacMgmtStatus { WIFI_HMAC_MGMT_SUCCESS = 0, WIFI_HMAC_MGMT_INVALID = 1, WIFI_HMAC_MGMT_TIMEOUT = 2, WIFI_HMAC_MGMT_REFUSED = 3, WIFI_HMAC_MGMT_TOMANY_REQ = 4, WIFI_HMAC_MGMT_ALREADY_BSS = 5 } | Enumerates MLME management statuses, indicating whether a device is successfully associated or fails to be associated. |
## Functions
HdfWifiEventNewSta (const struct NetDevice *netdev, const uint8_t *macAddr, uint8_t addrLen, const struct StationInfo *info) | |
HdfWifiEventDelSta (struct NetDevice *netdev, const uint8_t *macAddr, uint8_t addrLen) | Reports a station deletion event. |
HdfWifiEventInformBssFrame (const struct NetDevice *netdev, struct Wiphy *wiphy, const struct Ieee80211Channel *channel, const struct ScannedBssInfo *bssInfo) | |
HdfWifiEventScanDone (const struct NetDevice *netdev, WifiScanStatus status) | Reports a scanning completion event. |
HdfWifiEventConnectResult (const struct NetDevice *netdev, const struct ConnetResult *result) | Reports a connection result event. |
HdfWifiEventDisconnected (const struct NetDevice *netdev, uint16_t reason, const uint8_t *ie, uint32_t len) | Reports a disconnection event. |
HdfWifiEventMgmtTxStatus (const struct NetDevice *netdev, const uint8_t *buf, size_t len, uint8_t ack) | Reports a transmission management status event. |
HdfWifiEventRxMgmt (const struct NetDevice *netdev, int32_t freq, int32_t sigMbm, const uint8_t *buf, size_t len) | Reports a receive management status event. |
HdfWifiEventCsaChannelSwitch (const struct NetDevice *netdev, int32_t freq) | Reports a CSA channel switching event. |
HdfWifiEventTimeoutDisconnected (const struct NetDevice *netdev) | Reports a timeout disconnection event. |
HdfWifiEventEapolRecv (const char *name, void *context) | Reports the event of receiving the EAPOL frame and notifies WPA to read the EAPOL frame. |