ath10k: adjust default peer limits if qcache enabled in 10.4 fw
authorRaja Mani <rmani@qti.qualcomm.com>
Mon, 22 Jun 2015 14:40:17 +0000 (20:10 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jun 2015 12:31:15 +0000 (15:31 +0300)
commitb039941704452d8f89e83cba352b5c89a6ebf2ab
treecb9220a0029b7e0921c1774bf328a7b925a57dc8
parent1c0929614ac429a32509307e790e813325562dc1
ath10k: adjust default peer limits if qcache enabled in 10.4 fw

10.4 firmware supports upto 512 clients when qcache feature is enabled.
Make adjustment on default max peer count, active peers, number of tid in
such case to meet qcache requirement. 10.4 fw has extra unit info flag
NUM_UNITS_IS_NUM_ACTIVE_PEERS which is also handled in this patch.

Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h