HomeFreeBSD

ifconfig: ifieee80211: print bssid name

Description

ifconfig: ifieee80211: print bssid name

In certain setups (e.g., autonomous APs) it is extremly helpful to have
a way to map the BSSIDs to names for both normal status output as well
as the scan list. This often allows a quicker overview than remembering
(or manually looking up) BSSIDs.
Call ether_ntohost() on the bssid and consult /etc/ethers
and print "(name)" after the bssid for the status output and "(name)"
at the end of the line after the IE list.

Reviewed by: adrian, cy
Differential Revision: https://reviews.freebsd.org/D39192

(cherry picked from commit e091be417add7e9130653462012a9ab2f4fb5269)

Details

Provenance
bzAuthored on Mar 21 2023, 9:25 PM
Reviewer
adrian
Differential Revision
D39192: ifconfig: ifieee80211: print bssid name
Parents
rGc6f7abeaeb5b: net80211: define mask for ss_flags rather than using hardcoded 0xfff
Branches
Unknown
Tags
Unknown