diff options
author | adrian <adrian@FreeBSD.org> | 2016-03-16 06:27:57 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2016-03-16 06:27:57 +0000 |
commit | 7c300189de77703235cdc36c616821af022cc3bd (patch) | |
tree | 48216a730a9937ab53c16e0600aa13a7b3b46f24 /sbin/ifconfig | |
parent | 95d15635d50cea1b5bac38ce9743c0df5b10a48a (diff) | |
download | FreeBSD-src-7c300189de77703235cdc36c616821af022cc3bd.zip FreeBSD-src-7c300189de77703235cdc36c616821af022cc3bd.tar.gz |
Display the VHT IE names.
This doesn't decode the IEs just yet.
Tested:
* Archer c2 AP:
TP-LINK_D579_5G 60:e3:27:e1:d5:78 44 54M 26:0 100 EP SSID<TP-LINK_D579_5G> RATES<B12,18,B24,36,B48,72,96,108> DSPARMS<44> COUNTRY<US 36-48,20> TIM<050400010000> HTCAP<cap 0x6e param 0x16 mcsset[0-7,32] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 44, 5,0,0,0 basicmcs[]> VHTCAP<bf0c2000c031feff2401feff2401> VHTOPMODE<c005012a00feff> RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK> WME<qosinfo 0x0 BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> BSSLOAD<0b05000001127a> VEN<dd07000c4300000000>
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifieee80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c index 5ababf3..cb86a25 100644 --- a/sbin/ifconfig/ifieee80211.c +++ b/sbin/ifconfig/ifieee80211.c @@ -3087,6 +3087,9 @@ iename(int elemid) case IEEE80211_ELEMID_APCHANREP:return " APCHANREP"; case IEEE80211_ELEMID_TPC: return " TPC"; case IEEE80211_ELEMID_CCKM: return " CCKM"; + case IEEE80211_ELEMID_VHT_CAP: return " VHTCAP"; + case IEEE80211_ELEMID_VHT_OPMODE: return " VHTOPMODE"; + case IEEE80211_ELEMID_VHT_PWR_ENV: return " VHTPWRENV"; } return " ???"; } |