qcacld-3.0: Add new ini for roam statistics cache number
Add ini groam_info_stats_num used to control wlan driver cache roam statistics information number. Change-Id: I203257af37dcac76c6822ddfcc2e9dc723078a25 CRs-Fixed: 3393712
这个提交包含在:
@@ -3306,6 +3306,32 @@
|
||||
#define ROAM_REASON_VSIE_ALL
|
||||
#endif
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* groam_info_stats_num - number of wlan driver cache roam information
|
||||
* @Min: 0
|
||||
* @Max: 32
|
||||
* @Default: 5
|
||||
*
|
||||
* This ini is used to set the cache number of enhanced roam
|
||||
* information, including roam trigger, scan information and
|
||||
* roam frame information.
|
||||
* If ini set to 0, enhanced roam feature not support
|
||||
*
|
||||
* Related: LFR
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_LFR3_ROAM_INFO_STATS_NUM CFG_INI_UINT( \
|
||||
"groam_info_stats_num", \
|
||||
0, \
|
||||
32, \
|
||||
5, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Roam information cache number in wlan driver")
|
||||
|
||||
#define CFG_LFR_ALL \
|
||||
CFG(CFG_LFR_MAWC_ROAM_ENABLED) \
|
||||
CFG(CFG_LFR_MAWC_ROAM_TRAFFIC_THRESHOLD) \
|
||||
@@ -3407,6 +3433,7 @@
|
||||
SAE_SINGLE_PMK_ALL \
|
||||
ROAM_REASON_VSIE_ALL \
|
||||
CFG(CFG_LFR_BEACONLOSS_TIMEOUT_ON_WAKEUP) \
|
||||
CFG(CFG_LFR_BEACONLOSS_TIMEOUT_ON_SLEEP)
|
||||
CFG(CFG_LFR_BEACONLOSS_TIMEOUT_ON_SLEEP) \
|
||||
CFG(CFG_LFR3_ROAM_INFO_STATS_NUM)
|
||||
|
||||
#endif /* CFG_MLME_LFR_H__ */
|
||||
|
@@ -3135,6 +3135,16 @@ QDF_STATUS
|
||||
wlan_mlme_get_idle_roam_rssi_delta(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *val);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_roam_info_stats_num() - Get roam information statistics number
|
||||
* @psoc: pointer to psoc object
|
||||
* @val: Pointer to roam_info_stats_num
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS
|
||||
wlan_mlme_get_roam_info_stats_num(struct wlan_objmgr_psoc *psoc, uint32_t *val);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_idle_roam_inactive_time() - Get idle roam inactive time
|
||||
* @psoc: pointer to psoc object
|
||||
|
@@ -1856,6 +1856,7 @@ struct fw_scan_channels {
|
||||
* vsie in Re(assoc) frame
|
||||
* @roam_trigger_bitmap: Bitmap of roaming triggers.
|
||||
* @sta_roam_disable: STA roaming disabled by interfaces
|
||||
* @roam_info_stats_num: STA roaming information cache number
|
||||
* @early_stop_scan_enable: Set early stop scan
|
||||
* @enable_5g_band_pref: Enable preference for 5G from INI
|
||||
* @ese_enabled: Enable ESE feature
|
||||
@@ -1984,6 +1985,7 @@ struct wlan_mlme_lfr_cfg {
|
||||
bool enable_roam_reason_vsie;
|
||||
uint32_t roam_trigger_bitmap;
|
||||
uint32_t sta_roam_disable;
|
||||
uint32_t roam_info_stats_num;
|
||||
#endif
|
||||
bool early_stop_scan_enable;
|
||||
bool enable_5g_band_pref;
|
||||
|
在新工单中引用
屏蔽一个用户