qcacld-3.0: Set 2g vht20 cfg by both target capability and ini config

2g vht20 config should be decided by both capability indicated
by target and ini config. Only when F/W indicates 2g vht20
supported and ini config gEnableVhtFor24GHzBand=1, 2g vht20 is
enabled.

Change-Id: I5b7ad8f82b6000096327c501dc84ad05480ef0fd
CRs-Fixed: 2381514
This commit is contained in:
Jianmin Zhu
2019-01-15 12:40:03 +08:00
committed by nshrivas
parent 9cd68d0639
commit c8bfffb89d
4 changed files with 72 additions and 0 deletions

View File

@@ -1808,6 +1808,16 @@ wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc, bool *value);
QDF_STATUS
wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value);
/**
* wlan_mlme_set_vht_for_24ghz() - Enables/disables VHT for 24 ghz
* @psoc: psoc context
* @value: data to be set
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlan_mlme_set_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool value);
/**
* wlan_mlme_get_vendor_vht_for_24ghz() - nables/disables vendor VHT for 24 ghz
* @psoc: psoc context