Page MenuHomeFreeBSD

net80211/ifconfig: print hardware device name for wlan interfaces
ClosedPublic

Authored by bz on Jul 27 2020, 1:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 27, 10:21 AM
Unknown Object (File)
Fri, Jun 27, 6:50 AM
Unknown Object (File)
Thu, Jun 19, 1:19 AM
Unknown Object (File)
Tue, Jun 17, 10:18 AM
Unknown Object (File)
Tue, Jun 17, 7:39 AM
Unknown Object (File)
Sat, Jun 14, 9:26 PM
Unknown Object (File)
Jun 10 2025, 4:48 AM
Unknown Object (File)
Jun 6 2025, 10:39 AM

Details

Summary

Add IEEE80211_IOC_IC_NAME to query the ic_name field and in ifconfig
to print the parent interface again. This functionality was lost
around r287197. It helps in case of multiple wlan interfaces and
multiple underlying hardware devices to keep track which wlan
interface belongs to which physical device.

Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate")

Test Plan

ifconfig wlan0 shows a parent interface like this now:

	        parent interface: athp0

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32580
Build 30036: arc lint + arc unit