mbox series

[v2,0/2] ath10k: Handle bundle tx completion for management pkts

Message ID 1548389402-10083-1-git-send-email-pillair@codeaurora.org (mailing list archive)
Headers show
Series ath10k: Handle bundle tx completion for management pkts | expand

Message

Rakesh Pillai Jan. 25, 2019, 4:10 a.m. UTC
WCN3990 sends the tx completion for management frames via wmi.
The tx completion for the multiple management frames can also
be bundled in a single wmi event and sent to the host driver.
This reduces the number of WMI events sent to the host driver
by the target.

Enable the support in firmware to send tx completion for
management frames, bundled in a single event, by setting the
proper flag in wmi init command.
Handle the bundled management tx completion event in host driver.

Tested HW: WCN3990
Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1

Changes from v1:
 - Addressed comments to remove tricky typecasting.
 - Fixed compilation warnings.

Rakesh Pillai (2):
  ath10k: Handle bundled tx completion for management frames
  ath10k: Enable bundle tx compl for management frames in WCN3990

 drivers/net/wireless/ath/ath10k/wmi-ops.h | 13 +++++++
 drivers/net/wireless/ath/ath10k/wmi-tlv.c | 65 ++++++++++++++++++++++++++++++-
 drivers/net/wireless/ath/ath10k/wmi-tlv.h |  3 ++
 drivers/net/wireless/ath/ath10k/wmi.c     | 23 +++++++++++
 drivers/net/wireless/ath/ath10k/wmi.h     |  7 ++++
 5 files changed, 110 insertions(+), 1 deletion(-)