Detailed analysis of WCNSS_qcom_cfg.ini WIFI configuration file parameters

STA-related general configuration

parameter meaning Minimum Max Defaults
gNeighborLookupThreshold 1 The condition that triggers roam scan is in the WCNSS_qcom_cfg.ini file gNeighborLookupThreshold=78, which means that roam scan will be triggered when the signal is less than -78db. 0 120 0
RTSThreshold Mainly used to solve the "hidden node" problem, refer to https://blog.csdn.net/oriel123/article/details/77976737
WmmIsEnabled WMM is enabled: 1-enable, only QoS, 2-enable, but not enable QoS, 0-automatic, join any AP 0 2 0
BandCapability Preferred frequency band, 0: both, 1: 2.4G only, 2: 5G only 0 2 1
gTxBFEnable Enable Tx beamforming 0 1 0
Intf0MacAddress Assigned MAC address-the location has been used until the NV item is inserted. There are 4, f0-f3
gNumRxAnt Set 1 x 1 as the default antenna configuration. 1 2 2
gNthBeaconFilter Beacon filtering frequency (in units of beacon interval). Every Nth beacon will check the content of the change beacon frame. If the beacon frame changes, the frame is forwarded to the host. 0 255 10
McastBcastFilter Flag value for filtering multicast and broadcast Rx packets: 0-no filtering, 1-filtering all multicasts, 2-filtering all broadcasts, 3-filtering all multicasts and broadcasts 0 3 0
hostArpOffload Enable/disable the HostARPOffload function to uninstall the ARP reply firmware. For more information
gEnableApProt 802.11n protection flag
gFixedRate Fixed transmission data rate; 0 means automatic rate adjustment. 0
gDisableIntraBssFwd BSS internal forwarding 0
g11dSupportEnabled Enable/disable 11d support 0 1 1
gNeighborScanTimerPeriod Single channel in CCX support and fast transition scan 3 300 200
gShortGI20Mhz gShortGI40Mhz Enable short guard interval for HT20 and HT40
gAPAutoShutOff If there is no activity for this period, then SAP disconnects with that STA. Enable/disable values ​​are in seconds Automatic shutdown value, in seconds. A value of 0 means automatic shutdown is disabled
gChannelBondingMode5GHz gChannelBondingMode24GHz After setting to 1, 2.4G/5G can open the maximum channel bandwidth in frequency bands, such as 40M, 80M, 160M
gEnableModulatedDTIM Enable/disable modulation DTIM function 0 5 0
gMaxLIModulatedDTIM Modulate the maximum LI of DTIM 1 10 10
gGoKeepAlivePeriod gGoKeepAlivePeriod / gApKeepAlivePeriod is the time used to check whether the frame is being sent. Therefore, the total effective detection time is gGoLinkMonitorPeriod +gGoKeepAlivePeriod / gApLinkMonitorPeriod +gApKeepAlivePeriod 3 255 3
gEnableAutomaticTxPowerControl Enable automatic Tx power control
gEnableCloseLoop 0 for OLPC 1 for CLPC and SCPC
gDataInactivityTimeout Data inactivity timeout milliseconds during power saving) 1 255 20
gVhtChannelWidth Channel width of VHT mode. 1-20 and 40MHz, 2-80MHz
g_enable_probereq_whitelist_ies Enable or disable the whitelist of Probe Req information elements

SCAN related configuration

parameter meaning Minimum Max Defaults
gScanResultAgeCount Enable scan result aging based on the number of scans (the aging count result table of the BSS entry maintained in the driver scan. If the driver cannot find the number of BSS scans, it will delete the entry result table in the scan) 1 100 3
gScanAgingTime 扫描老化超时值(秒为单位),基于老化清除扫描结果(如设置为30,则30s后才去清除缓存的wifi信息,重新得到扫描结果) 0 200 60
gEnableIdleScan 启用/禁用空闲扫描 0 1 1
gMaxMediumTime 最大频道时间。有效值为2048、4096,8192,依此类推。不要使用其他值。
gActiveMaxChannelTime gActiveMinChannelTime 主动扫描的最大/小通道时间
gPassiveMaxChannelTime gPassiveMinChannelTime 被动扫描的最大/小通道时间
gPNOScanSupport 支持PNO扫描,即灭屏扫描 1 0 1
gEnableDFSChnlScan 在DFS通道上启用/禁用扫描。0:禁用DFS通道上的扫描1:在DFS通道上启用被动扫描2:对DFS通道启用主动扫描以获取静态列表。静态或cfg列表是ioctl设置的频道列表SETROAMSCANCHANNELS。 0 1 1
gDot11Mode 设置wifi Only 11a、b、g、n 扫描,Phy Mode (auto, b, g, n, etc/) Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac

电源配置

参数 含义 最小值 最大值 默认值
gImpsModSleepTime 在IMPS期间增加睡眠持续时间(秒) 0
gEnableBmps 是否启用BMPS 0 1 1
gEnableSuspend 是否启用暂停:1-启用待机2-启用深度睡眠3-启用多播/广播过滤器

漫游

参数 含义 最小值 最大值 默认值
gRoamingTime 漫游相关配置CSR™ Roaming Enable(1) Disable(0) 0
RoamRssiDiff Roam决定是否漫游,RssiDiff=10表示扫描到的AP的rssi比现有AP的rssi大10的时候,将尝试扫描。
FastRoamEnabled 启用/禁用旧版(非CCX,非802.11r)快速漫游支持ifdef FEATURE_WLAN_LFR 0 1 0

P2P

参数 含义 最小值 最大值 默认值
gEnableP2pListenOffload P2P侦听卸载
isP2pDeviceAddrAdministrated 启用或禁用管理的p2p设备地址

热点SoftAP (SAP)

参数 含义 最小值 最大值 默认值
gEnableApOBSSProt 启用/禁用OBSS保护。 0 1 0
gEnableApUapsd 为SoftAP启用/禁用UAPSD 0 1 0
gApAutoChannelSelection SAP自动通道启用注意:SAP的自动渠道选择组态:0-禁用自动通道1-在自动模式下启用自动频道选择模式。启用自动频道后,该频道请求者提供的信息将被忽略。默认配置:自动频道为禁用的 0 1 0
gEnableApRandomBssid 在SoftAP模式下创建随机BSSID以满足Android要求。 0 1 0
gAPChannelSelectStartChannel gAPChannelSelectEndChannel SoftAP通道范围选择,如gAPChannelSelectStartChannel=1 gAPChannelSelectEndChannel=11
gAPChannelSelectOperatingBand 热点通道范围选择操作波段 0:2.4 ghz 1:低- 5ghz 2:中- 5ghz 3:高- 5ghz 4: 4.9HZ BAND

Guess you like

Origin blog.csdn.net/weixin_40535588/article/details/112916770