加入收藏
举报
02-14 20:02
#0
文件名称:
wifi_mac80211_ops-h.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
17.33 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# wifi\_mac80211\_ops.h
## **Overview**
**Related Modules:**
[WLAN](WLAN.md)
**Description:**
Declares Media Access Control \(MAC\) APIs and functions related to control flows.
This file declares APIs for scanning, connection, disconnection, and mode conversion, as well as data structures of the parameters of these APIs.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures





































































Data Structure Name


Description


KeyParams


Describes a key.


Ieee80211Channel


Describes a communication channel.


Ieee80211Rate


Describes the IEEE 802.11 rate.


Ieee80211McsInfo


Describes IEEE 802.11 Modulation and Coding Scheme (MCS) information.


Ieee80211StaHtCap


Describes the IEEE 802.11 high-throughput (HT) capability.


Ieee80211SupportedBand


Describes IEEE 802.11 band information.


Wiphy


Describes a wiphy device.


WifiSsid


Describes an SSID.


ChannelDef


Describes a communication channel.


WirelessDev


Describes a wireless device.


WifiScanRequest


Describes scan request parameters.


CryptoSettings


Describes cryptography settings.


MacAddress


Describes the device MAC address.


WifiConnectParams


Describes parameters for a connection request.


VifParams


Describes virtual API parameters.


StationDelParameters


Describes parameters for canceling a connection.


MacConfigParam


Describes MAC configuration parameters.


Mac80211DisconnectParam


Describes disconnection parameters.


Mac80211Ssids


Describes SSIDs.


Mac80211beaconParam


Describes beacon parameters.


WifiMac80211Ops


Describes MAC-layer control APIs that need to be implemented by the driver.



## Typedefs












Typedef Name


Description


WifiConnectParams


typedef struct WifiConnectParams 


Describes parameters for a connection request.


Mac80211SetMacParam


typedef struct MacConfigParam 


Describes MAC configuration parameters.



## Enumerations















Enumeration Name


Description


MacSetType { MAC_BEACON_SET = 0, MAC_BEACON_ADD = 1 }


Enumerates setting types of MAC addresses.


Ieee80211Band { IEEE80211_BAND_2GHZ, IEEE80211_BAND_5GHZ, IEEE80211_NUM_BANDS }


Enumerates frequency bands.


WifiChannelType { WIFI_CHAN_NO_HT, WIFI_CHAN_HT20, WIFI_CHAN_HT40MINUS, WIFI_CHAN_HT40PLUS }


Enumerates channel types.



## Functions












Function Name


Description


Mac80211RegisterOps (struct WifiMac80211Ops *ops) __attribute__((weak))


int32_t 


Registers a WifiMac80211Ops object.


Mac80211GetOps (void)


struct WifiMac80211Ops


Obtains the WifiMac80211Ops object that the driver needs to implement.


点赞 回复
回帖
支持markdown部分语法 ?