linux_dsm_epyc7002/drivers/net/wireless/ath/ath10k
Miaoqing Pan 8b97b055dc ath10k: fix failure to set multiple fixed rate
Currently, below fixed rate commands are broken,
iw wlanx set bitrates legacy-<2.4|5> ht-mcs-<2.4|5> vht-mcs-<2.4|5> \
<NSS:MCSx>
iw wlanx set bitrates legacy-<2.4|5> <legacy rate> ht-mcs-<2.4|5> \
vht-mcs-<2.4|5> <NSS:MCSx>

There are two methods to set fixed rate, both failed,
- Use vdev fixed rate command
  This command only support one single rate, but it's broken due to
  mac80211 change commit e8e4f5280d ("mac80211: reject/clear user
  rate mask if not usable"), which requires user to specify at least
  one legacy rate. So we can't use this command to set ht/vht single
  rate any more.
- Use peer_assoc command
  This command can update rx capability for multiple rates, it will
  work fine for ht mcs rates, as each supported mcs can be advertised
  in ht_mcs index mask. But this will not work with vht rates because,
  as per the vht mcs capability advertisement, there are only two bits
  to indicate the supported mcs. E.g. only support 0-7, 0-8, 0-9.

So introduced new WMI command: WMI_PEER_PARAM_FIXED_RATE. After peer
assoc, the peer fixed rate cmd will work for that specific peer.
Remaining peers will use auto rate. If both vdev fixed rate and peer
fixed rates are given, peer fixed rate will take effect to peers for
which this cmd is given. Remaining peers in that vdev, will use vdev
fixed rate.

Tested HW: QCA9984
Tested FW: 10.4-3.9.0.2-00035

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-06-25 16:01:38 +03:00
..
ahb.c ath10k: initialise struct ath10k_bus params to zero 2019-04-23 16:23:54 +03:00
ahb.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
bmi.c ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
bmi.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
ce.c ath10k: perform crash dump collection in workqueue 2019-04-29 17:24:37 +03:00
ce.h ath10k: fix descriptor size in ce tx completion for WCN3990 2019-02-26 14:56:19 +02:00
core.c ath10k: fix failure to set multiple fixed rate 2019-06-25 16:01:38 +03:00
core.h ath10k: fix failure to set multiple fixed rate 2019-06-25 16:01:38 +03:00
coredump.c Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2019-05-27 15:15:29 +03:00
coredump.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
debug.c ath10k: Add wrapper function to ath10k debug 2019-06-25 15:48:47 +03:00
debug.h ath10k: Add wrapper function to ath10k debug 2019-06-25 15:48:47 +03:00
debugfs_sta.c ath10k: Check tx_stats before use it 2019-05-07 17:03:47 +03:00
hif.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
htc.c ath10k: add initialization of HTC header 2019-04-23 16:26:09 +03:00
htc.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
htt_rx.c ath10k: acquire lock to fix lockdep's warning 2019-06-25 15:55:03 +03:00
htt_tx.c ath10k: add htt_h2t_aggr_cfg_msg op for high latency devices 2019-06-25 15:47:24 +03:00
htt.c ath10k: add inline wrapper for htt_h2t_aggr_cfg_msg 2019-06-25 15:47:15 +03:00
htt.h ath10k: add inline wrapper for htt_h2t_aggr_cfg_msg 2019-06-25 15:47:15 +03:00
hw.c ath10k: add support for ack rssi value of data tx packets 2019-02-26 14:58:06 +02:00
hw.h ath10k: enabling tx stats support over pktlog 2019-06-25 15:56:13 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mac.c ath10k: fix failure to set multiple fixed rate 2019-06-25 16:01:38 +03:00
mac.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
Makefile ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
p2p.c ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
p2p.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
pci.c ath10k: fix fw crash by moving chip reset after napi disabled 2019-06-25 15:59:25 +03:00
pci.h ath10k: perform crash dump collection in workqueue 2019-04-29 17:24:37 +03:00
qmi_wlfw_v01.c ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
qmi_wlfw_v01.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
qmi.c ath10k: Move board id and fw version logging to info level 2019-05-07 16:38:37 +03:00
qmi.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
rx_desc.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
sdio.c ath10k: add missing error handling 2019-06-25 15:58:23 +03:00
sdio.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
snoc.c ath10k: Modify CE4 src buffer entries to 2048 for WCN3990 2019-05-07 16:39:28 +03:00
snoc.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
spectral.c ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
spectral.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
swap.c ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
swap.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
targaddrs.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
testmode_i.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
testmode.c ath10k: change firmware file name for UTF mode of SDIO/USB 2019-06-25 15:53:41 +03:00
testmode.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
thermal.c ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
thermal.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
trace.c ath10k: Add wrapper function to ath10k debug 2019-06-25 15:48:47 +03:00
trace.h ath10k: Add wrapper function to ath10k debug 2019-06-25 15:48:47 +03:00
txrx.c ath10k: add peer id check in ath10k_peer_find_by_id 2019-05-07 17:02:26 +03:00
txrx.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
usb.c ath10k: Change the warning message string 2019-06-25 16:00:12 +03:00
usb.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
wmi-ops.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
wmi-tlv.c ath10k: Add wmi tlv vdev subtype for mesh in WCN3990 2019-05-07 17:01:20 +03:00
wmi-tlv.h ath10k: Add wmi tlv service map for mesh 11s 2019-05-07 17:01:39 +03:00
wmi.c ath10k: rx_duration update for fw_stats debugfs entry 2019-05-07 16:44:13 +03:00
wmi.h ath10k: fix failure to set multiple fixed rate 2019-06-25 16:01:38 +03:00
wow.c ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00
wow.h ath10k: switch to use SPDX license identifiers 2019-02-20 10:33:00 +02:00