blob: f9fb2c40839b3b18749009cc6f4d54e5e5f7a442 [file] [log] [blame]
/*
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/*
* This file was originally distributed by Qualcomm Atheros, Inc.
* under proprietary terms before Copyright ownership was assigned
* to the Linux Foundation.
*/
#if !defined( HDD_CONFIG_H__ )
#define HDD_CONFIG_H__
/**===========================================================================
\file hdd_Config.h
\brief Android WLAN Adapter Configuration functions
==========================================================================*/
/* $HEADER$ */
/*---------------------------------------------------------------------------
Include files
-------------------------------------------------------------------------*/
#include <wlan_hdd_includes.h>
#include <wlan_hdd_wmm.h>
#include <vos_types.h>
#include <csrApi.h>
#include <wlan_hdd_tgt_cfg.h>
#define FW_MODULE_LOG_LEVEL_STRING_LENGTH (255)
#define TX_SCHED_WRR_PARAM_STRING_LENGTH (50)
#define TX_SCHED_WRR_PARAMS_NUM (5)
#ifdef DHCP_SERVER_OFFLOAD
#define IPADDR_NUM_ENTRIES (4)
#define IPADDR_STRING_LENGTH (16)
#endif
//Number of items that can be configured
#define MAX_CFG_INI_ITEMS 1024
#define MAX_PRB_REQ_VENDOR_OUI_INI_LEN 160
#define VENDOR_SPECIFIC_IE_BITMAP 0x20000000
#ifdef SAP_AUTH_OFFLOAD
/* 802.11 pre-share key length */
#define WLAN_PSK_STRING_LENGTH (64)
#endif /* SAP_AUTH_OFFLOAD */
// Defines for all of the things we read from the configuration (registry).
#define CFG_RTS_THRESHOLD_NAME "RTSThreshold"
#define CFG_RTS_THRESHOLD_MIN WNI_CFG_RTS_THRESHOLD_STAMIN // min is 0, meaning always use RTS.
#define CFG_RTS_THRESHOLD_MAX WNI_CFG_RTS_THRESHOLD_STAMAX // max is the max frame size
#define CFG_RTS_THRESHOLD_DEFAULT WNI_CFG_RTS_THRESHOLD_STADEF
#define CFG_FRAG_THRESHOLD_NAME "gFragmentationThreshold"
#define CFG_FRAG_THRESHOLD_MIN WNI_CFG_FRAGMENTATION_THRESHOLD_STAMIN
#define CFG_FRAG_THRESHOLD_MAX WNI_CFG_FRAGMENTATION_THRESHOLD_STAMAX
#define CFG_FRAG_THRESHOLD_DEFAULT WNI_CFG_FRAGMENTATION_THRESHOLD_STADEF
#define CFG_OPERATING_CHANNEL_NAME "gOperatingChannel"
#define CFG_OPERATING_CHANNEL_MIN ( 0 )
#define CFG_OPERATING_CHANNEL_MAX ( 14 )
#define CFG_OPERATING_CHANNEL_DEFAULT ( 1 )
#define CFG_SHORT_SLOT_TIME_ENABLED_NAME "gShortSlotTimeEnabled"
#define CFG_SHORT_SLOT_TIME_ENABLED_MIN WNI_CFG_SHORT_SLOT_TIME_STAMIN
#define CFG_SHORT_SLOT_TIME_ENABLED_MAX WNI_CFG_SHORT_SLOT_TIME_STAMAX
#define CFG_SHORT_SLOT_TIME_ENABLED_DEFAULT WNI_CFG_SHORT_SLOT_TIME_STADEF
#define CFG_11D_SUPPORT_ENABLED_NAME "g11dSupportEnabled"
#define CFG_11D_SUPPORT_ENABLED_MIN WNI_CFG_11D_ENABLED_STAMIN
#define CFG_11D_SUPPORT_ENABLED_MAX WNI_CFG_11D_ENABLED_STAMAX
#define CFG_11D_SUPPORT_ENABLED_DEFAULT WNI_CFG_11D_ENABLED_STADEF // Default is ON
#define CFG_11H_SUPPORT_ENABLED_NAME "g11hSupportEnabled"
#define CFG_11H_SUPPORT_ENABLED_MIN ( 0 )
#define CFG_11H_SUPPORT_ENABLED_MAX ( 1 )
#define CFG_11H_SUPPORT_ENABLED_DEFAULT ( 1 ) // Default is ON
#define CFG_ENFORCE_11D_CHANNELS_NAME "gEnforce11dChannel"
#define CFG_ENFORCE_11D_CHANNELS_MIN ( 0 )
#define CFG_ENFORCE_11D_CHANNELS_MAX ( 1 )
#define CFG_ENFORCE_11D_CHANNELS_DEFAULT ( 0 )
//COUNTRY Code Priority
#define CFG_COUNTRY_CODE_PRIORITY_NAME "gCountryCodePriority"
#define CFG_COUNTRY_CODE_PRIORITY_MIN ( 0 )
#define CFG_COUNTRY_CODE_PRIORITY_MAX ( 1 )
#define CFG_COUNTRY_CODE_PRIORITY_DEFAULT ( 0 )
#define CFG_ENFORCE_COUNTRY_CODE_MATCH_NAME "gEnforceCountryCodeMatch"
#define CFG_ENFORCE_COUNTRY_CODE_MATCH_MIN ( 0 )
#define CFG_ENFORCE_COUNTRY_CODE_MATCH_MAX ( 1 )
#define CFG_ENFORCE_COUNTRY_CODE_MATCH_DEFAULT ( 0 )
#define CFG_ENFORCE_DEFAULT_DOMAIN_NAME "gEnforceDefaultDomain"
#define CFG_ENFORCE_DEFAULT_DOMAIN_MIN ( 0 )
#define CFG_ENFORCE_DEFAULT_DOMAIN_MAX ( 1 )
#define CFG_ENFORCE_DEFAULT_DOMAIN_DEFAULT ( 0 )
#define CFG_HEARTBEAT_THRESH_24_NAME "gHeartbeat24"
#define CFG_HEARTBEAT_THRESH_24_MIN WNI_CFG_HEART_BEAT_THRESHOLD_STAMIN
#define CFG_HEARTBEAT_THRESH_24_MAX WNI_CFG_HEART_BEAT_THRESHOLD_STAMAX
#define CFG_HEARTBEAT_THRESH_24_DEFAULT WNI_CFG_HEART_BEAT_THRESHOLD_STADEF
#define CFG_POWER_USAGE_NAME "gPowerUsage"
#define CFG_POWER_USAGE_MIN "Min" //Minimum Power Save
#define CFG_POWER_USAGE_MAX "Max" //Maximum Power Save
#define CFG_POWER_USAGE_DEFAULT "Mod" //Moderate Power Save
//Enable suspend on Android
#define CFG_ENABLE_SUSPEND_NAME "gEnableSuspend"
#define CFG_ENABLE_SUSPEND_MIN ( 0 ) //No support for suspend
#define CFG_ENABLE_SUSPEND_MAX ( 3 ) //Map to Deep Sleep
#define CFG_ENABLE_SUSPEND_DEFAULT ( 1 ) //Map to Standby
//Driver start/stop command mappings
#define CFG_ENABLE_ENABLE_DRIVER_STOP_NAME "gEnableDriverStop"
#define CFG_ENABLE_ENABLE_DRIVER_STOP_MIN ( 0 ) //No support for stop
#define CFG_ENABLE_ENABLE_DRIVER_STOP_MAX ( 2 ) //Map to Deep Sleep
#define CFG_ENABLE_ENABLE_DRIVER_STOP_DEFAULT ( 0 )
#define CFG_WOWL_PATTERN_NAME "gWowlPattern"
#define CFG_WOWL_PATTERN_DEFAULT ""
//IMPS = IdleModePowerSave
#define CFG_ENABLE_IMPS_NAME "gEnableImps"
#define CFG_ENABLE_IMPS_MIN ( 0 )
#define CFG_ENABLE_IMPS_MAX ( 1 )
#define CFG_ENABLE_IMPS_DEFAULT ( 1 )
#define CFG_IMPS_MINIMUM_SLEEP_TIME_NAME "gImpsMinSleepTime"
#define CFG_IMPS_MINIMUM_SLEEP_TIME_MIN ( 0 )
#define CFG_IMPS_MINIMUM_SLEEP_TIME_MAX ( 65535 )
#define CFG_IMPS_MINIMUM_SLEEP_TIME_DEFAULT ( 5 )
#define CFG_IMPS_MODERATE_SLEEP_TIME_NAME "gImpsModSleepTime"
#define CFG_IMPS_MODERATE_SLEEP_TIME_MIN ( 0 )
#define CFG_IMPS_MODERATE_SLEEP_TIME_MAX ( 65535 )
#define CFG_IMPS_MODERATE_SLEEP_TIME_DEFAULT ( 10)
#define CFG_IMPS_MAXIMUM_SLEEP_TIME_NAME "gImpsMaxSleepTime"
#define CFG_IMPS_MAXIMUM_SLEEP_TIME_MIN ( 0 )
#define CFG_IMPS_MAXIMUM_SLEEP_TIME_MAX ( 65535 )
#define CFG_IMPS_MAXIMUM_SLEEP_TIME_DEFAULT ( 15 )
//BMPS = BeaconModePowerSave
#define CFG_ENABLE_BMPS_NAME "gEnableBmps"
#define CFG_ENABLE_BMPS_MIN ( 0 )
#define CFG_ENABLE_BMPS_MAX ( 1 )
#define CFG_ENABLE_BMPS_DEFAULT ( 1 )
#define CFG_BMPS_MINIMUM_LI_NAME "gBmpsMinListenInterval"
#define CFG_BMPS_MINIMUM_LI_MIN ( 1 )
#define CFG_BMPS_MINIMUM_LI_MAX ( 65535 )
#define CFG_BMPS_MINIMUM_LI_DEFAULT ( 1 )
#define CFG_BMPS_MODERATE_LI_NAME "gBmpsModListenInterval"
#define CFG_BMPS_MODERATE_LI_MIN ( 1 )
#define CFG_BMPS_MODERATE_LI_MAX ( 65535 )
#define CFG_BMPS_MODERATE_LI_DEFAULT ( 1 )
#define CFG_BMPS_MAXIMUM_LI_NAME "gBmpsMaxListenInterval"
#define CFG_BMPS_MAXIMUM_LI_MIN ( 1 )
#define CFG_BMPS_MAXIMUM_LI_MAX ( 65535 )
#define CFG_BMPS_MAXIMUM_LI_DEFAULT ( 1 )
// gEnableAutoBmpsTimer has been previously published as an externally
// configurable parameter. See analysis of CR 178211 for detailed info
// on why we want to *always* set this to 1 i.e. we no longer want
// this parameter to be configurable. the clean solution would be for
// users to not define this item in winreg so that the default value
// (which needs to be changed to 1) gets picked up but we cannot rely on that
// since this item has been published already hence the proposed
// solution to change the name of the item along with the change in the
// default value. also we could decide to not read this item from registry
// but leaving open the option of being able to configure this item for
// ASW's internal use
#define CFG_ENABLE_AUTO_BMPS_TIMER_NAME "gEnableAutoBmpsTimer_INTERNAL"
#define CFG_ENABLE_AUTO_BMPS_TIMER_MIN ( 0 )
#define CFG_ENABLE_AUTO_BMPS_TIMER_MAX ( 1 )
#define CFG_ENABLE_AUTO_BMPS_TIMER_DEFAULT ( 1 )
#define CFG_AUTO_BMPS_TIMER_VALUE_NAME "gAutoBmpsTimerValue"
#define CFG_AUTO_BMPS_TIMER_VALUE_MIN ( 1000 )
#define CFG_AUTO_BMPS_TIMER_VALUE_MAX ( 4294967295UL )
#define CFG_AUTO_BMPS_TIMER_VALUE_DEFAULT ( 1000 )
#define CFG_MAX_RX_AMPDU_FACTOR_NAME "gMaxRxAmpduFactor"
#define CFG_MAX_RX_AMPDU_FACTOR_MIN WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMIN
#define CFG_MAX_RX_AMPDU_FACTOR_MAX WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMAX
#define CFG_MAX_RX_AMPDU_FACTOR_DEFAULT WNI_CFG_MAX_RX_AMPDU_FACTOR_STADEF
/* Configuration option for HT MPDU density (Table 8-125 802.11-2012)
* 0 for no restriction
* 1 for 1/4 micro sec
* 2 for 1/2 micro sec
* 3 for 1 micro sec
* 4 for 2 micro sec
* 5 for 4 micro sec
* 6 for 8 micro sec
* 7 for 16 micro sec
*/
#define CFG_HT_MPDU_DENSITY_NAME "ght_mpdu_density"
#define CFG_HT_MPDU_DENSITY_MIN WNI_CFG_MPDU_DENSITY_STAMIN
#define CFG_HT_MPDU_DENSITY_MAX WNI_CFG_MPDU_DENSITY_STAMAX
#define CFG_HT_MPDU_DENSITY_DEFAULT WNI_CFG_MPDU_DENSITY_STADEF
//Configuration added to enable/disable CTS2SELF in
//Adaptive RX drain feature
#define CFG_ENABLE_ADAPT_RX_DRAIN_NAME "gEnableAdaptRxDrain"
#define CFG_ENABLE_ADAPT_RX_DRAIN_MIN WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMIN
#define CFG_ENABLE_ADAPT_RX_DRAIN_MAX WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMAX
#define CFG_ENABLE_ADAPT_RX_DRAIN_DEFAULT WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STADEF
#define CFG_REG_CHANGE_DEF_COUNTRY_NAME "gRegulatoryChangeCountry"
#define CFG_REG_CHANGE_DEF_COUNTRY_DEFAULT ( 0 )
#define CFG_REG_CHANGE_DEF_COUNTRY_MIN ( 0 )
#define CFG_REG_CHANGE_DEF_COUNTRY_MAX ( 1 )
/*
* Enabling gIgnorePeerHTopMode will enable 11g
* protection only when there is a 11g AP in vicinity
*/
#define CFG_IGNORE_PEER_HT_MODE_NAME "gIgnorePeerHTopMode"
#define CFG_IGNORE_PEER_HT_MODE_MIN (0)
#define CFG_IGNORE_PEER_HT_MODE_MAX (1)
#define CFG_IGNORE_PEER_HT_MODE_DEFAULT (0)
#define CFG_ADVERTISE_CONCURRENT_OPERATION_NAME "gAdvertiseConcurrentOperation"
#define CFG_ADVERTISE_CONCURRENT_OPERATION_DEFAULT ( 1 )
#define CFG_ADVERTISE_CONCURRENT_OPERATION_MIN ( 0 )
#define CFG_ADVERTISE_CONCURRENT_OPERATION_MAX ( 1 )
/*
* Force softap to 11n, when gSapForce11NFor11AC is set to 1 from ini
* despite of hostapd.conf request for 11ac
*/
#define CFG_SAP_FORCE_11N_FOR_11AC_NAME "gSapForce11NFor11AC"
#define CFG_SAP_FORCE_11N_FOR_11AC_MIN (0)
#define CFG_SAP_FORCE_11N_FOR_11AC_MAX (1)
#define CFG_SAP_FORCE_11N_FOR_11AC_DEFAULT (0)
typedef enum
{
eHDD_DOT11_MODE_AUTO = 0, //covers all things we support
eHDD_DOT11_MODE_abg, //11a/b/g only, no HT, no proprietary
eHDD_DOT11_MODE_11b,
eHDD_DOT11_MODE_11g,
eHDD_DOT11_MODE_11n,
eHDD_DOT11_MODE_11g_ONLY,
eHDD_DOT11_MODE_11n_ONLY,
eHDD_DOT11_MODE_11b_ONLY,
eHDD_DOT11_MODE_11ac_ONLY,
eHDD_DOT11_MODE_11ac,
eHDD_DOT11_MODE_11a,
}eHddDot11Mode;
enum
{
WLAN_HDD_RX_HANDLE_MIN = 0,
WLAN_HDD_RX_HANDLE_IRQ = WLAN_HDD_RX_HANDLE_MIN,
WLAN_HDD_RX_HANDLE_RX_THREAD = 1,
WLAN_HDD_RX_HANDLE_RPS = 2,
WLAN_HDD_RX_HANDLE_MAX = WLAN_HDD_RX_HANDLE_RPS
};
#define CFG_DOT11_MODE_NAME "gDot11Mode"
#define CFG_DOT11_MODE_MIN eHDD_DOT11_MODE_AUTO
#ifdef WLAN_FEATURE_11AC
#define CFG_DOT11_MODE_DEFAULT eHDD_DOT11_MODE_11ac
#else
#define CFG_DOT11_MODE_DEFAULT eHDD_DOT11_MODE_11n
#endif
#define CFG_DOT11_MODE_MAX eHDD_DOT11_MODE_11a
#define CFG_CHANNEL_BONDING_MODE_24GHZ_NAME "gChannelBondingMode24GHz"
#define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN
#define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX
#define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF
#define CFG_OVERRIDE_HT40_20_24GHZ_NAME "override_ht20_40_24g"
#define CFG_OVERRIDE_HT40_20_24GHZ_MIN 0
#define CFG_OVERRIDE_HT40_20_24GHZ_MAX 1
#define CFG_OVERRIDE_HT40_20_24GHZ_DEFAULT 0
#define CFG_CHANNEL_BONDING_MODE_5GHZ_NAME "gChannelBondingMode5GHz"
#define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN
#define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX
#define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF
#define CFG_FIXED_RATE_NAME "gFixedRate"
#define CFG_FIXED_RATE_MIN WNI_CFG_FIXED_RATE_STAMIN
#define CFG_FIXED_RATE_MAX WNI_CFG_FIXED_RATE_STAMAX
#define CFG_FIXED_RATE_DEFAULT WNI_CFG_FIXED_RATE_STADEF
#define CFG_SHORT_GI_20MHZ_NAME "gShortGI20Mhz"
#define CFG_SHORT_GI_20MHZ_MIN WNI_CFG_SHORT_GI_20MHZ_STAMIN
#define CFG_SHORT_GI_20MHZ_MAX WNI_CFG_SHORT_GI_20MHZ_STAMAX
#define CFG_SHORT_GI_20MHZ_DEFAULT WNI_CFG_SHORT_GI_20MHZ_STADEF
#define CFG_BLOCK_ACK_AUTO_SETUP_NAME "gBlockAckAutoSetup"
#define CFG_BLOCK_ACK_AUTO_SETUP_MIN ( 0 )
#define CFG_BLOCK_ACK_AUTO_SETUP_MAX ( 1 )
#define CFG_BLOCK_ACK_AUTO_SETUP_DEFAULT ( 1 )
#define CFG_SCAN_RESULT_AGE_COUNT_NAME "gScanResultAgeCount"
#define CFG_SCAN_RESULT_AGE_COUNT_MIN ( 1 )
#define CFG_SCAN_RESULT_AGE_COUNT_MAX ( 100 )
#define CFG_SCAN_RESULT_AGE_COUNT_DEFAULT ( 3 )
//All in seconds
//Not Connect, No Power Save
#define CFG_SCAN_RESULT_AGE_TIME_NCNPS_NAME "gScanResultAgeNCNPS"
#define CFG_SCAN_RESULT_AGE_TIME_NCNPS_MIN ( 10 )
#define CFG_SCAN_RESULT_AGE_TIME_NCNPS_MAX ( 10000 )
#define CFG_SCAN_RESULT_AGE_TIME_NCNPS_DEFAULT ( 50 )
//Not Connect, Power Save
#define CFG_SCAN_RESULT_AGE_TIME_NCPS_NAME "gScanResultAgeNCPS"
#define CFG_SCAN_RESULT_AGE_TIME_NCPS_MIN ( 10 )
#define CFG_SCAN_RESULT_AGE_TIME_NCPS_MAX ( 10000 )
#define CFG_SCAN_RESULT_AGE_TIME_NCPS_DEFAULT ( 300 )
//Connect, No Power Save
#define CFG_SCAN_RESULT_AGE_TIME_CNPS_NAME "gScanResultAgeCNPS"
#define CFG_SCAN_RESULT_AGE_TIME_CNPS_MIN ( 10 )
#define CFG_SCAN_RESULT_AGE_TIME_CNPS_MAX ( 10000 )
#define CFG_SCAN_RESULT_AGE_TIME_CNPS_DEFAULT ( 150 )
//Connect, Power Save
#define CFG_SCAN_RESULT_AGE_TIME_CPS_NAME "gScanResultAgeCPS"
#define CFG_SCAN_RESULT_AGE_TIME_CPS_MIN ( 10 )
#define CFG_SCAN_RESULT_AGE_TIME_CPS_MAX ( 10000 )
#define CFG_SCAN_RESULT_AGE_TIME_CPS_DEFAULT ( 600 )
#define CFG_RSSI_CATEGORY_GAP_NAME "gRssiCatGap"
#define CFG_RSSI_CATEGORY_GAP_MIN ( 5 )
#define CFG_RSSI_CATEGORY_GAP_MAX ( 100 )
#define CFG_RSSI_CATEGORY_GAP_DEFAULT ( 5 )
#if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR)
#define CFG_ROAM_PREFER_5GHZ "gRoamPrefer5GHz"
#define CFG_ROAM_PREFER_5GHZ_MIN ( 0 )
#define CFG_ROAM_PREFER_5GHZ_MAX ( 1 )
#define CFG_ROAM_PREFER_5GHZ_DEFAULT ( 1 )
/*
To enable, set gRoamIntraBand=1 (Roaming within band)
To disable, set gRoamIntraBand=0 (Roaming across band)
*/
#define CFG_ROAM_INTRA_BAND "gRoamIntraBand"
#define CFG_ROAM_INTRA_BAND_MIN ( 0 )
#define CFG_ROAM_INTRA_BAND_MAX ( 1 )
#define CFG_ROAM_INTRA_BAND_DEFAULT ( 0 )
#endif
#define CFG_SHORT_PREAMBLE_NAME "gShortPreamble"
#define CFG_SHORT_PREAMBLE_MIN WNI_CFG_SHORT_PREAMBLE_STAMIN
#define CFG_SHORT_PREAMBLE_MAX WNI_CFG_SHORT_PREAMBLE_STAMAX
#define CFG_SHORT_PREAMBLE_DEFAULT WNI_CFG_SHORT_PREAMBLE_STADEF
#define CFG_IBSS_BSSID_NAME "gIbssBssid"
#define CFG_IBSS_BSSID_MIN "000000000000"
#define CFG_IBSS_BSSID_MAX "ffffffffffff"
#define CFG_IBSS_BSSID_DEFAULT "000AF5040506"
#define CFG_INTF0_MAC_ADDR_NAME "Intf0MacAddress"
#define CFG_INTF0_MAC_ADDR_MIN "000000000000"
#define CFG_INTF0_MAC_ADDR_MAX "ffffffffffff"
#define CFG_INTF0_MAC_ADDR_DEFAULT "000AF5898980"
#define CFG_INTF1_MAC_ADDR_NAME "Intf1MacAddress"
#define CFG_INTF1_MAC_ADDR_MIN "000000000000"
#define CFG_INTF1_MAC_ADDR_MAX "ffffffffffff"
#define CFG_INTF1_MAC_ADDR_DEFAULT "000AF5898981"
#define CFG_INTF2_MAC_ADDR_NAME "Intf2MacAddress"
#define CFG_INTF2_MAC_ADDR_MIN "000000000000"
#define CFG_INTF2_MAC_ADDR_MAX "ffffffffffff"
#define CFG_INTF2_MAC_ADDR_DEFAULT "000AF5898982"
#define CFG_INTF3_MAC_ADDR_NAME "Intf3MacAddress"
#define CFG_INTF3_MAC_ADDR_MIN "000000000000"
#define CFG_INTF3_MAC_ADDR_MAX "ffffffffffff"
#define CFG_INTF3_MAC_ADDR_DEFAULT "000AF5898983"
#define CFG_AP_QOS_UAPSD_MODE_NAME "gEnableApUapsd" // ACs to setup U-APSD for at assoc
#define CFG_AP_QOS_UAPSD_MODE_MIN ( 0 )
#define CFG_AP_QOS_UAPSD_MODE_MAX ( 1 )
#define CFG_AP_QOS_UAPSD_MODE_DEFAULT ( 1 )
#define CFG_AP_COUNTRY_CODE "gAPCntryCode"
#define CFG_AP_COUNTRY_CODE_MIN "USI"
#define CFG_AP_COUNTRY_CODE_MAX "USI"
#define CFG_AP_COUNTRY_CODE_DEFAULT "FFF"
#define CFG_AP_ENABLE_RANDOM_BSSID_NAME "gEnableApRandomBssid"
#define CFG_AP_ENABLE_RANDOM_BSSID_MIN ( 0 )
#define CFG_AP_ENABLE_RANDOM_BSSID_MAX ( 1 )
#define CFG_AP_ENABLE_RANDOM_BSSID_DEFAULT ( 0 )
#define CFG_AP_ENABLE_PROTECTION_MODE_NAME "gEnableApProt"
#define CFG_AP_ENABLE_PROTECTION_MODE_MIN ( 0 )
#define CFG_AP_ENABLE_PROTECTION_MODE_MAX ( 1 )
#define CFG_AP_ENABLE_PROTECTION_MODE_DEFAULT ( 1 )
// Bit map for CFG_AP_PROTECTION_MODE_DEFAULT
// LOWER byte for associated stations
// UPPER byte for overlapping stations
// each byte will have the following info
// bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8
// OBSS RIFS LSIG_TXOP NON_GF HT20 FROM_11G FROM_11B FROM_11A
// bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
// OBSS RIFS LSIG_TXOP NON_GF HT_20 FROM_11G FROM_11B FROM_11A
#define CFG_AP_PROTECTION_MODE_NAME "gApProtection"
#define CFG_AP_PROTECTION_MODE_MIN ( 0x0 )
#define CFG_AP_PROTECTION_MODE_MAX ( 0xFFFF )
#define CFG_AP_PROTECTION_MODE_DEFAULT ( 0xBFFF )
#define CFG_AP_OBSS_PROTECTION_MODE_NAME "gEnableApOBSSProt"
#define CFG_AP_OBSS_PROTECTION_MODE_MIN ( 0 )
#define CFG_AP_OBSS_PROTECTION_MODE_MAX ( 1 )
#define CFG_AP_OBSS_PROTECTION_MODE_DEFAULT ( 0 )
#define CFG_AP_STA_SECURITY_SEPERATION_NAME "gDisableIntraBssFwd"
#define CFG_AP_STA_SECURITY_SEPERATION_MIN ( 0 )
#define CFG_AP_STA_SECURITY_SEPERATION_MAX ( 1 )
#define CFG_AP_STA_SECURITY_SEPERATION_DEFAULT ( 0 )
#define CFG_AP_LISTEN_MODE_NAME "gEnablePhyAgcListenMode"
#define CFG_AP_LISTEN_MODE_MIN (0)
#define CFG_AP_LISTEN_MODE_MAX (128)
#define CFG_AP_LISTEN_MODE_DEFAULT (128)
#define CFG_AP_AUTO_SHUT_OFF "gAPAutoShutOff"
#define CFG_AP_AUTO_SHUT_OFF_MIN ( 0 )
#define CFG_AP_AUTO_SHUT_OFF_MAX ( 4294967295UL )
#define CFG_AP_AUTO_SHUT_OFF_DEFAULT ( 0 )
#ifdef FEATURE_WLAN_AUTO_SHUTDOWN
#define CFG_WLAN_AUTO_SHUTDOWN "gWlanAutoShutdown"
#define CFG_WLAN_AUTO_SHUTDOWN_MIN ( 0 )
#define CFG_WLAN_AUTO_SHUTDOWN_MAX ( 86400 ) /* Max 1 day timeout */
#define CFG_WLAN_AUTO_SHUTDOWN_DEFAULT ( 0 )
#endif
#ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH
#define CFG_WLAN_MCC_TO_SCC_SWITCH_MODE "gWlanMccToSccSwitchMode"
#define CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_MIN VOS_MCC_TO_SCC_SWITCH_DISABLE
#define CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_MAX VOS_MCC_TO_SCC_SWITCH_FORCE
#define CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_DEFAULT VOS_MCC_TO_SCC_SWITCH_DISABLE
#define CFG_WLAN_BAND_SWITCH_ENABLE "gWlanBandSwitchEnable"
#define CFG_WLAN_BAND_SWITCH_ENABLE_MIN ( 0 )
#define CFG_WLAN_BAND_SWITCH_ENABLE_MAX ( 1 )
#define CFG_WLAN_BAND_SWITCH_ENABLE_DEFAULT ( 0 )
#define CFG_WLAN_AP_P2PGO_CONC_ENABLE "gWlanApP2pGOConcurrencyEnable"
#define CFG_WLAN_AP_P2PGO_CONC_ENABLE_MIN ( 0 )
#define CFG_WLAN_AP_P2PGO_CONC_ENABLE_MAX ( 1 )
#define CFG_WLAN_AP_P2PGO_CONC_ENABLE_DEFAULT ( 0 )
#define CFG_WLAN_AP_P2PGC_CONC_ENABLE "gWlanApP2pClientConcurEnable"
#define CFG_WLAN_AP_P2PGC_CONC_ENABLE_MIN ( 0 )
#define CFG_WLAN_AP_P2PGC_CONC_ENABLE_MAX ( 1 )
#define CFG_WLAN_AP_P2PGC_CONC_ENABLE_DEFAULT ( 0 )
#endif
#define CFG_FRAMES_PROCESSING_TH_MODE_NAME "gMinFramesProcThres"
#define CFG_FRAMES_PROCESSING_TH_MIN ( 0 )
#define CFG_FRAMES_PROCESSING_TH_MAX ( 39 )
#define CFG_FRAMES_PROCESSING_TH_DEFAULT ( 0 )
#define CFG_DISABLE_PACKET_FILTER "gDisablePacketFilter"
#define CFG_DISABLE_PACKET_FILTER_MIN (0)
#define CFG_DISABLE_PACKET_FILTER_MAX (0x1)
#define CFG_DISABLE_PACKET_FILTER_DEFAULT (0)
#define CFG_ENABLE_LTE_COEX "gEnableLTECoex"
#define CFG_ENABLE_LTE_COEX_MIN ( 0 )
#define CFG_ENABLE_LTE_COEX_MAX ( 1 )
#define CFG_ENABLE_LTE_COEX_DEFAULT ( 0 )
#define CFG_AP_KEEP_ALIVE_PERIOD_NAME "gApKeepAlivePeriod"
#define CFG_AP_KEEP_ALIVE_PERIOD_MIN WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STAMIN
#define CFG_AP_KEEP_ALIVE_PERIOD_MAX WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STAMAX
#define CFG_AP_KEEP_ALIVE_PERIOD_DEFAULT WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STADEF
#define CFG_GO_KEEP_ALIVE_PERIOD_NAME "gGoKeepAlivePeriod"
#define CFG_GO_KEEP_ALIVE_PERIOD_MIN WNI_CFG_GO_KEEP_ALIVE_TIMEOUT_STAMIN
#define CFG_GO_KEEP_ALIVE_PERIOD_MAX WNI_CFG_GO_KEEP_ALIVE_TIMEOUT_STAMAX
#define CFG_GO_KEEP_ALIVE_PERIOD_DEFAULT WNI_CFG_GO_KEEP_ALIVE_TIMEOUT_STADEF
#define CFG_AP_LINK_MONITOR_PERIOD_NAME "gApLinkMonitorPeriod"
#define CFG_AP_LINK_MONITOR_PERIOD_MIN ( 3 )
#define CFG_AP_LINK_MONITOR_PERIOD_MAX ( 50 )
#define CFG_AP_LINK_MONITOR_PERIOD_DEFAULT ( 10 )
/* gGoLinkMonitorPeriod is period where link is idle and where
* we send NULL frame
*/
#define CFG_GO_LINK_MONITOR_PERIOD_NAME "gGoLinkMonitorPeriod"
#define CFG_GO_LINK_MONITOR_PERIOD_MIN ( 3 )
#define CFG_GO_LINK_MONITOR_PERIOD_MAX ( 50 )
#define CFG_GO_LINK_MONITOR_PERIOD_DEFAULT ( 10 )
#define CFG_BEACON_INTERVAL_NAME "gBeaconInterval"
#define CFG_BEACON_INTERVAL_MIN WNI_CFG_BEACON_INTERVAL_STAMIN
#define CFG_BEACON_INTERVAL_MAX WNI_CFG_BEACON_INTERVAL_STAMAX
#define CFG_BEACON_INTERVAL_DEFAULT WNI_CFG_BEACON_INTERVAL_STADEF
//Additional Handoff related Parameters
#define CFG_ENABLE_IDLE_SCAN_NAME "gEnableIdleScan"
#define CFG_ENABLE_IDLE_SCAN_MIN ( 0 )
#define CFG_ENABLE_IDLE_SCAN_MAX ( 1 )
#define CFG_ENABLE_IDLE_SCAN_DEFAULT ( 1 )
#define CFG_ROAMING_TIME_NAME "gRoamingTime"
#define CFG_ROAMING_TIME_MIN ( 0 )
#define CFG_ROAMING_TIME_MAX ( 4294967UL )
#define CFG_ROAMING_TIME_DEFAULT ( 10 )
#define CFG_VCC_RSSI_TRIGGER_NAME "gVccRssiTrigger"
#define CFG_VCC_RSSI_TRIGGER_MIN ( 0 )
#define CFG_VCC_RSSI_TRIGGER_MAX ( 80 )
#define CFG_VCC_RSSI_TRIGGER_DEFAULT ( 80 )
#define CFG_VCC_UL_MAC_LOSS_THRESH_NAME "gVccUlMacLossThresh"
#define CFG_VCC_UL_MAC_LOSS_THRESH_MIN ( 0 )
#define CFG_VCC_UL_MAC_LOSS_THRESH_MAX ( 9 )
#define CFG_VCC_UL_MAC_LOSS_THRESH_DEFAULT ( 9 )
#define CFG_PASSIVE_MAX_CHANNEL_TIME_NAME "gPassiveMaxChannelTime"
#define CFG_PASSIVE_MAX_CHANNEL_TIME_MIN ( 0 )
#define CFG_PASSIVE_MAX_CHANNEL_TIME_MAX ( 10000 )
#define CFG_PASSIVE_MAX_CHANNEL_TIME_DEFAULT ( 110 )
#define CFG_PASSIVE_MIN_CHANNEL_TIME_NAME "gPassiveMinChannelTime"
#define CFG_PASSIVE_MIN_CHANNEL_TIME_MIN ( 0 )
#define CFG_PASSIVE_MIN_CHANNEL_TIME_MAX ( 10000 )
#define CFG_PASSIVE_MIN_CHANNEL_TIME_DEFAULT ( 60 )
#define CFG_ACTIVE_MAX_CHANNEL_TIME_NAME "gActiveMaxChannelTime"
#define CFG_ACTIVE_MAX_CHANNEL_TIME_MIN ( 0 )
#define CFG_ACTIVE_MAX_CHANNEL_TIME_MAX ( 10000 )
#define CFG_ACTIVE_MAX_CHANNEL_TIME_DEFAULT ( 40 )
#define CFG_ACTIVE_MIN_CHANNEL_TIME_NAME "gActiveMinChannelTime"
#define CFG_ACTIVE_MIN_CHANNEL_TIME_MIN ( 0 )
#define CFG_ACTIVE_MIN_CHANNEL_TIME_MAX ( 10000 )
#define CFG_ACTIVE_MIN_CHANNEL_TIME_DEFAULT ( 20 )
#define CFG_RETRY_LIMIT_ZERO_NAME "gRetryLimitZero"
#define CFG_RETRY_LIMIT_ZERO_MIN ( 0 )
#define CFG_RETRY_LIMIT_ZERO_MAX ( 15 )
#define CFG_RETRY_LIMIT_ZERO_DEFAULT ( 5 )
#define CFG_RETRY_LIMIT_ONE_NAME "gRetryLimitOne"
#define CFG_RETRY_LIMIT_ONE_MIN ( 0 )
#define CFG_RETRY_LIMIT_ONE_MAX ( 15 )
#define CFG_RETRY_LIMIT_ONE_DEFAULT ( 10 )
#define CFG_RETRY_LIMIT_TWO_NAME "gRetryLimitTwo"
#define CFG_RETRY_LIMIT_TWO_MIN ( 0 )
#define CFG_RETRY_LIMIT_TWO_MAX ( 15 )
#define CFG_RETRY_LIMIT_TWO_DEFAULT ( 15 )
#define CFG_DISABLE_AGG_WITH_BTC_NAME "gDisableAggWithBTC"
#define CFG_DISABLE_AGG_WITH_BTC_MIN ( 0 )
#define CFG_DISABLE_AGG_WITH_BTC_MAX ( 1 )
#define CFG_DISABLE_AGG_WITH_BTC_DEFAULT ( 1 )
#ifdef WLAN_AP_STA_CONCURRENCY
#define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_NAME "gPassiveMaxChannelTimeConc"
#define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_MIN ( 0 )
#define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_MAX ( 10000 )
#define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_DEFAULT ( 110 )
#define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_NAME "gPassiveMinChannelTimeConc"
#define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_MIN ( 0 )
#define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_MAX ( 10000 )
#define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_DEFAULT ( 60 )
#define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_NAME "gActiveMaxChannelTimeConc"
#define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_MIN ( 0 )
#define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_MAX ( 10000 )
#define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_DEFAULT ( 40 )
#define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_NAME "gActiveMinChannelTimeConc"
#define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_MIN ( 0 )
#define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_MAX ( 10000 )
#define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_DEFAULT ( 20 )
#define CFG_REST_TIME_CONC_NAME "gRestTimeConc"
#define CFG_REST_TIME_CONC_MIN ( 0 )
#define CFG_REST_TIME_CONC_MAX ( 10000 )
#define CFG_REST_TIME_CONC_DEFAULT ( 100 )
/* Mininum time spent on home channel before moving to a new channel to scan */
#define CFG_MIN_REST_TIME_NAME "gMinRestTimeConc"
#define CFG_MIN_REST_TIME_MIN ( 0 )
#define CFG_MIN_REST_TIME_MAX ( 50 )
#define CFG_MIN_REST_TIME_DEFAULT ( 50 )
/* Data inactivity time in msec on bss channel that will be used
* by scan engine in firmware.
* for example if this value is 25ms then firmware will check for
* data inactivity every 25ms till gRestTimeConc is reached.
* If inactive then scan engine will move from home channel to
* scan the next frequency.
*/
#define CFG_IDLE_TIME_NAME "gIdleTimeConc"
#define CFG_IDLE_TIME_MIN ( 0 )
#define CFG_IDLE_TIME_MAX ( 25 )
#define CFG_IDLE_TIME_DEFAULT ( 25 )
#endif
#define CFG_MAX_PS_POLL_NAME "gMaxPsPoll"
#define CFG_MAX_PS_POLL_MIN WNI_CFG_MAX_PS_POLL_STAMIN
#define CFG_MAX_PS_POLL_MAX WNI_CFG_MAX_PS_POLL_STAMAX
#define CFG_MAX_PS_POLL_DEFAULT WNI_CFG_MAX_PS_POLL_STADEF
#define CFG_MAX_TX_POWER_NAME "gTxPowerCap"
#define CFG_MAX_TX_POWER_MIN WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMIN
#define CFG_MAX_TX_POWER_MAX WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX
//Not to use CFG default because if no registry setting, this is ignored by SME.
#define CFG_MAX_TX_POWER_DEFAULT WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX
#define CFG_TX_POWER_CTRL_NAME "gAllowTPCfromAP"
#define CFG_TX_POWER_CTRL_DEFAULT (1)
#define CFG_TX_POWER_CTRL_MIN (0)
#define CFG_TX_POWER_CTRL_MAX (1)
#define CFG_LOW_GAIN_OVERRIDE_NAME "gLowGainOverride"
#define CFG_LOW_GAIN_OVERRIDE_MIN WNI_CFG_LOW_GAIN_OVERRIDE_STAMIN
#define CFG_LOW_GAIN_OVERRIDE_MAX WNI_CFG_LOW_GAIN_OVERRIDE_STAMAX
#define CFG_LOW_GAIN_OVERRIDE_DEFAULT WNI_CFG_LOW_GAIN_OVERRIDE_STADEF
#define CFG_RSSI_FILTER_PERIOD_NAME "gRssiFilterPeriod"
#define CFG_RSSI_FILTER_PERIOD_MIN WNI_CFG_RSSI_FILTER_PERIOD_STAMIN
#define CFG_RSSI_FILTER_PERIOD_MAX WNI_CFG_RSSI_FILTER_PERIOD_STAMAX
// Increased this value for Non-ESE AP. This is cause FW RSSI Monitoring
// the consumer of this value is ON by default. So to impact power numbers
// we are setting this to a high value.
#define CFG_RSSI_FILTER_PERIOD_DEFAULT WNI_CFG_RSSI_FILTER_PERIOD_STADEF
#define CFG_IGNORE_DTIM_NAME "gIgnoreDtim"
#define CFG_IGNORE_DTIM_MIN WNI_CFG_IGNORE_DTIM_STAMIN
#define CFG_IGNORE_DTIM_MAX WNI_CFG_IGNORE_DTIM_STAMAX
#define CFG_IGNORE_DTIM_DEFAULT WNI_CFG_IGNORE_DTIM_STADEF
#define CFG_MAX_LI_MODULATED_DTIM_NAME "gMaxLIModulatedDTIM"
#define CFG_MAX_LI_MODULATED_DTIM_MIN ( 1 )
#define CFG_MAX_LI_MODULATED_DTIM_MAX ( 10 )
#define CFG_MAX_LI_MODULATED_DTIM_DEFAULT ( 10 )
#define CFG_RX_ANT_CONFIGURATION_NAME "gNumRxAnt"
#define CFG_RX_ANT_CONFIGURATION_NAME_MIN ( 1 )
#define CFG_RX_ANT_CONFIGURATION_NAME_MAX ( 2 )
#define CFG_RX_ANT_CONFIGURATION_NAME_DEFAULT ( 2 )
#define CFG_FW_HEART_BEAT_MONITORING_NAME "gEnableFWHeartBeatMonitoring"
#define CFG_FW_HEART_BEAT_MONITORING_MIN ( 0 )
#define CFG_FW_HEART_BEAT_MONITORING_MAX ( 1 )
#define CFG_FW_HEART_BEAT_MONITORING_DEFAULT ( 1 )
#define CFG_FW_BEACON_FILTERING_NAME "gEnableFWBeaconFiltering"
#define CFG_FW_BEACON_FILTERING_MIN ( 0 )
#define CFG_FW_BEACON_FILTERING_MAX ( 1 )
#define CFG_FW_BEACON_FILTERING_DEFAULT ( 1 )
#define CFG_FW_RSSI_MONITORING_NAME "gEnableFWRssiMonitoring"
#define CFG_FW_RSSI_MONITORING_MIN ( 0 )
#define CFG_FW_RSSI_MONITORING_MAX ( 1 )
#define CFG_FW_RSSI_MONITORING_DEFAULT ( 1 )
/* enable use of long duration RTS-CTS protection when SAP goes off channel
* in MCC mode
*/
#define CFG_FW_MCC_RTS_CTS_PROT_NAME "gFWMccRtsCtsProtection"
#define CFG_FW_MCC_RTS_CTS_PROT_MIN (0)
#define CFG_FW_MCC_RTS_CTS_PROT_MAX (1)
#define CFG_FW_MCC_RTS_CTS_PROT_DEFAULT (0)
/* Enable use of broadcast probe response to increase the detectability of
* SAP in MCC mode
*/
#define CFG_FW_MCC_BCAST_PROB_RESP_NAME "gFWMccBCastProbeResponse"
#define CFG_FW_MCC_BCAST_PROB_RESP_MIN (0)
#define CFG_FW_MCC_BCAST_PROB_RESP_MAX (1)
#define CFG_FW_MCC_BCAST_PROB_RESP_DEFAULT (0)
#define CFG_DATA_INACTIVITY_TIMEOUT_NAME "gDataInactivityTimeout"
#define CFG_DATA_INACTIVITY_TIMEOUT_MIN ( 1 )
#define CFG_DATA_INACTIVITY_TIMEOUT_MAX ( 255 )
#define CFG_DATA_INACTIVITY_TIMEOUT_DEFAULT ( 20 )
#define CFG_NTH_BEACON_FILTER_NAME "gNthBeaconFilter"
#define CFG_NTH_BEACON_FILTER_MIN ( WNI_CFG_NTH_BEACON_FILTER_STAMIN )
#define CFG_NTH_BEACON_FILTER_MAX ( WNI_CFG_NTH_BEACON_FILTER_STAMAX )
#define CFG_NTH_BEACON_FILTER_DEFAULT ( WNI_CFG_NTH_BEACON_FILTER_STADEF )
#define CFG_RF_SETTLING_TIME_CLK_NAME "rfSettlingTimeUs"
#define CFG_RF_SETTLING_TIME_CLK_MIN ( 0 )
#define CFG_RF_SETTLING_TIME_CLK_MAX ( 60000 )
#define CFG_RF_SETTLING_TIME_CLK_DEFAULT ( 1500 )
#define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_NAME "gStaKeepAlivePeriod"
#define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MIN ( 0 )
#define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MAX ( 65535)
#define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_DEFAULT ( 30 )
//WMM configuration
#define CFG_QOS_WMM_MODE_NAME "WmmIsEnabled"
#define CFG_QOS_WMM_MODE_MIN (0)
#define CFG_QOS_WMM_MODE_MAX (2) //HDD_WMM_NO_QOS
#define CFG_QOS_WMM_MODE_DEFAULT (0) //HDD_WMM_AUTO
#define CFG_STA_LOCAL_EDCA_FOR_ETSI_NAME "gStaLocalEDCAForETSI"
#define CFG_STA_LOCAL_EDCA_FOR_ETSI_MIN (0)
#define CFG_STA_LOCAL_EDCA_FOR_ETSI_MAX (1)
#define CFG_STA_LOCAL_EDCA_FOR_ETSI_DEFAULT (0)
#define CFG_QOS_WMM_80211E_ENABLED_NAME "80211eIsEnabled"
#define CFG_QOS_WMM_80211E_ENABLED_MIN (0)
#define CFG_QOS_WMM_80211E_ENABLED_MAX (1)
#define CFG_QOS_WMM_80211E_ENABLED_DEFAULT (0)
#define CFG_QOS_WMM_UAPSD_MASK_NAME "UapsdMask" // ACs to setup U-APSD for at assoc
#define CFG_QOS_WMM_UAPSD_MASK_MIN (0x00)
#define CFG_QOS_WMM_UAPSD_MASK_MAX (0xFF)
#define CFG_QOS_WMM_UAPSD_MASK_DEFAULT (0x00)
#define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_NAME "InfraUapsdVoSrvIntv"
#define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_MIN (0)
#define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_MAX (4294967295UL )
#define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_DEFAULT (20)
#define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_NAME "InfraUapsdVoSuspIntv"
#define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_MIN (0)
#define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_MAX (4294967295UL )
#define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_DEFAULT (2000)
#define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_NAME "InfraUapsdViSrvIntv"
#define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_MIN (0)
#define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_MAX (4294967295UL)
#define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_DEFAULT (300)
#define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_NAME "InfraUapsdViSuspIntv"
#define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_MIN (0)
#define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_MAX (4294967295UL)
#define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_DEFAULT (2000)
#define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_NAME "InfraUapsdBeSrvIntv"
#define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_MIN (0)
#define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_MAX (4294967295UL)
#define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_DEFAULT (300)
#define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_NAME "InfraUapsdBeSuspIntv"
#define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_MIN (0)
#define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_MAX (4294967295UL)
#define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_DEFAULT (2000)
#define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_NAME "InfraUapsdBkSrvIntv"
#define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_MIN (0)
#define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_MAX (4294967295UL)
#define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_DEFAULT (300)
#define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_NAME "InfraUapsdBkSuspIntv"
#define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_MIN (0)
#define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_MAX (4294967295UL)
#define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_DEFAULT (2000)
#ifdef FEATURE_WLAN_ESE
#define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_NAME "InfraInactivityInterval"
#define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_MIN (0)
#define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_MAX (4294967295UL)
#define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_DEFAULT (0) //disabled
#define CFG_ESE_FEATURE_ENABLED_NAME "EseEnabled"
#define CFG_ESE_FEATURE_ENABLED_MIN (0)
#define CFG_ESE_FEATURE_ENABLED_MAX (1)
#define CFG_ESE_FEATURE_ENABLED_DEFAULT (0) //disabled
#endif // FEATURE_WLAN_ESE
#ifdef FEATURE_WLAN_LFR
#define CFG_LFR_FEATURE_ENABLED_NAME "FastRoamEnabled"
#define CFG_LFR_FEATURE_ENABLED_MIN (0)
#define CFG_LFR_FEATURE_ENABLED_MAX (1)
#define CFG_LFR_FEATURE_ENABLED_DEFAULT (0) //disabled
#define CFG_LFR_MAWC_FEATURE_ENABLED_NAME "MAWCEnabled"
#define CFG_LFR_MAWC_FEATURE_ENABLED_MIN (0)
#define CFG_LFR_MAWC_FEATURE_ENABLED_MAX (1)
#define CFG_LFR_MAWC_FEATURE_ENABLED_DEFAULT (0) /* disabled */
#endif // FEATURE_WLAN_LFR
#if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR)
// This flag will control fasttransition in case of 11r and ese.
// Basically with this the whole neighbor roam, pre-auth, reassoc
// can be turned ON/OFF.
// With this turned OFF 11r will completely not work.
// For 11r this flag has to be ON.
// For ESE fastroam will not work.
#define CFG_FAST_TRANSITION_ENABLED_NAME "FastTransitionEnabled"
#define CFG_FAST_TRANSITION_ENABLED_NAME_MIN (0)
#define CFG_FAST_TRANSITION_ENABLED_NAME_MAX (1)
#define CFG_FAST_TRANSITION_ENABLED_NAME_DEFAULT (1) //Enabled
/* This parameter is used to decide whether to Roam or not.
* AP1 is the currently associated AP and AP2 is chosen for roaming.
* The Roaming will happen only if AP2 has better Signal Quality and it has a RSSI better than AP1
* in terms of RoamRssiDiff,and RoamRssiDiff is the number of units (typically measured in dB) AP2
* is better than AP1.
* This check is not done if the value is Zero */
#define CFG_ROAM_RSSI_DIFF_NAME "RoamRssiDiff"
#define CFG_ROAM_RSSI_DIFF_MIN (0)
#define CFG_ROAM_RSSI_DIFF_MAX (30)
#define CFG_ROAM_RSSI_DIFF_DEFAULT (5)
/*
* Following a scan and if potential roam candidate(s) are found,
* then determine whether to register for reassoc threshold or roam
* immediately based on this configuration parameter. If the RSSI
* of any available candidate is better than the currently associated
* AP by at least gImmediateRoamRssiDiff, then being to roam
* immediately.
* NOTE: Value of 0 means that immediate roaming is enabled by default
*/
#define CFG_IMMEDIATE_ROAM_RSSI_DIFF_NAME "gImmediateRoamRssiDiff"
#define CFG_IMMEDIATE_ROAM_RSSI_DIFF_MIN (0)
#define CFG_IMMEDIATE_ROAM_RSSI_DIFF_MAX (125)
#define CFG_IMMEDIATE_ROAM_RSSI_DIFF_DEFAULT (0)
/*This parameter is used to set Wireless Extended Security Mode.*/
#define CFG_ENABLE_WES_MODE_NAME "gWESModeEnabled"
#define CFG_ENABLE_WES_MODE_NAME_MIN (0)
#define CFG_ENABLE_WES_MODE_NAME_MAX (1)
#define CFG_ENABLE_WES_MODE_NAME_DEFAULT (0)
#define CFG_ROAM_SCAN_N_PROBES "gRoamScanNProbes"
#define CFG_ROAM_SCAN_N_PROBES_MIN (1)
#define CFG_ROAM_SCAN_N_PROBES_MAX (10)
#define CFG_ROAM_SCAN_N_PROBES_DEFAULT (2)
#define CFG_ROAM_SCAN_HOME_AWAY_TIME "gRoamScanHomeAwayTime"
#define CFG_ROAM_SCAN_HOME_AWAY_TIME_MIN (0) // 0 for disable
#define CFG_ROAM_SCAN_HOME_AWAY_TIME_MAX (300)
#define CFG_ROAM_SCAN_HOME_AWAY_TIME_DEFAULT (CFG_ROAM_SCAN_HOME_AWAY_TIME_MIN)
// disabled by default
#endif /* (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR) */
#ifdef FEATURE_WLAN_OKC
#define CFG_OKC_FEATURE_ENABLED_NAME "OkcEnabled"
#define CFG_OKC_FEATURE_ENABLED_MIN (0)
#define CFG_OKC_FEATURE_ENABLED_MAX (1)
#define CFG_OKC_FEATURE_ENABLED_DEFAULT (1)
#endif
#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
#define CFG_ROAM_SCAN_OFFLOAD_ENABLED "gRoamScanOffloadEnabled"
#define CFG_ROAM_SCAN_OFFLOAD_ENABLED_MIN (0)
#define CFG_ROAM_SCAN_OFFLOAD_ENABLED_MAX (1)
#define CFG_ROAM_SCAN_OFFLOAD_ENABLED_DEFAULT (1)
#endif
#define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_NAME "PktClassificationBasis" // DSCP or 802.1Q
#define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_MIN (0)
#define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_MAX (1)
#define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_DEFAULT (0) //DSCP
/* default TSPEC parameters for AC_VO */
#define CFG_QOS_WMM_INFRA_DIR_AC_VO_NAME "InfraDirAcVo"
#define CFG_QOS_WMM_INFRA_DIR_AC_VO_MIN (0)
#define CFG_QOS_WMM_INFRA_DIR_AC_VO_MAX (3)
#define CFG_QOS_WMM_INFRA_DIR_AC_VO_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_NAME "InfraNomMsduSizeAcVo"
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_MIN (0x0)
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_MAX (0xFFFF)
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_DEFAULT (0x80D0)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_NAME "InfraMeanDataRateAcVo"
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_MIN (0x0)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_MAX (0xFFFFFFFF)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_DEFAULT (0x14500)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_NAME "InfraMinPhyRateAcVo"
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_MIN (0x0)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_MAX (0xFFFFFFFF)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_DEFAULT (0x5B8D80)
#define CFG_QOS_WMM_INFRA_SBA_AC_VO_NAME "InfraSbaAcVo"
#define CFG_QOS_WMM_INFRA_SBA_AC_VO_MIN (0x2001)
#define CFG_QOS_WMM_INFRA_SBA_AC_VO_MAX (0xFFFF)
#define CFG_QOS_WMM_INFRA_SBA_AC_VO_DEFAULT (0x2001)
/* default TSPEC parameters for AC_VI */
#define CFG_QOS_WMM_INFRA_DIR_AC_VI_NAME "InfraDirAcVi"
#define CFG_QOS_WMM_INFRA_DIR_AC_VI_MIN (0)
#define CFG_QOS_WMM_INFRA_DIR_AC_VI_MAX (3)
#define CFG_QOS_WMM_INFRA_DIR_AC_VI_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_NAME "InfraNomMsduSizeAcVi"
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_MIN (0x0)
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_MAX (0xFFFF)
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_DEFAULT (0x85DC)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_NAME "InfraMeanDataRateAcVi"
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_MIN (0x0)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_MAX (0xFFFFFFFF)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_DEFAULT (0x57E40)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_NAME "InfraMinPhyRateAcVi"
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_MIN (0x0)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_MAX (0xFFFFFFFF)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_DEFAULT (0x5B8D80)
#define CFG_QOS_WMM_INFRA_SBA_AC_VI_NAME "InfraSbaAcVi"
#define CFG_QOS_WMM_INFRA_SBA_AC_VI_MIN (0x2001)
#define CFG_QOS_WMM_INFRA_SBA_AC_VI_MAX (0xFFFF)
#define CFG_QOS_WMM_INFRA_SBA_AC_VI_DEFAULT (0x2001)
/* default TSPEC parameters for AC_BE*/
#define CFG_QOS_WMM_INFRA_DIR_AC_BE_NAME "InfraDirAcBe"
#define CFG_QOS_WMM_INFRA_DIR_AC_BE_MIN (0)
#define CFG_QOS_WMM_INFRA_DIR_AC_BE_MAX (3)
#define CFG_QOS_WMM_INFRA_DIR_AC_BE_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_NAME "InfraNomMsduSizeAcBe"
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_MIN (0x0)
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_MAX (0xFFFF)
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_DEFAULT (0x85DC)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_NAME "InfraMeanDataRateAcBe"
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_MIN (0x0)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_MAX (0xFFFFFFFF)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_DEFAULT (0x493E0)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_NAME "InfraMinPhyRateAcBe"
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_MIN (0x0)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_MAX (0xFFFFFFFF)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_DEFAULT (0x5B8D80)
#define CFG_QOS_WMM_INFRA_SBA_AC_BE_NAME "InfraSbaAcBe"
#define CFG_QOS_WMM_INFRA_SBA_AC_BE_MIN (0x2001)
#define CFG_QOS_WMM_INFRA_SBA_AC_BE_MAX (0xFFFF)
#define CFG_QOS_WMM_INFRA_SBA_AC_BE_DEFAULT (0x2001)
/* default TSPEC parameters for AC_Bk*/
#define CFG_QOS_WMM_INFRA_DIR_AC_BK_NAME "InfraDirAcBk"
#define CFG_QOS_WMM_INFRA_DIR_AC_BK_MIN (0)
#define CFG_QOS_WMM_INFRA_DIR_AC_BK_MAX (3)
#define CFG_QOS_WMM_INFRA_DIR_AC_BK_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_NAME "InfraNomMsduSizeAcBk"
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_MIN (0x0)
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_MAX (0xFFFF)
#define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_DEFAULT (0x85DC)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_NAME "InfraMeanDataRateAcBk"
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_MIN (0x0)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_MAX (0xFFFFFFFF)
#define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_DEFAULT (0x493E0)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_NAME "InfraMinPhyRateAcBk"
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_MIN (0x0)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_MAX (0xFFFFFFFF)
#define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_DEFAULT (0x5B8D80)
#define CFG_QOS_WMM_INFRA_SBA_AC_BK_NAME "InfraSbaAcBk"
#define CFG_QOS_WMM_INFRA_SBA_AC_BK_MIN (0x2001)
#define CFG_QOS_WMM_INFRA_SBA_AC_BK_MAX (0xFFFF)
#define CFG_QOS_WMM_INFRA_SBA_AC_BK_DEFAULT (0x2001)
// TL configuration
#define CFG_TL_DELAYED_TRGR_FRM_INT_NAME "DelayedTriggerFrmInt"
#define CFG_TL_DELAYED_TRGR_FRM_INT_MIN 1
#define CFG_TL_DELAYED_TRGR_FRM_INT_MAX (4294967295UL)
#define CFG_TL_DELAYED_TRGR_FRM_INT_DEFAULT 3000
#if defined WLAN_FEATURE_VOWIFI
#define CFG_RRM_ENABLE_NAME "gRrmEnable"
#define CFG_RRM_ENABLE_MIN (0)
#define CFG_RRM_ENABLE_MAX (1)
#define CFG_RRM_ENABLE_DEFAULT (0)
#define CFG_RRM_OPERATING_CHAN_MAX_DURATION_NAME "gRrmOperChanMax" //section 11.10.3 IEEE std. 802.11k-2008
#define CFG_RRM_OPERATING_CHAN_MAX_DURATION_MIN (0) //Maxduration = 2^(maxDuration - 4) * bcnIntvl.
#define CFG_RRM_OPERATING_CHAN_MAX_DURATION_MAX (7)
#define CFG_RRM_OPERATING_CHAN_MAX_DURATION_DEFAULT (4) //max duration = 2^0 * bcnIntvl (100% of bcn intvl)
#define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_NAME "gRrmNonOperChanMax" //Same as above.
#define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_MIN (0)
#define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_MAX (7)
#define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_DEFAULT (4)
#define CFG_RRM_MEAS_RANDOMIZATION_INTVL_NAME "gRrmRandnIntvl"
#define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MIN (10)
#define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MAX (100)
#define CFG_RRM_MEAS_RANDOMIZATION_INTVL_DEFAULT (100)
/**
* This INI is used to configure RM enabled capabilities IE.
* Using this INI, we can set/unset any of the bits in 5 bytes
* (last 4bytes are reserved). Bit details are updated as per
* Draft version of 11mc spec. (Draft P802.11REVmc_D4.2)
*
* Bitwise details are defined as bit mask in rrmGlobal.h
* Comma is used as a separator for each byte.
*/
#define CFG_RM_CAPABILITY_NAME "rm_capability"
#define CFG_RM_CAPABILITY_DEFAULT "73,00,91,00,04"
#endif
#define CFG_QOS_IMPLICIT_SETUP_ENABLED_NAME "ImplicitQosIsEnabled"
#define CFG_QOS_IMPLICIT_SETUP_ENABLED_MIN (0)
#define CFG_QOS_IMPLICIT_SETUP_ENABLED_MAX (1)
#define CFG_QOS_IMPLICIT_SETUP_ENABLED_DEFAULT (1)
#define CFG_ENABLE_LOGP_NAME "gEnableLogp"
#define CFG_ENABLE_LOGP_MIN ( 0 )
#define CFG_ENABLE_LOGP_MAX ( 1 )
#define CFG_ENABLE_LOGP_DEFAULT ( 0 )
#define CFG_BTC_EXECUTION_MODE_NAME "BtcExecutionMode"
#define CFG_BTC_EXECUTION_MODE_MIN ( 0 )
#define CFG_BTC_EXECUTION_MODE_MAX ( 5 )
#define CFG_BTC_EXECUTION_MODE_DEFAULT ( 0 )
#define CFG_MWS_COEX_CONFIG1_NAME "mwsCoexConfig1"
#define CFG_MWS_COEX_CONFIGX_MIN ( 0 )
#define CFG_MWS_COEX_CONFIGX_MAX ( 0xFFFFFFFF )
#define CFG_MWS_COEX_CONFIGX_DEFAULT ( 0 )
#define CFG_MWS_COEX_CONFIG2_NAME "mwsCoexConfig2"
#define CFG_MWS_COEX_CONFIG3_NAME "mwsCoexConfig3"
#define CFG_MWS_COEX_CONFIG4_NAME "mwsCoexConfig4"
#define CFG_MWS_COEX_CONFIG5_NAME "mwsCoexConfig5"
#define CFG_MWS_COEX_CONFIG6_NAME "mwsCoexConfig6"
#if defined WLAN_FEATURE_VOWIFI_11R
#define CFG_FT_RESOURCE_REQ_NAME "gFTResourceReqSupported"
#define CFG_FT_RESOURCE_REQ_MIN (0)
#define CFG_FT_RESOURCE_REQ_MAX (1)
#define CFG_FT_RESOURCE_REQ_DEFAULT (0)
#endif
/*
* Enable/Disable to initiate BUG report in case of fatal event
* Default: Enable
*/
#define CFG_ENABLE_FATAL_EVENT_TRIGGER "gEnableFatalEvent"
#define CFG_ENABLE_FATAL_EVENT_TRIGGER_MIN (0)
#define CFG_ENABLE_FATAL_EVENT_TRIGGER_MAX (1)
#define CFG_ENABLE_FATAL_EVENT_TRIGGER_DEFAULT (1)
#define CFG_TELE_BCN_TRANS_LI_NAME "telescopicBeaconTransListenInterval"
#define CFG_TELE_BCN_TRANS_LI_MIN ( 0 )
#define CFG_TELE_BCN_TRANS_LI_MAX ( 7 )
#define CFG_TELE_BCN_TRANS_LI_DEFAULT ( 3 )
#define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_NAME "telescopicBeaconTransListenIntervalNumIdleBcns"
#define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_MIN ( 5 )
#define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_MAX ( 255 )
#define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_DEFAULT ( 10 )
#define CFG_TELE_BCN_MAX_LI_NAME "telescopicBeaconMaxListenInterval"
#define CFG_TELE_BCN_MAX_LI_MIN ( 0 )
#define CFG_TELE_BCN_MAX_LI_MAX ( 7 )
#define CFG_TELE_BCN_MAX_LI_DEFAULT ( 5 )
#define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_NAME "telescopicBeaconMaxListenIntervalNumIdleBcns"
#define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_MIN ( 5 )
#define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_MAX ( 255 )
#define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_DEFAULT ( 15 )
#define CFG_BCN_EARLY_TERM_WAKE_NAME "beaconEarlyTerminationWakeInterval"
#define CFG_BCN_EARLY_TERM_WAKE_MIN ( 2 )
#define CFG_BCN_EARLY_TERM_WAKE_MAX ( 255 )
#define CFG_BCN_EARLY_TERM_WAKE_DEFAULT ( 3 )
#ifdef WLAN_FEATURE_NEIGHBOR_ROAMING
#define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_NAME "gNeighborScanTimerPeriod"
#define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_MIN (3)
#define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_MAX (300)
#define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_DEFAULT (200)
#define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_NAME "gNeighborReassocThreshold"
#define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_MIN (10)
#define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_MAX (125)
#define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_DEFAULT (83)
#define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_NAME "gNeighborLookupThreshold"
#define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MIN (10)
#define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MAX (120)
#define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_DEFAULT (78)
#define CFG_DELAY_BEFORE_VDEV_STOP_NAME "gDelayBeforeVdevStop"
#define CFG_DELAY_BEFORE_VDEV_STOP_MIN (2)
#define CFG_DELAY_BEFORE_VDEV_STOP_MAX (200)
#define CFG_DELAY_BEFORE_VDEV_STOP_DEFAULT (20)
/*
* This parameter is the drop in RSSI value that will trigger a precautionary
* scan by firmware.
* MAX value is choose so that this type of scan can be disabled by user.
*/
#define CFG_ROAM_RESCAN_RSSI_DIFF_NAME "gRoamRescanRssiDiff"
#define CFG_ROAM_RESCAN_RSSI_DIFF_MIN (0)
#define CFG_ROAM_RESCAN_RSSI_DIFF_MAX (100)
#define CFG_ROAM_RESCAN_RSSI_DIFF_DEFAULT (5)
/*
* This parameter is the continuous packets dropping threshold that will trigger
* kickout peer event from fw.
* MIN value will disable the kickout feature.
*/
#define CFG_DROPPED_PKT_DISCONNECT_TH_NAME "gDroppedPktDisconnectTh"
#define CFG_DROPPED_PKT_DISCONNECT_TH_MIN (0)
#define CFG_DROPPED_PKT_DISCONNECT_TH_MAX (1024)
#define CFG_DROPPED_PKT_DISCONNECT_TH_DEFAULT (512)
/*
* This parameter is the RSSI diff above neighbor lookup threshold, when
* opportunistic scan should be triggered.
* MAX value is choose so that this type of scan can be always enabled by user.
* MIN value will cause opportunistic scan to be triggered in neighbor lookup
* RSSI range.
*/
#define CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_NAME "gOpportunisticThresholdDiff"
#define CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_MIN (0)
#define CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_MAX (127)
#define CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_DEFAULT (0)
#define CFG_NEIGHBOR_SCAN_CHAN_LIST_NAME "gNeighborScanChannelList"
#define CFG_NEIGHBOR_SCAN_CHAN_LIST_DEFAULT ""
#define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_NAME "gNeighborScanChannelMinTime"
#define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_MIN (10)
#define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_MAX (40)
#define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_DEFAULT (20)
#define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_NAME "gNeighborScanChannelMaxTime"
#define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_MIN (3)
#define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_MAX (300)
#define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_DEFAULT (30)
#define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_NAME "gMaxNeighborReqTries"
#define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_MIN (1)
#define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_MAX (4)
#define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_DEFAULT (3)
#define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_NAME "gNeighborScanRefreshPeriod"
#define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_MIN (1000)
#define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_MAX (60000)
#define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_DEFAULT (20000)
#define CFG_EMPTY_SCAN_REFRESH_PERIOD_NAME "gEmptyScanRefreshPeriod"
#define CFG_EMPTY_SCAN_REFRESH_PERIOD_MIN (0)
#define CFG_EMPTY_SCAN_REFRESH_PERIOD_MAX (60000)
#define CFG_EMPTY_SCAN_REFRESH_PERIOD_DEFAULT (0)
#define CFG_ROAM_BMISS_FIRST_BCNT_NAME "gRoamBmissFirstBcnt"
#define CFG_ROAM_BMISS_FIRST_BCNT_MIN (5)
#define CFG_ROAM_BMISS_FIRST_BCNT_MAX (100)
#define CFG_ROAM_BMISS_FIRST_BCNT_DEFAULT (10)
#define CFG_ROAM_BMISS_FINAL_BCNT_NAME "gRoamBmissFinalBcnt"
#define CFG_ROAM_BMISS_FINAL_BCNT_MIN (5)
#define CFG_ROAM_BMISS_FINAL_BCNT_MAX (100)
#define CFG_ROAM_BMISS_FINAL_BCNT_DEFAULT (10)
#define CFG_ROAM_BEACON_RSSI_WEIGHT_NAME "gRoamBeaconRssiWeight"
#define CFG_ROAM_BEACON_RSSI_WEIGHT_MIN (0)
#define CFG_ROAM_BEACON_RSSI_WEIGHT_MAX (16)
#define CFG_ROAM_BEACON_RSSI_WEIGHT_DEFAULT (14)
#endif /* WLAN_FEATURE_NEIGHBOR_ROAMING */
#define CFG_QOS_WMM_BURST_SIZE_DEFN_NAME "burstSizeDefinition"
#define CFG_QOS_WMM_BURST_SIZE_DEFN_MIN (0)
#define CFG_QOS_WMM_BURST_SIZE_DEFN_MAX (1)
#define CFG_QOS_WMM_BURST_SIZE_DEFN_DEFAULT (0)
#define CFG_QOS_WMM_TS_INFO_ACK_POLICY_NAME "tsInfoAckPolicy"
#define CFG_QOS_WMM_TS_INFO_ACK_POLICY_MIN (0x00)
#define CFG_QOS_WMM_TS_INFO_ACK_POLICY_MAX (0x01)
#define CFG_QOS_WMM_TS_INFO_ACK_POLICY_DEFAULT (0x00)
#define CFG_SINGLE_TID_RC_NAME "SingleTIDRC"
#define CFG_SINGLE_TID_RC_MIN (0) /* Separate replay counter for all TID */
#define CFG_SINGLE_TID_RC_MAX (1) /* Single replay counter for all TID */
#define CFG_SINGLE_TID_RC_DEFAULT (1)
#define CFG_MCAST_BCAST_FILTER_SETTING_NAME "McastBcastFilter"
#define CFG_MCAST_BCAST_FILTER_SETTING_MIN (0)
#define CFG_MCAST_BCAST_FILTER_SETTING_MAX (3)
#define CFG_MCAST_BCAST_FILTER_SETTING_DEFAULT (0)
#define CFG_DYNAMIC_PSPOLL_VALUE_NAME "gDynamicPSPollvalue"
#define CFG_DYNAMIC_PSPOLL_VALUE_MIN (0)
#define CFG_DYNAMIC_PSPOLL_VALUE_MAX (255)
#define CFG_DYNAMIC_PSPOLL_VALUE_DEFAULT (0)
#define CFG_TELE_BCN_WAKEUP_EN_NAME "gTelescopicBeaconWakeupEn"
#define CFG_TELE_BCN_WAKEUP_EN_MIN (0)
#define CFG_TELE_BCN_WAKEUP_EN_MAX (1)
#define CFG_TELE_BCN_WAKEUP_EN_DEFAULT (0)
#define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_NAME "gAddTSWhenACMIsOff"
#define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_MIN (0)
#define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_MAX (1) //Send AddTs even when ACM is not set for the AC
#define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_DEFAULT (0)
/*
* This flag will take effect only when Runtime PM is active.
* APPS will be awake during runtime PM, if any user space application
* needs the broadcast packets OEM's can enable gRuntimePmEnableBcastPattern.
* FW will filter the broadcast packets and wakeup host to deliver them during
* runtime suspend.
*/
#define CFG_ENABLE_HOST_BROADCAST_NAME "gRuntimePmEnableBcastPattern"
#define CFG_ENABLE_HOST_BROADCAST_MIN (0)
#define CFG_ENABLE_HOST_BROADCAST_MAX (1)
#define CFG_ENABLE_HOST_BROADCAST_DEFAULT (0)
#define CFG_VALIDATE_SCAN_LIST_NAME "gValidateScanList"
#define CFG_VALIDATE_SCAN_LIST_MIN (0)
#define CFG_VALIDATE_SCAN_LIST_MAX (1)
#define CFG_VALIDATE_SCAN_LIST_DEFAULT (0)
#define CFG_NULLDATA_AP_RESP_TIMEOUT_NAME "gNullDataApRespTimeout"
#define CFG_NULLDATA_AP_RESP_TIMEOUT_MIN ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMIN )
#define CFG_NULLDATA_AP_RESP_TIMEOUT_MAX ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMAX )
#define CFG_NULLDATA_AP_RESP_TIMEOUT_DEFAULT ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STADEF )
#define CFG_AP_DATA_AVAIL_POLL_PERIOD_NAME "gApDataAvailPollInterval"
#define CFG_AP_DATA_AVAIL_POLL_PERIOD_MIN ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMIN )
#define CFG_AP_DATA_AVAIL_POLL_PERIOD_MAX ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMAX )
#define CFG_AP_DATA_AVAIL_POLL_PERIOD_DEFAULT ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STADEF )
#define CFG_ENABLE_HOST_ARPOFFLOAD_NAME "hostArpOffload"
#define CFG_ENABLE_HOST_ARPOFFLOAD_MIN ( 0 )
#define CFG_ENABLE_HOST_ARPOFFLOAD_MAX ( 1 )
#define CFG_ENABLE_HOST_ARPOFFLOAD_DEFAULT ( 1 )
#define CFG_ENABLE_HOST_SSDP_NAME "ssdp"
#define CFG_ENABLE_HOST_SSDP_MIN ( 0 )
#define CFG_ENABLE_HOST_SSDP_MAX ( 1 )
#define CFG_ENABLE_HOST_SSDP_DEFAULT ( 1 )
#ifdef FEATURE_RUNTIME_PM
#define CFG_ENABLE_RUNTIME_PM "gRuntimePM"
#define CFG_ENABLE_RUNTIME_PM_MIN ( 0 )
#define CFG_ENABLE_RUNTIME_PM_MAX ( 1 )
#define CFG_ENABLE_RUNTIME_PM_DEFAULT ( 0 )
#define CFG_RUNTIME_PM_AUTO_NAME "gRuntimePMDelay"
#define CFG_RUNTIME_PM_AUTO_MIN ( 100 )
#define CFG_RUNTIME_PM_AUTO_MAX ( 10000 )
#define CFG_RUNTIME_PM_AUTO_DEFAULT ( 500 )
#endif
#ifdef FEATURE_SECURE_FIRMWARE
#define CFG_ENABLE_FW_HASH_CHECK_NAME "gEnableFWHashCheck"
#define CFG_ENABLE_FW_HASH_CHECK_MIN ( 0 )
#define CFG_ENABLE_FW_HASH_CHECK_MAX ( 1 )
#define CFG_ENABLE_FW_HASH_CHECK_DEFAULT ( 1 )
#endif
#define CFG_ENABLE_HOST_NSOFFLOAD_NAME "hostNSOffload"
#define CFG_ENABLE_HOST_NSOFFLOAD_MIN ( 0 )
#define CFG_ENABLE_HOST_NSOFFLOAD_MAX ( 1 )
#define CFG_ENABLE_HOST_NSOFFLOAD_DEFAULT ( 1 )
#define CFG_BAND_CAPABILITY_NAME "BandCapability"
#define CFG_BAND_CAPABILITY_MIN (0)
#define CFG_BAND_CAPABILITY_MAX (2)
#define CFG_BAND_CAPABILITY_DEFAULT (0)
#define CFG_ENABLE_BEACON_EARLY_TERMINATION_NAME "enableBeaconEarlyTermination"
#define CFG_ENABLE_BEACON_EARLY_TERMINATION_MIN ( 0 )
#define CFG_ENABLE_BEACON_EARLY_TERMINATION_MAX ( 1 )
#define CFG_ENABLE_BEACON_EARLY_TERMINATION_DEFAULT ( 0 )
#define CFG_ENABLE_BYPASS_11D_NAME "gEnableBypass11d"
#define CFG_ENABLE_BYPASS_11D_MIN ( 0 )
#define CFG_ENABLE_BYPASS_11D_MAX ( 1 )
#define CFG_ENABLE_BYPASS_11D_DEFAULT ( 1 )
#define CFG_ENABLE_DFS_CHNL_SCAN_NAME "gEnableDFSChnlScan"
#define CFG_ENABLE_DFS_CHNL_SCAN_MIN ( 0 )
#define CFG_ENABLE_DFS_CHNL_SCAN_MAX ( 1 )
#define CFG_ENABLE_DFS_CHNL_SCAN_DEFAULT ( 1 )
#define CFG_ENABLE_DFS_PNO_CHNL_SCAN_NAME "gEnableDFSPnoChnlScan"
#define CFG_ENABLE_DFS_PNO_CHNL_SCAN_MIN ( 0 )
#define CFG_ENABLE_DFS_PNO_CHNL_SCAN_MAX ( 1 )
#define CFG_ENABLE_DFS_PNO_CHNL_SCAN_DEFAULT ( 1 )
#define CFG_ENABLE_RAMDUMP_COLLECTION "gEnableDumpCollect"
#define CFG_ENABLE_RAMDUMP_COLLECTION_MIN ( 0 )
#define CFG_ENABLE_RAMDUMP_COLLECTION_MAX ( 1 )
#define CFG_ENABLE_RAMDUMP_COLLECTION_DEFAULT ( 1 )
/*
* gStaAuthRetriesForCode17
* It is for an IOT issue.
* When DUT receives MAX_ASSOC_STA_REACHED_STATUS as
* response for Auth frame this ini decides how many
* times DUT has to retry.
*
* This is mainly for an AP where it wants to force
* the Station to connect to its 5G profile session
* (Dual band AP) by rejecting the Auth on 2.4G band.
* But if a station is only 2.4G capable it can try
* 3 times where third time AP will allow the
* station to connect to this AP.
*/
#define CFG_STA_AUTH_RETRIES_FOR_CODE17_NAME "gStaAuthRetriesForCode17"
#define CFG_STA_AUTH_RETRIES_FOR_CODE17_MIN ( 0 )
#define CFG_STA_AUTH_RETRIES_FOR_CODE17_MAX ( 5 )
#define CFG_STA_AUTH_RETRIES_FOR_CODE17_DEFAULT ( 0 )
typedef enum
{
eHDD_LINK_SPEED_REPORT_ACTUAL = 0,
eHDD_LINK_SPEED_REPORT_MAX = 1,
eHDD_LINK_SPEED_REPORT_MAX_SCALED = 2,
}eHddLinkSpeedReportType;
#ifdef WLAN_FEATURE_11AC
#define CFG_VHT_CHANNEL_WIDTH "gVhtChannelWidth"
#define CFG_VHT_CHANNEL_WIDTH_MIN ( 0 )
#define CFG_VHT_CHANNEL_WIDTH_MAX ( 2 )
#define CFG_VHT_CHANNEL_WIDTH_DEFAULT ( 2 )
#define CFG_VHT_ENABLE_RX_MCS_8_9 "gVhtRxMCS"
#define CFG_VHT_ENABLE_RX_MCS_8_9_MIN ( 0 )
#define CFG_VHT_ENABLE_RX_MCS_8_9_MAX ( 2 )
#define CFG_VHT_ENABLE_RX_MCS_8_9_DEFAULT ( 0 )
#define CFG_VHT_ENABLE_TX_MCS_8_9 "gVhtTxMCS"
#define CFG_VHT_ENABLE_TX_MCS_8_9_MIN ( 0 )
#define CFG_VHT_ENABLE_TX_MCS_8_9_MAX ( 2 )
#define CFG_VHT_ENABLE_TX_MCS_8_9_DEFAULT ( 0 )
#define CFG_VHT_ENABLE_RX_MCS2x2_8_9 "gVhtRxMCS2x2"
#define CFG_VHT_ENABLE_RX_MCS2x2_8_9_MIN ( 0 )
#define CFG_VHT_ENABLE_RX_MCS2x2_8_9_MAX ( 2 )
#define CFG_VHT_ENABLE_RX_MCS2x2_8_9_DEFAULT ( 0 )
#define CFG_VHT_ENABLE_TX_MCS2x2_8_9 "gVhtTxMCS2x2"
#define CFG_VHT_ENABLE_TX_MCS2x2_8_9_MIN ( 0 )
#define CFG_VHT_ENABLE_TX_MCS2x2_8_9_MAX ( 2 )
#define CFG_VHT_ENABLE_TX_MCS2x2_8_9_DEFAULT ( 0 )
#define CFG_VHT_ENABLE_2x2_CAP_FEATURE "gEnable2x2"
#define CFG_VHT_ENABLE_2x2_CAP_FEATURE_MIN ( 0 )
#define CFG_VHT_ENABLE_2x2_CAP_FEATURE_MAX ( 1 )
#define CFG_VHT_ENABLE_2x2_CAP_FEATURE_DEFAULT ( 0 )
#define CFG_ENABLE_VHT_DYNAMIC_STA_CHAINMASK "gEnableDynamicSTAChainMask"
#define CFG_ENABLE_VHT_DYNAMIC_STA_CHAINMASK_MIN (0)
#define CFG_ENABLE_VHT_DYNAMIC_STA_CHAINMASK_MAX (1)
#define CFG_ENABLE_VHT_DYNAMIC_STA_CHAINMASK_DEFAULT (0)
/*
* gChainMask_2g: to set RX chainmask for 2.4GH if
* per band chainmask is supported
*
* Valid chain mask values.
* 01 - enables chain0
* 02 - enables chain1
* 03 - enables both chain 0 and chain 1
*/
#define CFG_RX_CHAIN_MASK_2G "gChainMask_2g"
#define CFG_RX_CHAIN_MASK_2G_MIN (1)
#define CFG_RX_CHAIN_MASK_2G_MAX (3)
#define CFG_RX_CHAIN_MASK_2G_DEFAULT (3)
/*
* gChainMask_5g: to set RX chainmask for 5GH if
* per band chainmask is supported
*
* Valid chain mask values.
* 01 - enables chain0
* 02 - enables chain1
* 03 - enables both chain 0 and chain 1
*/
#define CFG_RX_CHAIN_MASK_5G "gChainMask_5g"
#define CFG_RX_CHAIN_MASK_5G_MIN (1)
#define CFG_RX_CHAIN_MASK_5G_MAX (3)
#define CFG_RX_CHAIN_MASK_5G_DEFAULT (3)
/*
* gChainMask_2g_tx: to set TX chainmask for 2.4GH if
* per band chainmask is supported
*
* Valid chain mask values.
* 01 - enables chain0
* 02 - enables chain1
* 03 - enables both chain 0 and chain 1
*/
#define CFG_TX_CHAIN_MASK_2G "gChainMask_2g_tx"
#define CFG_TX_CHAIN_MASK_2G_MIN (1)
#define CFG_TX_CHAIN_MASK_2G_MAX (3)
#define CFG_TX_CHAIN_MASK_2G_DEFAULT (3)
/*
* gChainMask_5g_tx: to set TX chainmask for 5GH if
* per band chainmask is supported
*
* Valid chain mask values.
* 01 - enables chain0
* 02 - enables chain1
* 03 - enables both chain 0 and chain 1
*/
#define CFG_TX_CHAIN_MASK_5G "gChainMask_5g_tx"
#define CFG_TX_CHAIN_MASK_5G_MIN (1)
#define CFG_TX_CHAIN_MASK_5G_MAX (3)
#define CFG_TX_CHAIN_MASK_5G_DEFAULT (3)
/*
* NSS cfg bit definition.
* STA BIT[0:1]
* SAP BIT[2:3]
* P2P_GO BIT[4:5]
* P2P_CLIENT BIT[6:7]
* IBSS BIT[8:9]
* TDLS BIT[10:11]
* P2P_DEVICE BIT[12:13]
* OCB BIT[14:15]
*/
#define CFG_VDEV_TYPE_NSS_2G "gVdevTypeNss_2g"
#define CFG_VDEV_TYPE_NSS_2G_MIN ( 0x5555 )
#define CFG_VDEV_TYPE_NSS_2G_MAX ( 0xAAAA )
#define CFG_VDEV_TYPE_NSS_2G_DEFAULT ( 0xAAAA )
#define CFG_VDEV_TYPE_NSS_5G "gVdevTypeNss_5g"
#define CFG_VDEV_TYPE_NSS_5G_MIN ( 0x5555 )
#define CFG_VDEV_TYPE_NSS_5G_MAX ( 0xAAAA )
#define CFG_VDEV_TYPE_NSS_5G_DEFAULT ( 0xAAAA )
#define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE "gEnableMuBformee"
#define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_MIN ( 0 )
#define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_MAX ( 1 )
#define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_DEFAULT ( 1 )
#define CFG_VHT_ENABLE_PAID_FEATURE "gEnablePAID"
#define CFG_VHT_ENABLE_PAID_FEATURE_MIN ( 0 )
#define CFG_VHT_ENABLE_PAID_FEATURE_MAX ( 1 )
#define CFG_VHT_ENABLE_PAID_FEATURE_DEFAULT ( 0 )
#define CFG_VHT_ENABLE_GID_FEATURE "gEnableGID"
#define CFG_VHT_ENABLE_GID_FEATURE_MIN ( 0 )
#define CFG_VHT_ENABLE_GID_FEATURE_MAX ( 1 )
#define CFG_VHT_ENABLE_GID_FEATURE_DEFAULT ( 0 )
#endif
#define CFG_VHT_ENABLE_1x1_TX_CHAINMASK "gSetTxChainmask1x1"
#define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_MIN ( 1 )
#define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_MAX ( 2 )
#define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_DEFAULT ( 1 )
#define CFG_VHT_ENABLE_1x1_RX_CHAINMASK "gSetRxChainmask1x1"
#define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_MIN ( 1 )
#define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_MAX ( 2 )
#define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_DEFAULT ( 1 )
#define CFG_ENABLE_AMPDUPS_FEATURE "gEnableAMPDUPS"
#define CFG_ENABLE_AMPDUPS_FEATURE_MIN ( 0 )
#define CFG_ENABLE_AMPDUPS_FEATURE_MAX ( 1 )
#define CFG_ENABLE_AMPDUPS_FEATURE_DEFAULT ( 0 )
#define CFG_HT_ENABLE_SMPS_CAP_FEATURE "gEnableHtSMPS"
#define CFG_HT_ENABLE_SMPS_CAP_FEATURE_MIN ( 0 )
#define CFG_HT_ENABLE_SMPS_CAP_FEATURE_MAX ( 1 )
#define CFG_HT_ENABLE_SMPS_CAP_FEATURE_DEFAULT ( 0 )
#define CFG_HT_SMPS_CAP_FEATURE "gHtSMPS"
#define CFG_HT_SMPS_CAP_FEATURE_MIN ( 0 )
#define CFG_HT_SMPS_CAP_FEATURE_MAX ( 3 )
#define CFG_HT_SMPS_CAP_FEATURE_DEFAULT ( 3 )
#define CFG_DISABLE_DFS_CH_SWITCH "gDisableDFSChSwitch"
#define CFG_DISABLE_DFS_CH_SWITCH_MIN ( 0 )
#define CFG_DISABLE_DFS_CH_SWITCH_MAX ( 1 )
#define CFG_DISABLE_DFS_CH_SWITCH_DEFAULT ( 0 )
#define CFG_ENABLE_RADAR_WAR "gEnableRadarAssocWar"
#define CFG_ENABLE_RADAR_WAR_MIN ( 0 )
#define CFG_ENABLE_RADAR_WAR_MAX ( 1 )
#define CFG_ENABLE_RADAR_WAR_DEFAULT ( 1 )
#define CFG_ENABLE_DFS_MASTER_CAPABILITY "gEnableDFSMasterCap"
#define CFG_ENABLE_DFS_MASTER_CAPABILITY_MIN ( 0 )
#define CFG_ENABLE_DFS_MASTER_CAPABILITY_MAX ( 1 )
#define CFG_ENABLE_DFS_MASTER_CAPABILITY_DEFAULT ( 0 )
/*
* This parameter indicates if SAP preferred
* channel are INDOOR/OUTDOOR Channels.
* 0- Indicates no preferred channel location or
* no preferred channel restrictions.
* 1- Indicates Use only Indoor channels only.
* 2- Indicates Use outdoor channels only.
*/
#define CFG_SAP_PREFERRED_CHANNEL_LOCATION "gSapPreferredChanLocation"
#define CFG_SAP_PREFERRED_CHANNEL_LOCATION_MIN ( 0 )
#define CFG_SAP_PREFERRED_CHANNEL_LOCATION_MAX ( 2 )
#define CFG_SAP_PREFERRED_CHANNEL_LOCATION_DEFAULT ( 0 )
#define CFG_DISABLE_DFS_JAPAN_W53 "gDisableDfsJapanW53"
#define CFG_DISABLE_DFS_JAPAN_W53_MIN ( 0 )
#define CFG_DISABLE_DFS_JAPAN_W53_MAX ( 1 )
#define CFG_DISABLE_DFS_JAPAN_W53_DEFAULT ( 0 )
#define CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_NAME "dfsPhyerrFilterOffload"
#define CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_MIN ( 0 )
#define CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_MAX ( 1 )
#define CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_DEFAULT ( 0 )
#define CFG_REPORT_MAX_LINK_SPEED "gReportMaxLinkSpeed"
#define CFG_REPORT_MAX_LINK_SPEED_MIN ( eHDD_LINK_SPEED_REPORT_ACTUAL )
#define CFG_REPORT_MAX_LINK_SPEED_MAX ( eHDD_LINK_SPEED_REPORT_MAX_SCALED )
#define CFG_REPORT_MAX_LINK_SPEED_DEFAULT ( eHDD_LINK_SPEED_REPORT_MAX_SCALED )
#define CFG_SET_RTS_FOR_SIFS_BURSTING "gSetRTSForSIFSBursting"
#define CFG_SET_RTS_FOR_SIFS_BURSTING_MIN (0)
#define CFG_SET_RTS_FOR_SIFS_BURSTING_MAX (1)
#define CFG_SET_RTS_FOR_SIFS_BURSTING_DEFAULT (0)
#define CFG_MAX_MPDUS_IN_AMPDU "gMaxMPDUsInAMPDU"
#define CFG_MAX_MPDUS_IN_AMPDU_MIN (0)
#define CFG_MAX_MPDUS_IN_AMPDU_MAX (64)
#define CFG_MAX_MPDUS_IN_AMPDU_DEFAULT (0)
/*
* <ini>
* gMaxHTMCSForTxData - max HT mcs for TX
* @Min: 0
* @Max: 383
* @Default: 0
*
* This ini is used to configure the max HT mcs
* for tx data.
*
* Usage: External
*
* bits 0-15: max HT mcs
* bits 16-31: zero to disable, otherwise enable.
*
* </ini>
*/
#define CFG_MAX_HT_MCS_FOR_TX_DATA "gMaxHTMCSForTxData"
#define CFG_MAX_HT_MCS_FOR_TX_DATA_MIN (WNI_CFG_MAX_HT_MCS_TX_DATA_STAMIN)
#define CFG_MAX_HT_MCS_FOR_TX_DATA_MAX (WNI_CFG_MAX_HT_MCS_TX_DATA_STAMAX)
#define CFG_MAX_HT_MCS_FOR_TX_DATA_DEFAULT (WNI_CFG_MAX_HT_MCS_TX_DATA_STADEF)
/*
* <ini>
* gSapGetPeerInfo - Enable/Disable remote peer info query support
* @Min: 0 - Disable remote peer info query support
* @Max: 1 - Enable remote peer info query support
* @Default: 0
*
* This ini is used to enable/disable remote peer info query support
*
* Usage: External
*
* </ini>
*/
#define CFG_SAP_GET_PEER_INFO "gSapGetPeerInfo"
#define CFG_SAP_GET_PEER_INFO_MIN (0)
#define CFG_SAP_GET_PEER_INFO_MAX (1)
#define CFG_SAP_GET_PEER_INFO_DEFAULT (0)
/*
* <ini>
* gDisableABGRateForTxData - disable abg rate for tx data
* @Min: 0
* @Max: 1
* @Default: 0
*
* This ini is used to disable abg rate for tx data.
*
* Usage: External
*
* </ini>
*/
#define CFG_DISABLE_ABG_RATE_FOR_TX_DATA "gDisableABGRateForTxData"
#define CFG_DISABLE_ABG_RATE_FOR_TX_DATA_MIN (WNI_CFG_DISABLE_ABG_RATE_FOR_TX_DATA_STAMIN)
#define CFG_DISABLE_ABG_RATE_FOR_TX_DATA_MAX (WNI_CFG_DISABLE_ABG_RATE_FOR_TX_DATA_STAMAX)
#define CFG_DISABLE_ABG_RATE_FOR_TX_DATA_DEFAULT (WNI_CFG_DISABLE_ABG_RATE_FOR_TX_DATA_STADEF)
/*
* <ini>
* gRateForTxMgmt - rate for tx mgmt frame
* @Min: 0x0
* @Max: 0xFF
* @Default: 0xFF
*
* This ini is used to configure the rate for tx
* mgmt frame. Default 0xFF means disable.
*
* Usage: External
*
* </ini>
*/
#define CFG_RATE_FOR_TX_MGMT "gRateForTxMgmt"
#define CFG_RATE_FOR_TX_MGMT_MIN (WNI_CFG_RATE_FOR_TX_MGMT_STAMIN)
#define CFG_RATE_FOR_TX_MGMT_MAX (WNI_CFG_RATE_FOR_TX_MGMT_STAMAX)
#define CFG_RATE_FOR_TX_MGMT_DEFAULT (WNI_CFG_RATE_FOR_TX_MGMT_STADEF)
/*
* <ini>
* gRateForTxMgmt2G - rate for tx mgmt frame on 2G
* @Min: 0x0
* @Max: 0xFF
* @Default: 0xFF
*
* This ini is used to configure the rate for tx
* mgmt frame on 2G Band. Default 0xFF means disable.
* It has higher priority and will overwrite gRateForTxMgmt
* setting.
*
* Usage: External
*
* </ini>
*/
#define CFG_RATE_FOR_TX_MGMT_2G "gRateForTxMgmt2G"
#define CFG_RATE_FOR_TX_MGMT_2G_MIN (WNI_CFG_RATE_FOR_TX_MGMT_2G_STAMIN)
#define CFG_RATE_FOR_TX_MGMT_2G_MAX (WNI_CFG_RATE_FOR_TX_MGMT_2G_STAMAX)
#define CFG_RATE_FOR_TX_MGMT_2G_DEFAULT (WNI_CFG_RATE_FOR_TX_MGMT_2G_STADEF)
/*
* <ini>
* gRateForTxMgmt5G - rate for tx mgmt frame on 5G
* @Min: 0x0
* @Max: 0xFF
* @Default: 0xFF
*
* This ini is used to configure the rate for tx
* mgmt frame on 5G Band. Default 0xFF means disable.
* It has higher priority and will overwrite gRateForTxMgmt
* setting.
*
* Usage: External
*
* </ini>
*/
#define CFG_RATE_FOR_TX_MGMT_5G "gRateForTxMgmt5G"
#define CFG_RATE_FOR_TX_MGMT_5G_MIN (WNI_CFG_RATE_FOR_TX_MGMT_5G_STAMIN)
#define CFG_RATE_FOR_TX_MGMT_5G_MAX (WNI_CFG_RATE_FOR_TX_MGMT_5G_STAMAX)
#define CFG_RATE_FOR_TX_MGMT_5G_DEFAULT (WNI_CFG_RATE_FOR_TX_MGMT_5G_STADEF)
/*
* RSSI Thresholds
* Used when eHDD_LINK_SPEED_REPORT_SCALED is selected
*/
#define CFG_LINK_SPEED_RSSI_HIGH "gLinkSpeedRssiHigh"
#define CFG_LINK_SPEED_RSSI_HIGH_MIN ( -127 )
#define CFG_LINK_SPEED_RSSI_HIGH_MAX ( 0 )
#define CFG_LINK_SPEED_RSSI_HIGH_DEFAULT ( -55 )
#define CFG_LINK_SPEED_RSSI_MID "gLinkSpeedRssiMed"
#define CFG_LINK_SPEED_RSSI_MID_MIN ( -127 )
#define CFG_LINK_SPEED_RSSI_MID_MAX ( 0 )
#define CFG_LINK_SPEED_RSSI_MID_DEFAULT ( -65 )
#define CFG_LINK_SPEED_RSSI_LOW "gLinkSpeedRssiLow"
#define CFG_LINK_SPEED_RSSI_LOW_MIN ( -127 )
#define CFG_LINK_SPEED_RSSI_LOW_MAX ( 0 )
#define CFG_LINK_SPEED_RSSI_LOW_DEFAULT ( -80 )
#define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_NAME "isP2pDeviceAddrAdministrated"
#define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_MIN ( 0 )
#define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_MAX ( 1 )
#define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_DEFAULT ( 1 )
#define CFG_ENABLE_SSR "gEnableSSR"
#define CFG_ENABLE_SSR_MIN ( 0 )
#define CFG_ENABLE_SSR_MAX ( 1 )
#define CFG_ENABLE_SSR_DEFAULT ( 1 )
#define CFG_ENABLE_OVERLAP_CH "gEnableOverLapCh"
#define CFG_ENABLE_OVERLAP_CH_MIN ( 0 )
#define CFG_ENABLE_OVERLAP_CH_MAX ( 1 )
#define CFG_ENABLE_OVERLAP_CH_DEFAULT ( 0 )
#define CFG_PPS_ENABLE_5G_EBT "gEnable5gEBT"
#define CFG_PPS_ENABLE_5G_EBT_FEATURE_MIN ( 0 )
#define CFG_PPS_ENABLE_5G_EBT_FEATURE_MAX ( 1 )
#define CFG_PPS_ENABLE_5G_EBT_FEATURE_DEFAULT ( 0 )
#define CFG_ENABLE_MEMORY_DEEP_SLEEP "gEnableMemDeepSleep"
#define CFG_ENABLE_MEMORY_DEEP_SLEEP_MIN ( 0 )
#define CFG_ENABLE_MEMORY_DEEP_SLEEP_MAX ( 1 )
#define CFG_ENABLE_MEMORY_DEEP_SLEEP_DEFAULT ( 1 )
/* In cfg.dat 1=1MBPS, 2=2MBPS, 3=5_5MBPS, 4=11MBPS, 5=6MBPS, 6=9MBPS,
* 7=12MBPS, 8=18MBPS, 9=24MBPS. But 6=9MBPS and 8=18MBPS are not basic
* 11g rates and should not be set by gDefaultRateIndex24Ghz.
*/
#define CFG_DEFAULT_RATE_INDEX_24GH "gDefaultRateIndex24Ghz"
#define CFG_DEFAULT_RATE_INDEX_24GH_MIN ( 1 )
#define CFG_DEFAULT_RATE_INDEX_24GH_MAX ( 9 )
#define CFG_DEFAULT_RATE_INDEX_24GH_DEFAULT ( 1 )
#define CFG_ENABLE_PACKET_LOG "gEnablePacketLog"
#define CFG_ENABLE_PACKET_LOG_MIN (0)
#define CFG_ENABLE_PACKET_LOG_MAX (1)
#define CFG_ENABLE_PACKET_LOG_DEFAULT (1)
/* gFwDebugLogType takes values from enum dbglog_process_t,
* make default value as DBGLOG_PROCESS_NET_RAW to give the
* logs to net link since cnss_diag service is started at boot
* time by default.
*/
#define CFG_ENABLE_FW_LOG_TYPE "gFwDebugLogType"
#define CFG_ENABLE_FW_LOG_TYPE_MIN ( 0 )
#define CFG_ENABLE_FW_LOG_TYPE_MAX ( 255 )
#define CFG_ENABLE_FW_LOG_TYPE_DEFAULT ( 3 )
/* gFwDebugLogLevel takes values from enum DBGLOG_LOG_LVL,
* make default value as DBGLOG_WARN to enable error and
* warning logs by default.
*/
#define CFG_ENABLE_FW_DEBUG_LOG_LEVEL "gFwDebugLogLevel"
#define CFG_ENABLE_FW_DEBUG_LOG_LEVEL_MIN ( 0 )
#define CFG_ENABLE_FW_DEBUG_LOG_LEVEL_MAX ( 255 )
#define CFG_ENABLE_FW_DEBUG_LOG_LEVEL_DEFAULT ( 4 )
/* For valid values of log levels check enum DBGLOG_LOG_LVL and
* for valid values of module ids check enum WLAN_MODULE_ID.
*/
#define CFG_ENABLE_FW_MODULE_LOG_LEVEL "gFwDebugModuleLoglevel"
#define CFG_ENABLE_FW_MODULE_LOG_DEFAULT ""
/* gEnableRTSProfiles for configuring different RTS profiles
* to firmware.
* Following are the valid values for the rtsprofile:
* RTSCTS_DISABLED 0
* RTSCTS_ENABLED_4_SECOND_RATESERIES 17
* CTS2SELF_ENABLED_4_SECOND_RATESERIES 18
* RTSCTS_ENABLED_4_SWRETRIES 33
* CTS2SELF_ENABLED_4_SWRETRIES 34
*/
#define CFG_ENABLE_FW_RTS_PROFILE "gEnableRTSProfiles"
#define CFG_ENABLE_FW_RTS_PROFILE_MIN (0)
#define CFG_ENABLE_FW_RTS_PROFILE_MAX (34)
#define CFG_ENABLE_FW_RTS_PROFILE_DEFAULT (33)
#ifdef FEATURE_GREEN_AP
#define CFG_ENABLE_GREEN_AP_FEATURE "gEnableGreenAp"
#define CFG_ENABLE_GREEN_AP_FEATURE_MIN (0)
#define CFG_ENABLE_GREEN_AP_FEATURE_MAX (1)
#define CFG_ENABLE_GREEN_AP_FEATURE_DEFAULT (1)
/* Enhanced Green AP (EGAP) flags/params */
#define CFG_ENABLE_EGAP_ENABLE_FEATURE "gEnableEGAP"
#define CFG_ENABLE_EGAP_ENABLE_FEATURE_MIN (0)
#define CFG_ENABLE_EGAP_ENABLE_FEATURE_MAX (1)
#define CFG_ENABLE_EGAP_ENABLE_FEATURE_DEFAULT (0)
#define CFG_ENABLE_EGAP_INACT_TIME_FEATURE "gEGAPInactTime"
#define CFG_ENABLE_EGAP_INACT_TIME_FEATURE_MIN (0)
#define CFG_ENABLE_EGAP_INACT_TIME_FEATURE_MAX (300000)
#define CFG_ENABLE_EGAP_INACT_TIME_FEATURE_DEFAULT (1000)
#define CFG_ENABLE_EGAP_WAIT_TIME_FEATURE "gEGAPWaitTime"
#define CFG_ENABLE_EGAP_WAIT_TIME_FEATURE_MIN (0)
#define CFG_ENABLE_EGAP_WAIT_TIME_FEATURE_MAX (300000)
#define CFG_ENABLE_EGAP_WAIT_TIME_FEATURE_DEFAULT (100)
#define CFG_ENABLE_EGAP_FLAGS_FEATURE "gEGAPFeatures"
#define CFG_ENABLE_EGAP_FLAGS_FEATURE_MIN (0)
#define CFG_ENABLE_EGAP_FLAGS_FEATURE_MAX (15)
#define CFG_ENABLE_EGAP_FLAGS_FEATURE_DEFAULT (7)
/* end Enhanced Green AP flags/params */
#endif
/*
* This INI item is used to control subsystem restart(SSR) test framework
* Set its value to 1 to enable APPS trigerred SSR testing
*/
#define CFG_ENABLE_CRASH_INJECT "gEnableForceTargetAssert"
#define CFG_ENABLE_CRASH_INJECT_MIN (0)
#define CFG_ENABLE_CRASH_INJECT_MAX (1)
#define CFG_ENABLE_CRASH_INJECT_DEFAULT (0)
#ifdef FEATURE_WLAN_FORCE_SAP_SCC
#define CFG_SAP_SCC_CHAN_AVOIDANCE "gSapSccChanAvoidance"
#define CFG_SAP_SCC_CHAN_AVOIDANCE_MIN ( 0 )
#define CFG_SAP_SCC_CHAN_AVOIDANCE_MAX ( 1 )
#define CFG_SAP_SCC_CHAN_AVOIDANCE_DEFAULT ( 0 )
#endif /* FEATURE_WLAN_FORCE_SAP_SCC */
#ifdef IPA_UC_STA_OFFLOAD
#define CFG_IPA_UC_STA_OFFLOAD "gIpaUcStaOffload"
#define CFG_IPA_UC_STA_OFFLOAD_MIN ( 0 )
#define CFG_IPA_UC_STA_OFFLOAD_MAX ( 1 )
#define CFG_IPA_UC_STA_OFFLOAD_DEFAULT ( 0 )
#endif /* IPA_UC_STA_OFFLOAD */
/*
* VOS Trace Enable Control
* Notes:
* the MIN/MAX/DEFAULT values apply for all modules
* the DEFAULT value is outside the valid range. if the DEFAULT
* value is not overridden, then no change will be made to the
* "built in" default values compiled into the code
* values are a bitmap indicating which log levels are to enabled
* (must match order of vos_trace_level enumerations)
* 00000001 FATAL
* 00000010 ERROR
* 00000100 WARN
* 00001000 INFO
* 00010000 INFO HIGH
* 00100000 INFO MED
* 01000000 INFO LOW
* 10000000 DEBUG
*
* hence a value of 0xFF would set all bits (enable all logs)
*/
#define CFG_VOS_TRACE_ENABLE_TL_NAME "vosTraceEnableTL"
#define CFG_VOS_TRACE_ENABLE_WDI_NAME "vosTraceEnableWDI"
#define CFG_VOS_TRACE_ENABLE_HDD_NAME "vosTraceEnableHDD"
#define CFG_VOS_TRACE_ENABLE_SME_NAME "vosTraceEnableSME"
#define CFG_VOS_TRACE_ENABLE_PE_NAME "vosTraceEnablePE"
#define CFG_VOS_TRACE_ENABLE_PMC_NAME "vosTraceEnablePMC"
#define CFG_VOS_TRACE_ENABLE_WDA_NAME "vosTraceEnableWDA"
#define CFG_VOS_TRACE_ENABLE_SYS_NAME "vosTraceEnableSYS"
#define CFG_VOS_TRACE_ENABLE_VOSS_NAME "vosTraceEnableVOSS"
#define CFG_VOS_TRACE_ENABLE_SAP_NAME "vosTraceEnableSAP"
#define CFG_VOS_TRACE_ENABLE_HDD_SAP_NAME "vosTraceEnableHDDSAP"
#define CFG_VOS_TRACE_ENABLE_CFG_NAME "vosTraceEnableCFG"
#define CFG_VOS_TRACE_ENABLE_ADF_NAME "vosTraceEnableADF"
#define CFG_VOS_TRACE_ENABLE_TXRX_NAME "vosTraceEnableTXRX"
#define CFG_VOS_TRACE_ENABLE_HTC_NAME "vosTraceEnableHTC"
#define CFG_VOS_TRACE_ENABLE_HIF_NAME "vosTraceEnableHIF"
#define CFG_VOS_TRACE_ENABLE_HDD_SAP_DATA_NAME "vosTraceEnableHDDSAPDATA"
#define CFG_VOS_TRACE_ENABLE_HDD_DATA_NAME "vosTraceEnableHDDDATA"
#define CFG_VOS_TRACE_ENABLE_MIN (0)
#define CFG_VOS_TRACE_ENABLE_MAX (0xff)
#define CFG_VOS_TRACE_ENABLE_DEFAULT (0xffff)
#define HDD_MCASTBCASTFILTER_FILTER_NONE 0x00
#define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST 0x01
#define HDD_MCASTBCASTFILTER_FILTER_ALL_BROADCAST 0x02
#define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST_BROADCAST 0x03
#define HDD_MULTICAST_FILTER_LIST 0x04
#define HDD_MULTICAST_FILTER_LIST_CLEAR 0x05
/*
* Driver Force ACS is reintroduced for android SAP legacy configuration method.
* If Driver force acs is enabled, channel/ hw config from hostapd is ignored.
* Driver uses INI params dot11Mode, channel bonding mode and vht chan width
* to derive ACS HW mode and operating BW.
*
* Non android platforms shall not use force ACS method and rely on hostapd
* driven ACS method for concurrent SAP ACS configuration, OBSS etc.
*/
#define CFG_FORCE_SAP_ACS "gApAutoChannelSelection"
#define CFG_FORCE_SAP_ACS_MIN (0)
#define CFG_FORCE_SAP_ACS_MAX (1)
#define CFG_FORCE_SAP_ACS_DEFAULT (0)
#define CFG_FORCE_SAP_ACS_START_CH "gAPChannelSelectStartChannel"
#define CFG_FORCE_SAP_ACS_START_CH_MIN (0)
#define CFG_FORCE_SAP_ACS_START_CH_MAX (0xFF)
#define CFG_FORCE_SAP_ACS_START_CH_DEFAULT (1)
#define CFG_FORCE_SAP_ACS_END_CH "gAPChannelSelectEndChannel"
#define CFG_FORCE_SAP_ACS_END_CH_MIN (0)
#define CFG_FORCE_SAP_ACS_END_CH_MAX (0xFF)
#define CFG_FORCE_SAP_ACS_END_CH_DEFAULT (11)
/* ACS Scan band preference
* 0 -- No preference
* 1 -- Scan 2.4G first
* 2 -- Scan 5G first
*/
#define CFG_SAP_SCAN_BAND_PREFERENCE "gAcsScanBandPreference"
#define CFG_SAP_SCAN_BAND_PREFERENCE_MIN (0)
#define CFG_SAP_SCAN_BAND_PREFERENCE_MAX (2)
#define CFG_SAP_SCAN_BAND_PREFERENCE_DEFAULT (0)
/*
* <ini>
* gAutoChannelSelectWeight - ACS channel weight
* @Min: 0x1
* @Max: 0xFFFFFFFF
* @Default: 0x000000FF
*
* This ini is used to adjust weight of factors in
* acs algorithm.
*
* Supported Feature: ACS
*
* Usage: Internal/External
*
* bits 0-3: rssi weight
* bits 4-7: bss count weight
* bits 8-11: noise floor weight
* bits 12-15: channel free weight
* bits 16-19: tx power range weight
* bits 20-23: tx power throughput weight
* bits 24-31: reserved
*
* </ini>
*/
#define CFG_AUTO_CHANNEL_SELECT_WEIGHT "gAutoChannelSelectWeight"
#define CFG_AUTO_CHANNEL_SELECT_WEIGHT_MIN (0x1)
#define CFG_AUTO_CHANNEL_SELECT_WEIGHT_MAX (0xFFFFFFFF)
#define CFG_AUTO_CHANNEL_SELECT_WEIGHT_DEFAULT (0x000000FF)
#define CFG_ACS_BAND_SWITCH_THRESHOLD "gACSBandSwitchThreshold"
#define CFG_ACS_BAND_SWITCH_THRESHOLD_MIN (0)
#define CFG_ACS_BAND_SWITCH_THRESHOLD_MAX (26664)
/* 2 BSS, maximum RSSI -90 */
#define CFG_ACS_BAND_SWITCH_THRESHOLD_DEFAULT (296)
/*BMPS Logic
* Notes:
* 1 - Then Host driver and above layers control the PS mechanism
* 0 - Diver/Core Stack internally control the Power saving mechanism
*/
#define CFG_ANDRIOD_POWER_SAVE_NAME "isAndroidPsEn"
#define CFG_ANDRIOD_POWER_SAVE_MIN ( 0 )
#define CFG_ANDRIOD_POWER_SAVE_MAX ( 1 )
#define CFG_ANDRIOD_POWER_SAVE_DEFAULT ( 0 )
/*
* Enable Dynamic DTIM
* Options
* 0 -Disable DynamicDTIM
* 1 to 5 - SLM will switch to DTIM specified here when host suspends and
* switch DTIM1 when host resumes */
#define CFG_ENABLE_DYNAMIC_DTIM_NAME "gEnableDynamicDTIM"
#define CFG_ENABLE_DYNAMIC_DTIM_MIN ( 0 )
#define CFG_ENABLE_DYNAMIC_DTIM_MAX ( 5 )
#define CFG_ENABLE_DYNAMIC_DTIM_DEFAULT ( 0 )
/*
* Enable First Scan 2G Only
* Options
* 0 - Disable First Scan 2G Option
* 1 - Enable First Scan 2G Option
*/
#define CFG_ENABLE_FIRST_SCAN_2G_ONLY_NAME "gEnableFirstScan2GOnly"
#define CFG_ENABLE_FIRST_SCAN_2G_ONLY_MIN ( 0 )
#define CFG_ENABLE_FIRST_SCAN_2G_ONLY_MAX ( 1 )
#define CFG_ENABLE_FIRST_SCAN_2G_ONLY_DEFAULT ( 0 )
/*
* Skip DFS Channel in case of P2P Search
* Options
* 0 - Don't Skip DFS Channel in case of P2P Search
* 1 - Skip DFS Channel in case of P2P Search
*/
#define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_NAME "gSkipDfsChannelInP2pSearch"
#define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_MIN ( 0 )
#define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_MAX ( 1 )
#define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_DEFAULT ( 1 )
/*
* Ignore Dynamic Dtim in case of P2P
* Options
* 0 - Consider Dynamic Dtim incase of P2P
* 1 - Ignore Dynamic Dtim incase of P2P
*/
#define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_NAME "gIgnoreDynamicDtimInP2pMode"
#define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_MIN ( 0 )
#define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_MAX ( 1 )
#define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_DEFAULT ( 0 )
#define CFG_SHORT_GI_40MHZ_NAME "gShortGI40Mhz"
#define CFG_SHORT_GI_40MHZ_MIN 0
#define CFG_SHORT_GI_40MHZ_MAX 1
#define CFG_SHORT_GI_40MHZ_DEFAULT 1
/*
* Enable / Disable MCC feature
* Default: Enable
*/
#define CFG_ENABLE_MCC_ENABLED_NAME "gEnableMCCMode"
#define CFG_ENABLE_MCC_ENABLED_MIN ( 0 )
#define CFG_ENABLE_MCC_ENABLED_MAX ( 1 )
#define CFG_ENABLE_MCC_ENABLED_DEFAULT ( 1 )
/*
* Allow GO in MCC mode to accept different beacon interval than STA's.
* Added for Wi-Fi Cert. 5.1.12
* Default: gAllowMCCGODiffBI = 2
* If gAllowMCCGODiffBI = 1 // Set to 1 for WFA certification. GO Beacon
* interval is not changed. MCC GO
* doesn't work well in optimized way.
* In worst scenario, it may invite STA
* disconnection.
* gAllowMCCGODiffBI = 2 //If set to 2 workaround 1 disassoc all the clients
* and update beacon Interval
* gAllowMCCGODiffBI = 3 //If set to 3 tear down the P2P link in auto/
* Non-autonomous -GO case
* gAllowMCCGODiffBI = 4 //If set to 4 don't disconnect the P2P client
* in autonomous/Non-autonomous -GO case update
* the BI dynamically
*/
#define CFG_ALLOW_MCC_GO_DIFF_BI_NAME "gAllowMCCGODiffBI"
#define CFG_ALLOW_MCC_GO_DIFF_BI_MIN ( 0 )
#define CFG_ALLOW_MCC_GO_DIFF_BI_MAX ( 4 )
#define CFG_ALLOW_MCC_GO_DIFF_BI_DEFAULT ( 4 )
#if defined(CONFIG_HL_SUPPORT) && defined(QCA_BAD_PEER_TX_FLOW_CL)
/*
* Enable/Disable Bad Peer TX CTL feature
* Default: Enable
*/
#define CFG_BAD_PEER_TX_CTL_ENABLE_NAME "gBadPeerTxCtlEnable"
#define CFG_BAD_PEER_TX_CTL_ENABLE_MIN ( 0 )
#define CFG_BAD_PEER_TX_CTL_ENABLE_MAX ( 1 )
#define CFG_BAD_PEER_TX_CTL_ENABLE_DEFAULT ( 1 )
#define CFG_BAD_PEER_TX_CTL_PERIOD_NAME "gBadPeerTxCtlPeriod"
#define CFG_BAD_PEER_TX_CTL_PERIOD_MIN ( 10 )
#define CFG_BAD_PEER_TX_CTL_PERIOD_MAX ( 10000 )
#define CFG_BAD_PEER_TX_CTL_PERIOD_DEFAULT ( 50 )
#define CFG_BAD_PEER_TX_CTL_TXQ_LIMIT_NAME "gBadPeerTxCtlTxqLimit"
#define CFG_BAD_PEER_TX_CTL_TXQ_LIMIT_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_TXQ_LIMIT_MAX ( 5000 )
#define CFG_BAD_PEER_TX_CTL_TXQ_LIMIT_DEFAULT ( 100 )
#define CFG_BAD_PEER_TX_CTL_TGT_BACKOFF_T_NAME "gBadPeerTxCtlTgtBackoffTime"
#define CFG_BAD_PEER_TX_CTL_TGT_BACKOFF_T_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_TGT_BACKOFF_T_MAX ( 5000 )
#define CFG_BAD_PEER_TX_CTL_TGT_BACKOFF_T_DEFAULT ( 20 )
#define CFG_BAD_PEER_TX_CTL_TGT_REPORT_PRD_NAME "gBadPeerTxCtlTgtReportPeriod"
#define CFG_BAD_PEER_TX_CTL_TGT_REPORT_PRD_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_TGT_REPORT_PRD_MAX ( 5000 )
#define CFG_BAD_PEER_TX_CTL_TGT_REPORT_PRD_DEFAULT ( 500 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEB_NAME "gBadPeerTxCtlCondLevelIeeeB"
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEB_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEB_MAX ( 2 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEB_DEFAULT ( 2 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEB_NAME "gBadPeerTxCtlDeltaLevelIeeeB"
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEB_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEB_MAX ( 11 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEB_DEFAULT ( 2 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEB_NAME "gBadPeerTxCtlPctLevelIeeeB"
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEB_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEB_MAX ( 8 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEB_DEFAULT ( 1 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEB_NAME "gBadPeerTxCtlTputLevelIeeeB"
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEB_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEB_MAX ( 11 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEB_DEFAULT ( 2 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEB_NAME "gBadPeerTxCtlTxLimitLevelIeeeB"
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEB_MIN ( 0 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEB_MAX ( 50 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEB_DEFAULT ( 3 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAG_NAME "gBadPeerTxCtlCondLevelIeeeAG"
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAG_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAG_MAX ( 2 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAG_DEFAULT ( 2 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAG_NAME "gBadPeerTxCtlDeltaLevelIeeeAG"
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAG_MIN ( 6 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAG_MAX ( 54 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAG_DEFAULT ( 6 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAG_NAME "gBadPeerTxCtlPctLevelIeeeAG"
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAG_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAG_MAX ( 8 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAG_DEFAULT ( 1 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAG_NAME "gBadPeerTxCtlTputLevelIeeeAG"
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAG_MIN ( 6 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAG_MAX ( 54 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAG_DEFAULT ( 6 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAG_NAME "gBadPeerTxCtlTxLimitLevelIeeeAG"
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAG_MIN ( 0 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAG_MAX ( 50 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAG_DEFAULT ( 3 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEN_NAME "gBadPeerTxCtlCondLevelIeeeN"
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEN_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEN_MAX ( 2 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEN_DEFAULT ( 2 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEN_NAME "gBadPeerTxCtlDeltaLevelIeeeN"
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEN_MIN ( 6 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEN_MAX ( 72 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEN_DEFAULT ( 6 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEN_NAME "gBadPeerTxCtlPctLevelIeeeN"
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEN_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEN_MAX ( 8 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEN_DEFAULT ( 1 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEN_NAME "gBadPeerTxCtlTputLevelIeeeN"
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEN_MIN ( 6 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEN_MAX ( 72 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEN_DEFAULT ( 15 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEN_NAME "gBadPeerTxCtlTxLimitLevelIeeeN"
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEN_MIN ( 0 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEN_MAX ( 50 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEN_DEFAULT ( 3 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAC_NAME "gBadPeerTxCtlCondLevelIeeeAC"
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAC_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAC_MAX ( 2 )
#define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAC_DEFAULT ( 2 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAC_NAME "gBadPeerTxCtlDeltaLevelIeeeAC"
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAC_MIN ( 6 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAC_MAX ( 433 )
#define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAC_DEFAULT ( 6 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAC_NAME "gBadPeerTxCtlPctLevelIeeeAC"
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAC_MIN ( 1 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAC_MAX ( 8 )
#define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAC_DEFAULT ( 1 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAC_NAME "gBadPeerTxCtlTputLevelIeeeAC"
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAC_MIN ( 6 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAC_MAX ( 433 )
#define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAC_DEFAULT ( 15 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAC_NAME "gBadPeerTxCtlTxLimitLevelIeeeAC"
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAC_MIN ( 0 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAC_MAX ( 50 )
#define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAC_DEFAULT ( 3 )
#endif
/*
* Enable/Disable Thermal Mitigation feature
* Default: Disable
*/
#define CFG_THERMAL_MIGRATION_ENABLE_NAME "gThermalMitigationEnable"
#define CFG_THERMAL_MIGRATION_ENABLE_MIN ( 0 )
#define CFG_THERMAL_MIGRATION_ENABLE_MAX ( 1 )
#define CFG_THERMAL_MIGRATION_ENABLE_DEFAULT ( 1 )
#define CFG_THROTTLE_PERIOD_NAME "gThrottlePeriod"
#define CFG_THROTTLE_PERIOD_MIN ( 10 )
#define CFG_THROTTLE_PERIOD_MAX ( 10000 )
#define CFG_THROTTLE_PERIOD_DEFAULT ( 4000 )
/*
* Configure Throttle Period Different Level Duty Cycle in percentage
* When temperature measured is greater than threshold at particular level,
* then throtling level will get increased by one level and
* will reduce TX duty by the given percentage
*/
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL0_NAME "gThrottleDutyCycleLevel0"
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL0_MIN ( 0 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL0_MAX ( 0 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL0_DEFAULT ( 0 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL1_NAME "gThrottleDutyCycleLevel1"
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL1_MIN ( 0 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL1_MAX ( 100 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL1_DEFAULT ( 50 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL2_NAME "gThrottleDutyCycleLevel2"
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL2_MIN ( 0 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL2_MAX ( 100 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL2_DEFAULT ( 75 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL3_NAME "gThrottleDutyCycleLevel3"
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL3_MIN ( 0 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL3_MAX ( 100 )
#define CFG_THROTTLE_DUTY_CYCLE_LEVEL3_DEFAULT ( 94 )
#define CFG_THERMAL_TEMP_MIN_LEVEL0_NAME "gThermalTempMinLevel0"
#define CFG_THERMAL_TEMP_MIN_LEVEL0_MIN ( 0 )
#define CFG_THERMAL_TEMP_MIN_LEVEL0_MAX ( 1000 )
#define CFG_THERMAL_TEMP_MIN_LEVEL0_DEFAULT ( 0 )
#define CFG_THERMAL_TEMP_MAX_LEVEL0_NAME "gThermalTempMaxLevel0"
#define CFG_THERMAL_TEMP_MAX_LEVEL0_MIN ( 0 )
#define CFG_THERMAL_TEMP_MAX_LEVEL0_MAX ( 1000 )
#define CFG_THERMAL_TEMP_MAX_LEVEL0_DEFAULT ( 90 )
#define CFG_THERMAL_TEMP_MIN_LEVEL1_NAME "gThermalTempMinLevel1"
#define CFG_THERMAL_TEMP_MIN_LEVEL1_MIN ( 0 )
#define CFG_THERMAL_TEMP_MIN_LEVEL1_MAX ( 1000 )
#define CFG_THERMAL_TEMP_MIN_LEVEL1_DEFAULT ( 70 )
#define CFG_THERMAL_TEMP_MAX_LEVEL1_NAME "gThermalTempMaxLevel1"
#define CFG_THERMAL_TEMP_MAX_LEVEL1_MIN ( 0 )
#define CFG_THERMAL_TEMP_MAX_LEVEL1_MAX ( 1000 )
#define CFG_THERMAL_TEMP_MAX_LEVEL1_DEFAULT ( 110 )
#define CFG_THERMAL_TEMP_MIN_LEVEL2_NAME "gThermalTempMinLevel2"
#define CFG_THERMAL_TEMP_MIN_LEVEL2_MIN ( 0 )
#define CFG_THERMAL_TEMP_MIN_LEVEL2_MAX ( 1000 )
#define CFG_THERMAL_TEMP_MIN_LEVEL2_DEFAULT ( 90 )
#define CFG_THERMAL_TEMP_MAX_LEVEL2_NAME "gThermalTempMaxLevel2"
#define CFG_THERMAL_TEMP_MAX_LEVEL2_MIN ( 0 )
#define CFG_THERMAL_TEMP_MAX_LEVEL2_MAX ( 1000 )
#define CFG_THERMAL_TEMP_MAX_LEVEL2_DEFAULT ( 125 )
#define CFG_THERMAL_TEMP_MIN_LEVEL3_NAME "gThermalTempMinLevel3"
#define CFG_THERMAL_TEMP_MIN_LEVEL3_MIN ( 0 )
#define CFG_THERMAL_TEMP_MIN_LEVEL3_MAX ( 1000 )
#define CFG_THERMAL_TEMP_MIN_LEVEL3_DEFAULT ( 110 )
#define CFG_THERMAL_TEMP_MAX_LEVEL3_NAME "gThermalTempMaxLevel3"
#define CFG_THERMAL_TEMP_MAX_LEVEL3_MIN ( 0 )
#define CFG_THERMAL_TEMP_MAX_LEVEL3_MAX ( 1000 )
#define CFG_THERMAL_TEMP_MAX_LEVEL3_DEFAULT ( 0 )
#ifdef FEATURE_WLAN_THERMAL_SHUTDOWN
/*
* <ini>
* gThermalShutdownEnable - Enable/Disable Thermal Shutdown feature to protect
IC too hot and die
* @Min: 0
* @Max: 1
* @Default: 1
*
* This ini is used to enable/disable Thermal Shutdown feature
*
*
* Supported Feature: Thermal Shutdown
*
* Usage: External
*
* </ini>
*/
#define CFG_THERMAL_SHUTDOWN_ENABLE_NAME "gThermalShutdownEnable"
#define CFG_THERMAL_SHUTDOWN_ENABLE_MIN ( 0 )
#define CFG_THERMAL_SHUTDOWN_ENABLE_MAX ( 1 )
#define CFG_THERMAL_SHUTDOWN_ENABLE_DEFAULT ( 1 )
/*
* <ini>
* gThermalShutdownAutoEnable - Enable/Disable Automatic Thermal Shutdown
* @Min: 0
* @Max: 1
* @Default: 1
*
* In Automatic mode, host driver send the suspend command if the condition is
* meet, or else the command is send by host app.
*
* Supported Feature: Thermal Shutdown
*
* Usage: External
*
* </ini>
*/
#define CFG_THERMAL_SHUTDOWN_AUTO_ENABLE_NAME "gThermalShutdownAutoEnable"
#define CFG_THERMAL_SHUTDOWN_AUTO_ENABLE_MIN ( 0 )
#define CFG_THERMAL_SHUTDOWN_AUTO_ENABLE_MAX ( 1 )
#define CFG_THERMAL_SHUTDOWN_AUTO_ENABLE_DEFAULT ( 1 )
/*
* <ini>
* gThermalShutdownTempSuspend - Temperature threshold of suspend
* @Min: 0
* @Max: 1000
* @Default: 117
*
* If the reported temperature from firmware is higher than this threshold,
* the suspend command will be sent to shutdown the target.
*
* Supported Feature: Thermal Shutdown
*
* Usage: External
*
* </ini>
*/
#define CFG_THERMAL_SHUTDOWN_TEMP_SUSPEND_NAME "gThermalShutdownTempSuspend"
#define CFG_THERMAL_SHUTDOWN_TEMP_SUSPEND_MIN ( 0 )
#define CFG_THERMAL_SHUTDOWN_TEMP_SUSPEND_MAX ( 1000 )
#define CFG_THERMAL_SHUTDOWN_TEMP_SUSPEND_DEFAULT ( 117 )
/*
* <ini>
* gThermalShutdownTempWarning - Temperature threshold of warning.
* @Min: 0
* @Max: 1000
* @Default: 115
*
* Firmware report temperature to host as indication if the temperature is
* higher than this threshold.
*
* Supported Feature: Thermal Shutdown
*
* Usage: External
*
* </ini>
*/
#define CFG_THERMAL_SHUTDOWN_TEMP_WARNING_NAME "gThermalShutdownTempWarning"
#define CFG_THERMAL_SHUTDOWN_TEMP_WARNING_MIN ( 0 )
#define CFG_THERMAL_SHUTDOWN_TEMP_WARNING_MAX ( 1000 )
#define CFG_THERMAL_SHUTDOWN_TEMP_WARNING_DEFAULT ( 115 )
/*
* <ini>
* gThermalShutdownTempResume - Temperature threshold of resume
* @Min: 0
* @Max: 1000
* @Default: 113
*
* If the reported temperature from firmware is lower than this threshold,
* the resume command will be sent to shutdown the target.
*
* Supported Feature: Thermal Shutdown
*
* Usage: External
*
* </ini>
*/
#define CFG_THERMAL_SHUTDOWN_TEMP_RESUME_NAME "gThermalShutdownTempResume"
#define CFG_THERMAL_SHUTDOWN_TEMP_RESUME_MIN ( 0 )
#define CFG_THERMAL_SHUTDOWN_TEMP_RESUME_MAX ( 1000 )
#define CFG_THERMAL_SHUTDOWN_TEMP_RESUME_DEFAULT ( 113 )
/*
* <ini>
* gThermalSampleRate - The sample rate of temperature for firmware
* @Min: 1000
* @Max: 10000
* @Default: 5000
*
* Thermal Sample Rate (in milliseconds) used by FW to sample temperature of IC
*
*
* Supported Feature: Thermal Shutdown
*
* Usage: External
*
* </ini>
*/
#define CFG_THERMAL_SAMPLE_RATE_NAME "gThermalSampleRate"
#define CFG_THERMAL_SAMPLE_RATE_MIN ( 1000 )
#define CFG_THERMAL_SAMPLE_RATE_MAX ( 10000 )
#define CFG_THERMAL_SAMPLE_RATE_DEFAULT ( 5000 )
#endif /* FEATURE_WLAN_THERMAL_SHUTDOWN */
/*
* <ini>
* gDPDRecalibEnable - Enable/Disable Runtime DPD Recaliberation feature
* The parameter ‘enable’ in WMI is used to enable
* feature and debug log. Set bit0 to enable feature,
* set bit1 is to enable FW log to host, and set bit2 is
* to enable UART output.
*
* @Min: 0
* @Max: 7
* @Default: 1
*
* This ini is used to enable/disable DPD Recaliberation feature
*
* Usage: Internal
*
* </ini>
*/
#define CFG_DPD_RECALIB_ENABLE_NAME "gDPDRecalibEnable"
#define CFG_DPD_RECALIB_ENABLE_MIN ( 0 )
#define CFG_DPD_RECALIB_ENABLE_MAX ( 7 )
#define CFG_DPD_RECALIB_ENABLE_DEFAULT ( 1 )
/*Thermal thresholds: DPD will be triggered
when current temperature above this threshold */
/* Delta degree C above first DPD cal after chip is on. Unit: degree C. */
#define CFG_DPD_RECALIB_DELTA_DEGREE_HIGH_NAME "gDPDRecalibDeltaDegreeHigh"
#define CFG_DPD_RECALIB_DELTA_DEGREE_HIGH_MIN ( 10 )
#define CFG_DPD_RECALIB_DELTA_DEGREE_HIGH_MAX ( 60 )
#define CFG_DPD_RECALIB_DELTA_DEGREE_HIGH_DEFAULT ( 35 )
/* Delta degree C above first DPD cal after chip is on. Unit: degree C. */
#define CFG_DPD_RECALIB_DELTA_DEGREE_LOW_NAME "gDPDRecalibDeltaDegreeLow"
#define CFG_DPD_RECALIB_DELTA_DEGREE_LOW_MIN ( 10 )
#define CFG_DPD_RECALIB_DELTA_DEGREE_LOW_MAX ( 60 )
#define CFG_DPD_RECALIB_DELTA_DEGREE_LOW_DEFAULT ( 25 )
/* Cold down time between two DPD re-cal. Unit: ms*/
#define CFG_DPD_RECALIB_COOLING_TIME_NAME "gDPDRecalibCoolingTime"
#define CFG_DPD_RECALIB_COOLING_TIME_MIN ( 0 )
#define CFG_DPD_RECALIB_COOLING_TIME_MAX ( 5 )
#define CFG_DPD_RECALIB_COOLING_TIME_DEFAULT ( 1 )
/* Max duration for dpd re-cal. Unit: ms */
#define CFG_DPD_RECALIB_DURATION_MAX_NAME "gDPDRecalibDurationMax"
#define CFG_DPD_RECALIB_DURATION_MAX_MIN ( 30 )
#define CFG_DPD_RECALIB_DURATION_MAX_MAX ( 180 )
#define CFG_DPD_RECALIB_DURATION_MAX_DEFAULT ( 120 )
/*
* Enable/Disable Modulated DTIM feature
* Default: Disable
*/
#define CFG_ENABLE_MODULATED_DTIM_NAME "gEnableModulatedDTIM"
#define CFG_ENABLE_MODULATED_DTIM_MIN ( 0 )
#define CFG_ENABLE_MODULATED_DTIM_MAX ( 5 )
#define CFG_ENABLE_MODULATED_DTIM_DEFAULT ( 0 )
/*
* Enable/Disable Multicast MAC Address List feature
* Default: Disable
*/
#define CFG_MC_ADDR_LIST_ENABLE_NAME "gMCAddrListEnable"
#define CFG_MC_ADDR_LIST_ENABLE_MIN ( 0 )
#define CFG_MC_ADDR_LIST_ENABLE_MAX ( 1 )
#define CFG_MC_ADDR_LIST_ENABLE_DEFAULT ( 0 )
/* Set number of buffers to be advertised during ADDBA negotiation*/
#define CFG_NUM_BUFF_ADVERT_NAME "gNumBuffAdvert"
#define CFG_NUM_BUFF_ADVERT_MIN ( 0 )
#define CFG_NUM_BUFF_ADVERT_MAX ( 128 )
#define CFG_NUM_BUFF_ADVERT_DEFAULT ( 64 )
/*
* Allow MCC to modify config
*/
#define CFG_MCC_CONFIG_PARAM_NAME "gMccAllowCfgModify"
#define CFG_MCC_CONFIG_PARAM_MIN ( 0x0000 )
#define CFG_MCC_CONFIG_PARAM_MAX ( 0x01ff )
#define CFG_MCC_CONFIG_PARAM_DEFAULT ( 0x000C )
#define CFG_ENABLE_RX_STBC "gEnableRXSTBC"
#define CFG_ENABLE_RX_STBC_MIN ( 0 )
#define CFG_ENABLE_RX_STBC_MAX ( 1 )
#define CFG_ENABLE_RX_STBC_DEFAULT ( 1 )
#define CFG_ENABLE_TX_STBC "gEnableTXSTBC"
#define CFG_ENABLE_TX_STBC_MIN ( 0 )
#define CFG_ENABLE_TX_STBC_MAX ( 1 )
#define CFG_ENABLE_TX_STBC_DEFAULT ( 0 )
#define CFG_ENABLE_RX_LDPC "gEnableRXLDPC"
#define CFG_ENABLE_RX_LDPC_MIN ( 0 )
#define CFG_ENABLE_RX_LDPC_MAX ( 1 )
#define CFG_ENABLE_RX_LDPC_DEFAULT ( 0 )
/*
* Enable/Disable vsta based on MAX Assoc limit
* defined in WCNSS_qcom_cfg.ini.
*/
#ifdef WLAN_SOFTAP_VSTA_FEATURE
#define CFG_VSTA_SUPPORT_ENABLE "gEnableVSTASupport"
#define CFG_VSTA_SUPPORT_ENABLE_MIN ( 0 )
#define CFG_VSTA_SUPPORT_ENABLE_MAX ( 1 )
#define CFG_VSTA_SUPPORT_ENABLE_DEFAULT ( 0 )
#endif
#ifdef FEATURE_WLAN_TDLS
#define CFG_TDLS_SUPPORT_ENABLE "gEnableTDLSSupport"
#define CFG_TDLS_SUPPORT_ENABLE_MIN ( 0 )
#define CFG_TDLS_SUPPORT_ENABLE_MAX ( 1 )
#define CFG_TDLS_SUPPORT_ENABLE_DEFAULT ( 0 )
#define CFG_TDLS_IMPLICIT_TRIGGER "gEnableTDLSImplicitTrigger"
#define CFG_TDLS_IMPLICIT_TRIGGER_MIN ( 0 )
#define CFG_TDLS_IMPLICIT_TRIGGER_MAX ( 1 )
#define CFG_TDLS_IMPLICIT_TRIGGER_DEFAULT ( 0 )
#define CFG_TDLS_TX_STATS_PERIOD "gTDLSTxStatsPeriod"
#define CFG_TDLS_TX_STATS_PERIOD_MIN (1000)
#define CFG_TDLS_TX_STATS_PERIOD_MAX ( 4294967295UL )
#define CFG_TDLS_TX_STATS_PERIOD_DEFAULT (2000)
#define CFG_TDLS_TX_PACKET_THRESHOLD "gTDLSTxPacketThreshold"
#define CFG_TDLS_TX_PACKET_THRESHOLD_MIN ( 0 )
#define CFG_TDLS_TX_PACKET_THRESHOLD_MAX ( 4294967295UL )
#define CFG_TDLS_TX_PACKET_THRESHOLD_DEFAULT (40)
#define CFG_TDLS_DISCOVERY_PERIOD "gTDLSDiscoveryPeriod"
#define CFG_TDLS_DISCOVERY_PERIOD_MIN ( 5000 )
#define CFG_TDLS_DISCOVERY_PERIOD_MAX ( 4294967295UL )
#define CFG_TDLS_DISCOVERY_PERIOD_DEFAULT ( 20000 )
#define CFG_TDLS_MAX_DISCOVERY_ATTEMPT "gTDLSMaxDiscoveryAttempt"
#define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_MIN ( 1 )
#define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_MAX ( 100 )
#define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_DEFAULT ( 5 )
/* teardown notification interval (gTDLSIdleTimeout) should be multiple of
* setup notification (gTDLSTxStatsPeriod) interval.
* e.g.
* if setup notification (gTDLSTxStatsPeriod) interval = 500, then
* teardown notification (gTDLSIdleTimeout) interval should be 1000,
* 1500, 2000, 2500...
*/
#define CFG_TDLS_IDLE_TIMEOUT "gTDLSIdleTimeout"
#define CFG_TDLS_IDLE_TIMEOUT_MIN (500)
#define CFG_TDLS_IDLE_TIMEOUT_MAX ( 40000 )
#define CFG_TDLS_IDLE_TIMEOUT_DEFAULT (5000)
#define CFG_TDLS_IDLE_PACKET_THRESHOLD "gTDLSIdlePacketThreshold"
#define CFG_TDLS_IDLE_PACKET_THRESHOLD_MIN ( 0 )
#define CFG_TDLS_IDLE_PACKET_THRESHOLD_MAX ( 40000 )
#define CFG_TDLS_IDLE_PACKET_THRESHOLD_DEFAULT (3)
#define CFG_TDLS_RSSI_HYSTERESIS "gTDLSRssiHysteresis"
#define CFG_TDLS_RSSI_HYSTERESIS_MIN ( 0 )
#define CFG_TDLS_RSSI_HYSTERESIS_MAX ( 100 )
#define CFG_TDLS_RSSI_HYSTERESIS_DEFAULT ( 100 )
#define CFG_TDLS_RSSI_TRIGGER_THRESHOLD "gTDLSRSSITriggerThreshold"
#define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_MIN ( -120 )
#define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_MAX ( 0 )
#define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_DEFAULT ( -75 )
#define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD "gTDLSRSSITeardownThreshold"
#define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_MIN ( -120 )
#define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_MAX ( 0 )
#define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_DEFAULT ( -75 )
#define CFG_TDLS_RSSI_DELTA "gTDLSRSSIDelta"
#define CFG_TDLS_RSSI_DELTA_MIN ( -30 )
#define CFG_TDLS_RSSI_DELTA_MAX ( 0 )
#define CFG_TDLS_RSSI_DELTA_DEFAULT ( -20 )
#define CFG_TDLS_QOS_WMM_UAPSD_MASK_NAME "gTDLSUapsdMask" // ACs to setup U-APSD for TDLS Sta
#define CFG_TDLS_QOS_WMM_UAPSD_MASK_MIN (0)
#define CFG_TDLS_QOS_WMM_UAPSD_MASK_MAX (0x0F)
#define CFG_TDLS_QOS_WMM_UAPSD_MASK_DEFAULT (0x0F)
#define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE "gEnableTDLSBufferSta"
#define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_MIN (0)
#define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_MAX (1)
#define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_DEFAULT (1)
#define CFG_TDLS_PUAPSD_INACTIVITY_TIME "gTDLSPuapsdInactivityTime"
#define CFG_TDLS_PUAPSD_INACTIVITY_TIME_MIN (0)
#define CFG_TDLS_PUAPSD_INACTIVITY_TIME_MAX (10)
#define CFG_TDLS_PUAPSD_INACTIVITY_TIME_DEFAULT (0)
#define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD "gTDLSPuapsdRxFrameThreshold"
#define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_MIN (10)
#define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_MAX (20)
#define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_DEFAULT (10)
#define CFG_TDLS_PUAPSD_PEER_TRAFFIC_IND_WINDOW "gTDLSPuapsdPTIWindow"
#define CFG_TDLS_PUAPSD_PEER_TRAFFIC_IND_WINDOW_MIN (1)
#define CFG_TDLS_PUAPSD_PEER_TRAFFIC_IND_WINDOW_MAX (5)
#define CFG_TDLS_PUAPSD_PEER_TRAFFIC_IND_WINDOW_DEFAULT (2)
#define CFG_TDLS_PUAPSD_PEER_TRAFFIC_RSP_TIMEOUT "gTDLSPuapsdPTRTimeout"
#define CFG_TDLS_PUAPSD_PEER_TRAFFIC_RSP_TIMEOUT_MIN (0)
#define CFG_TDLS_PUAPSD_PEER_TRAFFIC_RSP_TIMEOUT_MAX (10000)
#define CFG_TDLS_PUAPSD_PEER_TRAFFIC_RSP_TIMEOUT_DEFAULT (5000)
#define CFG_TDLS_EXTERNAL_CONTROL "gTDLSExternalControl"
#define CFG_TDLS_EXTERNAL_CONTROL_MIN (0)
#define CFG_TDLS_EXTERNAL_CONTROL_MAX (1)
#define CFG_TDLS_EXTERNAL_CONTROL_DEFAULT (1)
#define CFG_TDLS_OFF_CHANNEL_SUPPORT_ENABLE "gEnableTDLSOffChannel"
#define CFG_TDLS_OFF_CHANNEL_SUPPORT_ENABLE_MIN (0)
#define CFG_TDLS_OFF_CHANNEL_SUPPORT_ENABLE_MAX (1)
#define CFG_TDLS_OFF_CHANNEL_SUPPORT_ENABLE_DEFAULT (0)
#define CFG_TDLS_WMM_MODE_ENABLE "gEnableTDLSWmmMode"
#define CFG_TDLS_WMM_MODE_ENABLE_MIN (0)
#define CFG_TDLS_WMM_MODE_ENABLE_MAX (1)
#define CFG_TDLS_WMM_MODE_ENABLE_DEFAULT (1)
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_NUM "gTDLSPrefOffChanNum"
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_NUM_MIN (1)
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_NUM_MAX (165)
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_NUM_DEFAULT (36)
/* Tdls offchannel bandwidth is now represented in bits as follows.
* 0th bit - 20MHz
* 1st bit - 40MHz
* 2nd bit - 80MHz
* 3rd bit - 160MHz
* If more than one bits are set the f/w will start from the highest
* and select one, based on the capability of peer.
*/
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW "gTDLSPrefOffChanBandwidth"
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW_MIN (1)
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW_MAX (0x0F)
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW_DEFAULT (0x07)
/* Enable TDLS Scan: Allow scan and maintain TDLS link.
* 0: If peer is not buffer STA capable and device is not sleep STA
* capable, then teardown TDLS link when scan is initiated. If peer
* is buffer STA and we can be sleep STA then TDLS link is maintained
* during scan.
* 1: Maintain TDLS link and allow scan even if peer is not buffer STA
* capable and device is not sleep STA capable. There will be loss of
* Rx pkts since peer would not know when device moves away from tdls
* channel. Tx on TDLS link would stop when device moves away from tdls
* channel.
*/
#define CFG_TDLS_SCAN_ENABLE "gEnableTDLSScan"
#define CFG_TDLS_SCAN_ENABLE_MIN (0)
#define CFG_TDLS_SCAN_ENABLE_MAX (1)
#define CFG_TDLS_SCAN_ENABLE_DEFAULT (0)
/* TDLS peer kickout threshold to fw
* Firmware will use this value to determine, when to send TDLS
* peer kick out event to host.
* E.g.
* if peer kick out threshold is 10, then firmware will wait for 10
* consecutive packet failures and then send TDLS kickout
* notification to host driver
*/
#define CFG_TDLS_PEER_KICKOUT_THRESHOLD "gTDLSPeerKickoutThreshold"
#define CFG_TDLS_PEER_KICKOUT_THRESHOLD_MIN (10)
#define CFG_TDLS_PEER_KICKOUT_THRESHOLD_MAX (5000)
#define CFG_TDLS_PEER_KICKOUT_THRESHOLD_DEFAULT (96)
#endif
/* Timer to defer for enabling TDLS on P2P listen (Value in milliseconds) */
#define CFG_TDLS_ENABLE_DEFER_TIMER "gTDLSEnableDeferTime"
#define CFG_TDLS_ENABLE_DEFER_TIMER_MIN (2000)
#define CFG_TDLS_ENABLE_DEFER_TIMER_MAX (6000)
#define CFG_TDLS_ENABLE_DEFER_TIMER_DEFAULT (5000)
#ifdef WLAN_ACTIVEMODE_OFFLOAD_FEATURE
#define CFG_ACTIVEMODE_OFFLOAD_ENABLE "gEnableActiveModeOffload"
#define CFG_ACTIVEMODE_OFFLOAD_ENABLE_MIN ( 0 )
#define CFG_ACTIVEMODE_OFFLOAD_ENABLE_MAX ( 1 )
#define CFG_ACTIVEMODE_OFFLOAD_ENABLE_DEFAULT ( 1 )
#endif
/* Enable/Disable LPWR Image(cMEM uBSP) Transition */
#define CFG_ENABLE_LPWR_IMG_TRANSITION_NAME "gEnableLpwrImgTransition"
#define CFG_ENABLE_LPWR_IMG_TRANSITION_MIN ( 0 )
#define CFG_ENABLE_LPWR_IMG_TRANSITION_MAX ( 1 )
#define CFG_ENABLE_LPWR_IMG_TRANSITION_DEFAULT ( 0 )
/*
* Scan Aging timeout value in seconds
*/
#define CFG_SCAN_AGING_PARAM_NAME "gScanAgingTime"
#define CFG_SCAN_AGING_PARAM_MIN ( 0 )
#define CFG_SCAN_AGING_PARAM_MAX ( 200 )
#define CFG_SCAN_AGING_PARAM_DEFAULT ( 60 )
/* Config Param to enable the txLdpc capability
* 0 - disable
* 1 - HT LDPC enable
* 2 - VHT LDPC enable
* 3 - HT & VHT LDPC enable */
#define CFG_TX_LDPC_ENABLE_FEATURE "gTxLdpcEnable"
#define CFG_TX_LDPC_ENABLE_FEATURE_MIN ( 0 )
#define CFG_TX_LDPC_ENABLE_FEATURE_MAX ( 3 )
#define CFG_TX_LDPC_ENABLE_FEATURE_DEFAULT ( 3 )
/*
* Enable / Disable MCC Adaptive Scheduler feature
* Default: Enable
*/
#define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_NAME "gEnableMCCAdaptiveScheduler"
#define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MIN ( 0 )
#define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MAX ( 1 )
#define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_DEFAULT ( 1 )
#ifdef WLAN_FEATURE_11AC
#define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE "gTxBFEnable"
#define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_MIN ( WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMIN )
#define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_MAX ( WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMAX )
#define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_DEFAULT ( WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STADEF )
#define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED "gTxBFCsnValue"
#define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_MIN ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMIN )
#define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_MAX ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMAX - 1 )
#define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_DEFAULT ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMAX - 1 )
#define CFG_VHT_ENABLE_TXBF_IN_20MHZ "gEnableTxBFin20MHz"
#define CFG_VHT_ENABLE_TXBF_IN_20MHZ_MIN ( 0 )
#define CFG_VHT_ENABLE_TXBF_IN_20MHZ_MAX ( 1 )
#define CFG_VHT_ENABLE_TXBF_IN_20MHZ_DEFAULT ( 0 )
#endif
//Enable debug for remain on channel issues
#define CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_NAME "gDebugP2pRemainOnChannel"
#define CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_DEFAULT ( 0 )
#define CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_MIN ( 0 )
#define CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_MAX ( 1 )
/*
* SAP ALLOW All Channels
*/
#define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_NAME "gSapAllowAllChannel"
#define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_MIN ( 0 )
#define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_MAX ( 1 )
#define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_DEFAULT ( 0 )
#ifdef WLAN_FEATURE_11AC
#define CFG_DISABLE_LDPC_WITH_TXBF_AP "gDisableLDPCWithTxbfAP"
#define CFG_DISABLE_LDPC_WITH_TXBF_AP_MIN ( 0 )
#define CFG_DISABLE_LDPC_WITH_TXBF_AP_MAX ( 1 )
#define CFG_DISABLE_LDPC_WITH_TXBF_AP_DEFAULT ( 0 )
#endif
#define CFG_LIST_OF_NON_DFS_COUNTRY_CODE "gListOfNonDfsCountryCode"
#define CFG_LIST_OF_NON_DFS_COUNTRY_CODE_DEFAULT "JO,MA"
/*
* IBSS Operating Channels for 2.4G and 5GHz channels
*/
#define CFG_IBSS_ADHOC_CHANNEL_5GHZ_NAME "gAdHocChannel5G"
#define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MIN ( 36 )
#define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MAX ( 165 )
#define CFG_IBSS_ADHOC_CHANNEL_5GHZ_DEFAULT ( 44 )
#define CFG_IBSS_ADHOC_CHANNEL_24GHZ_NAME "gAdHocChannel24G"
#define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MIN ( 1 )
#define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MAX ( 14 )
#define CFG_IBSS_ADHOC_CHANNEL_24GHZ_DEFAULT ( 6 )
/* Parameter to control VHT support in 2.4 GHz band */
#define CFG_ENABLE_VHT_FOR_24GHZ_NAME "gEnableVhtFor24GHzBand"
#define CFG_ENABLE_VHT_FOR_24GHZ_MIN (0)
#define CFG_ENABLE_VHT_FOR_24GHZ_MAX (1)
#define CFG_ENABLE_VHT_FOR_24GHZ_DEFAULT (0)
/*
* Parameter to control VHT support based on vendor ie in 2.4 GHz band
* This parameter will enable SAP to read VHT capability in vendor ie in Assoc
* Req and send VHT caps in Resp to establish connection in VHT Mode.
*/
#define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_NAME "gEnableVendorVhtFor24GHzBand"
#define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_MIN (0)
#define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_MAX (1)
#define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_DEFAULT (1)
#define CFG_MAX_MEDIUM_TIME "gMaxMediumTime"
#define CFG_MAX_MEDIUM_TIME_STAMIN WNI_CFG_MAX_MEDIUM_TIME_STAMIN
#define CFG_MAX_MEDIUM_TIME_STAMAX WNI_CFG_MAX_MEDIUM_TIME_STAMAX
#define CFG_MAX_MEDIUM_TIME_STADEFAULT WNI_CFG_MAX_MEDIUM_TIME_STADEF
/*
* Enable legacy fast roaming (LFR) on STA link during concurrent sessions
*/
#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
#define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY "gEnableFastRoamInConcurrency"
#define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_MIN ( 0 )
#define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_MAX ( 1 )
#define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_DEFAULT ( 1 )
#endif
/*
* FlexConnectPowerFactor parameter
* Default: Disable (0)
*/
#define CFG_FLEX_CONNECT_POWER_FACTOR_NAME "gFlexConnectPowerFactor"
#define CFG_FLEX_CONNECT_POWER_FACTOR_MIN ( 0 )
#define CFG_FLEX_CONNECT_POWER_FACTOR_MAX ( 9 )
#define CFG_FLEX_CONNECT_POWER_FACTOR_DEFAULT ( 0 )
/*
* Enable heart beat monitoring offload to FW
*/
#define CFG_ENABLE_HEART_BEAT_OFFLOAD "gEnableIbssHeartBeatOffload"
#define CFG_ENABLE_HEART_BEAT_OFFLOAD_MIN ( 0 )
#define CFG_ENABLE_HEART_BEAT_OFFLOAD_MAX ( 1 )
#define CFG_ENABLE_HEART_BEAT_OFFLOAD_DEFAULT ( 1 )
#define CFG_ANTENNA_DIVERSITY_PARAM_NAME "gAntennaDiversity"
#define CFG_ANTENNA_DIVERSITY_PARAM_MIN ( 0 )
#define CFG_ANTENNA_DIVERSITY_PARAM_MAX ( 3 )
#define CFG_ANTENNA_DIVERSITY_PARAM_DEFAULT ( 0 )
#define CFG_ENABLE_SNR_MONITORING_NAME "gEnableSNRMonitoring"
#define CFG_ENABLE_SNR_MONITORING_MIN ( 0 )
#define CFG_ENABLE_SNR_MONITORING_MAX ( 1 )
#define CFG_ENABLE_SNR_MONITORING_DEFAULT ( 0 )
#ifdef FEATURE_WLAN_SCAN_PNO
#define CFG_PNO_SCAN_SUPPORT "gPNOScanSupport"
#define CFG_PNO_SCAN_SUPPORT_ENABLE ( 1 )
#define CFG_PNO_SCAN_SUPPORT_DISABLE ( 0 )
#define CFG_PNO_SCAN_SUPPORT_DEFAULT ( 1 )
#define CFG_PNO_SCAN_TIMER_REPEAT_VALUE "gPNOScanTimerRepeatValue"
#define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_DEFAULT ( 30 )
#define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_MIN ( 0 )
#define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_MAX ( 0xffffffff )
#define CFG_PNO_SLOW_SCAN_MULTIPLIER "gPNOSlowScanMultiplier"
#define CFG_PNO_SLOW_SCAN_MULTIPLIER_DEFAULT ( 6 )
#define CFG_PNO_SLOW_SCAN_MULTIPLIER_MIN ( 0 )
#define CFG_PNO_SLOW_SCAN_MULTIPLIER_MAX ( 30 )
#endif
#define CFG_MAX_AMSDU_NUM_NAME "gMaxAmsduNum"
#define CFG_MAX_AMSDU_NUM_MIN (0)
#define CFG_MAX_AMSDU_NUM_MAX (3)
#define CFG_MAX_AMSDU_NUM_DEFAULT (1)
/* Prefer connecting to 5G AP even if its RSSI is lower by
gSelect5GHzMargin dBm than 2.4G AP.
This feature requires the dependent cfg.ini "gRoamPrefer5GHz" set to 1 */
#define CFG_STRICT_5GHZ_PREF_BY_MARGIN "gSelect5GHzMargin"
#define CFG_STRICT_5GHZ_PREF_BY_MARGIN_MIN (0)
#define CFG_STRICT_5GHZ_PREF_BY_MARGIN_MAX (60)
#define CFG_STRICT_5GHZ_PREF_BY_MARGIN_DEFAULT (0) //set 0 to disable
#define CFG_ENABLE_TCP_CHKSUM_OFFLOAD "gEnableTCPChkSumOffld"
#define CFG_ENABLE_TCP_CHKSUM_OFFLOAD_MAX ( 1 )
#define CFG_ENABLE_TCP_CHKSUM_OFFLOAD_MIN ( 0 )
#define CFG_ENABLE_TCP_CHKSUM_OFFLOAD_DEFAULT ( 0 )
#define CFG_ENABLE_IP_CHKSUM_OFFLOAD "gEnableIPChecksumOffload"
#define CFG_ENABLE_IP_CHKSUM_OFFLOAD_DISABLE ( 0 )
#define CFG_ENABLE_IP_CHKSUM_OFFLOAD_ENABLE ( 1 )
#define CFG_ENABLE_IP_CHKSUM_OFFLOAD_DEFAULT ( CFG_ENABLE_IP_CHKSUM_OFFLOAD_DISABLE )
/*
* Power Save Offload
* Power Save Offload configuration:
* Current values of gEnablePowerSaveOffload:
* 0 -> Power save offload is disabled
* 1 -> Legacy Power save enabled + Deep sleep Disabled
* 2 -> QPower enabled + Deep sleep Disabled
* 3 -> Legacy Power save enabled + Deep sleep Enabled
* 4 -> QPower enabled + Deep sleep Enabled
* 5 -> Duty cycling QPower enabled
*/
#define CFG_POWERSAVE_OFFLOAD_NAME "gEnablePowerSaveOffload"
#define CFG_POWERSAVE_OFFLOAD_MIN (0)
#define CFG_POWERSAVE_OFFLOAD_MAX (PS_DUTY_CYCLING_QPOWER)
#define CFG_POWERSAVE_OFFLOAD_DEFAULT (CFG_POWERSAVE_OFFLOAD_MIN)
#ifdef IPA_OFFLOAD
/*
* IPA Offload configuration - Each bit enables a feature
* bit0 - IPA Enable
* bit1 - IPA Pre filter enable
* bit2 - IPv6 enable
* bit3 - IPA Resource Manager (RM) enable
* bit4 - IPA Clock scaling enable
*/
#define CFG_IPA_OFFLOAD_CONFIG_NAME "gIPAConfig"
#define CFG_IPA_OFFLOAD_CONFIG_MIN ( 0 )
#define CFG_IPA_OFFLOAD_CONFIG_MAX ( 0xFFFFFFFF )
#define CFG_IPA_OFFLOAD_CONFIG_DEFAULT ( CFG_IPA_OFFLOAD_CONFIG_MIN )
/*
* IPA DESC SIZE
*/
#define CFG_IPA_DESC_SIZE_NAME "gIPADescSize"
#define CFG_IPA_DESC_SIZE_MIN ( 800 )
#define CFG_IPA_DESC_SIZE_MAX ( 8000 )
#define CFG_IPA_DESC_SIZE_DEFAULT ( 800 )
#define CFG_IPA_HIGH_BANDWIDTH_MBPS "gIPAHighBandwidthMbps"
#define CFG_IPA_HIGH_BANDWIDTH_MBPS_MIN ( 200 )
#define CFG_IPA_HIGH_BANDWIDTH_MBPS_MAX ( 1000 )
#define CFG_IPA_HIGH_BANDWIDTH_MBPS_DEFAULT ( 400 )
#define CFG_IPA_MEDIUM_BANDWIDTH_MBPS "gIPAMediumBandwidthMbps"
#define CFG_IPA_MEDIUM_BANDWIDTH_MBPS_MIN ( 100 )
#define CFG_IPA_MEDIUM_BANDWIDTH_MBPS_MAX ( 400 )
#define CFG_IPA_MEDIUM_BANDWIDTH_MBPS_DEFAULT ( 200 )
#define CFG_IPA_LOW_BANDWIDTH_MBPS "gIPALowBandwidthMbps"
#define CFG_IPA_LOW_BANDWIDTH_MBPS_MIN ( 0 )
#define CFG_IPA_LOW_BANDWIDTH_MBPS_MAX ( 100 )
#define CFG_IPA_LOW_BANDWIDTH_MBPS_DEFAULT ( 100 )
#endif
/*
* P2P Listen Offload
*/
#define CFG_P2P_LISTEN_OFFLOAD_NAME "gEnableP2pListenOffload"
#define CFG_P2P_LISTEN_OFFLOAD_DISABLE ( 0 )
#define CFG_P2P_LISTEN_OFFLOAD_ENABLE ( 1 )
#define CFG_P2P_LISTEN_OFFLOAD_DEFAULT ( CFG_P2P_LISTEN_OFFLOAD_DISABLE )
/*
* Firmware uart print
*/
#define CFG_ENABLE_FW_UART_PRINT_NAME "gEnablefwprint"
#define CFG_ENABLE_FW_UART_PRINT_DISABLE ( 0 )
#define CFG_ENABLE_FW_UART_PRINT_ENABLE ( 1 )
#define CFG_ENABLE_FW_UART_PRINT_DEFAULT ( CFG_ENABLE_FW_UART_PRINT_DISABLE )
/*
* Firmware log
*/
#define CFG_ENABLE_FW_LOG_NAME "gEnablefwlog"
#define CFG_ENABLE_FW_LOG_DISABLE ( 0 )
#define CFG_ENABLE_FW_LOG_ENABLE ( 1 )
#define CFG_ENABLE_FW_LOG_DEFAULT ( CFG_ENABLE_FW_LOG_DISABLE )
/*
* Enable/Disable SSR for USB
*/
#define CFG_ENABLE_FW_SELF_RECOVERY_NAME "gEnableFwSelfRecovery"
#define CFG_ENABLE_FW_SELF_RECOVERY_DISABLE ( 0 )
#define CFG_ENABLE_FW_SELF_RECOVERY_ENABLE ( 1 )
#define CFG_ENABLE_FW_SELF_RECOVERY_DEFAULT ( CFG_ENABLE_FW_SELF_RECOVERY_DISABLE )
#ifdef WLAN_FEATURE_11AC
//Macro to handle maximum receive AMPDU size configuration
#define CFG_VHT_AMPDU_LEN_EXPONENT_NAME "gVhtAmpduLenExponent"
#define CFG_VHT_AMPDU_LEN_EXPONENT_MIN ( 0 )
#define CFG_VHT_AMPDU_LEN_EXPONENT_MAX ( 7 )
#define CFG_VHT_AMPDU_LEN_EXPONENT_DEFAULT ( 7 )
#define CFG_VHT_MPDU_LEN_NAME "gVhtMpduLen"
#define CFG_VHT_MPDU_LEN_MIN ( 0 )
#define CFG_VHT_MPDU_LEN_MAX ( 2 )
#define CFG_VHT_MPDU_LEN_DEFAULT ( 0 )
#endif
#define CFG_MAX_WOW_FILTERS_NAME "gMaxWoWFilters"
#define CFG_MAX_WOW_FILTERS_MIN ( 0 )
#define CFG_MAX_WOW_FILTERS_MAX ( 22 )
#define CFG_MAX_WOW_FILTERS_DEFAULT ( 22 )
/*
* WOW Enable/Disable.
* 0 - Disable both magic pattern match and pattern byte match.
* 1 - Enable magic pattern match on all interfaces.
* 2 - Enable pattern byte match on all interfaces.
* 3 - Enable both magic patter and pattern byte match on all interfaces.
*/
#define CFG_WOW_STATUS_NAME "gEnableWoW"
#define CFG_WOW_ENABLE_MIN ( 0 )
#define CFG_WOW_ENABLE_MAX ( 3 )
#define CFG_WOW_STATUS_DEFAULT ( 3 )
#define CFG_COALESING_IN_IBSS_NAME "gCoalesingInIBSS"
#define CFG_COALESING_IN_IBSS_MIN (0)
#define CFG_COALESING_IN_IBSS_MAX (1)
#define CFG_COALESING_IN_IBSS_DEFAULT (0) //disabled
#define CFG_IBSS_ATIM_WIN_SIZE_NAME "gIbssATIMWinSize"
#define CFG_IBSS_ATIM_WIN_SIZE_MIN (0)
#define CFG_IBSS_ATIM_WIN_SIZE_MAX (50)
#define CFG_IBSS_ATIM_WIN_SIZE_DEFAULT (0)
/*
* Indicates if IBSS Power Save is
* supported or not. When not allowed,
* IBSS station has to stay awake all
* the time and should never set PM=1
* in its transmitted frames. This
* parameter is meaningful/valid only
* when gIbssATIMWinSize is non-zero
*/
#define CFG_IBSS_IS_POWER_SAVE_ALLOWED_NAME "gIbssIsPowerSaveAllowed"
#define CFG_IBSS_IS_POWER_SAVE_ALLOWED_MIN (0)
#define CFG_IBSS_IS_POWER_SAVE_ALLOWED_MAX (1)
#define CFG_IBSS_IS_POWER_SAVE_ALLOWED_DEFAULT (1)
/*
* Indicates if IBSS Power Collapse
* is allowed or not.
*/
#define CFG_IBSS_IS_POWER_COLLAPSE_ALLOWED_NAME "gIbssIsPowerCollapseAllowed"
#define CFG_IBSS_IS_POWER_COLLAPSE_ALLOWED_MIN (0)
#define CFG_IBSS_IS_POWER_COLLAPSE_ALLOWED_MAX (1)
#define CFG_IBSS_IS_POWER_COLLAPSE_ALLOWED_DEFAULT (1)
/*
* This parameter indicates whether IBSS station
* can exit power save mode and enter power active
* state whenever there is a TX/RX activity.
*/
#define CFG_IBSS_AWAKE_ON_TX_RX_NAME "gIbssAwakeOnTxRx"
#define CFG_IBSS_AWAKE_ON_TX_RX_MIN (0)
#define CFG_IBSS_AWAKE_ON_TX_RX_MAX (1)
#define CFG_IBSS_AWAKE_ON_TX_RX_DEFAULT (0)
/*
* In IBSS mode if Awake on TX/RX activity is enabled
* Ibss Inactivity parameter indicates the data
* inactivity time in number of beacon intervals
* after which IBSS station re-inters power save
* by sending Null frame with PM=1
*/
#define CFG_IBSS_INACTIVITY_TIME_NAME "gIbssInactivityTime"
#define CFG_IBSS_INACTIVITY_TIME_MIN (1)
#define CFG_IBSS_INACTIVITY_TIME_MAX (10)
#define CFG_IBSS_INACTIVITY_TIME_DEFAULT (1)
/*
* In IBSS mode Tx Service Period Inactivity
* time in msecs indicates the time after
* which TX Service Period is terminated by
* sending a Qos Null frame with EOSP.
* If value is 0, TX SP is terminated with the
* last buffered packet itself instead of waiting
* for the inactivity
*/
#define CFG_IBSS_TXSP_END_INACTIVITY_NAME "gIbssTxSpEndInactivityTime"
#define CFG_IBSS_TXSP_END_INACTIVITY_MIN (0)
#define CFG_IBSS_TXSP_END_INACTIVITY_MAX (100)
#define CFG_IBSS_TXSP_END_INACTIVITY_DEFAULT (0)
/*
* When IBSS network is initialized, PS-supporting device
* does not enter protocol sleep state during first
* gIbssPsWarmupTime seconds.
*/
#define CFG_IBSS_PS_WARMUP_TIME_NAME "gIbssPsWarmupTime"
#define CFG_IBSS_PS_WARMUP_TIME_MIN (0)
/* Allow unsigned Int Max for now */
#define CFG_IBSS_PS_WARMUP_TIME_MAX (65535)
#define CFG_IBSS_PS_WARMUP_TIME_DEFAULT (0)
/*
* IBSS Power Save Enable/Disable 1 RX
* chain usage during the ATIM window
*/
#define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_NAME "gIbssPs1RxChainInAtim"
#define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_MIN (0)
#define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_MAX (1)
#define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_DEFAULT (0)
/*
* Max peers number of SAP
*/
#define CFG_SAP_MAX_NO_PEERS "gSoftApMaxPeers"
#define CFG_SAP_MAX_NO_PEERS_MIN (1)
#define CFG_SAP_MAX_NO_PEERS_MAX (32)
#define CFG_SAP_MAX_NO_PEERS_DEFAULT (32)
/*
* Max peers number of P2P GO
* To make it backward compatible with old INI file which only set
* gSoftApMaxPeers, set gGoMaxPeers default value to 0, and add logic
* to set this item same as gSoftApMaxPeers if the value is 0
*/
#define CFG_GO_MAX_NO_PEERS "gGoMaxPeers"
#define CFG_GO_MAX_NO_PEERS_MIN (0)
#define CFG_GO_MAX_NO_PEERS_MAX (32)
#define CFG_GO_MAX_NO_PEERS_DEFAULT (0)
/*
* Connection related log Enable/Disable.
* 0x1 - Enable mgmt pkt logs (no probe req/rsp).
* 0x2 - Enable EAPOL pkt logs.
* 0x4 - Enable DHCP pkt logs.
* 0x8 - Enable mgmt. action pkt logs.
* 0x10 - Enable ARP packet logs.
* 0x20 - Enable ICMPv6 NS packet logs.
* 0x40 - Enable ICMPv6 NA packet logs.
* 0x0 - Disable all the above connection related logs.
*/
#define CFG_ENABLE_DEBUG_CONNECT_ISSUE "gEnableDebugLog"
#define CFG_ENABLE_DEBUG_CONNECT_ISSUE_MIN (0)
#define CFG_ENABLE_DEBUG_CONNECT_ISSUE_MAX (0xFF)
#define CFG_ENABLE_DEBUG_CONNECT_ISSUE_DEFAULT (0x76)
/*
* RX packet handling options
* 0: no rx thread, no RPS, for MDM
* 1: RX thread
* 2: RPS
* MSM default RX thread
* MDM default irq
*/
#define CFG_RX_HANDLE "rxhandle"
#define CFG_RX_HANDLE_MIN (WLAN_HDD_RX_HANDLE_MIN)
#define CFG_RX_HANDLE_MAX (WLAN_HDD_RX_HANDLE_MAX)
#ifdef MDM_PLATFORM
#define CFG_RX_HANDLE_DEFAULT (WLAN_HDD_RX_HANDLE_IRQ)
#else
#define CFG_RX_HANDLE_DEFAULT (WLAN_HDD_RX_HANDLE_RX_THREAD)
#endif /* MDM_PLATFORM */
/* List of RPS CPU maps for different rx queues registered by WLAN driver
* Ref - Kernel/Documentation/networking/scaling.txt
* RPS CPU map for a particular RX queue, selects CPU(s) for bottom half
* processing of RX packets. For example, for a system with 4 CPUs,
* 0xe: Use CPU1 - CPU3 and donot use CPU0.
* 0x0: RPS is disabled, packets are processed on the interrupting CPU.
.*
* WLAN driver registers NUM_TX_QUEUES queues for tx and rx each during
* alloc_netdev_mq. Hence, we need to have a cpu mask for each of the rx queues.
*
* For example, if the NUM_TX_QUEUES is 4, a sample WLAN ini entry may look like
* rpsRxQueueCpuMapList=a b c d
* For a 4 CPU system (CPU0 - CPU3), this implies:
* 0xa - (1010) use CPU1, CPU3 for rx queue 0
* 0xb - (1011) use CPU0, CPU1 and CPU3 for rx queue 1
* 0xc - (1100) use CPU2, CPU3 for rx queue 2
* 0xd - (1101) use CPU0, CPU2 and CPU3 for rx queue 3
* In practice, we may want to avoid the cores which are heavily loaded.
*/
/* Name of the ini file entry to specify RPS map for different RX queus */
#define CFG_RPS_RX_QUEUE_CPU_MAP_LIST_NAME "rpsRxQueueCpuMapList"
/* Default value of rpsRxQueueCpuMapList. Different platforms may have
* different configurations for NUM_TX_QUEUES and # of cpus, and will need to
* configure an appropriate value via ini file. Setting default value to 'e' to
* avoid use of CPU0 (since its heavily used by other system processes) by rx
* queue 0, which is currently being used for rx packet processing.
*/
#define CFG_RPS_RX_QUEUE_CPU_MAP_LIST_DEFAULT "e"
/* Maximum length of string used to hold a list of cpu maps for various rx
* queues. Considering a 16 core system with 5 rx queues, a RPS CPU map
* list may look like -
* rpsRxQueueCpuMapList = ffff ffff ffff ffff ffff
* (all 5 rx queues can be processed on all 16 cores)
* max string len = 24 + 1(for '\0'). Considering 30 to be on safe side.
*/
#define CFG_RPS_RX_QUEUE_CPU_MAP_LIST_LEN 30
/* SAR Thermal limit values for 2g and 5g */
#define CFG_SET_TXPOWER_LIMIT2G_NAME "TxPower2g"
#define CFG_SET_TXPOWER_LIMIT2G_MIN ( 0 )
#define CFG_SET_TXPOWER_LIMIT2G_MAX ( 30 )
#define CFG_SET_TXPOWER_LIMIT2G_DEFAULT ( 30 )
#define CFG_SET_TXPOWER_LIMIT5G_NAME "TxPower5g"
#define CFG_SET_TXPOWER_LIMIT5G_MIN ( 0 )
#define CFG_SET_TXPOWER_LIMIT5G_MAX ( 30 )
#define CFG_SET_TXPOWER_LIMIT5G_DEFAULT ( 30 )
#ifdef QCA_LL_TX_FLOW_CT
/* Default, single interface case flow control parameters */
#define CFG_LL_TX_FLOW_LWM "TxFlowLowWaterMark"
#define CFG_LL_TX_FLOW_LWM_MIN ( 0 )
#define CFG_LL_TX_FLOW_LWM_MAX ( 1000 )
#if defined(CONFIG_HL_SUPPORT)
#define CFG_LL_TX_FLOW_LWM_DEFAULT ( 0 )
#else
#define CFG_LL_TX_FLOW_LWM_DEFAULT ( 300 )
#endif /* defined(CONFIG_HL_SUPPORT) */
#define CFG_LL_TX_FLOW_HWM_OFFSET "TxFlowHighWaterMarkOffset"
#define CFG_LL_TX_FLOW_HWM_OFFSET_MIN ( 0 )
#define CFG_LL_TX_FLOW_HWM_OFFSET_MAX ( 300 )
#if defined(CONFIG_HL_SUPPORT)
#define CFG_LL_TX_FLOW_HWM_OFFSET_DEFAULT ( 0 )
#else
#define CFG_LL_TX_FLOW_HWM_OFFSET_DEFAULT ( 94 )
#endif /* defined(CONFIG_HL_SUPPORT) */
#define CFG_LL_TX_FLOW_MAX_Q_DEPTH "TxFlowMaxQueueDepth"
#define CFG_LL_TX_FLOW_MAX_Q_DEPTH_MIN ( 400 )
#define CFG_LL_TX_FLOW_MAX_Q_DEPTH_MAX ( 3500 )
#define CFG_LL_TX_FLOW_MAX_Q_DEPTH_DEFAULT ( 1500 )
#define CFG_LL_TX_LBW_FLOW_LWM "TxLbwFlowLowWaterMark"
#define CFG_LL_TX_LBW_FLOW_LWM_MIN ( 0 )
#if defined(CONFIG_HL_SUPPORT)
#define CFG_LL_TX_LBW_FLOW_LWM_MAX ( 2300 )
#define CFG_LL_TX_LBW_FLOW_LWM_DEFAULT ( 2250 )
#else
#define CFG_LL_TX_LBW_FLOW_LWM_MAX ( 1000 )
#define CFG_LL_TX_LBW_FLOW_LWM_DEFAULT ( 450 )
#endif /* defined(CONFIG_HL_SUPPORT) */
#define CFG_LL_TX_LBW_FLOW_HWM_OFFSET "TxLbwFlowHighWaterMarkOffset"
#define CFG_LL_TX_LBW_FLOW_HWM_OFFSET_MIN ( 0 )
#define CFG_LL_TX_LBW_FLOW_HWM_OFFSET_MAX ( 300 )
#if defined(CONFIG_HL_SUPPORT)
#define CFG_LL_TX_LBW_FLOW_HWM_OFFSET_DEFAULT ( 40 )
#else
#define CFG_LL_TX_LBW_FLOW_HWM_OFFSET_DEFAULT ( 50 )
#endif /* defined(CONFIG_HL_SUPPORT) */
#define CFG_LL_TX_LBW_FLOW_MAX_Q_DEPTH "TxLbwFlowMaxQueueDepth"
#define CFG_LL_TX_LBW_FLOW_MAX_Q_DEPTH_MIN ( 400 )
#define CFG_LL_TX_LBW_FLOW_MAX_Q_DEPTH_MAX ( 3500 )
#define CFG_LL_TX_LBW_FLOW_MAX_Q_DEPTH_DEFAULT ( 750 )
#define CFG_LL_TX_HBW_FLOW_LWM "TxHbwFlowLowWaterMark"
#define CFG_LL_TX_HBW_FLOW_LWM_MIN ( 0 )
#if defined(CONFIG_HL_SUPPORT)
#define CFG_LL_TX_HBW_FLOW_LWM_MAX ( 2300 )
#define CFG_LL_TX_HBW_FLOW_LWM_DEFAULT ( 2150 )
#else
#define CFG_LL_TX_HBW_FLOW_LWM_MAX ( 1000 )
#define CFG_LL_TX_HBW_FLOW_LWM_DEFAULT ( 406 )
#endif /* defined(CONFIG_HL_SUPPORT) */
#define CFG_LL_TX_HBW_FLOW_HWM_OFFSET "TxHbwFlowHighWaterMarkOffset"
#define CFG_LL_TX_HBW_FLOW_HWM_OFFSET_MIN ( 0 )
#define CFG_LL_TX_HBW_FLOW_HWM_OFFSET_MAX ( 300 )
#if defined(CONFIG_HL_SUPPORT)
#define CFG_LL_TX_HBW_FLOW_HWM_OFFSET_DEFAULT ( 140 )
#else
#define CFG_LL_TX_HBW_FLOW_HWM_OFFSET_DEFAULT ( 94 )
#endif /* defined(CONFIG_HL_SUPPORT) */
#define CFG_LL_TX_HBW_FLOW_MAX_Q_DEPTH "TxHbwFlowMaxQueueDepth"
#define CFG_LL_TX_HBW_FLOW_MAX_Q_DEPTH_MIN ( 400 )
#define CFG_LL_TX_HBW_FLOW_MAX_Q_DEPTH_MAX ( 3500 )
#define CFG_LL_TX_HBW_FLOW_MAX_Q_DEPTH_DEFAULT ( 1500 )
#endif /* QCA_LL_TX_FLOW_CT */
#define CFG_SAP_MAX_OFFLOAD_PEERS "gMaxOffloadPeers"
#define CFG_SAP_MAX_OFFLOAD_PEERS_MIN (2)
#define CFG_SAP_MAX_OFFLOAD_PEERS_MAX (12)
#define CFG_SAP_MAX_OFFLOAD_PEERS_DEFAULT (2)
#define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS "gMaxOffloadReorderBuffs"
#define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS_MIN (0)
#define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS_MAX (12)
#define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS_DEFAULT (2)
#ifdef FEATURE_WLAN_RA_FILTERING
#define CFG_RA_FILTER_ENABLE_NAME "gRAFilterEnable"
#define CFG_RA_FILTER_ENABLE_MIN (0)
#define CFG_RA_FILTER_ENABLE_MAX (1)
#define CFG_RA_FILTER_ENABLE_DEFAULT (0)
#define CFG_RA_RATE_LIMIT_INTERVAL_NAME "gRArateLimitInterval"
#define CFG_RA_RATE_LIMIT_INTERVAL_MIN (60)
#define CFG_RA_RATE_LIMIT_INTERVAL_MAX (3600)
#define CFG_RA_RATE_LIMIT_INTERVAL_DEFAULT (60)/*60 SEC*/
#endif
#define CFG_IGNORE_PEER_ERP_INFO_NAME "gIgnorePeerErpInfo"
#define CFG_IGNORE_PEER_ERP_INFO_MIN ( 0 )
#define CFG_IGNORE_PEER_ERP_INFO_MAX ( 1 )
#define CFG_IGNORE_PEER_ERP_INFO_DEFAULT ( 0 )
#define CFG_INITIAL_DWELL_TIME_NAME "gInitialDwellTime"
#define CFG_INITIAL_DWELL_TIME_DEFAULT (0)
#define CFG_INITIAL_DWELL_TIME_MIN (0)
#define CFG_INITIAL_DWELL_TIME_MAX (100)
#define CFG_INITIAL_SCAN_NO_DFS_CHNL_NAME "gInitialScanNoDFSChnl"
#define CFG_INITIAL_SCAN_NO_DFS_CHNL_DEFAULT (0)
#define CFG_INITIAL_SCAN_NO_DFS_CHNL_MIN (0)
#define CFG_INITIAL_SCAN_NO_DFS_CHNL_MAX (1)
#define CFG_OVERRIDE_COUNTRY_CODE "gStaCountryCode"
#define CFG_OVERRIDE_COUNTRY_CODE_DEFAULT "000"
#define CFG_ROAMING_DFS_CHANNEL_NAME "gAllowDFSChannelRoam"
#define CFG_ROAMING_DFS_CHANNEL_DISABLED (0)
#define CFG_ROAMING_DFS_CHANNEL_ENABLED_NORMAL (1)
#define CFG_ROAMING_DFS_CHANNEL_ENABLED_ACTIVE (2)
#define CFG_ROAMING_DFS_CHANNEL_MIN (CFG_ROAMING_DFS_CHANNEL_DISABLED)
#define CFG_ROAMING_DFS_CHANNEL_MAX (CFG_ROAMING_DFS_CHANNEL_ENABLED_ACTIVE)
#define CFG_ROAMING_DFS_CHANNEL_DEFAULT (CFG_ROAMING_DFS_CHANNEL_DISABLED)
#ifdef FEATURE_BUS_BANDWIDTH
#define CFG_BUS_BANDWIDTH_HIGH_THRESHOLD "gBusBandwidthHighThreshold"
#define CFG_BUS_BANDWIDTH_HIGH_THRESHOLD_DEFAULT ( 2000 )
#define CFG_BUS_BANDWIDTH_HIGH_THRESHOLD_MIN ( 0 )
#define CFG_BUS_BANDWIDTH_HIGH_THRESHOLD_MAX ( 4294967295UL )
#define CFG_BUS_BANDWIDTH_MEDIUM_THRESHOLD "gBusBandwidthMediumThreshold"
#define CFG_BUS_BANDWIDTH_MEDIUM_THRESHOLD_DEFAULT ( 500 )
#define CFG_BUS_BANDWIDTH_MEDIUM_THRESHOLD_MIN ( 0 )
#define CFG_BUS_BANDWIDTH_MEDIUM_THRESHOLD_MAX ( 4294967295UL )
#define CFG_BUS_BANDWIDTH_LOW_THRESHOLD "gBusBandwidthLowThreshold"
#define CFG_BUS_BANDWIDTH_LOW_THRESHOLD_DEFAULT ( 150 )
#define CFG_BUS_BANDWIDTH_LOW_THRESHOLD_MIN ( 0 )
#define CFG_BUS_BANDWIDTH_LOW_THRESHOLD_MAX ( 4294967295UL )
#define CFG_BUS_BANDWIDTH_COMPUTE_INTERVAL "gBusBandwidthComputeInterval"
#define CFG_BUS_BANDWIDTH_COMPUTE_INTERVAL_DEFAULT ( 100 )
#define CFG_BUS_BANDWIDTH_COMPUTE_INTERVAL_MIN ( 0 )
#define CFG_BUS_BANDWIDTH_COMPUTE_INTERVAL_MAX ( 10000 )
#define CFG_TCP_DELACK_THRESHOLD_HIGH "gTcpDelAckThresholdHigh"
#define CFG_TCP_DELACK_THRESHOLD_HIGH_DEFAULT ( 500 )
#define CFG_TCP_DELACK_THRESHOLD_HIGH_MIN ( 0 )
#define CFG_TCP_DELACK_THRESHOLD_HIGH_MAX ( 16000 )
#define CFG_TCP_DELACK_THRESHOLD_LOW "gTcpDelAckThresholdLow"
#define CFG_TCP_DELACK_THRESHOLD_LOW_DEFAULT ( 1000 )
#define CFG_TCP_DELACK_THRESHOLD_LOW_MIN ( 0 )
#define CFG_TCP_DELACK_THRESHOLD_LOW_MAX ( 10000 )
#define CFG_TCP_DELACK_TIMER_COUNT "gTcpDelAckTimerCount"
#define CFG_TCP_DELACK_TIMER_COUNT_DEFAULT ( 30 )