Page MenuHomeFreeBSD

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

Authored by bz on Jul 27 2020, 1:15 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.