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
F159572721: D25832.id75554.diff
Mon, Jun 15, 7:39 PM
Unknown Object (File)
May 17 2026, 10:43 AM
Unknown Object (File)
May 17 2026, 8:42 AM
Unknown Object (File)
May 17 2026, 1:38 AM
Unknown Object (File)
May 17 2026, 1:38 AM
Unknown Object (File)
May 14 2026, 11:38 AM
Unknown Object (File)
May 3 2026, 7:00 PM
Unknown Object (File)
May 2 2026, 6:13 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

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