qcacld-3.0: Update multiple generic INI items using MLME CFG [Part 2]
Replace usage of the below INI Items using MLME CFG instead of HDD config. gEnableSelfRecovery gSapDot11mc gEnableFatalEvent gSub20ChannelWidth goptimize_chan_avoid_event fw_timeout_crash DroppedPktDisconnectTh gItoRepeatCount Change-Id: Ib46b9fc6c4bbc5ede0be7a5cb88064808962839d CRs-Fixed: 2327611
此提交包含在:
@@ -178,45 +178,45 @@ QDF_STATUS ucfg_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_prevent_link_down_cfg() - Get the prevent link down config
|
||||
* ucfg_mlme_get_prevent_link_down() - Get the prevent link down config
|
||||
* @psoc: pointer to psoc object
|
||||
* @prevent_link_down: Pointer to the variable from caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline
|
||||
QDF_STATUS ucfg_mlme_get_prevent_link_down_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
bool *prevent_link_down)
|
||||
QDF_STATUS ucfg_mlme_get_prevent_link_down(struct wlan_objmgr_psoc *psoc,
|
||||
bool *prevent_link_down)
|
||||
{
|
||||
return wlan_mlme_get_prevent_link_down_cfg(psoc, prevent_link_down);
|
||||
return wlan_mlme_get_prevent_link_down(psoc, prevent_link_down);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_select_5ghz_margin_cfg() - Get the select 5Ghz margin config
|
||||
* ucfg_mlme_get_select_5ghz_margin() - Get the select 5Ghz margin config
|
||||
* @psoc: pointer to psoc object
|
||||
* @select_5ghz_margin: Pointer to the variable from caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline
|
||||
QDF_STATUS ucfg_mlme_get_select_5ghz_margin_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *select_5ghz_margin)
|
||||
QDF_STATUS ucfg_mlme_get_select_5ghz_margin(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *select_5ghz_margin)
|
||||
{
|
||||
return wlan_mlme_get_select_5ghz_margin_cfg(psoc, select_5ghz_margin);
|
||||
return wlan_mlme_get_select_5ghz_margin(psoc, select_5ghz_margin);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_crash_inject_cfg() - Get the crash inject config
|
||||
* ucfg_mlme_get_crash_inject() - Get the crash inject config
|
||||
* @psoc: pointer to psoc object
|
||||
* @crash_inject: Pointer to the variable from caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline
|
||||
QDF_STATUS ucfg_mlme_get_crash_inject_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
bool *crash_inject)
|
||||
QDF_STATUS ucfg_mlme_get_crash_inject(struct wlan_objmgr_psoc *psoc,
|
||||
bool *crash_inject)
|
||||
{
|
||||
return wlan_mlme_get_crash_inject_cfg(psoc, crash_inject);
|
||||
return wlan_mlme_get_crash_inject(psoc, crash_inject);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -233,6 +233,62 @@ QDF_STATUS ucfg_mlme_get_lpass_support(struct wlan_objmgr_psoc *psoc,
|
||||
return wlan_mlme_get_lpass_support(psoc, lpass_support);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_self_recovery() - Get the self recovery config
|
||||
* @psoc: pointer to psoc object
|
||||
* @self_recovery: Pointer to the variable from caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline
|
||||
QDF_STATUS ucfg_mlme_get_self_recovery(struct wlan_objmgr_psoc *psoc,
|
||||
bool *self_recovery)
|
||||
{
|
||||
return wlan_mlme_get_self_recovery(psoc, self_recovery);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_sub_20_chan_width() - Get the sub 20 chan width config
|
||||
* @psoc: pointer to psoc object
|
||||
* @sub_20_chan_width: Pointer to the variable from caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline
|
||||
QDF_STATUS ucfg_mlme_get_sub_20_chan_width(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *sub_20_chan_width)
|
||||
{
|
||||
return wlan_mlme_get_sub_20_chan_width(psoc, sub_20_chan_width);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_fw_timeout_crash() - Get the fw timeout crash config
|
||||
* @psoc: pointer to psoc object
|
||||
* @fw_timeout_crash: Pointer to the variable from caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline
|
||||
QDF_STATUS ucfg_mlme_get_fw_timeout_crash(struct wlan_objmgr_psoc *psoc,
|
||||
bool *fw_timeout_crash)
|
||||
{
|
||||
return wlan_mlme_get_fw_timeout_crash(psoc, fw_timeout_crash);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_ito_repeat_count() - Get the fw timeout crash config
|
||||
* @psoc: pointer to psoc object
|
||||
* @ito_repeat_count: Pointer to the variable from caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline
|
||||
QDF_STATUS ucfg_mlme_get_ito_repeat_count(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *ito_repeat_count)
|
||||
{
|
||||
return wlan_mlme_get_ito_repeat_count(psoc, ito_repeat_count);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_acs_with_more_param() - Get the flag for acs with
|
||||
* more param
|
||||
|
新增問題並參考
封鎖使用者