ath10k: wmi: get wmi init parameter values from hw params
authorRakesh Pillai <pillair@qti.qualcomm.com>
Mon, 11 Dec 2017 14:22:54 +0000 (19:52 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 14 Dec 2017 15:33:18 +0000 (17:33 +0200)
commit9f2992fea580a48135591873e5e3ac7e01444207
tree283f2c00dbc127c05133d3984295ad1213800ea4
parent1807da49733e69bf6a6abd32c1e9b9c3b1f647e8
ath10k: wmi: get wmi init parameter values from hw params

The parameter values for skid limit, number of peers and wds
entries values which are sent in wmi init cmd are hardware
specific.

Add support to obtain skid limit, number of peers and wds entries
values from hw params which will have the hw specific values
for these parameters.

Signed-off-by: Rakesh Pillai <pillair@qti.qualcomm.com>
Signed-off-by: Govind Singh <govinds@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/wmi-tlv.c