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
F149718356: D25832.id75554.diff
Thu, Mar 26, 11:54 AM
Unknown Object (File)
Wed, Mar 25, 9:20 AM
Unknown Object (File)
Sun, Mar 22, 6:37 PM
Unknown Object (File)
Fri, Mar 20, 3:52 AM
Unknown Object (File)
Wed, Mar 18, 1:15 PM
Unknown Object (File)
Wed, Mar 18, 5:00 AM
Unknown Object (File)
Tue, Mar 17, 6:14 AM
Unknown Object (File)
Mon, Mar 16, 10:19 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable