ath10k: add support for configuring management packet rate
authorSriram R <srirrama@codeaurora.org>
Mon, 10 Sep 2018 05:39:40 +0000 (11:09 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Oct 2018 13:56:26 +0000 (16:56 +0300)
commitf279294e9ee22a8f306fdc8e4181cf555e6f0f70
treec60341ff4bb26c6d661b831cb3146d5662c7c40f
parent08fafd646d633e77e958337087bd07ee163b31ac
ath10k: add support for configuring management packet rate

By default the firmware uses 1Mbps and 6Mbps rate for management packets
in 2G and 5G bands respectively. But when the user selects different
basic rates from the userspace, we need to send the management
packets at the lowest basic rate selected by the user.

This change makes use of WMI_VDEV_PARAM_MGMT_RATE param for configuring the
management packets rate to the firmware.

Chipsets Tested : QCA988X, QCA9887, QCA9984
FW Tested  : 10.2.4-1.0-41, 10.4-3.6.104

Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c