Skip to content
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

Enhancement: Dynamic tooltip for wireless modes #1313

Closed
billz opened this issue Mar 19, 2023 · 0 comments · Fixed by #1314
Closed

Enhancement: Dynamic tooltip for wireless modes #1313

billz opened this issue Mar 19, 2023 · 0 comments · Fixed by #1314

Comments

@billz
Copy link
Member

billz commented Mar 19, 2023

Is your feature request related to a problem?

The Hotspot > Basic tab allows users to select any available wireless mode, even if the hardware for the selected interface does not support it. This can lead to confusion when hostapd fails to start. See for example Can't change WiFi channel, using RaspAP, on Raspberry Pi 3B.

Describe the solution you'd like

Supported wireless modes should be queried with iw phy for the selected interface. The availability of one or more supported bands could be used in a tooltip to provide context for the user, eg.:

tooltip

Worth noting that an adapter may support a given mode, while the driver does not. Also iw info outputs a lot of detail. It's possible to resolve bitrates, channel widths, etc. however for this first stab I'd opt for 2.4 versus 5 GHz support (or both).

Additional context

The 802.11ac 5 GHz mode is disabled until a compatible wireless regulatory domain is defined by the user. I think this has prevented confusion for users who want this mode but have not done the prerequisite steps to enable it. A context sensitive tooltip could also be potentially useful in this case.

From a UX perspective, I feel a tooltip is preferable to disabling more dropdown items. Suggestions are welcome.

Related to #872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant