svn commit: r296931 - head/sbin/ifconfig

Adrian Chadd adrian at FreeBSD.org
Wed Mar 16 06:27:58 UTC 2016


Author: adrian
Date: Wed Mar 16 06:27:57 2016
New Revision: 296931
URL: https://svnweb.freebsd.org/changeset/base/296931

Log:
  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>

Modified:
  head/sbin/ifconfig/ifieee80211.c

Modified: head/sbin/ifconfig/ifieee80211.c
==============================================================================
--- head/sbin/ifconfig/ifieee80211.c	Wed Mar 16 06:26:50 2016	(r296930)
+++ head/sbin/ifconfig/ifieee80211.c	Wed Mar 16 06:27:57 2016	(r296931)
@@ -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 " ???";
 }


More information about the svn-src-head mailing list