Re: [PATCH v3] ath10k: move mgmt descriptor limit handle under mgmt_tx

2016-03-08 Thread Rajkumar Manoharan
On , Michal Kazior wrote: On 8 March 2016 at 13:54, Rajkumar Manoharan wrote: On , Michal Kazior wrote: On 8 March 2016 at 12:54, Rajkumar Manoharan wrote: ...] skb_cb = ATH10K_SKB_CB(msdu); txq = skb_cb->txq; artxq = (void *)txq->drv_priv; - if (unlikely(

Re: [PATCH v3] ath10k: move mgmt descriptor limit handle under mgmt_tx

2016-03-08 Thread Michal Kazior
On 8 March 2016 at 13:54, Rajkumar Manoharan wrote: > On , Michal Kazior wrote: >> >> On 8 March 2016 at 12:54, Rajkumar Manoharan >> wrote: >> [...] >>> >>> +int ath10k_htt_tx_mgmt_inc_pending(struct ath10k_htt *htt, bool is_mgmt, >>> + bool is_presp) >>> { >>>

Re: [PATCH v3] ath10k: move mgmt descriptor limit handle under mgmt_tx

2016-03-08 Thread Rajkumar Manoharan
On , Michal Kazior wrote: On 8 March 2016 at 12:54, Rajkumar Manoharan wrote: [...] +int ath10k_htt_tx_mgmt_inc_pending(struct ath10k_htt *htt, bool is_mgmt, + bool is_presp) { struct ath10k *ar = htt->ar; lockdep_assert_held(&htt->tx_lock);

Re: [PATCH v3] ath10k: move mgmt descriptor limit handle under mgmt_tx

2016-03-08 Thread Michal Kazior
On 8 March 2016 at 12:54, Rajkumar Manoharan wrote: [...] > +int ath10k_htt_tx_mgmt_inc_pending(struct ath10k_htt *htt, bool is_mgmt, > + bool is_presp) > { > struct ath10k *ar = htt->ar; > > lockdep_assert_held(&htt->tx_lock); > > + if (!is_

[PATCH v3] ath10k: move mgmt descriptor limit handle under mgmt_tx

2016-03-08 Thread Rajkumar Manoharan
Firmware reserves few descriptors for management frames transmission. In 16 MBSSID scenario, these 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 sol