-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
802.11s mesh is using 802.11b basic rates #3185
Comments
A fix for this undesired behavior was submitted upstream here: i suspect this might also fix airtime-related issues on MT79x6 based radios. At least this is one driver which sets the beacon-rate depending on the basic-rate and not the mcast-rate. Normally the beacon rate is determined by the rate for a frame with a non-unicast STA. This is the mcast-rate for drivers which do not implement their own handling. ath10k also accesses this field (and i might have seen such cases in the past if my memory is correct). Grep for This change brings two problems with itself. The specification states that the basic-rates of two partners (STA - STA / AP - STA) must match. This is not the case anymore if two mesh-participants "meet" each other on different revisions. As we fully control the software ecosystem, we can develop mitigations. I'm unsure in how to handle this situation:
Alternatively, a scheduled-domain-switch approach could be leveraged to switch after date X in software. |
side note: Could be interesting to know whether ath10k-ct accesses Don't we currently already have different revisions in the field? Depending on the wifi driver some chips probably avoid 802.11b already by choosing their rate based on mcast, don't they? And they still mesh with each other, right? Simply makes me wonder whether we actually require mitigation? Great work, thanks for finding a fix for the config. ❤️ though there are always cases where there are devices that don't receive an update out there. If we implement mitigations: how long do we want to carry them for? |
should be fixed in main Gluon branch now due to the changes merged by @blocktrron in #3411 ? |
@rotanid I think so, only combination i have not tested is {mt7915,ath9k} <--> ath10k as I'm lacking ath10k 2.4G devices at home. If anybody got his hand on these, please report if meshing from v2023.2.x with current master still works! |
@blocktrron should the ath10k device be running current main or the mt7915/ath9k for this test? Or do we need to verify both directions? |
@maurerle as the software version is part of the constellation - yes, both directions. |
This bump includes two major changes / fixes: - c06d4df974 mac80211: set basic-rate for mesh interfaces See freifunk-gluon/gluon#3185 - 0c52c9d6fc ath79: reset ETH switch for AR9344 freifunk-gluon/gluon#2904
I think I now understand the behavior better. Gluon main devices announce a basic rate of > 1 MBit/s, though the counterpart does not support this. That way, a when can we remove these additional patches? Missing link: why is 912527a required? Does this mean, that the basic rate was not properly selected before as we are not using wpa_supplicant? Maybe this helps others to get a better unterstanding, eventually this is plain wrong, so please correct me if I am missing something @blocktrron |
Hi @blocktrron I just tested this on a FB7520/ipq40xx-generic/ath10k device on main in combination with various v2023.2.3 devices: While it somehow sees the other devices, it does not establish a mesh link to them over 5GHz wifi as seen in batman:
(here mesh on radio0, 2.4GHz was deactivated, so we only see one other device on gluon main successfully, but none of the devices running v2023.2.3 on 5GHz) while there are other mt76, ath10k and ath9k devices on v2023.2.3 around, which should be seen on 5GHz. Things are working fine on 2.4GHz - though I have the feeling, that name resolution on the status page is taking much longer (or forever). |
The same behavior as for the FB7520/ath10k device can be seen for a Cudy WR3000/mt76. So mesh links on 2.4GHz are working fine between gluon main and v2023.2.6, but mesh on 5GHz does only see other devices on gluon main. Behavior is the same in the other direction (looking from a ath10k Extreme Networks WS-AP3915i on stable to the WR3000 on main) |
@maurerle thanks for testing. I rework the basic rate announcement override patch to only fake the basic rate on 2.4 GHz radios. I highly assume this is currently the problem there. Good catch! |
This bump includes two major changes / fixes: - c06d4df974 mac80211: set basic-rate for mesh interfaces See freifunk-gluon/gluon#3185 - 0c52c9d6fc ath79: reset ETH switch for AR9344 freifunk-gluon/gluon#2904 - many more fixes (incl. FB4040 MAC issues)
Bug report
What is the problem?
The 802.11s mesh VAP uses 802.11b data-rates for it's beacon-rate as well as it's basic rates.
All regular client VAPs are working fine.
What is the expected behaviour?
802.11s mesh VAP should use basic-rates equal to it's mcast-rate.
Beacon should not be sent using 802.11b
Gluon Version:
v2023.2
Site Configuration:
freifunk-darmstadt/site-ffda@3ea1e1a
Custom patches:
None
The text was updated successfully, but these errors were encountered: