openwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
6.28k stars 2.51k forks source link

luci-mod-network: invalid wireless modes are listed on the config page #2628

Open pmelange opened 5 years ago

pmelange commented 5 years ago

With many of the newer routers, adhoc mode is not supported in the 5Ghz devices. Configuring the device with an invalid mode naturally doesn't work.

For example, on a ubnt-unifiac-mesh:

adhoc

When running iw phy ph0 info on the ubnt-unifiac-mesh the following results are shown:

    valid interface combinations:
         * #{ AP, mesh point } <= 8, #{ managed } <= 1,
           total <= 8, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

It would be good to have LuCI provide options which will actually work.

feckert commented 5 years ago

What version of openwrt do you use? Or is this a problem of the freifunk-berlin/firmware-package? If not please reopen the issue.

pmelange commented 5 years ago

Please re-open this issue (i don't have permission).

It is still a problem with the latest snapshot. The device I am using is an Arch C7 V4. Snapshot image r11037-1979af10ca with LuCI installed.

The AC device does not support 802.11s mesh, yet in the web interface, 802.11s is listed as an option.

iw list

    valid interface combinations:
         * #{ managed, P2P-client } <= 16, #{ P2P-GO } <= 3, #{ AP } <= 16, #{ IBSS } <= 1,
           total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

Screenshot from LuCI Screenshot_2019-09-19_22-50-58

ironvegeta commented 3 years ago

I can still see this issue. 802.11s is also selectable and leads to an error on "wireless security" > Encryption image

Is there any date when 802.11s is supported in the ui?

Powered by LuCI

Ansuel commented 2 years ago

@feckert @jow- why this is not fixed? i mean shouldn't be that hard to get the supported modes and report a correct list

jow- commented 2 years ago

Lack of time and low severity