ath10k: implement updating shared htt txq state
authorMichal Kazior <michal.kazior@tieto.com>
Sun, 6 Mar 2016 14:14:36 +0000 (16:14 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sun, 6 Mar 2016 14:31:11 +0000 (16:31 +0200)
commitc1a43d9720d8dcde1eb735f6cbdba181e564ec20
treea3943a73e1b39e90f160d0d079b084e7b6ef1f35
parent299468782d94331f99a7eeb6e0d56598863be9fe
ath10k: implement updating shared htt txq state

Firmware 10.4.3 onwards can support a pull-push Tx
model where it shares a Tx queue state with the
host.

The host updates the DMA region it pointed to
during HTT setup whenever number of software
queued from (on host) changes. Based on this
information firmware issues fetch requests to the
host telling the host how many frames from a list
of given stations/tids should be submitted to the
firmware.

The code won't be called because not all
appropriate HTT events are processed yet.

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