linux/drivers/net/wireless/ath
Vasanthakumar Thiagarajan d39de9919a ath10k: fix peerid configuration in htt tx desc for htt version < 3.4
Of a word in struct htt_data_tx_desc htt version >= 3.4 firmware uses
LSB 16-bit for frequency configuration which is used for offchannel tx
and MSB 16-bit is for peerid. But other firmwares using version 2.X
(10.1, 10.2.2, 10.2.4 and 10.4) are using 32-bit for peerid in htt tx
desc. So far no issue is found with the existing code setting peerid and
freq for HTT version 2.X, this could be mainly because of 0 as frequecy
(home channel) is being always passed with those firmwares. There may be
issues when non-zero freq is passed with firmware using < 3.4 htt version.
To be safe use target_version_major and target_version_minor along with
htt-op-version before configuring peer id and freq in htt tx desc. This
patch extends ath10k_mac_tx_frm_has_freq() to check for htt_op_version_tlv
and uses the helper while setting peerid in htt_tx_desc.

Fixes: 8d6d362436 ("ath10k: fix offchan reliability")
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2015-11-12 21:19:16 +02:00
..
ar5523 mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
ath5k ath5k: use DECLARE_EWMA 2015-08-20 14:10:22 -07:00
ath6kl ath6kl: implement ethtool stats 2015-10-29 13:07:00 +02:00
ath9k ath9k: fix phyerror codes 2015-10-28 20:57:13 +02:00
ath10k ath10k: fix peerid configuration in htt tx desc for htt version < 3.4 2015-11-12 21:19:16 +02:00
carl9170 Major changes: 2015-10-12 19:39:18 -07:00
wcn36xx wcn36xx: Remove warning message when dev is NULL for arm64 dma_alloc. 2015-10-28 20:58:58 +02:00
wil6210 wil6210: handle failure in Tx vring config 2015-10-29 13:06:49 +02:00
ath.h ath9k: Add a new debug flag for FFT spectral scan 2015-05-09 16:46:08 +03:00
debug.c ath: Make ath_opmode_to_string understand OCB mode 2015-08-10 22:21:15 +03:00
dfs_pattern_detector.c ath: fix DFS timestamp wraparound reset condition 2015-10-09 11:47:31 +03:00
dfs_pattern_detector.h ath: use PRI value given by spec for fixed PRI 2015-09-27 15:50:30 +03:00
dfs_pri_detector.c ath: use PRI value given by spec for fixed PRI 2015-09-27 15:50:30 +03:00
dfs_pri_detector.h
hw.c
Kconfig
key.c
main.c
Makefile
reg.h
regd_common.h
regd.c
regd.h
spectral_common.h
trace.c
trace.h