RDK-B
|
Go to the source code of this file.
Data Structures | |
struct | _wifi_basicTrafficStats |
struct | _wifi_radioTrafficStats |
struct | _wifi_ssidTrafficStats |
struct | _wifi_neighbor_ap |
struct | _wifi_diag_ipping_setting |
struct | _wifi_diag_ipping_result |
struct | _wifi_device |
struct | athstat_results |
struct | _mac_t |
struct | _wifi_channelStats2 |
struct | _wifi_channelMetrics |
struct | _wifi_radioTrafficStatsMeasure |
struct | _wifi_associated_dev2 |
struct | wifi_BTMCapabilities_t |
struct | wifi_dpp_credential_object_t |
struct | wifi_dpp_configuration_object_t |
struct | wifi_dpp_config_data_t |
struct | wifi_dpp_reconfig_data_t |
struct | wifi_dpp_session_data_t |
struct | wifi_dpp_received_frame_t |
struct | wifi_device_dpp_context_t |
struct | wifi_anqp_elem_t |
struct | wifi_anqp_node |
Functions | |
INT | wifi_getTWTParams (CHAR *sta, wifi_twt_params_t *twt_params) |
INT | wifi_setBSSColorEnabled (INT apIndex, BOOL enabled) |
INT | wifi_getBSSColorEnabled (INT apIndex, BOOL *enabled) |
INT | wifi_getRadioChannelStats2 (INT radioIndex, wifi_channelStats2_t *outputChannelStats2) |
INT | wifi_getHalVersion (CHAR *output_string) |
Get the wifi hal version in string. More... | |
INT | wifi_getRadioCountryCode (INT radioIndex, CHAR *output_string) |
Outputs the country code to a max 64 character string. More... | |
INT | wifi_setRadioCountryCode (INT radioIndex, CHAR *CountryCode) |
Set the country code for selected Wi-Fi radio channel. More... | |
INT | wifi_pushCountryCode (CHAR *CountryCode) |
Set the country code for both wifi radios and apply them. wifi reset automatically if necessary. The function need to return immediately. More... | |
INT | wifi_getATMCapable (BOOL *output_bool) |
Get the ATM(Air Time Management) Capable. More... | |
INT | wifi_setATMEnable (BOOL enable) |
Set ATM Enable. More... | |
INT | wifi_getATMEnable (BOOL *output_enable) |
Get ATM Enable status. More... | |
INT | wifi_setApATMAirTimePercent (INT apIndex, UINT ap_AirTimePercent) |
Set Access Point Air Time Percent. More... | |
INT | wifi_getApATMAirTimePercent (INT apIndex, UINT *output_ap_AirTimePercent) |
Get Ap Air Time Percent. More... | |
INT | wifi_getApATMSta (INT apIndex, UCHAR *output_sta_MAC_ATM_array, UINT buf_size) |
Get the list for Air Time Percent for each Station. More... | |
INT | wifi_getRadioNumberOfEntries (ULONG *output) |
Get the total number of radios in this wifi subsystem. More... | |
INT | wifi_getSSIDNumberOfEntries (ULONG *output) |
Get the total number of SSID entries in this wifi subsystem. More... | |
INT | wifi_getRadioMaxBitRate (INT radioIndex, CHAR *output_string) |
Get the maximum PHY bit rate supported by this interface. eg: "216.7 Mb/s", "1.3 Gb/s". More... | |
INT | wifi_getRadioSupportedFrequencyBands (INT radioIndex, CHAR *output_string) |
Get Supported frequency bands at which the radio can operate. eg: "2.4GHz,5GHz". More... | |
INT | wifi_getRadioOperatingFrequencyBand (INT radioIndex, CHAR *output_string) |
Get the frequency band at which the radio is operating, eg: "2.4GHz". More... | |
INT | wifi_getRadioSupportedStandards (INT radioIndex, CHAR *output_string) |
Get the Supported Radio Mode. eg: "b,g,n"; "n,ac"; "ax"; "a,n,ac,ax". More... | |
INT | wifi_getRadioStandard (INT radioIndex, CHAR *output_string, BOOL *gOnly, BOOL *nOnly, BOOL *acOnly) |
Get the radio operating mode, and pure mode flag. eg: "ac". More... | |
INT | wifi_getRadioMode (INT radioIndex, CHAR *output_string, UINT *pureMode) |
Get the radio operating mode, and pure mode flag. eg: "ac". More... | |
INT | wifi_setRadioChannelMode (INT radioIndex, CHAR *channelMode, BOOL gOnlyFlag, BOOL nOnlyFlag, BOOL acOnlyFlag) |
Set the radio operating mode, and pure mode flag. More... | |
INT | wifi_setRadioMode (INT radioIndex, CHAR *channelMode, UINT pureMode) |
Set the radio operating mode, and pure mode flag. More... | |
INT | wifi_getRadioPossibleChannels (INT radioIndex, CHAR *output_string) |
Get the list of supported channel. eg: "1-11". More... | |
INT | wifi_getRadioChannelsInUse (INT radioIndex, CHAR *output_string) |
Get the list of supported channel. eg: "1-11". More... | |
INT | wifi_getRadioChannel (INT radioIndex, ULONG *output_ulong) |
Get the running channel number. More... | |
INT | wifi_setRadioChannel (INT radioIndex, ULONG channel) |
Set the running channel number. More... | |
INT | wifi_setRadioAutoChannelEnable (INT radioIndex, BOOL enable) |
Enables or disables a driver level variable to indicate if auto channel selection is enabled on this radio. More... | |
INT | wifi_getRadioAutoChannelSupported (INT radioIndex, BOOL *output_bool) |
Check if the driver support the AutoChannel. More... | |
INT | wifi_getRadioAutoChannelEnable (INT radioIndex, BOOL *output_bool) |
Get the AutoChannel enable status. More... | |
INT | wifi_getRadioDCSSupported (INT radioIndex, BOOL *output_bool) |
Check if the driver support the DCS. More... | |
INT | wifi_getRadioDCSEnable (INT radioIndex, BOOL *output_bool) |
Get DCS of the selected wifi radio channel's enable/disable status. More... | |
INT | wifi_setRadioDCSEnable (INT radioIndex, BOOL enable) |
Enable/Disable selected wifi radio channel's DCS. More... | |
INT | wifi_getRadioDCSChannelPool (INT radioIndex, CHAR *output_pool) |
Get radio DCS channel pool. More... | |
INT | wifi_setRadioDCSChannelPool (INT radioIndex, CHAR *pool) |
Set radio DCS channel pool. More... | |
INT | wifi_getRadioDCSScanTime (INT radioIndex, INT *output_interval_seconds, INT *output_dwell_milliseconds) |
Get radio DCS scan time. More... | |
INT | wifi_setRadioDCSScanTime (INT radioIndex, INT interval_seconds, INT dwell_milliseconds) |
Set radio DCS scan time. More... | |
INT | wifi_setRadioDcsDwelltime (INT radioIndex, INT millisecond) |
Set radio Dcs Dwell time. More... | |
INT | wifi_getRadioDcsDwelltime (INT radioIndex, INT *output_millisecond) |
Get radio Dcs Dwell time. More... | |
INT | wifi_setRadioDcsScanning (INT radioIndex, BOOL enable) |
Enable/Disable selected wifi radio channel's DCS. More... | |
INT | wifi_getRadioDcsScanning (INT radioIndex, BOOL *output_bool) |
Get DCS of the selected wifi radio channel's enable/disable status. More... | |
INT | wifi_getRadioDcsChannelMetrics (INT radioIndex, wifi_channelMetrics_t *input_output_channelMetrics_array, INT array_size) |
Get radio Channel Metrics. More... | |
INT | wifi_pushRadioChannel (INT radioIndex, UINT channel) |
Instantlly change the radio Channel. More... | |
INT | wifi_pushRadioChannel2 (INT radioIndex, UINT channel, UINT channel_width_MHz, UINT csa_beacon_count) |
This HAL API is used to change the channel to destination channel, with destination bandwidth. More... | |
INT | wifi_getRadioDfsSupport (INT radioIndex, BOOL *output_bool) |
Get radio DFS support. More... | |
INT | wifi_getRadioAutoChannelRefreshPeriodSupported (INT radioIndex, BOOL *output_bool) |
Check if the driver support the AutoChannelRefreshPeriod. More... | |
INT | wifi_getRadioAutoChannelRefreshPeriod (INT radioIndex, ULONG *output_ulong) |
Get the DCS refresh period in seconds. More... | |
INT | wifi_setRadioAutoChannelRefreshPeriod (INT radioIndex, ULONG seconds) |
Set the DCS refresh period in seconds. More... | |
INT | wifi_getRadioOperatingChannelBandwidth (INT radioIndex, CHAR *output_string) |
Get the Operating Channel Bandwidth. eg "20MHz", "40MHz", "80MHz", "80+80", "160". More... | |
INT | wifi_setRadioOperatingChannelBandwidth (INT radioIndex, CHAR *bandwidth) |
Set the Operating Channel Bandwidth. eg "20MHz", "40MHz", "80MHz", "80+80", "160". More... | |
INT | wifi_getRadioExtChannel (INT radioIndex, CHAR *output_string) |
Get the secondary extension channel position. More... | |
INT | wifi_setRadioExtChannel (INT radioIndex, CHAR *string) |
Set the secondary extension channel position. More... | |
INT | wifi_getRadioGuardInterval (INT radioIndex, CHAR *output_string) |
Get the guard interval value. eg "400nsec" or "800nsec". More... | |
INT | wifi_setRadioGuardInterval (INT radioIndex, CHAR *string) |
Set the guard interval value. eg "400nsec" or "800nsec". More... | |
INT | wifi_getRadioTransmitPowerSupported (INT radioIndex, CHAR *output_list) |
Get supported Transmit Power list, eg : "0,25,50,75,100". More... | |
INT | wifi_getRadioIEEE80211hSupported (INT radioIndex, BOOL *Supported) |
Get 80211h Supported. More... | |
INT | wifi_getRadioIEEE80211hEnabled (INT radioIndex, BOOL *enable) |
Get 80211h feature enable. More... | |
INT | wifi_setRadioIEEE80211hEnabled (INT radioIndex, BOOL enable) |
Set 80211h feature enable. More... | |
INT | wifi_getRadioBeaconPeriod (INT radioIndex, UINT *output) |
Gets the time interval between transmitting beacons (expressed in milliseconds). More... | |
INT | wifi_setRadioBeaconPeriod (INT radioIndex, UINT BeaconPeriod) |
Sets the time interval between transmitting beacons (expressed in milliseconds). More... | |
INT | wifi_getRadioSupportedDataTransmitRates (INT radioIndex, char *output_rates) |
Get the supported data transmit rates in Mbps. More... | |
INT | wifi_getRadioBasicDataTransmitRates (INT radioIndex, CHAR *output) |
Get the set of data rates, in Mbps. More... | |
INT | wifi_setRadioBasicDataTransmitRates (INT radioIndex, CHAR *TransmitRates) |
Set the data rates, in Mbps. More... | |
INT | wifi_getRadioOperationalDataTransmitRates (INT radioIndex, char *output_rates) |
Get the set of data rates, in Mbps, that have to be supported by all stations that desire to join this BSS. More... | |
INT | wifi_setRadioOperationalDataTransmitRates (INT radioIndex, char *rates) |
Set the data rates, in Mbps, that have to be supported by all stations that desire to join this BSS. More... | |
INT | wifi_setRadioTrafficStatsMeasure (INT radioIndex, wifi_radioTrafficStatsMeasure_t *input_struct) |
Set radio traffic static Measuring rules. More... | |
INT | wifi_setRadioTrafficStatsRadioStatisticsEnable (INT radioIndex, BOOL enable) |
Set radio traffic statistics enable. More... | |
INT | wifi_getRadioStatsReceivedSignalLevel (INT radioIndex, INT signalIndex, INT *SignalLevel) |
Clients associated with the AP over a specific interval. More... | |
INT | wifi_getSSIDEnable (INT ssidIndex, BOOL *output_bool) |
Get SSID enable configuration parameters (not the SSID enable status). More... | |
INT | wifi_setSSIDEnable (INT ssidIndex, BOOL enable) |
Set SSID enable configuration parameters. More... | |
INT | wifi_getSSIDStatus (INT ssidIndex, CHAR *output_string) |
Get SSID enable status. More... | |
INT | wifi_getSSIDName (INT apIndex, CHAR *output_string) |
Get SSID Name associated with the Access Point index. More... | |
INT | wifi_getSSIDNameStatus (INT apIndex, CHAR *output_string) |
To read the run time ssid name. More... | |
INT | wifi_setSSIDName (INT apIndex, CHAR *ssid_string) |
Set SSID Name associated with the Access Point index. More... | |
INT | wifi_getBaseBSSID (INT ssidIndex, CHAR *output_string) |
Get the BSSID. More... | |
INT | wifi_getSSIDMACAddress (INT ssidIndex, CHAR *output_string) |
Get the MAC address associated with this Wifi SSID. More... | |
INT | wifi_getNeighboringWiFiDiagnosticResult2 (INT radioIndex, wifi_neighbor_ap2_t **neighbor_ap_array, UINT *output_array_size) |
Start the wifi scan and get the result into output buffer for RDKB to parser. More... | |
INT | wifi_getNeighboringWiFiStatus (INT radioIndex, wifi_neighbor_ap2_t **neighbor_ap_array, UINT *output_array_size) |
Returns the Wifi scan status. More... | |
INT | wifi_getSSIDTrafficStats (INT ssidIndex, wifi_ssidTrafficStats_t *output_struct) |
INT | wifi_getBasicTrafficStats (INT apIndex, wifi_basicTrafficStats_t *output_struct) |
Outputs basic traffic stats per AP. More... | |
INT | wifi_getNeighboringWiFiDiagnosticResult (wifi_neighbor_ap_t **neighbor_ap_array, UINT *output_array_size) |
INT | wifi_getAllAssociatedDeviceDetail (INT apIndex, ULONG *output_ulong, wifi_device_t **output_struct) |
INT | wifi_getBandSteeringCapability (BOOL *support) |
To get Band Steering Capability. More... | |
INT | wifi_getApAssociatedDevice (INT ap_index, CHAR *output_buf, INT output_buf_size) |
Gets the ApAssociatedDevice list for client MAC addresses. More... | |
INT | wifi_getApDeviceRSSI (INT ap_index, CHAR *MAC, INT *output_RSSI) |
Gets the RSSI value associated with the access point. More... | |
INT | wifi_getApDeviceRxrate (INT ap_index, CHAR *MAC, INT *output_RxMb) |
Gets the ApAssociatedDevice Rx Rate. More... | |
INT | wifi_getApDeviceTxrate (INT ap_index, CHAR *MAC, INT *output_TxMb) |
Gets the ApAssociatedDevice Tx Rate. More... | |
INT | wifi_getRadioTxChainMask (INT radioIndex, INT *output_int) |
Outputs the number of Tx streams. More... | |
INT | wifi_setRadioTxChainMask (INT radioIndex, INT numStreams) |
Sets the number of Tx streams to an environment variable. More... | |
INT | wifi_getRadioRxChainMask (INT radioIndex, INT *output_int) |
Outputs the number of Rx streams. More... | |
INT | wifi_setRadioRxChainMask (INT radioIndex, INT numStreams) |
Sets the number of Rx streams to an environment variable. More... | |
INT | wifi_pushRadioChannelMode (INT radioIndex) |
INT | wifi_pushRadioTxChainMask (INT radioIndex) |
INT | wifi_pushRadioRxChainMask (INT radioIndex) |
INT | wifi_pushSSID (INT apIndex, CHAR *ssid) |
Push the environment variable that is set by "wifi_setSsidName" to the hardware. More... | |
INT | wifi_pushSsidAdvertisementEnable (INT apIndex, BOOL enable) |
Push the environment variable that is set by "wifi_setApSsidAdvertisementEnable" to the hardware. More... | |
INT | wifi_getRadioReverseDirectionGrantEnable (INT radioIndex, BOOL *output_bool) |
Get radio RDG enable setting. More... | |
INT | wifi_setRadioReverseDirectionGrantEnable (INT radioIndex, BOOL enable) |
Set radio RDG enable setting. More... | |
INT | wifi_getRadioDeclineBARequestEnable (INT radioIndex, BOOL *output_bool) |
Get radio ADDBA (ADD Block Acknowledgement) enable setting. More... | |
INT | wifi_setRadioDeclineBARequestEnable (INT radioIndex, BOOL enable) |
Set radio ADDBA (ADD Block Acknowledgement) enable setting. More... | |
INT | wifi_getRadio11nGreenfieldSupported (INT radioIndex, BOOL *output_bool) |
Get radio 11n pure mode enable support. More... | |
INT | wifi_getRadio11nGreenfieldEnable (INT radioIndex, BOOL *output_bool) |
Get radio 11n pure mode enable setting. More... | |
INT | wifi_setRadio11nGreenfieldEnable (INT radioIndex, BOOL enable) |
Set radio 11n pure mode enable setting. More... | |
INT | wifi_createAp (INT apIndex, INT radioIndex, CHAR *essid, BOOL hideSsid) |
Creates a new access point and pushes these parameters to the hardware. More... | |
INT | wifi_getApIndexFromName (CHAR *inputSsidString, INT *ouput_int) |
Outputs the index number in that corresponds to the SSID string. More... | |
INT | wifi_setApDTIMInterval (INT apIndex, INT dtimInterval) |
Sets the DTIM interval for this Access Point. More... | |
INT | wifi_getApBeaconType (INT apIndex, CHAR *output_string) |
Outputs a 32 byte or less string indicating the beacon type as "None", "Basic", "WPA", "11i", "WPAand11i". More... | |
INT | wifi_setApBeaconType (INT apIndex, CHAR *beaconTypeString) |
Sets the beacon type environment variable. Allowed input strings are "None", "Basic", "WPA, "11i", "WPAand11i". More... | |
INT | wifi_setApBeaconInterval (INT apIndex, INT beaconInterval) |
Sets the beacon interval on the hardware for this Access Point. More... | |
INT | wifi_getApRtsThresholdSupported (INT apIndex, BOOL *output_bool) |
Get the packet size threshold supported. More... | |
INT | wifi_getApWpaEncryptionMode (INT apIndex, CHAR *output_string) |
Ouputs up to a 32 byte string as either "TKIPEncryption", "AESEncryption", or "TKIPandAESEncryption". More... | |
INT | wifi_setApWpaEncryptionMode (INT apIndex, CHAR *encMode) |
Sets the encyption mode environment variable. More... | |
INT | wifi_setApAuthMode (INT apIndex, INT mode) |
Set the authorization mode on this access point. More... | |
INT | wifi_setApBasicAuthenticationMode (INT apIndex, CHAR *authMode) |
Sets an environment variable for the authMode. More... | |
INT | wifi_kickApAssociatedDevice (INT apIndex, CHAR *client_mac) |
Manually removes any active wi-fi association with the device specified on this access point. More... | |
INT | wifi_setApRadioIndex (INT apIndex, INT radioIndex) |
Sets the radio index for the specific access point. More... | |
INT | wifi_getApAclDevices (INT apIndex, CHAR *macArray, UINT buf_size) |
Get the ACL MAC list per Access Point. More... | |
INT | wifi_addApAclDevice (INT apIndex, CHAR *DeviceMacAddress) |
Adds the mac address to the filter list. More... | |
INT | wifi_delApAclDevice (INT apIndex, CHAR *DeviceMacAddress) |
Deletes the Device MAC address from the Access control filter list. More... | |
INT | wifi_setApVlanEnable (INT apIndex, BOOL VlanEnabled) |
Enables internal gateway VLAN mode. More... | |
INT | wifi_getApBridgeInfo (INT index, CHAR *bridgeName, CHAR *IP, CHAR *subnet) |
Gets bridgeName, IP address and Subnet. More... | |
INT | wifi_setApBridgeInfo (INT apIndex, CHAR *bridgeName, CHAR *IP, CHAR *subnet) |
Sets bridgeName, IP address and Subnet to internal environment variables. More... | |
INT | wifi_pushBridgeInfo (INT apIndex) |
INT | wifi_pushApEnable (INT apIndex, BOOL Enable) |
Dynamically enable/disable access point. More... | |
INT | wifi_pushApSsidAdvertisementEnable (INT apIndex, BOOL enable) |
Push the ssid advertisement enable variable to the hardware. More... | |
INT | wifi_getApWMMCapability (INT apIndex, BOOL *output) |
Indicates whether this access point supports WiFi Multimedia (WMM) Access Categories (AC). More... | |
INT | wifi_getApUAPSDCapability (INT apIndex, BOOL *output) |
Indicates whether this access point supports WMM Unscheduled Automatic Power Save Delivery (U-APSD). More... | |
INT | wifi_getApSecurityModesSupported (INT apIndex, CHAR *output) |
Indicates which security modes this AccessPoint instance is capable of supporting. More... | |
INT | wifi_getApSecurityModeEnabled (INT apIndex, CHAR *output) |
Get the Security modes supported. More... | |
INT | wifi_setApSecurityModeEnabled (INT apIndex, CHAR *encMode) |
Enable supported security mode. More... | |
INT | wifi_getApSecurityPreSharedKey (INT apIndex, CHAR *output_string) |
Get PreSharedKey associated with a Access Point. More... | |
INT | wifi_setApSecurityPreSharedKey (INT apIndex, CHAR *preSharedKey) |
Set PreSharedKey associated with a Access Point. More... | |
INT | wifi_getApSecurityKeyPassphrase (INT apIndex, CHAR *output_string) |
Get a passphrase from which the PreSharedKey is to be generated for WPA-Personal or WPA2-Personal or. More... | |
INT | wifi_setApSecurityKeyPassphrase (INT apIndex, CHAR *passPhrase) |
Set a passphrase from which the PreSharedKey is to be generated, for WPA-Personal or WPA2-Personal or WPA-WPA2-Personal security modes. More... | |
INT | wifi_getApWpsEnable (INT apIndex, BOOL *output_bool) |
Outputs the WPS enable state of this access point in output_bool. More... | |
INT | wifi_setApWpsEnable (INT apIndex, BOOL enableValue) |
Enables or disables WPS functionality for this access point. More... | |
INT | wifi_getApWpsConfigMethodsSupported (INT apIndex, CHAR *output) |
Indicates WPS configuration methods supported by the device. More... | |
INT | wifi_getApWpsConfigMethodsEnabled (INT apIndex, CHAR *output_string) |
Indicates WPS configuration methods enabled on the device. More... | |
INT | wifi_setApWpsConfigMethodsEnabled (INT apIndex, CHAR *methodString) |
Enable WPS configuration methods on the device. More... | |
INT | wifi_getApWpsDevicePIN (INT apIndex, ULONG *output_ulong) |
Outputs the WPS device pin value, ulong_pin must be allocated by the caller. More... | |
INT | wifi_setApWpsDevicePIN (INT apIndex, ULONG pin) |
Set an environment variable for the WPS pin for the selected Access Point. More... | |
INT | wifi_getApAssociatedDeviceDiagnosticResult (INT apIndex, wifi_associated_dev_t **associated_dev_array, UINT *output_array_size) |
The function provides a list of the devices currently associated with the access point. More... | |
INT | wifi_getApAssociatedDeviceDiagnosticResult2 (INT apIndex, wifi_associated_dev2_t **associated_dev_array, UINT *output_array_size) |
The function provides a list of the devices currently associated with the access point. More... | |
INT | wifi_getApAssociatedClientDiagnosticResult (INT apIndex, char *mac_addr, wifi_associated_dev3_t *dev_conn) |
BOOL | wifi_steering_supported (void) |
Steering API Supported. More... | |
INT | wifi_steering_setGroup (UINT steeringgroupIndex, wifi_steering_apConfig_t *cfg_2, wifi_steering_apConfig_t *cfg_5) |
Add a Steering Group. More... | |
void | wifi_apAuthEvent_callback_register (wifi_apAuthEvent_callback callback_proc) |
INT | wifi_getApAuthenticatedDevices (INT apIndex, mac_t **mac_array, UINT *output_array_size) |
void | wifi_apAuthenticatedEvent_callback_register (wifi_apAuthEvent_callback callback_proc) |
void | wifi_apAssociatedDevice_callback_register (wifi_apAssociatedDevice_callback callback_proc) |
INT | wifi_getRadioClientInactivityTimout (INT radioIndex, INT *output_timout_sec) |
INT | wifi_getApInterworkingServiceCapability (INT apIndex, BOOL *output_bool) |
Get the Interworking Service Capability of the AP. More... | |
INT | wifi_setBTMRequest (UINT apIndex, CHAR *peerMac, wifi_BTMRequest_t *request) |
Set a BTM Request to a non-AP STA. The callback register function should be called first so that the response can be handled by the application. More... | |
INT | wifi_getBSSTransitionImplemented (UINT apIndex, BOOL *activate) |
Get the BTM implemented value. When not implemented the gateway ignores a BTM query request as defined in 802.11-2016 section 11.11.10.3. More... | |
INT | wifi_getBTMClientCapabilityList (UINT apIndex, wifi_BTMCapabilities_t *extBTMCapabilities) |
INT | wifi_setNeighborReports (UINT apIndex, UINT numNeighborReports, wifi_NeighborReport_t *neighborReports) |
INT | wifi_setRMBeaconRequest (UINT apIndex, CHAR *peer, wifi_BeaconRequest_t *in_request, UCHAR *out_DialogToken) |
INT | wifi_getRMCapabilities (CHAR *peer, UCHAR out_Capabilities[5]) |
INT | wifi_dppSetSTAPassphrase (UINT apIndex, CHAR *sta, CHAR *key) |
INT | wifi_dppRemoveSTAPassphrase (UINT apIndex, CHAR *sta) |
INT | wifi_getRadioChannels (INT radioIndex, wifi_channelMap_t *output_map, INT output_map_size) |
INT | wifi_dppInitiate (wifi_device_dpp_context_t *ctx) |
INT | wifi_dppCancel (wifi_device_dpp_context_t *ctx) |
int | mgmt_frame_received_callback (INT ap_index, mac_address_t sta_mac, UCHAR *frame, UINT len, wifi_mgmtFrameType_t type, wifi_direction_t dir) |
INT | wifi_dpp_frame_received_callbacks_register (wifi_dppAuthResponse_callback_t dppAuthCallback, wifi_dppConfigRequest_callback_t dppConfigCallback, wifi_dppConfigResult_callback_t dppConfigResultCallback, wifi_dppReconfigAnnounce_callback_t dppReconfigAnnounceCallback, wifi_dppReconfigAuthResponse_callback_t dppReconfigAuthRspCallback) |
INT | wifi_dppSendAuthCnf (wifi_device_dpp_context_t *ctx) |
INT | wifi_dppSendConfigResponse (wifi_device_dpp_context_t *ctx) |
INT | wifi_anqp_request_callback_register (wifi_anqp_request_callback_t callback) |
INT | wifi_anqpSendResponse (UINT apIndex, mac_address_t sta, unsigned char token, wifi_anqp_node_t *list) |
INT | wifi_chan_eventRegister (wifi_chan_eventCB_t event_cb) |
INT | wifi_isZeroDFSSupported (UINT radioIndex, BOOL *supported) |
Check if Zero DFS is supported. More... | |
typedef struct _wifi_device wifi_device_t |
typedef struct athstat_results athstat_results_t |
Definition at line 3191 of file wifi_hal_deprecated.h.
Definition at line 3198 of file wifi_hal_deprecated.h.
Definition at line 3204 of file wifi_hal_deprecated.h.
typedef ssid_t wifi_dpp_discovery_object_t |
Definition at line 3418 of file wifi_hal_deprecated.h.
typedef void(* wifi_dppAuthResponse_callback_t) (UINT apIndex, mac_address_t sta, UCHAR *frame, UINT len) |
Definition at line 3562 of file wifi_hal_deprecated.h.
typedef void(* wifi_dppConfigRequest_callback_t) (UINT apIndex, mac_address_t sta, UCHAR token, UCHAR *attribs, UINT length) |
Definition at line 3581 of file wifi_hal_deprecated.h.
typedef void(* wifi_dppConfigResult_callback_t) (UINT apIndex, mac_address_t sta, UCHAR *attribs, UINT length) |
Definition at line 3601 of file wifi_hal_deprecated.h.
typedef void(* wifi_dppReconfigAnnounce_callback_t) (UINT apIndex, mac_address_t sta, UCHAR *attribs, UINT length) |
Definition at line 3620 of file wifi_hal_deprecated.h.
typedef void(* wifi_dppReconfigAuthResponse_callback_t) (UINT apIndex, mac_address_t sta, UCHAR *frame, UINT len) |
Definition at line 3638 of file wifi_hal_deprecated.h.
typedef struct wifi_anqp_node wifi_anqp_node_t |
typedef void(* wifi_anqp_request_callback_t) (UINT apIndex, mac_address_t sta, unsigned char token, wifi_anqp_node_t *list) |
Definition at line 3801 of file wifi_hal_deprecated.h.
typedef void(* wifi_chan_eventCB_t) (UINT radioIndex, wifi_chan_eventType_t event, UCHAR channel) |
Definition at line 3808 of file wifi_hal_deprecated.h.
enum wifi_csaDeauthMode_t |
Enumerator | |
---|---|
WIFI_CSA_DEAUTH_MODE_NONE | |
WIFI_CSA_DEAUTH_MODE_UCAST | |
WIFI_CSA_DEAUTH_MODE_BCAST |
Definition at line 129 of file wifi_hal_deprecated.h.
Enumerator | |
---|---|
WIFI_SCANFILTER_MODE_DISABLED | |
WIFI_SCANFILTER_MODE_ENABLED | |
WIFI_SCANFILTER_MODE_FIRST |
Definition at line 136 of file wifi_hal_deprecated.h.
enum wifi_macAclMode_t |
Enumerator | |
---|---|
WIFI_MAC_ACL_MODE_DISABLED | |
WIFI_MAC_ACL_MODE_WHITELIST | |
WIFI_MAC_ACL_MODE_BLACKLIST |
Definition at line 143 of file wifi_hal_deprecated.h.
Definition at line 301 of file wifi_hal_deprecated.h.
Enumerator | |
---|---|
WIFI_DPP_TECH_INFRA |
Definition at line 3398 of file wifi_hal_deprecated.h.
Enumerator | |
---|---|
WIFI_DPP_KEY_MGMT_PSK | |
WIFI_DPP_KEY_MGMT_DPP | |
WIFI_DPP_KEY_MGMT_SAE | |
WIFI_DPP_KEY_MGMT_PSKSAE | |
WIFI_DPP_KEY_MGMT_DPPPSKSAE |
Definition at line 3402 of file wifi_hal_deprecated.h.
enum wifi_dpp_state_t |
Definition at line 3429 of file wifi_hal_deprecated.h.
Definition at line 3442 of file wifi_hal_deprecated.h.
Enumerator | |
---|---|
ActStatus_Idle | |
ActStatus_Config_Error | |
ActStatus_In_Progress | |
ActStatus_No_Response | |
ActStatus_Failed | |
ActStatus_OK |
Definition at line 3456 of file wifi_hal_deprecated.h.
Enumerator | |
---|---|
wifi_dpp_session_type_config | |
wifi_dpp_session_type_reconfig |
Definition at line 3476 of file wifi_hal_deprecated.h.
Definition at line 3493 of file wifi_hal_deprecated.h.
Definition at line 3502 of file wifi_hal_deprecated.h.
Definition at line 3735 of file wifi_hal_deprecated.h.
Definition at line 3763 of file wifi_hal_deprecated.h.
enum wifi_anqp_id_type_t |
Enumerator | |
---|---|
wifi_anqp_id_type_anqp | |
wifi_anqp_id_type_hs |
Definition at line 3781 of file wifi_hal_deprecated.h.
INT wifi_getTWTParams | ( | CHAR * | sta, |
wifi_twt_params_t * | twt_params | ||
) |
INT wifi_getRadioChannelStats2 | ( | INT | radioIndex, |
wifi_channelStats2_t * | outputChannelStats2 | ||
) |
Get the wifi hal version in string.
Eg "2.0.0". WIFI_HAL_MAJOR_VERSION.WIFI_HAL_MINOR_VERSION.WIFI_HAL_MAINTENANCE_VERSION
[out] | output_string | WiFi Hal version to be returned. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Outputs the country code to a max 64 character string.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | Country code to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the country code for selected Wi-Fi radio channel.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | CountryCode | Country code |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the country code for both wifi radios and apply them. wifi reset automatically if necessary. The function need to return immediately.
[in] | CountryCode | Country code |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the ATM(Air Time Management) Capable.
[out] | output_bool | Indication as to whether Air Time Management is supported. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set ATM Enable.
The type of algorithm to apply across the configured Access Points and/or clients;
[in] | enable | Boolean value to set/unset ATM. False indicates Disabled True indicates Dynamic (Sharing of unused Airtime Between AP Groups allowed) |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get ATM Enable status.
[out] | output_enable | Returns the ATM enable status. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set Access Point Air Time Percent.
[in] | apIndex | Index of Access Point array. |
[in] | ap_AirTimePercent | The Percentage of Available Airtime assigned to this ATM Access Point Group (5%-100%) The sum of all percentages assigned to all groups must be <= 100%" |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get Ap Air Time Percent.
[in] | apIndex | The index of Access Point array. |
[out] | output_ap_AirTimePercent | The Percentage of Available Airtime assigned to this ATM Access Point Group (5%-100%) |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the list for Air Time Percent for each Station.
[in] | apIndex | The index of Access Point array. |
[out] | output_sta_MAC_ATM_array | Caller allocated buffer. output_sta_MAC_ATM_array contains the atm array in format of "$MAC $ATM_percent|$MAC $ATM_percent|$MAC $ATM_percent" |
[out] | buf_size | The size for output_sta_MAC_ATM_array |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the total number of radios in this wifi subsystem.
[out] | output | Total number of radios to be returned. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the total number of SSID entries in this wifi subsystem.
[out] | output | Total number of SSID entries to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the maximum PHY bit rate supported by this interface. eg: "216.7 Mb/s", "1.3 Gb/s".
The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel. |
[out] | output_string | Maximum bit rate supported, to be returned. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get Supported frequency bands at which the radio can operate. eg: "2.4GHz,5GHz".
The output_string is a max length 64 octet string that is allocated by the RDKB code.
Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | Supported frequency bands, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the frequency band at which the radio is operating, eg: "2.4GHz".
The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel. |
[out] | output_string | Operating frequency band, to be returned. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the Supported Radio Mode. eg: "b,g,n"; "n,ac"; "ax"; "a,n,ac,ax".
The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel. |
[out] | output_string | Supported radio mode, to be returned. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getRadioStandard | ( | INT | radioIndex, |
CHAR * | output_string, | ||
BOOL * | gOnly, | ||
BOOL * | nOnly, | ||
BOOL * | acOnly | ||
) |
Get the radio operating mode, and pure mode flag. eg: "ac".
Deprecated: used for old RDKB code. The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | Radio operating mode, to be returned |
[out] | gOnly | Boolean pointer variable need to be updated based on the "output_string" |
[out] | nOnly | Boolean pointer variable need to be updated based on the "output_string" |
[out] | acOnly | Boolean pointer variable need to be updated based on the "output_string" |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the radio operating mode, and pure mode flag. eg: "ac".
The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | Radio operating mode, to be returned |
[out] | pureMode | Pointer to pure mode bit map starting from LSB b only, g only, a only, n only, ac only, ax only, e.g. n only will be 8, ax only will be 32 |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_setRadioChannelMode | ( | INT | radioIndex, |
CHAR * | channelMode, | ||
BOOL | gOnlyFlag, | ||
BOOL | nOnlyFlag, | ||
BOOL | acOnlyFlag | ||
) |
Set the radio operating mode, and pure mode flag.
Deprecated: used for old RDKB code.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | channelMode | Pass the channelMode for specified radio index |
[in] | gOnlyFlag | Pass operating mode flag for setting pure mode flag |
[in] | nOnlyFlag | Pass operating mode flag for setting pure mode flag |
[in] | acOnlyFlag | Pass operating mode flag for setting pure mode flag |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the radio operating mode, and pure mode flag.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | channelMode | Pass the channelMode for specified radio index |
[in] | pureMode | Pass flag for setting pure mode bit map starting from LSB b only, g only, a only, n only, ac only, ax only, e.g. n only will be 8, ax only will be 32 |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the list of supported channel. eg: "1-11".
The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | List of supported radio channels, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the list of supported channel. eg: "1-11".
The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | List of supported radio channels, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the running channel number.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_ulong | Running channel number, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the running channel number.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | channel | Channel number to be set as running wifi radio channel |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Enables or disables a driver level variable to indicate if auto channel selection is enabled on this radio.
This "auto channel" means the auto channel selection when radio is up. (which is different from the dynamic channel/frequency selection (DFC/DCS))
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | enable | Enable/Disable selected radio channel as auto channel radio |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Check if the driver support the AutoChannel.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_bool | Value of Auto Channel Supported, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the AutoChannel enable status.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_bool | Auto Channel Enabled status, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Check if the driver support the DCS.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_bool | DCS Supported flag for the radio index, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get DCS of the selected wifi radio channel's enable/disable status.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_bool | DCS Enable flag for the selected radio index, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Enable/Disable selected wifi radio channel's DCS.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | enable | Set the value of DCS Enable flag for the selected radio index |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get radio DCS channel pool.
The output_string is a max length 256 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this. The value of this parameter is a comma seperated list of channel number.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_pool | DCS channel pool for the selected radio index,to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set radio DCS channel pool.
The output_string is a max length 256 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this. The value of this parameter is a comma seperated list of channel number.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | pool | Set DCS channel pool for the selected radio index |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getRadioDCSScanTime | ( | INT | radioIndex, |
INT * | output_interval_seconds, | ||
INT * | output_dwell_milliseconds | ||
) |
Get radio DCS scan time.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_interval_seconds | Get the interval time in seconds |
[out] | output_dwell_milliseconds | Get the dwell time in milliseconds |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set radio DCS scan time.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | interval_seconds | Set the interval time in seconds |
[in] | dwell_milliseconds | Set the dwell time in milliseconds |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set radio Dcs Dwell time.
[in] | radioIndex | Index of Wi-Fi radio |
[in] | millisecond | Dwell time on each channel |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get radio Dcs Dwell time.
[in] | radioIndex | Index of Wi-Fi radio |
[in] | output_millisecond | Dwell time on each channel |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Enable/Disable selected wifi radio channel's DCS.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | enable | Set the value of DCS Enable flag for the selected radio index |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get DCS of the selected wifi radio channel's enable/disable status.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_bool | DCS Enable flag for the selected radio index, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getRadioDcsChannelMetrics | ( | INT | radioIndex, |
wifi_channelMetrics_t * | input_output_channelMetrics_array, | ||
INT | array_size | ||
) |
Get radio Channel Metrics.
[in] | radioIndex | Index of Wi-Fi radio |
[out] | input_output_channelMetrics_array | caller allocated buffer |
[out] | array_size | The count for wifi_channelMetrics_t that caller allocated |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Instantlly change the radio Channel.
Use Channels Switch Announcements (CSAs) (in 802.11h) to notify the client, and channel change instantly. Do not save wifi config (channel change is not persistent over wifi reboot).
[in] | radioIndex | Index of Wi-Fi radio |
[in] | channel | net channel |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_pushRadioChannel2 | ( | INT | radioIndex, |
UINT | channel, | ||
UINT | channel_width_MHz, | ||
UINT | csa_beacon_count | ||
) |
This HAL API is used to change the channel to destination channel, with destination bandwidth.
[in] | radioIndex | Index of Wi-Fi radio |
[in] | channel | net channel |
[in] | channel_width_MHz | channel frequency |
[in] | csa_beacon_count | Specifies how long CSA need to be announced. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get radio DFS support.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_bool | Get DFS support for the selected radio index in the pre-allocated buffer |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Check if the driver support the AutoChannelRefreshPeriod.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_bool | Get auto channel refresh period support for the selected radio channel in the pre-allocated bool buffer. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the DCS refresh period in seconds.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_ulong | The refresh period. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the DCS refresh period in seconds.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | seconds | Set auto channel refresh period in seconds support for the selected radio channel. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the Operating Channel Bandwidth. eg "20MHz", "40MHz", "80MHz", "80+80", "160".
The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | Get operating channel bandwidth for the selected radio channel in the pre-allocated char buffer. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the Operating Channel Bandwidth. eg "20MHz", "40MHz", "80MHz", "80+80", "160".
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | bandwidth | Set operating channel bandwidth for the selected radio channel |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the secondary extension channel position.
"AboveControlChannel" or "BelowControlChannel". (this is for 40MHz and 80MHz bandwith only). The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | Secondary extension channel position, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the secondary extension channel position.
"AboveControlChannel" or "BelowControlChannel". (this is for 40MHz and 80MHz bandwith only).
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | string | Secondary extension channel position |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the guard interval value. eg "400nsec" or "800nsec".
The output_string is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_string | Guard interval value, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the guard interval value. eg "400nsec" or "800nsec".
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | string | Guard interval value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get supported Transmit Power list, eg : "0,25,50,75,100".
The output_list is a max length 64 octet string that is allocated by the RDKB code. Implementations must ensure that strings are not longer than this.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_list | Transmit power list, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get 80211h Supported.
80211h solves interference with satellites and radar using the same 5 GHz frequency band.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | Supported | 80211h Supported, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get 80211h feature enable.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | enable | 80211h feature enable, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set 80211h feature enable.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | enable | 80211h feature enable |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Gets the time interval between transmitting beacons (expressed in milliseconds).
This parameter is based ondot11BeaconPeriod from [802.11-2012].
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output | Radio Beacon period, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets the time interval between transmitting beacons (expressed in milliseconds).
This parameter is based ondot11BeaconPeriod from [802.11-2012].
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | BeaconPeriod | Radio Beacon period |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the supported data transmit rates in Mbps.
That have to be supported by all stations that desire to join this BSS. The stations have to be able to receive and transmit at each of the data rates listed in SupportedDataTransmitRates. For example, a value of "1,2", indicates that stations support 1 Mbps and 2 Mbps. Most control packets use a data rate in SupportedDataTransmitRates
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_rates | Comma-separated list of strings, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the set of data rates, in Mbps.
This has to be supported by all stations that desire to join this BSS. The stations have to be able to receive and transmit at each of the data rates listed inBasicDataTransmitRates. For example, a value of "1,2", indicates that stations support 1 Mbps and 2 Mbps. Most control packets use a data rate in BasicDataTransmitRates.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output | Comma-separated list of strings, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the data rates, in Mbps.
This have to be supported by all stations that desire to join this BSS. The stations have to be able to receive and transmit at each of the data rates listed inBasicDataTransmitRates. For example, a value of "1,2", indicates that stations support 1 Mbps and 2 Mbps. Most control packets use a data rate in BasicDataTransmitRates.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | TransmitRates | Comma-separated list of strings |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the set of data rates, in Mbps, that have to be supported by all stations that desire to join this BSS.
The stations have to be able to receive and transmit at each of the data rates listed inOperationalDataTransmitRates. For example, a value of "1,2", indicates that stations support 1 Mbps and 2 Mbps. Most control packets use a data rate in OperationalDataTransmitRates.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | output_rates | Comma-separated list of strings, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the data rates, in Mbps, that have to be supported by all stations that desire to join this BSS.
The stations should be able to receive and transmit at each of the data rates listed in OperationalDataTransmitRates. For example, a value of "1,2", indicates that stations support 1 Mbps and 2 Mbps. Most control packets use a data rate in OperationalDataTransmitRates.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | rates | Comma-separated list of strings |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_setRadioTrafficStatsMeasure | ( | INT | radioIndex, |
wifi_radioTrafficStatsMeasure_t * | input_struct | ||
) |
Set radio traffic static Measuring rules.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | input_struct | wifi_radioTrafficStatsMeasure_t *input_struct, traffic stats measure info |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set radio traffic statistics enable.
[in] | radioIndex | Index of Wi-Fi radio channel |
[out] | enable | Enable/disable, traffic stats statistics |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Clients associated with the AP over a specific interval.
The histogram MUST have a range from -110to 0 dBm and MUST be divided in bins of 3 dBM, with bins aligning on the -110 dBm end of the range. Received signal levels equal to or greater than the smaller boundary of a bin and less than the larger boundary are included in the respective bin. The bin associated with the clients current received signal level MUST be incremented when a client associates with the AP. Additionally, the respective bins associated with each connected clients current received signal level MUST be incremented at the interval defined by "Radio Statistics Measuring Rate". The histogram bins MUST NOT be incremented at any other time. The histogram data collected during the interval MUST be published to the parameter only at the end of the interval defined by "Radio Statistics Measuring Interval". The underlying histogram data MUST be cleared at the start of each interval defined by "Radio Statistics Measuring Interval". If any of the parameter's representing this histogram is queried before the histogram has been updated with an initial set of data, it MUST return -1. Units dBm.
[in] | radioIndex | Index of Wi-Fi radio channel |
[in] | signalIndex | Signal index |
[out] |
Get SSID enable configuration parameters (not the SSID enable status).
[in] | ssidIndex | SSID index |
[out] | output_bool | SSID enable, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set SSID enable configuration parameters.
[in] | ssidIndex | SSID index |
[in] | enable | SSID enable value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get SSID enable status.
[in] | ssidIndex | SSID index |
[out] | output_string | SSID enable status, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get SSID Name associated with the Access Point index.
Outputs a 32 byte or less string indicating the SSID name. Sring buffer must be preallocated by the caller.
[in] | apIndex | Access Point index |
[out] | output_string | SSID name, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
To read the run time ssid name.
[in] | apIndex | Access Point index |
[out] | output_string | SSID name, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set SSID Name associated with the Access Point index.
Accepts a max 32 byte string and sets an internal variable to the SSID name.
[in] | apIndex | Access Point index |
[out] | ssid_string | SSID Name |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the BSSID.
[in] | ssidIndex | SSID index |
[out] | output_string | Base BSSID, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the MAC address associated with this Wifi SSID.
[in] | ssidIndex | SSID index |
[out] | output_string | MAC Address, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getNeighboringWiFiDiagnosticResult2 | ( | INT | radioIndex, |
wifi_neighbor_ap2_t ** | neighbor_ap_array, | ||
UINT * | output_array_size | ||
) |
Start the wifi scan and get the result into output buffer for RDKB to parser.
The result will be used to manage endpoint list. HAL functon should allocate an data structure array, and return to caller with "neighbor_ap_array".
[in] | radioIndex | Radio index |
[out] | neighbor_ap_array | Neighbour access point info to be returned |
[out] | output_array_size | Length of the output array. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getNeighboringWiFiStatus | ( | INT | radioIndex, |
wifi_neighbor_ap2_t ** | neighbor_ap_array, | ||
UINT * | output_array_size | ||
) |
Returns the Wifi scan status.
[in] | radioIndex | Radio index |
[out] | neighbor_ap_array | Neighbour access point info to be returned |
[out] | output_array_size | Length of the output array. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getSSIDTrafficStats | ( | INT | ssidIndex, |
wifi_ssidTrafficStats_t * | output_struct | ||
) |
Deprecated: used for old RDKB code.
INT wifi_getBasicTrafficStats | ( | INT | apIndex, |
wifi_basicTrafficStats_t * | output_struct | ||
) |
Outputs basic traffic stats per AP.
Deprecated: used for old RDKB code.
INT wifi_getNeighboringWiFiDiagnosticResult | ( | wifi_neighbor_ap_t ** | neighbor_ap_array, |
UINT * | output_array_size | ||
) |
Deprecated: used for old RDKB code.
INT wifi_getAllAssociatedDeviceDetail | ( | INT | apIndex, |
ULONG * | output_ulong, | ||
wifi_device_t ** | output_struct | ||
) |
Deprecated: used for old RDKB code.
To get Band Steering Capability.
[out] | support | Band Steering Capability support, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Gets the ApAssociatedDevice list for client MAC addresses.
[in] | apIndex | Access Point index |
[out] | output_buf | List for client MAC, to be returned |
[out] | output_buf_size | Buffer length |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Gets the RSSI value associated with the access point.
[in] | apIndex | Access Point index |
[out] | MAC | Client MAC in upcase format |
[out] | output_RSSI | RSSI is in dbm |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Gets the ApAssociatedDevice Rx Rate.
[in] | apIndex | Access Point index |
[in] | MAC | Client MAC in upcase format |
[ut] | output_RxMb Rx Rate in Mb |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Gets the ApAssociatedDevice Tx Rate.
[in] | apIndex | Access Point index |
[in] | MAC | Client MAC in upcase format |
[out] | output_TxMb | Tx Rate in Mb |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Outputs the number of Tx streams.
[in] | radioIndex | Radio index |
[out] | output_int | Number of Tx streams, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets the number of Tx streams to an environment variable.
[in] | radioIndex | Radio index |
[in] | numStreams | Number of Tx streams |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Outputs the number of Rx streams.
[in] | radioIndex | Radio index |
[out] | output_int | Number of Rx streams, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets the number of Rx streams to an environment variable.
[in] | radioIndex | Radio index |
[in] | numStreams | Number of Rx streams |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Push the environment variable that is set by "wifi_setSsidName" to the hardware.
[in] | apIndex | Access Point index |
[in] | ssid | WiFi SSID value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Push the environment variable that is set by "wifi_setApSsidAdvertisementEnable" to the hardware.
[in] | apIndex | Access Point index |
[in] | enable | SSID Advertisement value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get radio RDG enable setting.
[in] | radioIndex | Radio index |
[out] | output_bool | RDG enable setting value, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set radio RDG enable setting.
[in] | radioIndex | Radio index |
[in] | enable | RDG enable setting value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get radio ADDBA (ADD Block Acknowledgement) enable setting.
[in] | radioIndex | Radio index |
[out] | output_bool | Radio ADDBA enable setting value, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set radio ADDBA (ADD Block Acknowledgement) enable setting.
[in] | radioIndex | Radio index |
[in] | enable | Radio ADDBA enable setting value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get radio 11n pure mode enable support.
[in] | radioIndex | Radio index |
[out] | output_bool | Radio 11n pure mode enable support value, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get radio 11n pure mode enable setting.
[in] | radioIndex | Radio index |
[out] | output_bool | Radio 11n pure mode enable setting, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set radio 11n pure mode enable setting.
[in] | radioIndex | Radio index |
[in] | enable | Radio 11n pure mode enable setting |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Creates a new access point and pushes these parameters to the hardware.
[in] | apIndex | Access Point index |
[in] | radioIndex | Radio index |
[in] | essid | SSID Name |
[in] | hideSsid | True/False, to SSID advertisement enable value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Outputs the index number in that corresponds to the SSID string.
[in] | inputSsidString | WiFi SSID Name |
[out] | ouput_int | Access Point index, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets the DTIM interval for this Access Point.
DTIM (Delivery Traffic Indication Message)
[in] | apIndex | Access Point index |
[in] | dtimInterval | DTIM interval |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Outputs a 32 byte or less string indicating the beacon type as "None", "Basic", "WPA", "11i", "WPAand11i".
[in] | apIndex | Access Point index |
[out] | output_string | Beacon type, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets the beacon type environment variable. Allowed input strings are "None", "Basic", "WPA, "11i", "WPAand11i".
[in] | apIndex | Access Point index |
[in] | beaconTypeString | Beacon type |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets the beacon interval on the hardware for this Access Point.
[in] | apIndex | Access Point index |
[in] | beaconInterval | Beacon interval |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the packet size threshold supported.
[in] | apIndex | Access Point index |
[out] | output_bool | Packet size threshold supported, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Ouputs up to a 32 byte string as either "TKIPEncryption", "AESEncryption", or "TKIPandAESEncryption".
[in] | apIndex | Access Point index |
[out] | output_string | WPA Encryption mode, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets the encyption mode environment variable.
Valid string format are:
[in] | apIndex | Access Point index |
[in] | encMode | WPA Encryption mode |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set the authorization mode on this access point.
Mode mapping as: -1 open -2 shared -4 auto
[in] | apIndex | Access Point index |
[in] | mode | Authorization mode |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets an environment variable for the authMode.
Valid strings are "None", "EAPAuthentication" or "SharedAuthentication".
[in] | apIndex | Access Point index |
[in] | authMode | Authentication mode |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Manually removes any active wi-fi association with the device specified on this access point.
[in] | apIndex | Access Point index |
[in] | client_mac | Client device MAC address |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets the radio index for the specific access point.
[in] | apIndex | Access Point index |
[in] | radioIndex | Radio index |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the ACL MAC list per Access Point.
[in] | apIndex | Access Point index |
[out] | macArray | Mac Array list, to be returned // in formate as "11:22:33:44:55:66\n11:22:33:44:55:67\n" |
[out] | buf_size | Buffer size for the mac array list |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Adds the mac address to the filter list.
[in] | apIndex | Access Point index |
[in] | DeviceMacAddress | Mac Address of a device |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Deletes the Device MAC address from the Access control filter list.
[in] | apIndex | Access Point index |
[in] | DeviceMacAddress | Mac Address of a device |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Enables internal gateway VLAN mode.
In this mode a Vlan tag is added to upstream (received) data packets before exiting the Wifi driver. VLAN tags in downstream data are stripped from data packets before transmission. Default is FALSE.
[in] | apIndex | Access Point index |
[in] | VlanEnabled | Internal gateway VLAN mode |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Gets bridgeName, IP address and Subnet.
BridgeName is a maximum of 32 characters.
[in] | index | Access Point index |
[out] | bridgeName | Bridge name, to be returned |
[out] | IP | IP Address, to be returned |
[out] | subnet | Subnet, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Sets bridgeName, IP address and Subnet to internal environment variables.
BridgeName is a maximum of 32 characters.
[in] | apIndex | Access Point index |
[in] | bridgeName | Bridge name |
[in] | IP | IP Address |
[in] | subnet | Subnet |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Dynamically enable/disable access point.
[in] | apIndex | Access Point index |
[in] | enable | Enable/Disable AP enable status variable |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Push the ssid advertisement enable variable to the hardware.
Applying changs with wifi_applyRadioSettings().
[in] | apIndex | Access Point index |
[in] | enable | SSID Advertisement enable value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Indicates whether this access point supports WiFi Multimedia (WMM) Access Categories (AC).
[in] | apIndex | Access Point index |
[out] | output | WMM capability, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Indicates whether this access point supports WMM Unscheduled Automatic Power Save Delivery (U-APSD).
U-APSD support implies WMM support.
[in] | apIndex | Access Point index |
[out] | output | U-APSD capability, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Indicates which security modes this AccessPoint instance is capable of supporting.
Each list item is an enumeration of:
[in] | apIndex | Access Point index |
[out] | output | Comma-separated list of security modes, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get the Security modes supported.
The value MUST be a member of the list reported by the ModesSupported parameter. Indicates which security mode is enabled.
[in] | apIndex | Access Point index |
[out] | output | Enabled security mode, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Enable supported security mode.
The value MUST be a member of the list reported by the ModesSupported parameter. Indicates which security mode is enabled.
[in] | apIndex | Access Point index |
[in] | encMode | Supported security mode |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get PreSharedKey associated with a Access Point.
A literal PreSharedKey (PSK) expressed as a hexadecimal string.
[in] | apIndex | Access Point index |
[out] | output_string | PreSharedKey, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set PreSharedKey associated with a Access Point.
A literal PreSharedKey (PSK) expressed as a hexadecimal string.
[in] | apIndex | Access Point index |
[in] | preSharedKey | PreSharedKey |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Get a passphrase from which the PreSharedKey is to be generated for WPA-Personal or WPA2-Personal or.
WPA-WPA2-Personal security modes.
[in] | apIndex | Access Point index |
[out] | output_string | Security key passphrase, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set a passphrase from which the PreSharedKey is to be generated, for WPA-Personal or WPA2-Personal or WPA-WPA2-Personal security modes.
[in] | apIndex | Access Point index |
[in] | passPhrase | Security key passphrase |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Outputs the WPS enable state of this access point in output_bool.
[in] | apIndex | Access Point index |
[out] | output_bool | WPS enable state, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Enables or disables WPS functionality for this access point.
Sets the WPS enable environment variable for this ap to the value of enableValue, 1==enabled, 0==disabled.
[in] | apIndex | Access Point index |
[in] | enableValue | WPS enable state |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Indicates WPS configuration methods supported by the device.
Each list item is an enumeration of: USBFlashDrive,Ethernet,ExternalNFCToken,IntegratedNFCToken,NFCInterface,PushButton,PIN.
[in] | apIndex | Access Point index |
[out] | output | WPS configuration methods supported (Comma-separated list of strings), to be returned. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Indicates WPS configuration methods enabled on the device.
Each list item MUST be a member of the list reported by the ConfigMethodsSupported parameter.
[in] | apIndex | Access Point index |
[out] | output_string | WPS configuration methods enabled, to be returned. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Enable WPS configuration methods on the device.
Each list item MUST be a member of the list reported by the ConfigMethodsSupported parameter. Sets an environment variable that specifies the WPS configuration method(s). methodString is a comma separated list of methods:
[in] | apIndex | Access Point index |
[in] | methodString | WPS configuration methods enabled. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Outputs the WPS device pin value, ulong_pin must be allocated by the caller.
[in] | apIndex | Access Point index |
[in] | output_ulong | WPS Device PIN value, to be returned. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
Set an environment variable for the WPS pin for the selected Access Point.
[in] | apIndex | Access Point index |
[in] | pin | WPS Device PIN value |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getApAssociatedDeviceDiagnosticResult | ( | INT | apIndex, |
wifi_associated_dev_t ** | associated_dev_array, | ||
UINT * | output_array_size | ||
) |
The function provides a list of the devices currently associated with the access point.
HAL funciton should allocate an data structure array, and return to caller with "associated_dev_array".
[in] | apIndex | Access Point index |
[in] | associated_dev_array | Associated device array, to be returned |
[in] | output_array_size | Array size, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getApAssociatedDeviceDiagnosticResult2 | ( | INT | apIndex, |
wifi_associated_dev2_t ** | associated_dev_array, | ||
UINT * | output_array_size | ||
) |
The function provides a list of the devices currently associated with the access point.
HAL funciton should allocate an data structure array, and return to caller with "associated_dev_array".
[in] | apIndex | Access Point index |
[in] | associated_dev_array | Associated device array, to be returned |
[in] | output_array_size | Array size, to be returned |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_getApAssociatedClientDiagnosticResult | ( | INT | apIndex, |
char * | mac_addr, | ||
wifi_associated_dev3_t * | dev_conn | ||
) |
BOOL wifi_steering_supported | ( | void | ) |
Steering API Supported.
This tells the upper layer if the steering API is supported or not.
INT wifi_steering_setGroup | ( | UINT | steeringgroupIndex, |
wifi_steering_apConfig_t * | cfg_2, | ||
wifi_steering_apConfig_t * | cfg_5 | ||
) |
Add a Steering Group.
A steering group defines a group of apIndex's which can have steering done between them.
[in] | steeringgroupIndex | Wifi Steering Group index |
[in] | cfg_2 | 2.4G apConfig |
[in] | cfg_5 | 5G apConfig |
void wifi_apAuthEvent_callback_register | ( | wifi_apAuthEvent_callback | callback_proc | ) |
void wifi_apAuthenticatedEvent_callback_register | ( | wifi_apAuthEvent_callback | callback_proc | ) |
void wifi_apAssociatedDevice_callback_register | ( | wifi_apAssociatedDevice_callback | callback_proc | ) |
Get the Interworking Service Capability of the AP.
[in] | pIndex | Index of the Access Point. |
[in] | output_bool | Indication as to whether the AP supports the Interworking Service. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |
INT wifi_setBTMRequest | ( | UINT | apIndex, |
CHAR * | peerMac, | ||
wifi_BTMRequest_t * | request | ||
) |
Set a BTM Request to a non-AP STA. The callback register function should be called first so that the response can be handled by the application.
apIndex; | index of the vAP to send the request from. |
peerMACAddress; | MAC address of the peer device to send the request to. |
in_struct; | BTM Request Frame to send to the non-AP STA. |
RETURN_OK | if successful. |
RETURN_ERR | if any error is detected. |
Get the BTM implemented value. When not implemented the gateway ignores a BTM query request as defined in 802.11-2016 section 11.11.10.3.
apIndex | - AP Index the setting applies to. |
activate | - True for implemented false for not implemented. |
RETURN_OK | if successful. |
RETURN_ERR | if any error is detected. |
INT wifi_getBTMClientCapabilityList | ( | UINT | apIndex, |
wifi_BTMCapabilities_t * | extBTMCapabilities | ||
) |
@description Get the BTM capability of an external STA. Reports the value of the BSS Transition bit in the Extended Capabilities element, if detected, from an external STA. Reports the latest value detected in the element received by any vAP in any frame type.
apIndex | - AP the Extended Capabilities elements were received on. |
extBTMCapabilities | - structure with parallel arrays of peer MAC addresses and BTM capability indicators. |
RETURN_OK | if successful. |
RETURN_ERR | if any error is detected. |
INT wifi_setNeighborReports | ( | UINT | apIndex, |
UINT | numNeighborReports, | ||
wifi_NeighborReport_t * | neighborReports | ||
) |
INT wifi_setRMBeaconRequest | ( | UINT | apIndex, |
CHAR * | peer, | ||
wifi_BeaconRequest_t * | in_request, | ||
UCHAR * | out_DialogToken | ||
) |
INT wifi_getRadioChannels | ( | INT | radioIndex, |
wifi_channelMap_t * | output_map, | ||
INT | output_map_size | ||
) |
INT wifi_dppInitiate | ( | wifi_device_dpp_context_t * | ctx | ) |
INT wifi_dppCancel | ( | wifi_device_dpp_context_t * | ctx | ) |
int mgmt_frame_received_callback | ( | INT | ap_index, |
mac_address_t | sta_mac, | ||
UCHAR * | frame, | ||
UINT | len, | ||
wifi_mgmtFrameType_t | type, | ||
wifi_direction_t | dir | ||
) |
INT wifi_dpp_frame_received_callbacks_register | ( | wifi_dppAuthResponse_callback_t | dppAuthCallback, |
wifi_dppConfigRequest_callback_t | dppConfigCallback, | ||
wifi_dppConfigResult_callback_t | dppConfigResultCallback, | ||
wifi_dppReconfigAnnounce_callback_t | dppReconfigAnnounceCallback, | ||
wifi_dppReconfigAuthResponse_callback_t | dppReconfigAuthRspCallback | ||
) |
INT wifi_dppSendAuthCnf | ( | wifi_device_dpp_context_t * | ctx | ) |
INT wifi_dppSendConfigResponse | ( | wifi_device_dpp_context_t * | ctx | ) |
INT wifi_anqp_request_callback_register | ( | wifi_anqp_request_callback_t | callback | ) |
INT wifi_anqpSendResponse | ( | UINT | apIndex, |
mac_address_t | sta, | ||
unsigned char | token, | ||
wifi_anqp_node_t * | list | ||
) |
INT wifi_chan_eventRegister | ( | wifi_chan_eventCB_t | event_cb | ) |
Check if Zero DFS is supported.
Zero DFS (also known as Background CAC) allows Wi-Fi stack to continue operation on main channel and at the same time run background CAC.
[in] | radioIndex | Index of Wi-Fi radio |
[out] | supported | True if ZeroDFS is supported, false otherwise. |
RETURN_OK | if successful |
RETURN_ERR | if any error is detected |