Skip to content

Wifi wds - #1680

Draft
mattiaswal wants to merge 13 commits into
mainfrom
wifi-wds
Draft

mattiaswal wants to merge 13 commits into
mainfrom
wifi-wds

Conversation

@mattiaswal

Copy link
Copy Markdown
Contributor

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

The rootfs image loaded at 0x4A000000 covered the WiFi firmware and WED
regions at 0x4fc00000, so the kernel could not reserve them.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
Signed-off-by: Mattias Walström <lazzer@gmail.com>
Signed-off-by: Mattias Walström <lazzer@gmail.com>
Signed-off-by: Mattias Walström <lazzer@gmail.com>
hostapd only creates the socket for the BSS with a ctrl_interface line,
so hostapd_cli could not reach the secondary SSIDs on a radio.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
Adds wds_sta_ifname=<mac> <ifname>, so a 4-address station can be bound
to a port that already exists and is bridged by someone else.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
A wds-link interface is a bridge port of a local access point for one
remote 4-address station, created as an AP_VLAN up front and bound by
hostapd via wds_sta_ifname.  A station with wds enabled may be a bridge
port.  Also judge hostapd config by the APs left in config on commit,
since the changed interface on a radio need not be an AP anymore.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
AP_VLAN ports never leave operstate UNKNOWN, so oper-status is now
derived from the UP and LOWER_UP flags for such interfaces.
Signed-off-by: Mattias Walström <lazzer@gmail.com>
The virtual medium now only acknowledges unicast frames to peers heard
within the last minute, so a vanished station is detected by the AP's
inactivity probing like on real RF.
Signed-off-by: Mattias Walström <lazzer@gmail.com>
hostapd adopts a re-added netdev of a name it still holds and turns it
back into an AP, which broke a station created right after an AP of the
same name was removed.  Run hostapd with a global control socket and
tell it to drop the interface first.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
Adding station settings to a scan-only interface, or changing them, only
rewrote the wpa_supplicant config; nothing told the daemon.  Reload it on
config changes and start it over when the netdev is recreated.

Fix #1679

Signed-off-by: Mattias Walström <lazzer@gmail.com>

This branch has not been deployed

No deployments
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.

1 participant