-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
luci-mod-status: channel analysis shows more radios than expected on BPI R4 #7483
Comments
Repros also on 24.10.0-rc4. |
Which LuCI version are you using? Did you use the image from downloads.openwrt.org or did you use the image builder? For me it is working with this version: |
OpenWrt 24.10.0-rc4 r28211-d55754ce0d / LuCI openwrt-24.10 branch 24.357.59006~41cbd31 built from the branch. |
hmm strange. I used a Linksys E8450 (UBI) and accessed LuCi using Firefox. |
On BPI r4, both Chrome and Edge, this is broken. |
I don't have 24.10 (using snapshot / my own build) however there have been changes both on mtk (by having a single physical device and "logical" radios using the following naming standard "phy.ap" and new ucode code that may be causing issues with luci (I actually noticed a new bug) however |
My wireless config isn't super fancy:
also ToT of 24.10 doesn't seem to have any relevant commits on top of RC4 but I'll give it a try nevertheless... |
so did some troubleshooting and I suspect the root cause is with iwinfo the code is querying radio 0 via a rpc call to iwinfo iwinfo radio0 info points to the 5Ghz radio (it should be the 2GHz radio) so the rpc call should be against the interface like radio0-2 always points to the 5GHz |
Somewhere luci pulls this info. It gets the 'radios' here ( luci/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js Line 388 in 527acd5
which calls: luci/modules/luci-base/htdocs/luci-static/resources/network.js Lines 1376 to 1388 in 527acd5
So this depends entirely on what is already in Three radios, each capable of 3 spectra. |
Is there an existing issue for this?
screenshots or captures
Actual behaviour
In OpenWRT 24.10-RC2+, using a BPI r4, the radio stack is not identified correctly in the status -> channel analisys page resulting in multiple detection of radios. Also channel analisys is misbehaving.
Expected behaviour
Expected behavior is 3 tabs, one per radio/band (as opposed to one per radio per band) as it was in earlier builds.
This started happening after the "option path" identifier has been changed for the BPI r4 radios.
Steps to reproduce
Just run a normal openwrt build on a BPI r4.
Additional Information
What browsers do you see the problem on?
Microsoft Edge
Relevant log output
No response
The text was updated successfully, but these errors were encountered: