]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net80211/ifconfig: print hardware device name for wlan interfaces
authorBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 7 Aug 2020 12:24:23 +0000 (12:24 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 7 Aug 2020 12:24:23 +0000 (12:24 +0000)
commit7d1d4407f569fad7d495bdb492cc088d0aed48e3
treeb6b9e435e86f88b203602ed3ea9c15974e9f652c
parent43233543248c0c0ffa0e5621c31bbb1bab77fd58
net80211/ifconfig: print hardware device name for wlan interfaces

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")
Reviewed by: adrian, Idwer Vollering
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D25832
sbin/ifconfig/ifieee80211.c
share/man/man4/net80211.4
sys/net80211/ieee80211_ioctl.c
sys/net80211/ieee80211_ioctl.h