# Wi-Fi ## **Overview** Defines a Wi-Fi module, which is developed based on the OpenHarmony Driver Foundation \(HDF\). It supports cross-OS migration, component adaptation, modular assembly and compilation, and driver deployment from the upper layer to the lower layer. Driver developers of Wi-Fi vendors can adapt their driver code based on the unified interfaces provided by the Wi-Fi module. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Files
File Name |
Description |
---|---|
Declares network data buffers and provides APIs for operating buffer queues. |
|
Declares Wi-Fi driver events. |
|
Declares the data structure of the Wi-Fi module. |
|
Defines Wi-Fi network device interfaces. |
|
Describes the data structure of Wi-Fi features and bus. |
|
Declares Media Access Control (MAC) APIs and functions related to control flows. |
|
Provides features of the Wi-Fi module and functions to create and delete modules. |
|
Declares the Wi-Fi module configuration. |
Data Structure Name |
Description |
---|---|
Records and saves a network data buffer. |
|
Indicates the queues for storing network data. |
|
Defines the rate information received or sent over Wi-Fi. |
|
Defines parameters related to the Wi-Fi module that works in station mode. |
|
Defines the update of the Sta flag. |
|
Defines station information. |
|
Defines authentication information. |
|
Defines deauthentication information. |
|
Defines station association request. |
|
Defines station association response. |
|
Defines station reassociation request. |
|
Defines station reassociation response. |
|
Defines station disconnection. |
|
Defines the update of the Sta flag. |
|
Defines scanning response. |
|
Defines management frame information. |
|
Represents the scanned BSS information. |
|
Defines association results. |
|
Defines the Wi-Fi module. |
|
Defines the Ethernet header information of a data frame, including the destination address, source address, and Ethernet type. |
|
Defines the IP header information of a data frame, including the version number, service type, and total length. |
|
Defines the UDP header information of a data frame, including the source port number and destination port number. |
|
Defines the TCP header information of a data frame, including the source port number and destination port number. |
|
Defines an IPv4 address. |
|
Defines a network device notification, including an IP address and the notification type. |
|
Defines the network port type, for example, the WLAN network port. |
|
Defines ioctrl data. |
|
Defines a network device, including the network interface category and name, and network port type. |
|
Defines interfaces that need to be implemented externally by network devices, including initializing, opening, and closing a network device. |
|
Describes a key. |
|
Describes a communication channel. |
|
Describes the IEEE 802.11 rate. |
|
Describes IEEE 802.11 Modulation and Coding Scheme (MCS) information. |
|
Describes the IEEE 802.11 high-throughput (HT) capability. |
|
Describes IEEE 802.11 band information. |
|
Describes a wiphy device. |
|
Describes an SSID. |
|
Describes a communication channel. |
|
Describes a wireless device. |
|
Describes scan request parameters. |
|
Describes cryptography settings. |
|
Describes the device MAC address. |
|
Describes parameters for a connection request. |
|
Describes virtual API parameters. |
|
Describes parameters for canceling a connection. |
|
Describes MAC configuration parameters. |
|
Describes disconnection parameters. |
|
Describes SSIDs. |
|
Describes beacon parameters. |
|
Describes MAC-layer control APIs that need to be implemented by the driver. |
|
Defines Wi-Fi module APIs. |
|
Defines the Wi-Fi module. |
|
Defines a Wi-Fi feature. |
|
Defines the Wi-Fi feature list. |
|
Defines a Wi-Fi chip. |
|
Defines the Wi-Fi module configuration. |
Macro Name and Value |
Description |
---|---|
Defines the reserved field of a network data buffer used to store private information. |
|
Indicates a 6-byte MAC address. |
|
Indicates that the network port is working. |
|
Indicates Reverse Address Resolution Protocol (RARP). |
|
Indicates Port Access Entity (PAE). |
|
Indicates Internet Protocol (IP). |
|
Indicates AppleTalk Address Resolution Protocol (AARP). |
|
Indicates Internetwork Packet Exchange (IPX). |
|
Indicates Address Resolution Protocol (ARP). |
|
Indicates Internet Protocol version 6 (IPv6). |
|
Indicates Tunneled Direct Link Setup (TDLS). |
|
Indicates Virtual Local Area Network (VLAN). |
|
Indicates WLAN Authentication and Privacy Infrastructure (WAPI). |
|
Indicates Link Layer Topology Discovery (LLTD). |
|
Indicates 802.1x network port authentication. |
|
Indicates a tunnel protocol. |
|
Indicates the point-to-point discovery type. |
|
Indicates the point-to-point session discovery type. |
|
Indicates IPv6 over Low Power Wireless Personal Area Networks (6LoWPANs). |
|
Indicates the Transmission Control Protocol (TCP). |
|
Indicates the User Datagram Protocol (UDP). |
|
Indicates the shift in the priority for an IP address. |
|
Indicates the source port number of DHCP. |
|
Indicates the destination port number of DHCP. |
|
Indicates the length of the name of a Wi-Fi module or feature. |
Typedef Name |
Description |
---|---|
typedef struct NetDevice Defines a network device, including the network interface category and name, and network port type. |
|
typedef struct WifiConnectParams Describes parameters for a connection request. |
|
typedef struct MacConfigParam Describes MAC configuration parameters. |
Enumeration Name |
Description |
---|---|
Enumerates the segments of a network data buffer. |
|
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. |
NetIfCategory { LITE_OS, RICH_OS } |
Enumerates network interface categories, including lightweight OS and rich OS. |
Enumerates network interface states, including online and offline. |
|
Enumerates network link layer states, including online and offline. |
|
NetLinkType { ETHERNET_LINK = 1, WIFI_LINK = 801 } |
Enumerates data link types, including Ethernet and Wi-Fi. |
ProcessingResult { PROCESSING_CONTINUE, PROCESSING_COMPLETE, PROCESSING_ERROR } |
Enumerates data processing results, including continuing processing, processing completed, and error. |
NetDevTxResult { NETDEV_TX_OK = 0x00, NETDEV_TX_BUSY = 0x10, NETDEV_TX_LOCKED = 0x20 } |
Enumerates data sending results, including sending succeeded, other data being sent at the link layer, and data link layer being locked. |
Protocol80211IfType { PROTOCOL_80211_IFTYPE_UNSPECIFIED, PROTOCOL_80211_IFTYPE_ADHOC, PROTOCOL_80211_IFTYPE_STATION, PROTOCOL_80211_IFTYPE_AP, PROTOCOL_80211_IFTYPE_AP_VLAN, PROTOCOL_80211_IFTYPE_WDS, PROTOCOL_80211_IFTYPE_MONITOR, PROTOCOL_80211_IFTYPE_MESH_POINT, PROTOCOL_80211_IFTYPE_P2P_CLIENT, PROTOCOL_80211_IFTYPE_P2P_GO, PROTOCOL_80211_IFTYPE_P2P_DEVICE, PROTOCOL_80211_IFTYPE_NUM, PROTOCOL_80211_IFTYPE_MAX = PROTOCOL_80211_IFTYPE_NUM - 1 } |
Enumerates 802.11 network port types, including AP, STA, and P2P. |
NetdeviceError { COMMON_ERROR = 1, ADD_LWIP_ERROR } |
Enumerates network device errors, including common errors and errors in adding network devices to LwIP. |
WifiMainFeatureType { HDF_WIFI_FEATURE_BASE, HDF_WIFI_FEATURE_AP, HDF_WIFI_FEATURE_STA, HDF_WIFI_FEATURE_P2P, HDF_WIFI_FEATURE_NAN, HDF_WIFI_FEATURE_RTT, HDF_WIFI_FEATURE_NUM = 10 } |
Enumerates feature types of a Wi-Fi module. |
WifiBusType { BUS_SDIO, BUS_USB } |
Enumerates bus types of a Wi-Fi module. |
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. |
Function Name |
Description |
---|---|
NetBufQueueInit (struct NetBufQueue *q) |
static void Initializes a network data buffer queue. |
NetBufQueueSize (const struct NetBufQueue *q) |
static uint32_t Obtains the size of a network data buffer queue. |
NetBufQueueIsEmpty (const struct NetBufQueue *q) |
static bool Checks whether the network data buffer queue is empty. |
NetBufQueueEnqueue (struct NetBufQueue *q, struct NetBuf *nb) |
void Adds a network data buffer to the tail of a queue. |
NetBufQueueEnqueueHead (struct NetBufQueue *q, struct NetBuf *nb) |
void Adds a network data buffer to the header of a queue. |
NetBufQueueDequeue (struct NetBufQueue *q) |
struct NetBuf * Obtains a network data buffer from the header of a queue and deletes it from the queue. |
NetBufQueueDequeueTail (struct NetBufQueue *q) |
struct NetBuf * Obtains a network data buffer from the tail of a queue and deletes it from the queue. |
NetBufQueueAtHead (const struct NetBufQueue *q) |
static struct NetBuf * Obtains the network data buffer from the header of a queue, without deleting it from the queue. |
NetBufQueueAtTail (const struct NetBufQueue *q) |
static struct NetBuf * Obtains the network data buffer from the tail of a queue, without deleting it from the queue. |
NetBufQueueClear (struct NetBufQueue *q) |
void Clears a network data buffer queue and releases the network data buffer in the queue. |
NetBufQueueConcat (struct NetBufQueue *q, struct NetBufQueue *add) |
void Moves all network data buffers from one queue to another and clears the source queue. |
NetBufAlloc (uint32_t size) |
struct NetBuf * Applies for a network data buffer. |
NetBufFree (struct NetBuf *nb) |
void Releases a network data buffer. |
NetBufDevAlloc (const struct NetDevice *dev, uint32_t size) |
struct NetBuf * Applies for a network data buffer based on the reserved space and requested size set by a network device. |
NetBufPush (struct NetBuf *nb, uint32_t id, uint32_t len) |
void * Performs operations based on the segment ID of a network data buffer. The function is opposite to that of NetBufPop. |
void * Performs operations based on the segment ID of a network data buffer. The function is opposite to that of NetBufPush. |
|
NetBufGetAddress (const struct NetBuf *nb, uint32_t id) |
static uint8_t * Obtains the address of a specified buffer segment in a network data buffer. |
NetBufGetRoom (const struct NetBuf *nb, uint32_t id) |
static uint32_t Obtains the size of a specified buffer segment space in a network data buffer. |
NetBufGetDataLen (const struct NetBuf *nb) |
static uint32_t Obtains the actual data length of the data segment of a network data buffer. |
NetBufResizeRoom (struct NetBuf *nb, uint32_t head, uint32_t tail) |
int32_t Adjusts the size of a network data buffer space. |
NetBufConcat (struct NetBuf *nb, struct NetBuf *cnb) |
uint32_t Copies data in a network data buffer to another network data buffer. |
Pbuf2NetBuf (const struct NetDevice *netdev, struct pbuf *lwipBuf) |
struct NetBuf * Converts the pbuf structure of Lightweight TCP/IP Stack (lwIP) to a network data buffer. |
NetBuf2Pbuf (const struct NetBuf *nb) |
struct pbuf * Converts a network data buffer to the pbuf structure of Lightweight TCP/IP Stack (lwIP). |
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. |
HdfWifiGetProduct (void) |
struct HdfWifiProductData * Obtains the data structure of the Wi-Fi module. |
NetDeviceInit (const char *ifName, uint32_t len, NetIfCategory ifCategory) |
struct NetDevice * Initializes a network device to obtain its instance. |
NetDeviceDeInit (struct NetDevice *netDevice) |
int32_t Deletes a network device. |
NetDeviceAdd (struct NetDevice *netDevice, Protocol80211IfType ifType) |
int32_t Adds a network device to a protocol stack. |
NetDeviceDelete (struct NetDevice *netDevice) |
int32_t Deletes a network device from a protocol stack. |
NetDeviceGetInstByName (const char *name) |
struct NetDevice * Obtains the initialized network device instance by a specified device name. |
NetDeviceIsAnyInstRunning (void) |
bool Checks whether there are working devices among the added network devices. |
NetDeviceIsInstRunning (const struct NetDevice *netDevice) |
bool Checks whether a specified network device is working. |
NetDevGetRegisterCount (void) |
uint32_t Obtains the number of added network devices. |
NetDeviceGetCap (void) |
uint32_t Obtains the maximum number of network devices that can be registered with this system at the same time. |
NetDeviceGetInstByIndex (uint32_t index) |
struct NetDevice * Obtains a network device instance based on the index number. |
NetIfSetAddr (const struct NetDevice *netDevice, const IpV4Addr *ipAddr, const IpV4Addr *netMask, const IpV4Addr *gw) |
int32_t Sets an IP address, mask, and gateway. |
NetIfSetStatus (const struct NetDevice *netDevice, NetIfStatus status) |
int32_t Notifies the network layer of the network port state. |
NetIfSetLinkStatus (const struct NetDevice *netDevice, NetIfLinkStatus status) |
int32_t Notifies the network layer of the data link layer status. |
NetIfRx (const struct NetDevice *netDevice, struct NetBuf *buff) |
int32_t Transfers the input data packets from the network side to a protocol stack. |
NetIfRxNi (const struct NetDevice *netDevice, struct NetBuf *buff) |
int32_t Transfers data packets from the network side to a protocol stack in an interrupt processing thread. |
NetIfDhcpsStart (const struct NetDevice *netDevice, char *ip, u16_t ipNum) |
int32_t Starts the DHCP server. |
NetIfDhcpsStop (const struct NetDevice *netDevice) |
int32_t Stops the DHCP server. |
NetIfDhcpStart (const struct NetDevice *netDevice) |
int32_t Starts the DHCP client of a specified network device. |
NetIfDhcpStop (const struct NetDevice *netDevice) |
int32_t Stops the DHCP client of a specified network device. |
NetIfDhcpIsBound (const struct NetDevice *netDevice) |
int32_t Obtains the DHCP negotiation status of a specified network device. |
Mac80211RegisterOps (struct WifiMac80211Ops *ops) |
int32_t Registers a WifiMac80211Ops object. |
Mac80211GetOps (void) |
struct WifiMac80211Ops * Obtains the WifiMac80211Ops object that the driver needs to implement. |
WifiModuleCreate (const struct HdfConfigWifiModuleConfig *config) |
struct WifiModule * Creates a WifiModule object based on a specified configuration generated by the HCS. |
WifiModuleDelete (struct WifiModule *module) |
void Deletes a specified WifiModule object. |
DelFeature (struct WifiModule *module, uint16_t featureType) |
int32_t Deletes a specified feature from a specified module. |
AddFeature (struct WifiModule *module, uint16_t featureType, struct WifiFeature *featureData) |
int32_t Adds a specified feature to a specified module. |
Enumerator |
Description |
---|---|
Header buffer segment |
|
Data segment |
|
Tail buffer segment |
|
Maximum number of buffer segments |
Enumerator |
Description |
---|---|
2.4 GHz |
|
5 GHz |
|
Reserved |
Enumerator |
Description |
---|---|
Setting a beacon MAC address |
|
Adding a beacon MAC address |
Enumerator |
Description |
---|---|
Common errors |
|
Errors in adding network devices to LwIP |
Enumerator |
Description |
---|---|
Sending succeeded |
|
Other data being sent at the link layer |
|
Data link layer being locked |
Enumerator |
Description |
---|---|
Lightweight OS |
|
Rich OS |
Enumerator |
Description |
---|---|
Data link offline |
|
Data link online |
Enumerator |
Description |
---|---|
Network interface offline |
|
Network interface online |
Enumerator |
Description |
---|---|
Ethernet |
|
Wi-Fi |
Enumerator |
Description |
---|---|
Continuing processing |
|
Processing completed |
|
Error |
Enumerator |
Description |
---|---|
Unspecified |
|
Ad hoc network |
|
Workstation |
|
Access point |
|
Virtual access point |
|
Wireless distributed system |
|
Listening |
|
Mesh network |
|
P2P client |
|
P2P group owner |
|
P2P device |
|
Number of network ports |
|
Maximum number of 802.11 network port types |
Enumerator |
Description |
---|---|
Secure Digital Input and Output (SDIO) |
|
Universal Serial Bus (USB) |
Enumerator |
Description |
---|---|
non-HT channel |
|
20 MHz HT channel |
|
40 MHz minus HT channel (The channel is formed by two 20 MHz HT channels, one as the main channel and the other as the auxiliary channel. The center frequency of the main channel is lower than that of the auxiliary channel.) |
|
40 MHz plus HT channel (The channel is formed by two 20 MHz HT channels, one as the main channel and the other as the auxiliary channel. The center frequency of the main channel is higher than that of the auxiliary channel.) |
Enumerator |
Description |
---|---|
Association succeeds |
|
Association fails |
|
Association timeout |
|
Association refused |
|
Repeated association request |
|
Associated with the BSS |
Enumerator |
Description |
---|---|
Base feature |
|
AP |
|
Station |
|
Peer-to-peer (P2P) |
|
Neighbor Awareness Networking (NAN) |
|
Round Trip Time (RTT) |
|
Maximum number of features |
Name |
Description |
---|---|
module |
Indicates the pointer to the module. |
featureType |
Indicates the type of the feature to add. |
featureData |
Indicates the pointer to the feature to add. |
Name |
Description |
---|---|
module |
Indicates the pointer to the module. |
featureType |
Indicates the type of the feature to delete. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
result |
Indicates the pointer to the connection result. This parameter cannot be null. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
freq |
Indicates the frequency of the channel. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
macAddr |
Indicates the pointer to the MAC address of the station. This parameter cannot be null. |
addrLen |
Indicates the length of the MAC address of the station. The length is fixed to six bytes. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
reason |
Indicates the reason for disconnection. |
ie |
Indicates the pointer to the deauth/disassoc frame IE. |
ieLen |
Indicates the length of the deauth/disassoc IE. |
Name |
Description |
---|---|
name |
Indicates the pointer to the network port name, for example, wlan0. |
context |
Indicates the pointer to the context. This parameter is reserved. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
wiphy |
Indicates the pointer to the physical layer of the wireless network. This parameter cannot be null. |
channel |
Indicates the pointer to the channel information. This parameter cannot be null. |
bssInfo |
Indicates the pointer to the BSS information. This parameter cannot be null. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
buf |
Indicates the pointer to the transmission management frame. This parameter cannot be null. |
len |
Indicates the length of the transmission management frame. |
ack |
Indicates whether the transmission management frame is acknowledged. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
macAddr |
Indicates the pointer to the MAC address of the station. This parameter cannot be null. |
addrLen |
Indicates the length of the MAC address of the station. The length is fixed to six bytes. |
info |
Indicates the pointer to the station information. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
freq |
Indicates the frequency of receiving management frame. |
sigMbm |
Indicates the signal strength (in dBm). |
buf |
Indicates the pointer to the receive management frame. This parameter cannot be null. |
len |
Indicates the length of the receive management frame. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
status |
Indicates the scanning completion status. Value 0 indicates that the scanning is successful, and other values indicate that the scanning fails. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. This parameter cannot be null. |
Name |
Description |
---|---|
ops |
Indicates the pointer to the WifiMac80211Ops object to register. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
Name |
Description |
---|---|
size |
Indicates the size of the network data buffer. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
cnb |
Indicates the pointer to the target network data buffer. |
Name |
Description |
---|---|
dev |
Indicates the pointer to the network device. |
size |
Indicates the size of the network data buffer applied. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
id |
Indicates the buffer segment ID. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
id |
Indicates the buffer segment ID. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
id |
Indicates the buffer segment ID. |
len |
Indicates the operation length. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
id |
Indicates the buffer segment ID. |
len |
Indicates the operation length. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
Name |
Description |
---|---|
q |
Indicates the pointer to the target network data buffer queue. |
add |
Indicates the pointer to the source network data buffer queue. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
nb |
Indicates the pointer to the network data buffer. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
nb |
Indicates the pointer to the network data buffer. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
Name |
Description |
---|---|
q |
Indicates the pointer to the network data buffer queue. |
Name |
Description |
---|---|
nb |
Indicates the pointer to the network data buffer. |
head |
Indicates the size of the header buffer segment reserved. |
tail |
Indicates the size of the tail buffer segment reserved. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device structure obtained during initialization. |
netDevice |
Indicates the network port type, as enumerated in Protocol80211IfType. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device structure obtained during initialization. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device structure netDevice obtained during initialization. |
Name |
Description |
---|---|
index |
Indicates the index number. |
Name |
Description |
---|---|
name |
Indicates the pointer to the network device name. |
Name |
Description |
---|---|
ifName |
Indicates the pointer to the network device name. |
len |
Indicates the length of the network device name. |
ifCategory |
Indicates the network port category. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device structure netDevice obtained during initialization. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device obtained during initialization. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device structure netDevice obtained during initialization. |
beginIp |
Indicates the IP address to start. |
ipNum |
Indicates the number of IP addresses. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device structure netDevice obtained during initialization. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device obtained during initialization. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device obtained during initialization. |
Name |
Description |
---|---|
buff |
Indicates the network-side data, in Ether format. |
Name |
Description |
---|---|
buff |
Indicates the network-side data, in Ether format. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device structure netDevice obtained during initialization. |
ipAddr |
Indicates the IP address to set. |
netMask |
Indicates the mask to set. |
gw |
Indicates the gateway to set. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device obtained during initialization. |
status |
status Indicates the data link layer status, as enumerated in NetIfLinkSatus. |
Name |
Description |
---|---|
netDevice |
Indicates the pointer to the network device obtained during initialization. Indicates the network port state, as enumerated in NetIfSatus. |
Name |
Description |
---|---|
netdev |
Indicates the pointer to the network device. |
lwip_buf |
Indicates the pointer to the data buffer of lwIP. |
Name |
Description |
---|---|
config |
Indicates the pointer to the configuration generated by the HCS. |
Name |
Description |
---|---|
module |
Indicates the pointer to the WifiModule object to delete. |