Skip to content

Function request: raw options field in "Edit wifi record" menu #43

@hgot07

Description

@hgot07

I'd like to propose a "raw_options" function in the "Edit wifi record" menu.

Why needed?
There are some device/application-specific variants in the UCI wireless setting (/etc/config/wireless). It's not easy to cover all potential options as well as new ones by the GUI.

What is this?
The "raw_options" field is a simple, multi-line text box to be filled with a list of raw options.
The option(s) will be appended to the wifi-iface block, making it easy to add a wide variety of options (variants or new).
Nothing happens when this multi-line text box is left blank.

A Passpoint configuration example is shown below.

T raw_options

- option macaddr
option macaddr '62:0F:FF:52:31:00'
option iw_enabled '1'
option iw_interworking '1'
option iw_access_network_type '3'
option iw_internet '1'
option iw_disable_dgaf '1'
option iw_asra '0'
option iw_esr '0'
option iw_uesa '0'
option iw_venue_group '2'
option iw_venue_type '8'
option iw_hessid '94:83:FF:1D:7F:01'
list iw_roaming_consortium '000000'
list iw_venue_name 'eng:exampleLab'
list iw_venue_url '1:https ://example.com/'
option iw_network_auth_type '00'
option iw_ipaddr_type_availability '0c'
list iw_domain_name 'example.com'
option hs20 '1'
option hs20_oper_friendly_name 'eng:Example Lab'
option hs20_operating_class '517C'

The options with prepended minus (-) will be removed if existed in the openSOHO's built-in template, and other options will be appended simply as they are.

Benefits

  • Absorb device/application-specific variations.
  • Much more flexibility, allowing complex / experimental / development use cases.
  • No need to bother openSOHO developers further with option variations and/or new functions.

Considerations will be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions