1 Star 0 Fork 4.9K

罗小黑 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hdf_wifi_event-h.md 18.53 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

hdf_wifi_event.h

Overview

Related Modules:

WLAN

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

Data Structure Name

Description

RateInfo

Defines the rate information received or sent over WLAN.

StaBssParameters

Defines parameters related to the WLAN module that works in station mode.

StaFlagUpdate

Defines the update of the Sta flag.

StationInfo

Defines station information.

Auth

Defines authentication information.

Deauth

Defines deauthentication information.

AssocReq

Defines station association request.

AssocResp

Defines station association response.

ReassocReq

Defines station reassociation request.

ReassocResp

Defines station reassociation response.

Disassoc

Defines station disconnection.

Beacon

Defines the update of the Sta flag.

ProbeResp

Defines scanning response.

Ieee80211Mgmt

Defines management frame information.

ScannedBssInfo

Represents the scanned BSS information.

ConnetResult

Defines association results.

Enumerations

Enumeration Name

Description

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

Function Name

Description

HdfWifiEventNewSta (const struct NetDevice *netdev, const uint8_t *macAddr, uint8_t addrLen, const struct StationInfo *info)

int32_t 

Reports a new STA event.

HdfWifiEventDelSta (struct NetDevice *netdev, const uint8_t *macAddr, uint8_t addrLen)

int32_t 

Reports a station deletion event.

HdfWifiEventInformBssFrame (const struct NetDevice *netdev, struct Wiphy *wiphy, const struct Ieee80211Channel *channel, const struct ScannedBssInfo *bssInfo)

int32_t 

Reports a scanned BSS event.

HdfWifiEventScanDone (const struct NetDevice *netdev, WifiScanStatus status)

int32_t 

Reports a scanning completion event.

HdfWifiEventConnectResult (const struct NetDevice *netdev, const struct ConnetResult *result)

int32_t 

Reports a connection result event.

HdfWifiEventDisconnected (const struct NetDevice *netdev, uint16_t reason, const uint8_t *ie, uint32_t len)

int32_t 

Reports a disconnection event.

HdfWifiEventMgmtTxStatus (const struct NetDevice *netdev, const uint8_t *buf, size_t len, uint8_t ack)

int32_t 

Reports a transmission management status event.

HdfWifiEventRxMgmt (const struct NetDevice *netdev, int32_t freq, int32_t sigMbm, const uint8_t *buf, size_t len)

int32_t 

Reports a receive management status event.

HdfWifiEventCsaChannelSwitch (const struct NetDevice *netdev, int32_t freq)

int32_t 

Reports a CSA channel switching event.

HdfWifiEventTimeoutDisconnected (const struct NetDevice *netdev)

int32_t 

Reports a timeout disconnection event.

HdfWifiEventEapolRecv (const char *name, void *context)

int32_t 

Reports the event of receiving the EAPOL frame and notifies WPA to read the EAPOL frame.

1
https://gitee.com/lawguiren/docs.git
git@gitee.com:lawguiren/docs.git
lawguiren
docs
docs
master

搜索帮助