5 GHz unusable on bes2600: firmware rejects start-scan, APs invisible #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
bes2600on PineTab2 (ohm) cannot attach to or scan 5 GHz APs because the firmware rejects WSM start-scan requests for the 5 GHz band, even though the chip/driver/regdomain all support it. The 056a71a "defer scan and soften WARN on firmware reject" patch covers the log noise but doesn't address the underlying reject — APs stay invisible, so we never get the chance to roam to 5 GHz regardless of signal strength.This is the structural reason real-world TCP-over-WiFi on ohm tops out around ~5 MB/s = 40 Mbit/s at MCS 7 HT20 single-stream 2.4 GHz, with ~16% TX retry rate. The chip can do much better on 5 GHz HT40 if it would scan there.
What does work
iw phyenumerates Band 2 with 37 channels spanning 5170–5875 MHz, HT20/HT40 caps (0x87e), MCS 0–7 single-stream. No VHT (so no 802.11ac headroom even if we got there). Regdomain on ohm is DE / DFS-ETSI, which permits all UNII-1/2/2e/3 bands at 20–26 dBm.So in cfg80211/mac80211 terms, 5 GHz is a fully-registered band.
What doesn't work
iw dev wlan0 scan(with or withoutfreqfilter) returns zero BSSIDs, not even the currently-associatednewtonon 2.4 GHz. dmesg pattern during the scan:WSM request
0x0007= start-scan. Firmware returns status 2 ("rejected by policy"); driver maps to-22(EINVAL). After rejection, the per-scan results are dropped — so even results from the 2.4 GHz portion of a multi-band scan don't make it to userspace.Why we believe this is firmware-side
Patch
056a71a("bes2600: defer scan and soften WARN on firmware reject", merged intodanctnix-7.0.6) was written around this exact pattern. Its commit message identifies two known reject triggers:The patch softens the WARN logging and adds a 10s backoff to stop console-flooding. It does not persuade the firmware to actually perform the scan.
How this surfaces operationally
nmcli connection down/upcycles re-associate to the same 2.4 GHz BSSID because that's all the scan ever returns.Comparison to peer-driver reports
danctnix maintainer Danct12 has shown iperf3 screenshots of ~80 Mbit/s sustained on the same chip. The most likely explanation is they're on a 5 GHz AP / HT40 — possible on bes2600 hardware, blocked for ohm by this scan-reject behavior. The driver gap to BESser stack (we have more patches than Danct's 7.0.6 branch) doesn't explain it; the radio attachment does.
Workarounds (if 5 GHz is actually needed)
Proposed real fixes (in increasing order of depth)
bt_drv_config_coex_modeand BTC patch hooks (perreference_bes2600_firmware_first_pass) — driver may not be configuring them optimally.All three are firmware-state-aware behaviour changes. None are trivial — they need a longer instrumentation pass on the bes2600 firmware/coex interaction before patches are scoped.
References
reference_bes2600_5ghz_scan_reject— verbose copy of these findingsreference_bes2600_firmware_no_psm— sibling firmware-policy gotchareference_bes2600_firmware_first_pass— coex/BTC symbol leaks for the depth-3 fix056a71a("bes2600: defer scan and soften WARN on firmware reject") indanctnix-7.0.6Out of scope / parking lot
Not blocking the 5 GHz workstream on this: ohm-as-deployed is fine on 2.4 GHz for the typical workload. This issue exists to (a) record the structural cause so we stop attributing the 2.4-only behaviour to chip limitations, and (b) document what depth of firmware/coex work would actually unlock 5 GHz attachment when someone wants it.
Closing as duplicate of #1, which I missed when filing this. The 2026-05-03 issue already documents the same WSM 0x0007 scan-reject pattern (plus secondary JOIN / RX / PREV_AUTH_NOT_VALID patterns this issue doesn't cover).
Folded the new findings from today (5 GHz capability proof via
iw phy, perf measurement, depth-of-fix taxonomy, workarounds) into a comment on #1 instead of duplicating them here.Also: a correction this issue's framing got wrong — "APs invisible, can't roam to 5 GHz" was too strong. Per #1's OP, ohm was actually associated on 5 GHz ch.40 on 2026-05-03. The real pattern is intermittent scan-reject causing roam blindness and eventual drift toward whichever band happens to be reliable at the moment (today: 2.4 GHz). Chip + driver + regdom all support 5 GHz; firmware behavior is what limits us, but not absolutely.
See #1 for the canonical thread.