ath10k: fix station count enforcement
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 25 Nov 2014 14:16:05 +0000 (15:16 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 26 Nov 2014 06:44:19 +0000 (08:44 +0200)
commitcfd1061e9b52407175c94bbc4214fa0d5c3fe2e9
tree63788c92f91025fa970509a4d92f83731765742d
parent292a753d4b184ba6303d026edfe4e34145ce6905
ath10k: fix station count enforcement

The number of peers isn't directly translatable to
the number of stations because ath10k needs to
reserve a few extra peers for special cases like
multi-vif concurrency.

The previous limit was 126 and 15 stations in AP
mode for 10.x and main firmware branches
respectively. The limit is now 128 and 16 which
was the original intention.

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