]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: average ack rssi support for data frames
authorBalaji Pothunoori <bpothuno@codeaurora.org>
Tue, 4 Sep 2018 09:52:18 +0000 (12:52 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Sep 2018 16:05:13 +0000 (19:05 +0300)
commit0a5bc4653ed07be20e2fa92458b16cb339aca84c
treec17070e05f6684c32e1b5198bf8d67e20bd04d69
parent0bd110153ead11db260bf10fabec3eef589d6df1
ath10k: average ack rssi support for data frames

Average ack rssi value is weighted average of ack rssi for
no of msdu's has been sent.
This feature is enabled by the host driver if firmware is capable.
After receiving event from host, firmware allocates the necessary
memory to store the ack_rssi for data packets during the init time.

After each successful transmission, If tx completion status is OK
and 24th bit is set in HTT message header then host will fetch the
ack_rssi else host can ignore the ack_rssi field.

Signed-off-by: Balaji Pothunoori <bpothuno@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.h