summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/quantenna/qtnfmac/core.h
diff options
context:
space:
mode:
authorSergey Matyukevich2017-07-28 01:06:49 +0200
committerKalle Valo2017-08-03 11:58:12 +0200
commit34f1145b2c5ee7eac353c048e964510e252773d0 (patch)
treeaff5113cbcd55687706cfaf0260e1d1a5efefb4f /drivers/net/wireless/quantenna/qtnfmac/core.h
parentqtnfmac: fix station leave reason endianness (diff)
downloadkernel-qcow2-linux-34f1145b2c5ee7eac353c048e964510e252773d0.tar.gz
kernel-qcow2-linux-34f1145b2c5ee7eac353c048e964510e252773d0.tar.xz
kernel-qcow2-linux-34f1145b2c5ee7eac353c048e964510e252773d0.zip
qtnfmac: move current channel info from vif to mac
Wireless cfg80211 core supplies channel settings in cfg80211_ap_settings structure for each BSS in multiple BSS configuration. On the other hand all the virtual interfaces on one radio are using the same PHY settings including channel. Move chandef structure from vif to mac structure in order to mantain the only instance of cfg80211_chan_def structure in qtnf_wmac rather than its multiple copies in qtnf_vif. Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Signed-off-by: Avinash Patil <avinashp@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/quantenna/qtnfmac/core.h')
-rw-r--r--drivers/net/wireless/quantenna/qtnfmac/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/core.h b/drivers/net/wireless/quantenna/qtnfmac/core.h
index b2d050c4f1e2..6830ff45976d 100644
--- a/drivers/net/wireless/quantenna/qtnfmac/core.h
+++ b/drivers/net/wireless/quantenna/qtnfmac/core.h
@@ -67,7 +67,6 @@ struct qtnf_bss_config {
u16 auth_type;
bool privacy;
enum nl80211_mfp mfp;
- struct cfg80211_chan_def chandef;
struct cfg80211_crypto_settings crypto;
u16 bg_scan_period;
u32 connect_flags;
@@ -141,6 +140,7 @@ struct qtnf_wmac {
struct qtnf_mac_info macinfo;
struct qtnf_vif iflist[QTNF_MAX_INTF];
struct cfg80211_scan_request *scan_req;
+ struct cfg80211_chan_def chandef;
};
struct qtnf_hw_info {