Page MenuHomeFreeBSD

Create a default wlan for wireless NICs if no wlans are specified.
AcceptedPublic

Authored by jhb on May 18 2018, 4:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 28 2023, 4:10 AM
Unknown Object (File)
Nov 25 2023, 4:31 AM
Unknown Object (File)
Nov 22 2023, 8:08 PM
Unknown Object (File)
Nov 21 2023, 7:55 PM
Unknown Object (File)
Nov 13 2023, 7:02 PM
Unknown Object (File)
Nov 13 2023, 9:15 AM
Unknown Object (File)
Nov 13 2023, 8:58 AM
Unknown Object (File)
Sep 24 2023, 3:19 PM

Details

Summary
  • Add a central child_wlans function to return the list of wlans for a wireless NIC and replace various calls to fetch the wlans_IF variable to invoke this wrapper function instead.
  • If wlans_IF is not set, use a default value that creates a single wlan matching the NIC's name.

The end result of this is that each wireless NIC will now have a single
wlan interface whose name matches the NIC (e.g. iwn0) out of the box.
Existing configurations will continue to work, but this probably means we
can remove special case logic from the installer to handle wireless NICs,
etc. Users who wish to use multiple wlan devices for a single NIC can
still do so using the existing framework, but the common case of a single
client wlan will more closely match the experience of other NICs in
FreeBSD (e.g. just setting ifconfig_iwn0="WPA DHCP" in rc.conf).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16672
Build 16577: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.May 25 2018, 9:57 PM
seanc added a subscriber: seanc.
rgrimes added a subscriber: rgrimes.

Isnt there some documentation some place that also needs to be updated?

etc/network.subr
1275

stray debug?

etc/pccard_ether
125

Does this affect wired LANs?