forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hauke Mehrtens <[email protected]>
- Loading branch information
Showing
5 changed files
with
606 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,10 @@ PKG_SOURCE_DATE:=2019-06-13 | |
PKG_SOURCE_VERSION:=f0aa81302b2286715fa2fa5a2f4ebe2faf17694c | ||
PKG_MIRROR_HASH:=a6d418dfec02842529a53b3c48236e7a375a654a03e199fbc5178bdb269b7d64 | ||
|
||
# Build the 4.19 ath10k-ct driver version. Other options are "-4.16", or | ||
# leave un-defined for 4.7 kernel. Probably this should match as closely as | ||
# Build the 5.2 ath10k-ct driver version. Other option is "-4.19". | ||
# Probably this should match as closely as | ||
# possible to whatever mac80211 backports version is being used. | ||
CT_KVER="-4.19" | ||
CT_KVER="-5.2" | ||
|
||
PKG_MAINTAINER:=Ben Greear <[email protected]> | ||
PKG_BUILD_PARALLEL:=1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,29 @@ Signed-off-by: Sven Eckelmann <[email protected]> | |
vdev_param = ar->wmi.vdev_param->mgmt_rate; | ||
ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, | ||
hw_rate_code); | ||
--- a/ath10k-5.2/mac.c | ||
+++ b/ath10k-5.2/mac.c | ||
@@ -6728,6 +6728,7 @@ static void ath10k_bss_info_changed(stru | ||
"mac vdev %d mcast_rate %x\n", | ||
arvif->vdev_id, rate); | ||
|
||
+ arvif->mcast_rate[band] = rate; | ||
vdev_param = ar->wmi.vdev_param->mcast_data_rate; | ||
ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, | ||
vdev_param, rate); | ||
@@ -6736,6 +6737,7 @@ static void ath10k_bss_info_changed(stru | ||
"failed to set mcast rate on vdev %i: %d\n", | ||
arvif->vdev_id, ret); | ||
|
||
+ arvif->bcast_rate[band] = rate; | ||
vdev_param = ar->wmi.vdev_param->bcast_data_rate; | ||
ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, | ||
vdev_param, rate); | ||
@@ -6762,6 +6764,7 @@ static void ath10k_bss_info_changed(stru | ||
return; | ||
} | ||
|
||
+ arvif->mgt_rate[def.chan->band] = hw_rate_code; | ||
vdev_param = ar->wmi.vdev_param->mgmt_rate; | ||
ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, | ||
hw_rate_code); |
Oops, something went wrong.