OSDN Git Service

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)
commitc0e33fe6fb0fe392ebfab14127d210679c413192
treef9cbd9644a8ef9bfb0a087d4e4f2199c0bf7ae1a
parent3f14b73c38431a6a1ed24de568e18ed89b7082e2
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