qcacld-3.0: Do not allow SAP SCC on non-PSC/non-VLP channels

SAP is allowed to come up on SCC with a STA operating
in 6GHz only if the STA is on a PSC channel in VLP mode.

Therefore, filter out all 6GHz channels from the PCL if
the STA operates on any non-VLP mode. Also, in case of
VLP mode, filter out non-PSC channels.

Change-Id: I37d9a510db3647fc07858af99eb614ebe824cc78
CRs-Fixed: 3206471
This commit is contained in:
Surya Prakash Sivaraj
2022-05-28 00:44:34 +05:30
committed by Madan Koyyalamudi
parent c80cd311ca
commit 7da2ef6f88
4 changed files with 134 additions and 0 deletions

View File

@@ -3637,4 +3637,13 @@ void wlan_mlme_set_safe_mode_enable(struct wlan_objmgr_psoc *psoc,
void wlan_mlme_get_safe_mode_enable(struct wlan_objmgr_psoc *psoc,
bool *safe_mode_enable);
/**
* wlan_mlme_get_6g_ap_power_type() - get the power type of the
* vdev operating on 6GHz.
*
* @vdev: vdev context
*
* Return: 6g_power_type
*/
uint32_t wlan_mlme_get_6g_ap_power_type(struct wlan_objmgr_vdev *vdev);
#endif /* _WLAN_MLME_API_H_ */