summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/core.h
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2015-03-31 10:49:20 (GMT)
committerKalle Valo <kvalo@qca.qualcomm.com>2015-04-01 17:33:48 (GMT)
commit3ae542257476e183a368055cbd9f67ba88fc8d01 (patch)
treeba3d74f5ba9b89066166a6134f1a302a80f0e850 /drivers/net/wireless/ath/ath10k/core.h
parent039a0051ec1aeb327a6d1e2c7a9e4666ef706ba1 (diff)
downloadlinux-3ae542257476e183a368055cbd9f67ba88fc8d01.tar.xz
ath10k: clean up set_bitrate_mask handling
The code was a bit convoluted. Clean it up and prepare for future changes. While at it this fixes incorrect verification of 'single nss' case when ss2 rates were missing while ss1 and ss3 were requested resulting in nss=3 being set: iw wlan1 set bitrates legacy-5 ht-mcs-5 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23 vht-mcs-5 1:0-9 3:0-9 Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/core.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h
index 165ee0a..30f6ade 100644
--- a/drivers/net/wireless/ath/ath10k/core.h
+++ b/drivers/net/wireless/ath/ath10k/core.h
@@ -348,9 +348,6 @@ struct ath10k_vif {
} ap;
} u;
- u8 fixed_rate;
- u8 fixed_nss;
- u8 force_sgi;
bool use_cts_prot;
int num_legacy_stations;
int txpower;