# WifiMac80211Ops ## **Overview** **Related Modules:** [WLAN](WLAN.md) **Description:** Describes MAC-layer control APIs that need to be implemented by the driver. **Since:** 1.0 ## **Summary** ## Data Fields

Variable Name

Description

changeVirtualIntf )(NetDevice *netDev, uint8_t iftype, uint32_t *flags, struct VifParams *params)

int32_t(* 

setSsid )(NetDevice *netDev, const uint8_t *ssid, uint32_t ssidLen)

int32_t(* 

setMeshId )(NetDevice *netDev, const char *meshId, uint32_t meshIdLen)

int32_t(* 

setMacAddr )(NetDevice *netDev, Mac80211SetMacParam *param)

int32_t(* 

changeBeacon )(NetDevice *netDev, Mac80211beaconParam *param)

int32_t(* 

setChannel )(NetDevice *netDev)

int32_t(* 

addKey )(struct NetDevice *netdev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr, struct KeyParams *params)

int32_t(* 

delKey )(struct NetDevice *netdev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr)

int32_t(* 

setDefaultKey )(struct NetDevice *netdev, uint8_t keyIndex, bool unicast, bool multicas)

int32_t(* 

startAp )(NetDevice *netDev)

int32_t(* 

stopAp )(NetDevice *netDev)

int32_t(* 

delStation )(NetDevice *netDev, const uint8_t *macAddr)

int32_t(* 

connect )(NetDevice *netDev, WifiConnectParams *param)

int32_t(* 

disconnect )(NetDevice *netDev, uint16_t reasonCode)

int32_t(* 

startScan )(NetDevice *netDev, struct WifiScanRequest *param)

int32_t(* 

abortScan )(NetDevice *netDev)

int32_t(*