|
RDK-B
|
Go to the documentation of this file.
75 #ifndef __WIFI_HAL_H__
76 #define __WIFI_HAL_H__
80 #define ULONG unsigned long
84 #define BOOL unsigned char
92 #define UCHAR unsigned char
100 #define UINT unsigned int
120 #define RETURN_ERR -1
127 #ifndef RADIO_INDEX_1
128 #define RADIO_INDEX_1 1
129 #define RADIO_INDEX_2 2
139 #define AP_INDEX_10 10
140 #define AP_INDEX_11 11
141 #define AP_INDEX_12 12
142 #define AP_INDEX_13 13
143 #define AP_INDEX_14 14
144 #define AP_INDEX_15 15
145 #define AP_INDEX_16 16
148 #define COSA_DML_ALIAS_NAME_LENGTH 64
149 #define MAX_MAC_FILT 16
152 #define WIFI_HAL_MAJOR_VERSION 2 // This is the major verion of this HAL.
153 #define WIFI_HAL_MINOR_VERSION 2 // This is the minor verson of the HAL.
154 #define WIFI_HAL_MAINTENANCE_VERSION 1 // This is the maintenance version of the HAL.
156 #define HOSTAPD_CONF_FILE_PATH "/etc/hostapd.conf"
157 #define FILE_SIZE 1024
160 #define BUFFER_ADJUSTMENT 128
162 #define MACADDRESS_SIZE 6
5113 #define HOSTAPD_FNAME "/nvram/hostapd"
5114 #define SEC_FNAME "/etc/sec_file.txt"
5223 void get_mac(
unsigned char *mac);
5435 #error "! __WIFI_HAL_H__"
unsigned long wifi_PacketsReceived
int wifi_setRadioBeaconPeriod(int radioIndex, unsigned int BeaconPeriod)
int wifi_getApSecurityRadiusSettings(int apIndex, wifi_radius_setting_t *output)
unsigned int ap_BeaconPeriod
int wifi_getRadioEnable(int radioIndex, unsigned char *output_bool)
unsigned long ssid_MultipleRetryCount
unsigned long radio_PLCPErrorCount
int wifi_createHostApdConfig(int apIndex, unsigned char createWpsCfg)
Creates configuration variables needed for WPA/WPS.
unsigned long radio_InvalidMACCount
int wifi_getApSecurityModeEnabled(int apIndex, char *output)
unsigned int cli_LastDataDownlinkRate
unsigned long cli_DataFramesSentAck
unsigned long ssid_ErrorsSent
int wifi_getAllAssociatedDeviceDetail(int apIndex, unsigned long *output_ulong, wifi_device_t **output_struct)
int wifi_setRadioDCSScanTime(int radioIndex, int interval_seconds, int dwell_milliseconds)
int wifi_getRadioUpTime(int radioIndex, unsigned long *uptime)
int wifi_getApEnable(int apIndex, unsigned char *output_bool)
int wifi_getRadioSupportedStandards(int radioIndex, char *output_string)
unsigned char cli_AuthenticationState
int wifi_getRadioPossibleChannels(int radioIndex, char *output_string)
unsigned long radio_DiscardPacketsReceived
char ap_OperatingFrequencyBand[16]
void privatewifi_2g(int ssidIndex)
void wifi_apAuthEvent_callback_register(wifi_apAuthEvent_callback callback_proc)
int wifi_getApNumDevicesAssociated(int apIndex, unsigned long *output_ulong)
#define COSA_DML_ALIAS_NAME_LENGTH
int wifi_getNeighboringWiFiDiagnosticResult(wifi_neighbor_ap_t **neighbor_ap_array, unsigned int *output_array_size)
void converting_lowercase_to_uppercase(char *Value)
int SetWPSButton(char *interface_name)
unsigned long wifi_Associations
unsigned long wifi_UnknownPacketsReceived
unsigned int cli_Retransmissions
void wifi_storeprevchanval(int radioIndex)
int wifi_addApAclDevice(int apIndex, char *DeviceMacAddress)
struct _wifi_ssidTrafficStats2 wifi_ssidTrafficStats2_t
int radio_RadioStatisticsMeasuringInterval
int wifi_getRadioReverseDirectionGrantEnable(int radioIndex, unsigned char *output_bool)
unsigned long wifi_ErrorsReceived
int File_Reading(char *file, char *Value)
int wifi_getApBridgeInfo(int index, char *bridgeName, char *IP, char *subnet)
int wifi_getBasicTrafficStats(int apIndex, wifi_basicTrafficStats_t *output_struct)
int wifi_getApWpsEnable(int apIndex, unsigned char *output_bool)
unsigned long ssid_RetryCount
struct _wifi_associated_dev wifi_associated_dev_t
int wifi_getApWpsConfigMethodsSupported(int apIndex, char *output)
int BlacklistTableTimeout
int wifi_getRadioChannelsInUse(int radioIndex, char *output_string)
int wifi_setRadioTransmitPower(int radioIndex, unsigned long TransmitPower)
int wifi_setRadioTxChainMask(int radioIndex, int numStreams)
int wifi_resetApVlanCfg(int apIndex)
struct _wifi_neighbor_ap wifi_neighbor_ap_t
int wifi_setRadioCtsProtectionEnable(int apIndex, unsigned char enable)
int wifi_deleteAp(int apIndex)
unsigned long ssid_PacketsReceived
int wifi_getApWpsDevicePIN(int apIndex, unsigned long *output_ulong)
int radio_CarrierSenseThreshold_Exceeded
CHAR ap_SupportedDataTransferRates[256]
int wifi_setAutoChannelEnableVal(int radioIndex, unsigned long channel)
int wifi_getRadioSupportedFrequencyBands(int radioIndex, char *output_string)
int IdentityRequestRetryInterval
unsigned long wifi_MulticastPacketsSent
int wifi_getApWmmEnable(int apIndex, unsigned char *output)
int wifi_getRadioChannel(int radioIndex, unsigned long *output_ulong)
struct _wifi_device wifi_device_t
int wifi_getApAclDevices(int apIndex, char *macArray, unsigned int buf_size)
int wifi_getRadioDCSChannelPool(int radioIndex, char *output_pool)
void defaultwifi_restarting_process()
int wifi_setRadioIGMPSnoopingEnable(int radioIndex, unsigned char enable)
int radio_MinimumNoiseFloorOnChannel
int GetScanningValues(char *file, char *value)
int wifi_setRadioBasicDataTransmitRates(int radioIndex, char *TransmitRates)
char ap_SecurityModeEnabled[64]
unsigned long wifi_MulticastPacketsReceived
int wifi_setApAssociatedDevicesHighWatermarkThreshold(int apIndex, unsigned int Threshold)
unsigned int ap_ChannelUtilization
unsigned long radio_FCSErrorCount
unsigned long wifi_FailedRetransCount
int wifi_getRadioAMSDUEnable(int radioIndex, unsigned char *output_bool)
unsigned long wifi_DiscardedPacketsSent
char ap_EncryptionMode[64]
void wlan_encryption_mode_to_string(char *encryption_mode, char *string)
int wifi_getRadioDCSScanTime(int radioIndex, int *output_interval_seconds, int *output_dwell_milliseconds)
int wifihal_interfacestatus(char *wifi_status, char *interface_name)
unsigned int cli_Disassociations
unsigned long cli_BytesSent
int wifi_setApBridgeInfo(int apIndex, char *bridgeName, char *IP, char *subnet)
int wifi_setApWpsEnrolleePin(int apIndex, char *pin)
int wifi_getNeighboringWiFiDiagnosticResult2(int radioIndex, wifi_neighbor_ap2_t **neighbor_ap_array, unsigned int *output_array_size)
int wifi_setRadioRxChainMask(int radioIndex, int numStreams)
int wifi_getRadioTxChainMask(int radioIndex, int *output_int)
int wifi_delApAclDevice(int apIndex, char *DeviceMacAddress)
int wifi_factoryResetRadios()
Restore all radio parameters without touching access point parameters.
void xfinitywifi_5g(int ssidIndex)
int wifi_getRadioIfName(int radioIndex, char *output_string)
unsigned long ssid_AggregatedPacketCount
int wifi_getSSIDNumberOfEntries(unsigned long *output)
int wifi_getRadioAutoChannelEnable(int radioIndex, unsigned char *output_bool)
int wifi_getRadioAutoChannelRefreshPeriod(int radioIndex, unsigned long *output_ulong)
unsigned long radio_PacketsReceived
int wifi_getApRadioIndex(int apIndex, int *output_int)
unsigned long radio_ErrorsSent
unsigned long ssid_MulticastPacketsReceived
unsigned long wifi_UnicastPacketsSent
int wifi_setApVlanID(int apIndex, int vlanId)
int wifi_setRadioDeclineBARequestEnable(int radioIndex, unsigned char enable)
unsigned long wifi_BroadcastPacketsRecevied
int CcspHal_change_config_value(char *field_name, char *field_value, char *buf, unsigned int *nbytes)
unsigned long radio_PacketsSent
int wifi_getApRetryLimit(int apIndex, unsigned int *output)
unsigned long ssid_PacketsSent
unsigned char checkWifi()
unsigned long wifi_RetryCount
unsigned long ssid_FailedRetransCount
unsigned long wifi_UnicastPacketsReceived
int wifi_getRadioExtChannel(int radioIndex, char *output_string)
int wifi_setRadioTrafficStatsMeasure(int radioIndex, wifi_radioTrafficStatsMeasure_t *input_struct)
int wifi_setApSecurityPreSharedKey(int apIndex, char *preSharedKey)
int GetIfacestatus(char *interface_name, char *status)
int wifi_getRadioDfsSupport(int radioIndex, unsigned char *output_bool)
unsigned long wifi_PacketsOtherReceived
int wifi_pushRadioRxChainMask(int radioIndex)
int do_MacFilter_Delrule()
int wifi_getRadioAutoChannelSupported(int radioIndex, unsigned char *output_bool)
int wifi_getRadioGuardInterval(int radioIndex, char *output_string)
RADIUS Server information.
int wifi_setRadioReverseDirectionGrantEnable(int radioIndex, unsigned char enable)
unsigned long wifi_ErrorsReceived
unsigned long radio_BytesSent
int wifi_cancelApWPS(int apIndex)
int wifi_setApVlanEnable(int apIndex, unsigned char VlanEnabled)
int wifi_setRadioGuardInterval(int radioIndex, char *string)
int wifi_pushSsidAdvertisementEnable(int apIndex, unsigned char enable)
int wifi_getRadioDCSEnable(int radioIndex, unsigned char *output_bool)
struct __param_list param_list_t
int wifi_getApWmmUapsdEnable(int apIndex, unsigned char *output)
int wifi_setSSIDEnable(int ssidIndex, unsigned char enable)
int wifi_getSSIDEnable(int ssidIndex, unsigned char *output_bool)
int wifi_getApName(int apIndex, char *output_string)
int wifi_setRadioObssCoexistenceEnable(int apIndex, unsigned char enable)
unsigned int ap_DTIMPeriod
int wifi_setApWmmUapsdEnable(int apIndex, unsigned char enable)
int wifi_createInitialConfigFiles()
This function creates wifi configuration files.
int wifi_kickApAclAssociatedDevices(int apIndex, unsigned char enable)
int wifi_setRadioAMSDUEnable(int radioIndex, unsigned char amsduEnable)
int wifi_getWifiTrafficStats(int apIndex, wifi_trafficStats_t *output_struct)
struct _wifi_basicTrafficStats wifi_basicTrafficStats_t
int wifi_setApBeaconInterval(int apIndex, int beaconInterval)
int wifi_getApWpsConfigMethodsEnabled(int apIndex, char *output_string)
unsigned int ipping_FailureCount
int wifi_getRadioStatsReceivedSignalLevel(int radioIndex, int signalIndex, int *SignalLevel)
int wifi_getRadioRxChainMask(int radioIndex, int *output_int)
int GetInterfaceName_virtualInterfaceName_2G(char interface_name[50])
int radio_RetransmissionMetirc
unsigned int ipping_Timeout
int wifi_getHalVersion(char *output_string)
int wifi_getApWpaEncryptoinMode(int apIndex, char *output_string)
int wifi_kickApAssociatedDevice(int apIndex, char *client_mac)
int wifi_setApBasicAuthenticationMode(int apIndex, char *authMode)
unsigned long ssid_BytesReceived
int wifi_setRadioDCSChannelPool(int radioIndex, char *pool)
unsigned int ipping_SuccessCount
int wifi_setSSIDName(int apIndex, char *ssid_string)
int hostapd_restarting_process(int apIndex)
char ap_OperatingChannelBandwidth[16]
unsigned long ssid_DiscardedPacketsSent
int wifi_setApWmmOgAckPolicy(int apIndex, int class, unsigned char ackPolicy)
int wifi_getRadioCountryCode(int radioIndex, char *output_string)
int wifi_halgetRadioExtChannel(char *file, char *Value)
INT wifi_factoryResetAP(int apIndex)
Restore Access point paramters to default without change other AP nor Radio parameters (No need to re...
int wifi_getRadioTransmitPowerSupported(int radioIndex, char *output_list)
int wifi_pushApSsidAdvertisementEnable(int apIndex, unsigned char enable)
int wifi_setApRetryLimit(int apIndex, unsigned int number)
unsigned int ap_ChannelUtilization
int wifi_setRadioAutoChannelRefreshPeriod(int radioIndex, unsigned long seconds)
unsigned long wifi_BytesSent
int wifi_setApSecurityReset(int apIndex)
int wifi_getApAssociatedDevicesHighWatermarkThreshold(int apIndex, unsigned int *output)
int wifi_getApRtsThresholdSupported(int apIndex, unsigned char *output_bool)
int wifi_setRadioSTBCEnable(int radioIndex, unsigned char STBC_Enable)
unsigned int cli_AuthenticationFailures
CHAR ap_SecurityModeEnabled[64]
int get_wifiMaxbitrate(int radioIndex, char *output_string)
int wifi_removeApSecVaribles(int apIndex)
int wifi_setApWpsButtonPush(int apIndex)
unsigned char checkLanInterface()
int wifi_pushRadioChannelMode(int radioIndex)
int wifi_setApAuthMode(int apIndex, int mode)
int wifi_setRadioCountryCode(int radioIndex, char *CountryCode)
unsigned long radio_DiscardPacketsSent
char ap_BasicDataTransferRates[256]
unsigned long wifi_PacketsSent
unsigned long wifi_BroadcastPacketsSent
void wifihal_GettingNeighbouringAPScanningDetails(char *interface_name, wifi_neighbor_ap2_t **neighbor_ap_array, unsigned int *output_array_size)
int wifi_disableApEncryption(int apIndex)
int wifi_getRadioIEEE80211hEnabled(int radioIndex, unsigned char *enable)
unsigned long radio_ChannelUtilization
unsigned long wifi_ErrorsSent
int QuietPeriodAfterFailedAuthentication
unsigned long ssid_UnicastPacketsReceived
int wifi_setRadioCarrierSenseThresholdInUse(int radioIndex, int threshold)
CHAR cli_OperatingChannelBandwidth[64]
unsigned long ssid_ErrorsReceived
int wifi_getRadioTrafficStats2(int radioIndex, wifi_radioTrafficStats2_t *output_struct)
CHAR ap_OperatingChannelBandwidth[16]
int wifi_setRadioExtChannel(int radioIndex, char *string)
int wifi_getRadioTransmitPower(int radioIndex, unsigned long *output_ulong)
int wifi_getApSecuritySecondaryRadiusServer(int apIndex, char *IP_output, unsigned int *Port_output, char *RadiusSecret_output)
int wifihal_getBaseBSSID(char *interface_name, char *mac, int index)
int wifi_getApBeaconType(int apIndex, char *output_string)
int wifi_getApUAPSDCapability(int apIndex, unsigned char *output)
int wifi_getRadioBasicDataTransmitRates(int radioIndex, char *output)
void wlan_operated_standards_to_channel_bandwidth_string(char *wireless_mode, char *string)
unsigned long wifi_RetransCount
char ap_SupportedDataTransferRates[256]
struct _wifi_diag_ipping_setting wifi_diag_ipping_setting_t
int wifi_getRadioResetCount(int radioIndex, unsigned long *output_int)
unsigned long wifi_FCSErrorCount
unsigned long radio_StatisticsStartTime
unsigned long wifi_InvalidMACCount
CHAR ap_OperatingFrequencyBand[16]
int wifi_getRadioIEEE80211hSupported(int radioIndex, unsigned char *Supported)
int Hostapd_PrivateWifi_status(char status[50])
unsigned long ssid_UnicastPacketsSent
int wifi_setRadio11nGreenfieldEnable(int radioIndex, unsigned char enable)
int GettingHostapdSsid(int ssidIndex, char *hostapd_conf, char *val)
int wifi_init()
This function call initializes all Wi-Fi radios.
void DisableWifi(int InstanceNumber)
int wifi_applyRadioSettings(int radioIndex)
CHAR wifi_devIPAddress[64]
struct _wifi_neighbor_ap2 wifi_neighbor_ap2_t
int wifi_getApIndexForWiFiBand(wifi_band band)
void KillHostapd_2g(int ssidIndex)
int Hostapd_PublicWifi_status(char status[50])
unsigned long cli_DataFramesSentNoAck
int wifi_getSSIDTrafficStats(int ssidIndex, wifi_ssidTrafficStats_t *output_struct)
int wifi_getRadioCarrierSenseThresholdInUse(int radioIndex, int *output)
int RadiusServerRequestTimeout
int wifi_setApDTIMInterval(int apIndex, int dtimInterval)
unsigned int ipping_MaximumResponseTime
int wifi_setApBeaconType(int apIndex, char *beaconTypeString)
unsigned long ssid_ACKFailureCount
int wifi_getApAclDeviceNum(int apIndex, unsigned int *output_uint)
struct params * parameter_list
char ap_OperatingStandards[16]
int wifi_getRadioMCS(int radioIndex, int *output_INT)
int wifi_halsetRadioChannelBW_20(char *file)
int wifihal_AssociatedDevicesstats(int apIndex, char *interface_name, wifi_associated_dev_t **associated_dev_array, unsigned int *output_array_size)
int radio_MaximumNoiseFloorOnChannel
int wifi_getApMaxAssociatedDevices(int apIndex, unsigned int *output)
unsigned long cli_BytesReceived
void KillHostapd_xfinity_5g(int ssidIndex)
int wifi_setRadioFragmentationThreshold(int apIndex, unsigned int threshold)
unsigned long wifi_DiscardPacketsReceived
int wifi_pushRadioChannel(int radioIndex, unsigned int channel)
int radio_MedianNoiseFloorOnChannel
int wifi_getApSecurityKeyPassphrase(int apIndex, char *output_string)
int wifi_setRadioIEEE80211hEnabled(int radioIndex, unsigned char enable)
struct _wifi_diag_ipping_result wifi_diag_ipping_result_t
int wifi_setApSecurityRadiusServer(int apIndex, char *IPAddress, unsigned int port, char *RadiusSecret)
int wifi_setApSecuritySecondaryRadiusServer(int apIndex, char *IPAddress, unsigned int port, char *RadiusSecret)
int wifi_setRadioAutoBlockAckEnable(int radioIndex, unsigned char enable)
int wifi_applySSIDSettings(int ssidIndex)
struct _wifi_radioTrafficStats wifi_radioTrafficStats_t
int(* wifi_newApAssociatedDevice_callback)(int apIndex, wifi_associated_dev_t *associated_dev)
unsigned long ssid_UnknownPacketsReceived
int wifi_getRadioBeaconPeriod(int radioIndex, unsigned int *output)
int wifi_getSSIDTrafficStats2(int ssidIndex, wifi_ssidTrafficStats2_t *output_struct)
void xfinitywifi_2g(int ssidIndex)
int wifi_getApAssociatedDeviceDiagnosticResult(int apIndex, wifi_associated_dev_t **associated_dev_array, unsigned int *output_array_size)
int wifi_getRadioCarrierSenseThresholdRange(int radioIndex, int *output)
int wifi_getApIsolationEnable(int apIndex, unsigned char *output)
int wifi_getApAssociatedDevicesHighWatermarkThresholdReached(int apIndex, unsigned int *output)
struct _wifi_radius_setting_t wifi_radius_setting_t
int wifi_getRadioAutoBlockAckEnable(int radioIndex, unsigned char *output_bool)
UCHAR wifi_devMacAddress[6]
int wifi_setRadioChannel(int radioIndex, unsigned long channel)
int wifi_setApSecurityKeyPassphrase(int apIndex, char *passPhrase)
unsigned long wifi_MultipleRetryCount
int wifi_getRadioDCSSupported(int radioIndex, unsigned char *output_bool)
int wifi_getApAssociatedDevicesHighWatermarkDate(int apIndex, unsigned long *output_in_seconds)
int wifi_getSSIDMACAddress(int ssidIndex, char *output_string)
int wifi_pushBridgeInfo(int apIndex)
int wifi_halsetRadioChannelBW_40(char *file)
unsigned long wifi_ErrorsSent
int wifi_getRadioOperatingFrequencyBand(int radioIndex, char *output_string)
unsigned int ipping_AverageResponseTime
unsigned long wifi_BytesReceived
int GetInterfaceName(char interface_name[50], char conf_file[100])
int wifi_setApSsidAdvertisementEnable(int apIndex, unsigned char enable)
unsigned int ipping_DataBlockSize
int wifi_getRadioNumberOfEntries(unsigned long *output)
int wifi_getSSIDName(int apIndex, char *output_string)
int MaxAuthenticationAttempts
int wifi_getRadioIGMPSnoopingEnable(int radioIndex, unsigned char *output_bool)
int wifi_factoryReset()
Clears internal variables to implement a factory reset of the Wi-Fi subsystem.
int wifi_getRadio11nGreenfieldSupported(int radioIndex, unsigned char *output_bool)
CHAR ipping_DiagnosticsState[64]
int wifi_setRadioTrafficStatsRadioStatisticsEnable(int radioIndex, unsigned char enable)
int wifi_getRadioMaxBitRate(int radioIndex, char *output_string)
struct _wifi_radioTrafficStats2 wifi_radioTrafficStats2_t
int wifi_getRadioDfsEnable(int radioIndex, unsigned char *output_bool)
void KillHostapd_5g(int ssidIndex)
int wifi_setApSecurityModeEnabled(int apIndex, char *encMode)
unsigned long ssid_DiscardedPacketsReceived
unsigned int ipping_NumberOfRepetitions
int wifi_setApEnable(int apIndex, unsigned char enable)
int wifi_getApWpsConfigurationState(int apIndex, char *output_string)
int wifi_setRadioMCS(int radioIndex, int MCS)
int wifi_getApSecurityRadiusServer(int apIndex, char *IP_output, unsigned int *Port_output, char *RadiusSecret_output)
int wifi_setApWpsEnable(int apIndex, unsigned char enableValue)
int wifi_getRadioReverseDirectionGrantSupported(int radioIndex, unsigned char *output_bool)
char ap_SupportedStandards[64]
unsigned long InstanceNumber
int wifi_setRadioDfsEnable(int radioIndex, unsigned char enabled)
int wifi_hostapdWrite(int ap, param_list_t *list)
int wifi_setApMaxAssociatedDevices(int apIndex, unsigned int number)
int wifi_getRadioAutoChannelRefreshPeriodSupported(int radioIndex, unsigned char *output_bool)
int wifi_setRadioOperatingChannelBandwidth(int radioIndex, char *bandwidth)
void wifi_newApAssociatedDevice_callback_register(wifi_newApAssociatedDevice_callback callback_proc)
Callback registration function.
CHAR ap_SupportedStandards[64]
int wifi_setApRtsThreshold(int apIndex, unsigned int threshold)
unsigned long wifi_PLCPErrorCount
void wlan_bitrate_to_operated_standards_string(char *bitrate, char *string, char *freq)
int wifi_getApSecurityPreSharedKey(int apIndex, char *output_string)
int wifi_getRadioStandard(int radioIndex, char *output_string, unsigned char *gOnly, unsigned char *nOnly, unsigned char *acOnly)
int wifi_getSSIDRadioIndex(int ssidIndex, int *radioIndex)
int wifi_down()
Turns off transmit power for the entire Wifi subsystem, for all radios.
int wifi_getApWMMCapability(int apIndex, unsigned char *output)
int wifi_setApWpaEncryptionMode(int apIndex, char *encMode)
int wifi_getApSecurityModesSupported(int apIndex, char *output)
int wifi_getApSsidAdvertisementEnable(int apIndex, unsigned char *output_bool)
void KillHostapd_xfinity_2g(int ssidIndex)
int wifi_setRadioChannelMode(int radioIndex, char *channelMode, unsigned char gOnlyFlag, unsigned char nOnlyFlag, unsigned char acOnlyFlag)
int wifi_getSSIDStatus(int ssidIndex, char *output_string)
unsigned long ssid_RetransCount
int wifi_stopHostApd()
Stops hostapd.
int wifi_startHostApd()
Starts hostapd.
unsigned long wifi_ACKFailureCount
int wifi_setRadioDCSEnable(int radioIndex, unsigned char enable)
CHAR cli_InterferenceSources[64]
int wifi_setApWmmEnable(int apIndex, unsigned char enable)
int do_MacFilter_Update(char *Operation, int i_macFiltCnt, COSA_DML_WIFI_AP_MAC_FILTER *i_macFiltTabPtr, int count, struct hostDetails *hostPtr)
unsigned long ssid_MulticastPacketsSent
CHAR ap_OperatingStandards[16]
unsigned long radio_BytesReceived
unsigned long radio_PacketsOtherReceived
int wifi_setLED(int radioIndex, unsigned char enable)
Set the system LED status.
unsigned long radio_ErrorsReceived
int wifi_getApAssociatedDevicesHighWatermark(int apIndex, unsigned int *output)
int wifi_getApIndexFromName(char *inputSsidString, int *ouput_int)
int radio_RadioStatisticsMeasuringRate
unsigned int ipping_MinimumResponseTime
int do_MacFilter_Addrule()
int wifi_getBaseBSSID(int ssidIndex, char *output_string)
int wifi_setApWpsDevicePIN(int apIndex, unsigned long pin)
unsigned long ssid_BroadcastPacketsRecevied
int wifi_setRadioEnable(int radioIndex, unsigned char enable)
int wifi_setApIsolationEnable(int apIndex, unsigned char enable)
struct _wifi_radioTrafficStatsMeasure wifi_radioTrafficStatsMeasure_t
unsigned long wifi_DiscardedPacketsReceived
int wifi_halGetIfStatsNull(wifi_radioTrafficStats2_t *output_struct)
CHAR ap_BasicDataTransferRates[256]
void privatewifi_5g(int ssidIndex)
unsigned int ap_BeaconPeriod
int wifi_pushRadioTxChainMask(int radioIndex)
int wifi_halGetIfStats(char *ifname, wifi_radioTrafficStats2_t *pStats)
int wifi_getRadioDeclineBARequestEnable(int radioIndex, unsigned char *output_bool)
int wifi_setApMacAddressControlMode(int apIndex, int filterMode)
unsigned long wifi_DiscardPacketsSent
int wifi_getRadioOperatingChannelBandwidth(int radioIndex, char *output_string)
int wifi_createAp(int apIndex, int radioIndex, char *essid, unsigned char hideSsid)
int wifi_setRadioAutoChannelEnable(int radioIndex, unsigned char enable)
struct _wifi_ssidTrafficStats wifi_ssidTrafficStats_t
int wifi_setApWpsConfigMethodsEnabled(int apIndex, char *methodString)
int wifi_getRadio11nGreenfieldEnable(int radioIndex, unsigned char *output_bool)
unsigned char wifi_devAssociatedDeviceAuthentiationState
CHAR cli_OperatingStandard[64]
void get_mac(unsigned char *mac)
struct _wifi_trafficStats wifi_trafficStats_t
unsigned int ap_DTIMPeriod
int wifi_halgetRadioChannelBW(char *file, char *Value)
int wifi_pushSSID(int apIndex, char *ssid)
int wifi_hostapdRead(int ap, struct params *params, char *output)
int wifi_factoryResetRadio(int radioIndex)
Restore selected radio parameters without touching access point parameters.
int wifi_setApSecurityRadiusSettings(int apIndex, wifi_radius_setting_t *input)
int wifi_devSignalStrength
unsigned long ssid_BroadcastPacketsSent
int wifi_reset()
Resets the Wifi subsystem. This includes reset of all Access Point variables.
struct _COSA_DML_WIFI_AP_MAC_FILTER COSA_DML_WIFI_AP_MAC_FILTER
CHAR ap_EncryptionMode[64]
int wifi_getRadioStatus(int radioIndex, unsigned char *output_bool)
int(* wifi_apAuthEvent_callback)(int apIndex, char *MAC, int event_type)
unsigned int cli_LastDataUplinkRate
unsigned long wifi_AggregatedPacketCount
unsigned long ssid_BytesSent
CHAR ipping_Interface[256]
int wifi_getApStatus(int apIndex, char *output_string)
int wifi_setApRadioIndex(int apIndex, int radioIndex)
void wifi_updateRadiochannel(int radioIndex, unsigned long channel)
void wlan_wireless_mode_to_supported_standards_string(char *wireless_mode, char *string, char *freq)