qcacmn: Enable STA DFS in F/W

If STA DFS is enabled before vdev creation through etc/config/wireless
then VDEV START is sent to F/W as a part of the normal flow to bring
the VAP up. However, if STA DFS is enabled/disabled on the fly for a
running VAP then do a VDEV STOP, followed by a VDEV START of the STA
VAP and set/unset WMI_CHAN_FLAG_STA_DFS flag in VDEV start.

Change-Id: I032ffa53d89eaafcb43c648670af3b3f2134561f
CRs-Fixed: 2843248
Tento commit je obsažen v:
Ananya Barat
2020-12-22 14:54:34 +05:30
odevzdal snandini
rodič a7717deced
revize 6b309b7dbe
4 změnil soubory, kde provedl 13 přidání a 4 odebrání

Zobrazit soubor

@@ -1001,6 +1001,9 @@ static inline void copy_channel_info(
if (req->channel.dfs_set_cfreq2)
WMI_SET_CHANNEL_FLAG(chan, WMI_CHAN_FLAG_DFS_CFREQ2);
if (req->channel.is_stadfs_en)
WMI_SET_CHANNEL_FLAG(chan, WMI_CHAN_FLAG_STA_DFS);
/* According to firmware both reg power and max tx power
* on set channel power is used and set it to max reg
* power from regulatory.