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
Cette révision appartient à :
Ananya Barat
2020-12-22 14:54:34 +05:30
révisé par snandini
Parent a7717deced
révision 6b309b7dbe
4 fichiers modifiés avec 13 ajouts et 4 suppressions

Voir le fichier

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -265,6 +265,7 @@ struct fils_discovery_tmpl_params {
* @allow_ht: HT allowed in chan
* @allow_vht: VHT allowed on chan
* @set_agile: is agile mode
* @is_stadfs_en: STA DFS enabled
* @phy_mode: phymode (vht80 or ht40 or ...)
* @cfreq1: centre frequency on primary
* @cfreq2: centre frequency on secondary
@@ -285,7 +286,8 @@ struct mlme_channel_param {
is_chan_passive:1,
allow_ht:1,
allow_vht:1,
set_agile:1;
set_agile:1,
is_stadfs_en:1;
enum wlan_phymode phy_mode;
uint32_t cfreq1;
uint32_t cfreq2;