qcacld-3.0: Fix STA+SAP SCC on DFS when sta_sap_scc_on_dfs_chan = 0
When sta_sap_scc_on_dfs_chan = 0, SAP is not allowed to SCC with STA on DFS channel. Check the SAP target channel DFS flag considering the target channel bandwidth. Change-Id: I321c1055574477fe39ca8569f24a4040c8dc1904 CRs-Fixed: 2756518
This commit is contained in:
@@ -2904,4 +2904,17 @@ wlan_mlme_get_bss_load_rssi_threshold_5ghz(struct wlan_objmgr_psoc *psoc,
|
||||
QDF_STATUS
|
||||
wlan_mlme_get_bss_load_rssi_threshold_24ghz(struct wlan_objmgr_psoc *psoc,
|
||||
int32_t *val);
|
||||
/**
|
||||
* wlan_mlme_check_chan_param_has_dfs() - Get dfs flag based on
|
||||
* channel & channel parameters
|
||||
* @pdev: pdev object
|
||||
* @ch_params: channel parameters
|
||||
* @chan_freq: channel frequency in MHz
|
||||
*
|
||||
* Return: True for dfs
|
||||
*/
|
||||
bool
|
||||
wlan_mlme_check_chan_param_has_dfs(struct wlan_objmgr_pdev *pdev,
|
||||
struct ch_params *ch_params,
|
||||
uint32_t chan_freq);
|
||||
#endif /* _WLAN_MLME_API_H_ */
|
||||
|
Reference in New Issue
Block a user