Skip to content

RFC: Wi-Fi add accesspoint support #1085

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

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

RFC: Wi-Fi add accesspoint support #1085

wants to merge 8 commits into from

Conversation

mattiaswal
Copy link
Contributor

@mattiaswal mattiaswal commented Jul 28, 2025

Pretty simple configuration but can most likely be improved:

admin@rpi4:/> configure 
admin@rpi4:/config/> edit interface wifi0 wifi 
admin@rpi4:/config/interface/wifi0/wifi/> set country-code SE 
admin@rpi4:/config/interface/wifi0/wifi/> set band 
 2.4GHz   5GHz
admin@rpi4:/config/interface/wifi0/wifi/> set band 2.4GHz 
admin@rpi4:/config/interface/wifi0/wifi/> set mode accesspoint 
admin@rpi4:/config/interface/wifi0/wifi/> edit ssid test
admin@rpi4:/config/interface/wifi0/wifi/ssid/test/> set secret se
admin@rpi4:/config/interface/wifi0/wifi/ssid/test/> set encryption 
admin@rpi4:/config/interface/wifi0/wifi/ssid/test/> 

Also fix #1082 (documentation is not fixed yet though), and some other things i found during the implementation.

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

…chipsets

These should not appear in a generated factory-config or failure-config.
We can not know in here if the scanning should be enabled or not.

This is one cause of #1082
Hostapd create virtual interfaces on top of wifi interface
these should *not* be renamed.
@mattiaswal mattiaswal added the ci:main Build default defconfig, not minimal label Jul 28, 2025
@mattiaswal mattiaswal marked this pull request as draft July 28, 2025 22:12
Simple configuration:

admin@rpi4:/config/> edit interface wifi0 wifi
admin@rpi4:/config/interface/wifi0/wifi/> set country-code SE
admin@rpi4:/config/interface/wifi0/wifi/> set band
 2.4GHz   5GHz
admin@rpi4:/config/interface/wifi0/wifi/> set band 2.4GHz
admin@rpi4:/config/interface/wifi0/wifi/> edit ssid test
admin@rpi4:/config/interface/wifi0/wifi/ssid/test/> set secret se
admin@rpi4:/config/interface/wifi0/wifi/ssid/test/> set encryption
admin@rpi4:/config/interface/wifi0/wifi/ssid/test/>
This to work as intended now when #1082 is fixed.

Default setting: Scan on wifi interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:main Build default defconfig, not minimal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wi-Fi implementation is not according to agreed scope
1 participant