mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 06:38:29 +04:00
414 fixes cfg80211_sta_set_mld_sinfo(). It took the TX and RX rate of an MLO station from the link with the least inactive time, but compared against a value it had just set to that link's own, so only the first link could decide. mac80211 records the last TX rate on the association link, so a station associated on any other link reported no TX bit rate at all. The TX and RX durations had the same condition and counted the first link only. Measured on a mac80211_hwsim bed: an MLO backhaul station associated on link 1 now reports its TX rate, and the backhaul rates derived from it read 270 and 3120 Mbit/s instead of 65535. Signed-off-by: Felix Fietkau <nbd@nbd.name>