Skip to content

Conversation

@mattiaswal
Copy link
Contributor

@mattiaswal mattiaswal commented Jan 13, 2026

Misc fixes (mostly wifi)

this PR initially contained roaming, removed it. and put it on a seperate branch: wifi-roaming

Tested on BPI-r3 and RPI4

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 13, 2026 15:24
@mattiaswal mattiaswal marked this pull request as draft January 13, 2026 16:13
@mattiaswal mattiaswal force-pushed the misc2 branch 2 times, most recently from 7810829 to a580e3e Compare January 13, 2026 22:45
@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.

@mattiaswal mattiaswal force-pushed the misc2 branch 4 times, most recently from e902ddb to 83d6849 Compare January 20, 2026 09:46
…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.
The firmware seems to keep states when have been configured as an
AP then change to be a station.
This is run per interface, not per radio so its place
in hardware.c was wrong. This also opens up for multiple
station interfaces per radio, but not for now that it locked
down in a must expression for now.
…radio

This since this is 99% of the cases wrong config, and crashes
on many Wi-Fi chipset.
Happened when adding a second station interface (only supports one),
was lacking a check for a nullpointer.
This is obsolete. By remove this we expose radio as mandatory.
This since a Wi-Fi interface is not possible to create without
a radio to connect it to.
This reverts commit bf1eca0.

This mess up order if having more than 1 phy, have not been
reproduce the error that got me to introduce this fix from
the beginning.
When migrate to 1.7 the keystore was not correctly
migrated.
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