Skip to content

Conversation

@mattiaswal
Copy link
Contributor

@mattiaswal mattiaswal commented Jan 13, 2026

Description

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

…terface

Then hostapd needs to be restarted, handle this by adding the wifi container
to the diff if a custom-phys-address has been changed on a Wi-Fi interface.
hostname can work, but from startup it does not,
wg setconf fails and with that dagger.
Use the standard name instead of the marketing name,
new syntax enable-80211ax, which is consistent with
the nameing of the new roaming settings.
enable-reflector should be set to yes or no, not on off according
to manpage.
Useful if you have multiple APs on one SSID.
@mattiaswal mattiaswal marked this pull request as ready for review January 13, 2026 22:46
Copy link
Contributor

@troglobit troglobit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Only a suggestion for the mobility-domain type.

Comment on lines +412 to +415
type string {
pattern '[0-9a-fA-F]{4}';
}
default "4f57";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, I noticed though that some use a hash of the SSID. OpenWRT for instance, do it like this: set_default mobility_domain "$(echo "$ssid" | md5sum | head -c 4)"

Maybe we should supply a union type here to make it easy to be compatible with OpenWRT as well?

typedef mobility-domain
{
  type union {
    type string {
      pattern '[0-9a-fA-F]{4}';
    }
    type enumeration {
      enum hash {
        description
          "Derive mobility domain by hashing the SSID.

           OpenWrt-compatible: md5(ssid), first 4 hex chars.";
      }
    }
  }
  default "4f57";
  description
    "802.11r Mobility Domain identifier (4 hex digits).

     Use 'hash' to derive it from the SSID.";
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants