qcacld-3.0: Add STA+SAP indoor channel scc support
Based on the ini "sta_sap_scc_on_indoor_chan" the behavior of STA+SAP in scc is as follows: 1. STA is on 2.4 GHz & SAP is on 2.4 GHz and SAP user configured initial channel was on 5 GHz, then move SAP to 5 GHz initially started channel 2. When STA + SAP are doing SCC on indoor only channel and a) STA moves to 2.4 GHz -> then SAP moves to initialy started channel b) STA moves to another indoor only channel -> SAP follows STA channel c) STA moves to non-indoor, non-dfs channel -> SAP follows STA channel. d) STA moves to DFS channel -> SAP moves to 2.4 GHz channel e) STA disconnects -> Move SAP to initially started channel 3. STA is on 2.4 GHz & SAP is on 5 GHz non-indoor, non-dfs channel and STA moves to 5 GHz channel, then SAP should follow STA to 5 GHz if SAP was initially started on 5 GHz channel. Else SAP restart is not required and SAP will remain on the 2.4 GHz channel Change-Id: I655dffff026d8147e13599dddc024980ba157be5 CRs-Fixed: 3186965
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
73da3f72d9
當前提交
a0b6b2c739
@@ -4992,10 +4992,14 @@ wlan_mlme_check_chan_param_has_dfs(struct wlan_objmgr_pdev *pdev,
|
||||
pdev,
|
||||
ch_params->mhz_freq_seg1) == CHANNEL_STATE_DFS)
|
||||
is_dfs = true;
|
||||
} else if (wlan_reg_get_channel_state_for_freq(
|
||||
pdev, chan_freq) == CHANNEL_STATE_DFS) {
|
||||
} else if (wlan_reg_is_dfs_for_freq(pdev, chan_freq)) {
|
||||
/*Indoor channels are also marked DFS, therefore
|
||||
* check if the channel has REGULATORY_CHAN_RADAR
|
||||
* channel flag to identify if the channel is DFS
|
||||
*/
|
||||
is_dfs = true;
|
||||
}
|
||||
|
||||
if (WLAN_REG_IS_6GHZ_CHAN_FREQ(chan_freq) ||
|
||||
WLAN_REG_IS_24GHZ_CH_FREQ(chan_freq))
|
||||
is_dfs = false;
|
||||
|
Reference in New Issue
Block a user