]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: Add peer param map for tlv and non-tlv
authorRakesh Pillai <pillair@codeaurora.org>
Tue, 19 Feb 2019 06:09:36 +0000 (11:39 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 23 Sep 2019 07:27:56 +0000 (10:27 +0300)
commitbedbeb5700cf19aa9e46e1982c3e4ed09b2f530c
treef9cbd9644a8ef9bfb0a087d4e4f2199c0bf7ae1a
parentcbd4cbb7273b89a560e9aae94f744c50eda41d07
ath10k: Add peer param map for tlv and non-tlv

The peer param id for PEER_PARAM_USE_FIXED_PWR
is different for tlv and non-tlv firmware. This
causes incorrect peer param to be set by the driver
to the firmware(tlv/non-tlv).

Create seperate peer param map for tlv and non-tlv
firmware and attach the peer param id based on the
firmware type during the init.

Tested HW: WCN3990
Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1

Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debugfs_sta.c
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi-tlv.h
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h