ath10k: move mgmt descriptor limit handle under mgmt_tx
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 9 Mar 2016 14:55:46 +0000 (20:25 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 18 Mar 2016 07:52:27 +0000 (09:52 +0200)
commitcac085524cf16434ac1d42427a8644cf532d3e87
tree20742638accd77e850abf9d47985ea2006ce60d2
parent2ce9b25cefa64f11bcb21b21cf4a5e8c58c6d0af
ath10k: move mgmt descriptor limit handle under mgmt_tx

Frames that are transmitted via MGMT_TX are using reserved descriptor
slots in firmware. This limitation is for the htt_mgmt_tx path itself,
not for mgmt frames per se. In 16 MBSSID scenario, these reserved slots
will be easy exhausted due to frequent probe responses. So for 10.4
based solutions, probe responses are limited by a threshold (24).

management tx path is separate for all except tlv based solutions. Since
tlv solutions (qca6174 & qca9377) do not support 16 AP interfaces, it is
safe to move management descriptor limitation check under mgmt_tx
function. Though CPU improvement is negligible, unlikely conditions or
never hit conditions in hot path can be avoided on data transmission.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/txrx.c
drivers/net/wireless/ath/ath10k/txrx.h
This page took 0.026642 seconds and 5 git commands to generate.