]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: allocate fw resources for iface combinations
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 31 Mar 2015 10:26:26 +0000 (10:26 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 1 Apr 2015 17:31:23 +0000 (20:31 +0300)
commit431ea67fd91e8ca2c8c147c1e61d5f926a3eca34
treec548d3a155088655a92dc2845f67b95e5dd48ef1
parent9dea96e15c53a3dfda1b7d948b7c968d0159b46b
ath10k: allocate fw resources for iface combinations

The number of 3 vdevs wasn't enough to handle the
worst case for interface combinations in practice.

wpa_supplicant may need up to 4 vifs to have 2
vifs actually connected, i.e. p2pdev + client + 2x
p2p (either p2p client or p2p go).

This fixes worst case warning:

  Free vdev map is empty, no more interfaces allowed.

This keeps the ability to associate 32 stations in
AP mode at the cost of not being able to guarantee
that under all circumstances, i.e. some
combinations may consume additional fw peer
entries for internal purposes leaving less
resource for stations in AP mode.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/wmi-tlv.c