Skip to content

Conversation

@ecsv
Copy link
Contributor

@ecsv ecsv commented Feb 25, 2019

If no mcast_rate is set for the wifi-iface then there is no rate_idx (0)
set for the bss. This breaks for example 5GHz meshpoint interfaces because
0 maps to a CCK rate (11Mbit/s).

It must also be avoided that the ath10k-ct internal state for the rates is
not synced with the mac80211 rates state. Otherwise, the user specified
rate (e.g. a wifi-iface mcast_rate for a meshpoint interface) will only be
set on startup. And a short while after that, ath10k-ct specific code in
ath10k_check_apply_special_rates is missing a valid rate in its own
structures and is then recalculating a new default rate. This default rate
is in most situations not the requested rate.

Fixes: a399b60 ("ath10k/ath10k-ct: support multicast and management rate control")
Forwarded: openwrt/openwrt#1861
Forwarded: openwrt/openwrt#1862

If no mcast_rate is set for the wifi-iface then there is no rate_idx (0)
set for the bss. This breaks for example 5GHz meshpoint interfaces because
0 maps to a CCK rate (11Mbit/s).

It must also be avoided that the ath10k-ct internal state for the rates is
not synced with the mac80211 rates state. Otherwise, the user specified
rate (e.g. a wifi-iface mcast_rate for a meshpoint interface) will only be
set on startup. And a short while after that, ath10k-ct specific code in
ath10k_check_apply_special_rates is missing a valid rate in its own
structures and is then recalculating a new default rate. This default rate
is in most situations not the requested rate.

Fixes: a399b60 ("ath10k/ath10k-ct: support multicast and management rate control")
@mweinelt mweinelt merged commit b2f249e into freifunk-gluon:master Feb 26, 2019
@mweinelt
Copy link
Contributor

Thanks!

@ecsv ecsv deleted the ath10k-mcast-rates branch February 26, 2019 14:17
@rotanid rotanid added the 0. type: bug This is a bug label Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0. type: bug This is a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants