wifi_mac80211_ops.h

Overview

Related Modules:

WLAN

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.