ath10k: extend wmi service map to accommodate new services
authorManikanta Pubbisetty <mpubbise@qti.qualcomm.com>
Fri, 28 Jul 2017 12:15:41 +0000 (15:15 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 3 Aug 2017 11:36:29 +0000 (14:36 +0300)
commit810fe818d6a19b5dd822600003750c2ec6543f59
treed2b95b9eb77630a23a4bc214f054d41f91652258
parent433ef1b226788d1a5e6fbdc6697ff2c06ba6a9b0
ath10k: extend wmi service map to accommodate new services

Though there is room to accommodate 512 services in wmi service
ready event, target uses only first 4-bits of each 32-bit word for
advertising wmi services thereby limiting max wmi services to 64.

TDLS implementation for 10.4 firmwares introduces new wmi services by
making use of remaining unused bits of each 32-bit word, therefore the
wmi service mapping in host needs to be extended.

This patch adds the logic to extend the wmi SVCMAP to accommodate new
wmi services.

Signed-off-by: Manikanta Pubbisetty <mpubbise@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.h