# hdf\_wifi\_event.h ## **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
Defines parameters related to the WLAN module that works in station mode. |
|
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. |
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) |
|
HdfWifiEventInformBssFrame (const struct NetDevice *netdev, struct Wiphy *wiphy, const struct Ieee80211Channel *channel, const struct ScannedBssInfo *bssInfo) |
|
HdfWifiEventScanDone (const struct NetDevice *netdev, WifiScanStatus status) |
|
HdfWifiEventConnectResult (const struct NetDevice *netdev, const struct ConnetResult *result) |
|
HdfWifiEventDisconnected (const struct NetDevice *netdev, uint16_t reason, const uint8_t *ie, uint32_t len) |
|
HdfWifiEventMgmtTxStatus (const struct NetDevice *netdev, const uint8_t *buf, size_t len, uint8_t ack) |
|
HdfWifiEventRxMgmt (const struct NetDevice *netdev, int32_t freq, int32_t sigMbm, const uint8_t *buf, size_t len) |
|
HdfWifiEventCsaChannelSwitch (const struct NetDevice *netdev, int32_t freq) |
|
HdfWifiEventTimeoutDisconnected (const struct NetDevice *netdev) |
|
HdfWifiEventEapolRecv (const char *name, void *context) |
Reports the event of receiving the EAPOL frame and notifies WPA to read the EAPOL frame. |