qcacld-3.0: Add support for new config item ConDTIMSkipping_MaxTime
With this change add support for new ini ConDTIMSkipping_MaxTime to set max modulated DTIM in ms. Change-Id: I89ce2b5074ce75a1701365b5d09d8ed0244aeeef CRs-Fixed: 3038346
Цей коміт міститься в:
@@ -512,6 +512,30 @@
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Max modulated dtim")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* @Min: 0
|
||||
* @Max: 2000
|
||||
* @Default: 500
|
||||
*
|
||||
* This ini is used to set default ConDTIMSkipping_MaxTime in ms
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_MAX_LI_MODULATED_DTIM_MS CFG_INI_UINT( \
|
||||
"ConDTIMSkipping_MaxTime", \
|
||||
0, \
|
||||
2000, \
|
||||
500, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"DTIM skipping max time")
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
/*
|
||||
* <cfg>
|
||||
@@ -560,6 +584,7 @@
|
||||
CFG(CFG_WT_CNF_TIMEOUT) \
|
||||
CFG(CFG_CURRENT_RSSI) \
|
||||
CFG(CFG_TX_POWER_CTRL) \
|
||||
CFG_SINGLE_LINK_MLO_CONN_CFG
|
||||
CFG_SINGLE_LINK_MLO_CONN_CFG \
|
||||
CFG(CFG_MAX_LI_MODULATED_DTIM_MS)
|
||||
|
||||
#endif /* CFG_MLME_STA_H__ */
|
||||
|
@@ -2301,6 +2301,18 @@ QDF_STATUS
|
||||
wlan_mlme_get_sta_miracast_mcc_rest_time(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_max_modulated_dtim_ms() - get the max modulated dtim in ms
|
||||
* restart
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS
|
||||
wlan_mlme_get_max_modulated_dtim_ms(struct wlan_objmgr_psoc *psoc,
|
||||
uint16_t *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_scan_probe_unicast_ra() - Get scan probe unicast RA cfg
|
||||
* @psoc: pointer to psoc object
|
||||
|
@@ -1643,6 +1643,7 @@ enum station_prefer_bw {
|
||||
* @usr_disabled_roaming: User config for roaming disable
|
||||
* @usr_scan_probe_unicast_ra: User config unicast probe req in scan
|
||||
* @single_link_mlo_conn: Single link mlo connection is configured
|
||||
* @max_li_modulated_dtim_time_ms: Max modulated DTIM time in ms.
|
||||
*/
|
||||
struct wlan_mlme_sta_cfg {
|
||||
uint32_t sta_keep_alive_period;
|
||||
@@ -1672,6 +1673,7 @@ struct wlan_mlme_sta_cfg {
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
bool single_link_mlo_conn;
|
||||
#endif
|
||||
uint16_t max_li_modulated_dtim_time_ms;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -3677,6 +3677,22 @@ ucfg_mlme_get_sta_miracast_mcc_rest_time(struct wlan_objmgr_psoc *psoc,
|
||||
return wlan_mlme_get_sta_miracast_mcc_rest_time(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_max_modulated_dtim_ms() - get sap max modulated dtim
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Inline UCFG API to be used by HDD/OSIF callers
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_get_max_modulated_dtim_ms(struct wlan_objmgr_psoc *psoc,
|
||||
uint16_t *value)
|
||||
{
|
||||
return wlan_mlme_get_max_modulated_dtim_ms(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_sap_mcc_chnl_avoid() - Check if SAP MCC needs to be avoided
|
||||
*
|
||||
|
Посилання в новій задачі
Заблокувати користувача