Message ID | 20190705103109.3731-4-sven@narfation.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 687fbb379e71b8f922deb64b6584266a07683be4 |
Delegated to: | Kalle Valo |
Headers | show |
Series | ath11k: add support for mgmt and mcast rate control | expand |
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c index cda5b39f1a9b..37e225e0205d 100644 --- a/drivers/net/wireless/ath/ath11k/mac.c +++ b/drivers/net/wireless/ath/ath11k/mac.c @@ -1668,6 +1668,12 @@ static void ath11k_recalculate_mgmt_rate(struct ath11k *ar, hw_rate_code); if (ret) ath11k_warn(ar->ab, "failed to set mgmt tx rate %d\n", ret); + + vdev_param = WMI_VDEV_PARAM_BEACON_RATE; + ret = ath11k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id, vdev_param, + hw_rate_code); + if (ret) + ath11k_warn(ar->ab, "failed to set beacon tx rate %d\n", ret); } static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw,