OSDN Git Service

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)
commitc7fd8d237e2e7dff7642b94b32e09c273989ea21
treec17070e05f6684c32e1b5198bf8d67e20bd04d69
parent97c69a70dc2cecb2c3b96a66529e0082dabc2d2c
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