-
Notifications
You must be signed in to change notification settings - Fork 14
Misc2 #1352
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
base: main
Are you sure you want to change the base?
Misc2 #1352
Conversation
…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.
troglobit
left a comment
There was a problem hiding this 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.
| type string { | ||
| pattern '[0-9a-fA-F]{4}'; | ||
| } | ||
| default "4f57"; |
There was a problem hiding this comment.
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.";
}
Description
Checklist
Tick relevant boxes, this PR is-a or has-a: