qcacld-3.0: Add ini to enable/disable dynamic cfg

Currently the driver supports the dynamic
configuration of nss and chain to FW for
VDEV if the FW advertises the capability
of supporting the same. However there is
no support to overide this.

Fix is to have an ini to enable/disable
this feature of configuring the dynamic
nss and chains to FW.

Change-Id: I0b84bb5aec53966a43a00c11d4aba3863414005c
CRs-Fixed: 2708303
This commit is contained in:
gaurank kathpalia
2020-06-11 19:18:03 +05:30
committed by nshrivas
parent b77fd72e3f
commit ce6aed0852
7 changed files with 89 additions and 4 deletions

View File

@@ -1924,6 +1924,20 @@ wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc, bool *value);
QDF_STATUS
wlan_mlme_get_force_sap_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
/**
* wlan_mlme_get_enable_dynamic_nss_chains_cfg() - API to get whether dynamic
* nss and chain config is enabled or not
* @psoc: psoc context
* @value: data to be set
*
* API to get whether dynamic nss and chain config is enabled or not
*
* Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
*/
QDF_STATUS
wlan_mlme_get_enable_dynamic_nss_chains_cfg(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* wlan_mlme_get_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
* @psoc: psoc context