RDK-B
wifi_hal_radio.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_channelMap_t
 
struct  __attribute__
 Wifi RADIUS Settings. More...
 
struct  wifi_edca_t
 Enhanced Distributed Channel Access parameters. More...
 

Macros

#define MAXNUMSECONDARYCHANNELS   7
 

Typedefs

typedef struct _wifi_channelMap_t wifi_channelMap_t
 
typedef INT(* wifi_scanResults_callback) (wifi_radio_index_t index, wifi_bss_info_t **bss, UINT *num_bss)
 

Enumerations

enum  wifi_guard_interval_t {
  wifi_guard_interval_400 = 0x01, wifi_guard_interval_800 = 0x02, wifi_guard_interval_1600 = 0x04, wifi_guard_interval_3200 = 0x08,
  wifi_guard_interval_auto = 0x10
}
 Guard intervals types. More...
 
enum  wifi_radar_eventType_t {
  WIFI_EVENT_RADAR_DETECTED, WIFI_EVENT_RADAR_CAC_FINISHED, WIFI_EVENT_RADAR_CAC_ABORTED, WIFI_EVENT_RADAR_NOP_FINISHED,
  WIFI_EVENT_RADAR_PRE_CAC_EXPIRED, WIFI_EVENT_RADAR_CAC_STARTED
}
 
enum  wifi_channelState_t {
  CHAN_STATE_AVAILABLE = 1, CHAN_STATE_DFS_NOP_FINISHED, CHAN_STATE_DFS_NOP_START, CHAN_STATE_DFS_CAC_START,
  CHAN_STATE_DFS_CAC_COMPLETED
}
 
enum  wifi_dl_data_ack_type_t { wifi_dl_data_ack_immediate, wifi_dl_data_block_ack_immediate, wifi_dl_data_block_ack_deferred }
 

Functions

INT wifi_getRadioResetCount (INT radioIndex, ULONG *output_int)
 Get the radio reset count. More...
 
int wifi_factoryResetRadios ()
 Restore all radio parameters without touching access point parameters. More...
 
int wifi_factoryResetRadio (int radioIndex)
 Restore selected radio parameters without touching access point parameters. More...
 
INT wifi_getRadioEnable (INT radioIndex, BOOL *output_bool)
 Get the Radio enable config parameter. More...
 
INT wifi_setRadioEnable (INT radioIndex, BOOL enable)
 Set the Radio enable config parameter. More...
 
INT wifi_getRadioStatus (INT radioIndex, BOOL *output_bool)
 Get the Radio enable status. More...
 
INT wifi_getRadioIfName (INT radioIndex, CHAR *output_string)
 Get the Radio Interface name from platform, eg "wifi0". More...
 
INT wifi_getRadioDfsEnable (INT radioIndex, BOOL *output_bool)
 Get the Dfs enable status. More...
 
INT wifi_setRadioDfsEnable (INT radioIndex, BOOL enabled)
 Set the Dfs enable status. More...
 
INT wifi_getRadioDfsAtBootUpEnable (INT radioIndex, BOOL *enable)
 Get the Dfs enable on Bootup status. More...
 
INT wifi_setRadioDfsAtBootUpEnable (INT radioIndex, BOOL enable)
 Set the Dfs enable on Bootup status. More...
 
INT wifi_getRadioMCS (INT radioIndex, INT *output_INT)
 Get the Modulation Coding Scheme index, eg: "-1", "1", "15". More...
 
INT wifi_setRadioMCS (INT radioIndex, INT MCS)
 Set the Modulation Coding Scheme index, eg: "-1", "1", "15". More...
 
INT wifi_getRadioTransmitPower (INT radioIndex, ULONG *output_ulong)
 Get current Transmit Power in dBm units. More...
 
INT wifi_getRadioPercentageTransmitPower (INT radioIndex, ULONG *output_ulong)
 Get current Transmit Power level in units of full power. More...
 
INT wifi_setRadioTransmitPower (INT radioIndex, ULONG TransmitPower)
 Set current Transmit Power, eg "75", "100". More...
 
INT wifi_getRadioCarrierSenseThresholdRange (INT radioIndex, INT *output)
 Indicates the Carrier Sense ranges supported by the radio. More...
 
INT wifi_getRadioCarrierSenseThresholdInUse (INT radioIndex, INT *output)
 The RSSI signal level at which CS/CCA detects a busy condition. More...
 
INT wifi_setRadioCarrierSenseThresholdInUse (INT radioIndex, INT threshold)
 Set Carrier sense threshold in use for the selected radio index. More...
 
INT wifi_applyRadioSettings (INT radioIndex)
 This API is used to apply (push) all previously set radio level variables and make these settings active in the hardware. More...
 
INT wifi_setRadioCtsProtectionEnable (INT apIndex, BOOL enable)
 Enables CTS protection for the radio used by this Access Point. More...
 
INT wifi_setRadioObssCoexistenceEnable (INT apIndex, BOOL enable)
 Enables OBSS Coexistence - fall back to 20MHz if necessary for the radio used by this AP. More...
 
INT wifi_setRadioFragmentationThreshold (INT apIndex, UINT threshold)
 Sets the fragmentation threshold in bytes for the radio used by this Access Point. More...
 
INT wifi_setRadioSTBCEnable (INT radioIndex, BOOL STBC_Enable)
 Enable STBC mode in the hardware. 0 == not enabled, 1 == enabled. More...
 
INT wifi_getRadioAMSDUEnable (INT radioIndex, BOOL *output_bool)
 Outputs A-MSDU enable status, 0 == not enabled, 1 == enabled. More...
 
INT wifi_setRadioAMSDUEnable (INT radioIndex, BOOL amsduEnable)
 Enables A-MSDU in the hardware, 0 == not enabled, 1 == enabled. More...
 
INT wifi_getRadioUpTime (INT radioIndex, ULONG *uptime)
 Get the number of seconds elapsed since radio is started. More...
 
INT wifi_getRadioReverseDirectionGrantSupported (INT radioIndex, BOOL *output_bool)
 Get radio RDG enable Support. More...
 
INT wifi_getRadioAutoBlockAckEnable (INT radioIndex, BOOL *output_bool)
 Get radio auto block ack enable setting. More...
 
INT wifi_setRadioAutoBlockAckEnable (INT radioIndex, BOOL enable)
 Set radio auto block ack enable setting. More...
 
INT wifi_getRadioIGMPSnoopingEnable (INT radioIndex, BOOL *output_bool)
 Get radio IGMP snooping enable setting. More...
 
INT wifi_setRadioIGMPSnoopingEnable (INT radioIndex, BOOL enable)
 Set radio IGMP snooping enable setting. More...
 
INT wifi_setZeroDFSState (UINT radioIndex, BOOL enable, BOOL precac)
 Set Zero DFS State. More...
 
INT wifi_getZeroDFSState (UINT radioIndex, BOOL *enable, BOOL *precac)
 Get Zero DFS State. More...
 
INT wifi_setDownlinkMuType (INT radio_index, wifi_dl_mu_type_t mu_type)
 
INT wifi_getDownlinkMuType (INT radio_index, wifi_dl_mu_type_t *mu_type)
 
INT wifi_setUplinkMuType (INT radio_index, wifi_ul_mu_type_t mu_type)
 
INT wifi_getUplinkMuType (INT radio_index, wifi_ul_mu_type_t *mu_type)
 
INT wifi_setGuardInterval (INT radio_index, wifi_guard_interval_t guard_interval)
 
INT wifi_getGuardInterval (INT radio_index, wifi_guard_interval_t *guard_interval)
 
INT wifi_setBSSColor (INT radio_index, UCHAR color)
 
INT wifi_getBSSColor (INT radio_index, UCHAR *color)
 
INT wifi_getAvailableBSSColor (INT radio_index, INT maxNumberColors, UCHAR *colorList, INT *numColorReturned)
 Get the list of avaiable BSS color. More...
 
INT wifi_getMuEdca (INT radio_index, wifi_access_category_t ac, wifi_edca_t *edca)
 Get MU (Multi-User) EDCA (Enhanced Distributed Channel Access) parameter. More...
 
INT wifi_setDownlinkDataAckType (INT radio_index, wifi_dl_data_ack_type_t ack_type)
 
INT wifi_get80211axDefaultParameters (INT radio_index, wifi_80211ax_params_t *params)
 
INT wifi_setRadioOperatingParameters (wifi_radio_index_t index, wifi_radio_operationParam_t *operationParam)
 Set Radio Operating Parameters. More...
 
INT wifi_getRadioOperatingParameters (wifi_radio_index_t index, wifi_radio_operationParam_t *operationParam)
 Get Radio Operating Parameters. More...
 
INT wifi_getScanResults (wifi_radio_index_t index, wifi_channel_t *channel, wifi_bss_info_t **bss, UINT *num_bss)
 
void wifi_scanResults_callback_register (wifi_scanResults_callback callback_proc)