Page MenuHomeFreeBSD

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

Authored by bz on Mon, Jul 27, 1:15 PM.

Details

Reviewers
adrian
Group Reviewers
wireless
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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 32580
Build 30036: arc lint + arc unit

Event Timeline

bz created this revision.Mon, Jul 27, 1:15 PM
bz requested review of this revision.Mon, Jul 27, 1:15 PM
vidwer_fbsdbugs_gmail.com added inline comments.
sys/net80211/ieee80211_ioctl.h
747
adrian accepted this revision.Mon, Jul 27, 3:13 PM
adrian added a subscriber: adrian.

Cool! Just fix the typo that idwer pointed out, but nice work

This revision is now accepted and ready to land.Mon, Jul 27, 3:13 PM