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
F162789727: D25832.id75554.diff
Thu, Jul 16, 10:18 PM
Unknown Object (File)
Mon, Jul 13, 12:44 AM
Unknown Object (File)
Sun, Jul 12, 10:34 AM
Unknown Object (File)
Wed, Jul 8, 5:20 PM
Unknown Object (File)
Sat, Jul 4, 6:05 AM
Unknown Object (File)
Fri, Jul 3, 4:28 AM
Unknown Object (File)
Thu, Jul 2, 6:59 PM
Unknown Object (File)
Thu, Jul 2, 2:33 PM

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