RDK-B
wifi_hal_extender.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _wifi_channelStats
 
struct  _wifi_associated_dev_rate_info_rx_stats
 
struct  _wifi_associated_dev_rate_info_tx_stats
 
struct  wifi_associated_dev_tid_entry
 
struct  wifi_associated_dev_tid_stats
 
struct  _wifi_associated_dev_stats
 
struct  wifi_steering_apConfig_t
 Configuration per apIndex. More...
 
struct  wifi_steering_clientConfig_t
 Configuration per Client. More...
 
struct  wifi_steering_datarateInfo_t
 STA datarate information These are STA capabilities values. More...
 
struct  wifi_steering_rrmCaps_t
 
struct  wifi_steering_evProbeReq_t
 Probe Request Event Data This data is provided with WIFI_STEERING_EVENT_PROBE_REQ. More...
 
struct  wifi_steering_evConnect_t
 Client Connect Event Data This data is provided with WIFI_STEERING_EVENT_CLIENT_CONNECT. More...
 
struct  wifi_steering_evDisconnect_t
 Client Disconnect Event Data This data is provided with WIFI_STEERING_EVENT_CLIENT_DISCONNECT. More...
 
struct  wifi_steering_evActivity_t
 Client Activity Change Event Data This data is provided with WIFI_STEERING_EVENT_CLIENT_ACTIVITY. More...
 
struct  wifi_steering_evChanUtil_t
 Channel Utilization Event Data This data is provided with WIFI_STEERING_EVENT_CHAN_UTILIZATION. More...
 
struct  wifi_steering_evRssiXing_t
 Client RSSI Crossing Event Data This data is provided with WIFI_STEERING_EVENT_RSSI_XING. More...
 
struct  wifi_steering_evRssi_t
 Client RSSI Measurement Event Data This data is provided with WIFI_STEERING_EVENT_RSSI, which is sent in response to a requset for the client's current RSSI measurement. More...
 
struct  wifi_steering_evAuthFail_t
 Auth Failure Event Data This data is provided with WIFI_STEERING_EVENT_AUTH_FAIL. More...
 
struct  wifi_steering_event_t
 Wifi Steering Event This is the data containing a single steering event. More...
 
struct  wifi_BTMTerminationDuration_t
 
struct  wifi_CondensedCountryString_t
 
struct  wifi_TSFInfo_t
 
struct  wifi_BSSTransitionCandidatePreference_t
 
struct  wifi_Bearing_t
 
struct  wifi_WideBWChannel_t
 
struct  wifi_Measurement_t
 
struct  wifi_HTCapabilities_t
 
struct  wifi_VHTCapabilities_t
 
struct  wifi_HTOperation_t
 
struct  wifi_VHTOperation_t
 
struct  wifi_SecondaryChannelOffset_t
 
struct  wifi_RMEnabledCapabilities_t
 
struct  wifi_VendorSpecific_t
 
struct  wifi_MeasurementPilotTransmission_t
 
struct  wifi_NeighborReport_t
 
struct  wifi_BTMRequest_t
 
struct  wifi_BTMQuery_t
 
struct  wifi_BTMResponse_t
 
struct  wifi_NeighborRequestFrame_t
 
struct  wifi_BeaconReporting_t
 
struct  wifi_RequestedElementIDS_t
 
struct  wifi_ChannelReport_t
 
struct  wifi_BeaconRequest_t
 
struct  wifi_BeaconReport_t
 
struct  wifi_steer_trigger_data_t
 

Macros

#define MAX_BTM_DEVICES   64
 
#define MAX_URL_LEN   512
 
#define MAX_CANDIDATES   64
 
#define MAX_VENDOR_SPECIFIC   32
 
#define MAX_REQUESTED_ELEMS   8
 
#define MAX_CHANNELS_REPORT   16
 

Typedefs

typedef struct _wifi_channelStats wifi_channelStats_t
 
typedef struct _wifi_associated_dev_rate_info_rx_stats wifi_associated_dev_rate_info_rx_stats_t
 
typedef struct _wifi_associated_dev_rate_info_tx_stats wifi_associated_dev_rate_info_tx_stats_t
 
typedef struct wifi_associated_dev_tid_entry wifi_associated_dev_tid_entry_t
 
typedef struct wifi_associated_dev_tid_stats wifi_associated_dev_tid_stats_t
 
typedef struct _wifi_associated_dev_stats wifi_associated_dev_stats_t
 
typedef wifi_RequestedElementIDS_t wifi_ExtdRequestedElementIDS_t
 
typedef unsigned int wifi_steer_matching_condition_t
 
typedef INT(* wifi_steerTriggered_callback) (INT apIndex, wifi_steer_trigger_data_t *data)
 
typedef void(* wifi_steering_eventCB_t) (UINT steeringgroupIndex, wifi_steering_event_t *event)
 Wifi Steering Event Callback Definition. More...
 
typedef INT(* wifi_BTMQueryRequest_callback) (UINT apIndex, CHAR *peerMac, wifi_BTMQuery_t *query, UINT inMemSize, wifi_BTMRequest_t *request)
 This call back is invoked when a STA sends a BTM query message to a vAP in the gateway. The driver will use the frame returned from this function to process the response to the query. A BTM transaction is started by a STA sending a query or by the AP sending an autonomous request. This callback is used for the former. More...
 
typedef INT(* wifi_BTMResponse_callback) (UINT apIndex, CHAR *peerMac, wifi_BTMResponse_t *response)
 This call back is invoked when a STA responds to a BTM Request from the gateway. More...
 
typedef INT(* wifi_RMBeaconReport_callback) (UINT apIndex, wifi_BeaconReport_t *out_struct, UINT *out_array_size, UCHAR *out_DialogToken)
 

Enumerations

enum  wifi_disconnectSource_t { DISCONNECT_SOURCE_UNKNOWN = 0, DISCONNECT_SOURCE_LOCAL, DISCONNECT_SOURCE_REMOTE }
 Wifi Disconnect Sources. More...
 
enum  wifi_disconnectType_t { DISCONNECT_TYPE_UNKNOWN = 0, DISCONNECT_TYPE_DISASSOC, DISCONNECT_TYPE_DEAUTH }
 Wifi Disconnect Types These are the types of wifi disconnects. More...
 
enum  wifi_steering_eventType_t {
  WIFI_STEERING_EVENT_PROBE_REQ = 1, WIFI_STEERING_EVENT_CLIENT_CONNECT, WIFI_STEERING_EVENT_CLIENT_DISCONNECT, WIFI_STEERING_EVENT_CLIENT_ACTIVITY,
  WIFI_STEERING_EVENT_CHAN_UTILIZATION, WIFI_STEERING_EVENT_RSSI_XING, WIFI_STEERING_EVENT_RSSI, WIFI_STEERING_EVENT_AUTH_FAIL
}
 Wifi Steering Event Types These are the different steering event types that are sent by the wifi_hal steering library. More...
 
enum  wifi_steering_rssiChange_t { WIFI_STEERING_RSSI_UNCHANGED = 0, WIFI_STEERING_RSSI_HIGHER, WIFI_STEERING_RSSI_LOWER }
 RSSI Crossing Values These are the RSSI crossing values provided in RSSI crossing events. More...
 
enum  wifi_steer_type_t {
  pre_assoc_probe_block, pre_assoc_assoc_block, post_assoc_idle_80211v, post_assoc_idle_kick_mac,
  post_assoc_active_80211v, post_assoc_active_kickmac
}
 

Functions

INT wifi_getRadioChannelStats (INT radioIndex, wifi_channelStats_t *input_output_channelStats_array, INT array_size)
 Get the channels utilization status. More...
 
INT wifi_getApAssociatedDeviceRxStatsResult (INT radioIndex, mac_address_t *clientMacAddress, wifi_associated_dev_rate_info_rx_stats_t **stats_array, UINT *output_array_size, ULLONG *handle)
 Get the associated client per rate receive status. More...
 
INT wifi_getApAssociatedDeviceTxStatsResult (INT radioIndex, mac_address_t *clientMacAddress, wifi_associated_dev_rate_info_tx_stats_t **stats_array, UINT *output_array_size, ULLONG *handle)
 Get the associated client per rate transmission status. More...
 
INT wifi_getApAssociatedDeviceTidStatsResult (INT radioIndex, mac_address_t *clientMacAddress, wifi_associated_dev_tid_stats_t *tid_stats, ULLONG *handle)
 Get the associated client per rate transmission status. More...
 
INT wifi_getApAssociatedDeviceStats (INT apIndex, mac_address_t *clientMacAddress, wifi_associated_dev_stats_t *associated_dev_stats, ULLONG *handle)
 Get the associated device status. More...
 
INT wifi_getSSIDRadioIndex (INT ssidIndex, INT *radioIndex)
 Get the radio index associated with the SSID entry. More...
 
INT wifi_applySSIDSettings (INT ssidIndex)
 Apply SSID and AP (in the case of Acess Point devices) to the hardware. More...
 
INT wifi_startNeighborScan (INT apIndex, wifi_neighborScanMode_t scan_mode, INT dwell_time, UINT chan_num, UINT *chan_list)
 This API initates the scanning. More...
 
INT wifi_setApCsaDeauth (INT apIndex, INT mode)
 This API set the CSA (Channel Switch Announcement) deauthentication to all clients before moving to a new channel, in the event some client doesn't support/react to CSA. More...
 
INT wifi_setApScanFilter (INT apIndex, INT mode, CHAR *essid)
 Enable/Disable scan filter in the driver. More...
 
void wifi_steerTriggered_callback_register (wifi_steerTriggered_callback callback_proc, CHAR *module)
 
INT wifi_steering_eventRegister (wifi_steering_eventCB_t event_cb)
 Register for Steering Event Callbacks. More...
 
INT wifi_steering_eventUnregister (void)
 Unregister for Steering Event Callbacks. More...
 
INT wifi_steering_clientSet (UINT steeringgroupIndex, INT apIndex, mac_address_t client_mac, wifi_steering_clientConfig_t *config)
 Add Client Config to apIndex. More...
 
INT wifi_steering_clientRemove (UINT steeringgroupIndex, INT apIndex, mac_address_t client_mac)
 Remove Client Config from apIndex. More...
 
INT wifi_steering_clientMeasure (UINT steeringgroupIndex, INT apIndex, mac_address_t client_mac)
 Initiate Instant Client RSSI Measurement. More...
 
INT wifi_steering_clientDisconnect (UINT steeringgroupIndex, INT apIndex, mac_address_t client_mac, wifi_disconnectType_t type, UINT reason)
 Initiate a Client Disconnect. More...
 
INT wifi_BTMQueryRequest_callback_register (UINT apIndex, wifi_BTMQueryRequest_callback btmQueryCallback, wifi_BTMResponse_callback btmResponseCallback)
 BTM Query callback registration function. More...
 
INT wifi_RMBeaconRequestCallbackRegister (UINT apIndex, wifi_RMBeaconReport_callback beaconReportCallback)
 
INT wifi_RMBeaconRequestCallbackUnregister (UINT apIndex, wifi_RMBeaconReport_callback beaconReportCallback)
 
INT wifi_cancelRMBeaconRequest (UINT apIndex, UCHAR dialogToken)