diff --git a/feeds/wifi-trunk/ath10k-ct/Makefile b/feeds/wifi-trunk/ath10k-ct/Makefile index 018146a6b..ba99b51fa 100644 --- a/feeds/wifi-trunk/ath10k-ct/Makefile +++ b/feeds/wifi-trunk/ath10k-ct/Makefile @@ -8,8 +8,8 @@ PKG_LICENSE_FILES:= PKG_SOURCE_URL:=https://github.com/greearb/ath10k-ct.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2020-08-26 -PKG_SOURCE_VERSION:=13319ff0b5dc3c86e8313f49fca583b829878736 +PKG_SOURCE_DATE:=2021-05-22b +PKG_SOURCE_VERSION:=54a9ac02f1139596ea4361ebbc3e444955d86cfd #PKG_MIRROR_HASH:=97cf22a4a57381c7eb7a9b8a8b1e347e9711ce51c89db971b4ab9a35af476ece # Build the 5.4 ath10k-ct driver version. Other option is "-4.19". diff --git a/feeds/wlan-ap/opensync/files/etc/hotplug.d/net/50-set-tx-rates b/feeds/wlan-ap/opensync/files/etc/hotplug.d/net/90-set-tx-rates similarity index 87% rename from feeds/wlan-ap/opensync/files/etc/hotplug.d/net/50-set-tx-rates rename to feeds/wlan-ap/opensync/files/etc/hotplug.d/net/90-set-tx-rates index e2132399e..75fed1cba 100644 --- a/feeds/wlan-ap/opensync/files/etc/hotplug.d/net/50-set-tx-rates +++ b/feeds/wlan-ap/opensync/files/etc/hotplug.d/net/90-set-tx-rates @@ -10,11 +10,11 @@ hwmode=$(uci get wireless.${radio}.hwmode) [ "${hwmode}" = "11a" ] && band=5 || band=2 -bcn_rate=$(uci get wireless.${DEVICENAME}.bcn_rate) +bcn_rate=$(($(uci get wireless.${DEVICENAME}.bcn_rate)/10)) mcast_rate=$(uci get wireless.${DEVICENAME}.mcast_rate) # ath10k rate-codes: 0x43 1M, 0x42 2M, 0x41 5.5M, 0x40 11M, 0x3 6M, 0x7 9M, 0x2 12M, 0x6 18M, 0x1 24M, 0x5 36M, 0x0 48M, 0x4 54M, 0xFF default -rate_codes="1:0x43 2:0x42 5.5:0x41 11:0x40 6:0x3 9:0x7 12:0x2 18:0x6 24:0x1 36:0x5 48:0x0 54:0x4" +rate_codes="1:0x43 2:0x42 5:0x41 11:0x40 6:0x3 9:0x7 12:0x2 18:0x6 24:0x1 36:0x5 48:0x0 54:0x4" # Default codes beacon_code=0xFF @@ -33,6 +33,6 @@ done # set rates logger -t hotplug "Set Tx rates for device ${DEVICENAME}" -sleep 5 +sleep 20 echo "${DEVICENAME} beacon ${band} ${beacon_code}" > /sys/kernel/debug/ieee80211/${phy}/ath10k/set_rates echo "${DEVICENAME} mcast ${band} ${mcast_code}" > /sys/kernel/debug/ieee80211/${phy}/ath10k/set_rates