linux_dsm_epyc7002/drivers/net/wireless/ath/ath10k
Ben Greear cc914a5500 ath10k: configure rxnss_override for QCA9984
QCA9984 hardware can do 4x4 at 80Mhz, but only 2x2 at 160Mhz.

First, report this to user-space by setting the max-tx-speed
and max-rx-speed vht capabilities.

Second, if the peer rx-speed is configured, and if we
are in 160 or 80+80 mode, and the peer rx-speed matches
the max speed for 2x2 or 1x1 at 160Mhz (long guard interval),
then use that info to set the peer_bw_rxnss_override appropriately.

Without this, a 9984 firmware will not use 2x2 ratesets when
transmitting to peer (it will be stuck at 1x1), because
the firmware would not have configured the rxnss_override.

Signed-off-by: Ben Greear <greearb@candelatech.com>
[sven.eckelmann@openmesh.com: rebase, cleanup, drop 160Mhz workaround cleanup]
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
[kvalo@qca.qualcomm.com: use hw_params, rename the title]
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2017-06-21 16:17:21 +03:00
..
ahb.c ath10k: fix NAPI enable/disable symmetry for AHB interface 2017-04-05 10:33:26 +03:00
ahb.h ath10k: expose hif ops for ahb 2016-01-28 10:47:28 +02:00
bmi.c ath10k: sdio get target info 2017-05-04 15:55:41 +03:00
bmi.h ath10k: add BMI parameters to fix calibration from DT/pre-cal 2017-06-01 15:58:09 +03:00
ce.c ath10k: define structures for CE ctrl/misc register 2017-06-16 09:50:45 +03:00
ce.h ath10k: define structures for CE ctrl/misc register 2017-06-16 09:50:45 +03:00
core.c ath10k: configure rxnss_override for QCA9984 2017-06-21 16:17:21 +03:00
core.h ath10k: define structures for CE ctrl/misc register 2017-06-16 09:50:45 +03:00
debug.c ath10k: fix out of bounds access to local buffer 2017-05-04 15:58:57 +03:00
debug.h ath10k: various sdio related definitions 2017-05-04 15:55:31 +03:00
debugfs_sta.c ath10k: use octal permission representation 2017-04-05 10:43:44 +03:00
hif.h ath10k: clean header files from bad block comments 2017-04-05 10:45:21 +03:00
htc.c ath10k: htc: ready_ext msg support 2017-05-04 15:55:45 +03:00
htc.h ath10k: htc: ready_ext msg support 2017-05-04 15:55:45 +03:00
htt_rx.c ath10k: add per chain RSSI reporting 2017-06-16 09:52:30 +03:00
htt_tx.c ath10k: fix block comments style 2017-04-05 10:41:03 +03:00
htt.c ath10k: add per peer htt tx stats support for 10.4 2016-11-23 21:40:02 +02:00
htt.h ath10k: clean header files from bad block comments 2017-04-05 10:45:21 +03:00
hw.c ath10k: define structures for CE ctrl/misc register 2017-06-16 09:50:45 +03:00
hw.h ath10k: configure rxnss_override for QCA9984 2017-06-21 16:17:21 +03:00
Kconfig ath10k: add initial SDIO support 2017-05-04 15:55:55 +03:00
mac.c ath10k: configure rxnss_override for QCA9984 2017-06-21 16:17:21 +03:00
mac.h ath10k: remove ath10k_vif_to_arvif() 2017-02-14 19:38:15 +02:00
Makefile ath10k: add initial SDIO support 2017-05-04 15:55:55 +03:00
p2p.c ath10k: remove ath10k_vif_to_arvif() 2017-02-14 19:38:15 +02:00
p2p.h ath10k: implement handling of p2p noa event 2015-03-07 09:57:42 +02:00
pci.c ath10k: log when longer bmi cmds happen 2017-06-01 15:47:40 +03:00
pci.h ath10k: fix reading sram contents for QCA4019 2017-02-07 10:57:49 +02:00
rx_desc.h ath10k: clean header files from bad block comments 2017-04-05 10:45:21 +03:00
sdio.c ath10k: add initial SDIO support 2017-05-04 15:55:55 +03:00
sdio.h ath10k: add initial SDIO support 2017-05-04 15:55:55 +03:00
spectral.c ath10k: fix spectral scan for QCA99X0 family of chipsets 2017-04-19 17:05:26 +03:00
spectral.h ath10k: refactor phyerr event handlers 2015-08-17 17:43:29 +03:00
swap.c ath10k: move firmware_swap_code_seg_info to ath10k_fw_file 2016-08-31 10:18:37 +03:00
swap.h ath10k: move firmware_swap_code_seg_info to ath10k_fw_file 2016-08-31 10:18:37 +03:00
targaddrs.h ath10k: various sdio related definitions 2017-05-04 15:55:31 +03:00
testmode_i.h ath10k: append the wmi_op_version to testmode get_version cmd 2017-05-04 15:59:48 +03:00
testmode.c ath10k: append the wmi_op_version to testmode get_version cmd 2017-05-04 15:59:48 +03:00
testmode.h
thermal.c ath10k: use octal permission representation 2017-04-05 10:43:44 +03:00
thermal.h ath10k: fix checkpatch warnings related to spaces 2016-04-14 17:30:51 +03:00
trace.c
trace.h ath10k: add hw_rev to trace events to support pktlog 2016-03-03 19:20:00 +02:00
txrx.c ath10k: fix block comments style 2017-04-05 10:41:03 +03:00
txrx.h ath10k: move mgmt descriptor limit handle under mgmt_tx 2016-03-18 09:52:27 +02:00
wmi-ops.h ath10k: clean header files from bad block comments 2017-04-05 10:45:21 +03:00
wmi-tlv.c ath10k: add VHT160 support 2017-01-13 15:26:30 +02:00
wmi-tlv.h ath10k: add VHT160 support 2017-01-13 15:26:30 +02:00
wmi.c ath10k: configure rxnss_override for QCA9984 2017-06-21 16:17:21 +03:00
wmi.h ath10k: configure rxnss_override for QCA9984 2017-06-21 16:17:21 +03:00
wow.c ath10k: move fw_features to struct ath10k_fw_file 2016-04-20 20:00:25 +03:00
wow.h ath10k: add WOW patterns support 2015-03-30 09:10:24 +03:00