qcacmn: Use dfs channel structure to store autoswitch channel

Use dfs channel structure to store autoswitch channel instead
of a single frequency value.

CRs-Fixed: 2726427
Change-Id: Ib592b75d4f87b4597510a1fc32717633b2b39e21
This commit is contained in:
Vignesh Mohan
2020-07-06 11:12:35 +05:30
committed by nshrivas
szülő ec5ee77d84
commit 4b9b060974

Fájl megtekintése

@@ -1022,8 +1022,8 @@ struct dfs_rcac_params {
* doing precac.
* @dfs_autoswitch_des_chan: Desired channel which has to be used
* after precac.
* @dfs_autoswitch_des_chan_freq: Desired freq which has to be used
* after precac.
* @dfs_autoswitch_chan: Desired channel of dfs_channel structure
* which will be prioritized for preCAC.
* @dfs_autoswitch_des_mode: Desired PHY mode which has to be used
* after precac.
* @dfs_pre_cac_timeout_channel_change: Channel change due to precac timeout.
@@ -1202,8 +1202,8 @@ struct wlan_dfs {
#endif
#ifdef WLAN_DFS_PRECAC_AUTO_CHAN_SUPPORT
#ifdef CONFIG_CHAN_FREQ_API
struct dfs_channel *dfs_autoswitch_chan;
uint16_t dfs_precac_inter_chan_freq;
uint16_t dfs_autoswitch_des_chan_freq;
#endif
#endif
uint8_t dfs_pre_cac_timeout_channel_change:1;