Skip to content

Conversation

@mattiaswal
Copy link
Contributor

@mattiaswal mattiaswal commented Jan 26, 2026

  • Only allow one Wi-Fi interface without setting custom-phys-address
  • Reconfigure wpa_supplicant on ssid changes
  • Rename RSSI => Signal Strength
  • Fix inverted mapped Signal Strengths (RSSI)
  • Store utf-8 ssids in yanger (with safety rails against malicious aps)

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):

@mattiaswal mattiaswal requested a review from troglobit January 26, 2026 13:22
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, only a minor question.

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.

Heh, we're definitely in the same parts of the tree today 😆

@mattiaswal mattiaswal marked this pull request as draft January 26, 2026 15:52
The others need to set custom-phys-address, if not dagger will fail
to take up the interface because "The address is not unique on the network"
@mattiaswal mattiaswal requested a review from troglobit January 27, 2026 07:28
@mattiaswal mattiaswal marked this pull request as ready for review January 27, 2026 07:29
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 cleanup! 💯

RSSI is a vendor-specific relative index (0-255), while dBm is an
absolute power measurement. Since we report dBm values from iw,
rename the leaf to signal-strength for accuracy.
Should be like this:
  ┌────────────┬────────────────────┐
  │ RSSI (dBm) │       Status       │
  ├────────────┼────────────────────┤
  │ ≥ -50      │ excellent (strong) │
  ├────────────┼────────────────────┤
  │ -60 to -51 │ good               │
  ├────────────┼────────────────────┤
  │ -70 to -61 │ poor               │
  ├────────────┼────────────────────┤
  │ < -70      │ bad (weak)         │
  └────────────┴────────────────────┘
@mattiaswal mattiaswal requested a review from troglobit January 27, 2026 10:14
@mattiaswal mattiaswal changed the title Only allow one Wi-Fi interface without setting custom-phys-address Misc fixes Jan 27, 2026
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.

@troglobit troglobit merged commit 02082f9 into main Jan 27, 2026
7 checks passed
@troglobit troglobit deleted the misc branch January 27, 2026 13:33
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