diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-02-19 08:12:31 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-02-19 08:12:31 +0000 |
commit | 4f5275596ad263d10f0de812587f6a4988edb503 (patch) | |
tree | 00628b4a8e19cb8f989a7716717ee31f968e079b /sbin | |
parent | 545abfe12ba316f1aa08c04fbc5f9633bad96bad (diff) |
Make ifconfig(8) display whether bwfm(4) firmware is using 802.11ac.
ok patrick@ mpi@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index bcb68616987..42abeb2ddbe 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.391 2019/01/23 22:17:58 krw Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.392 2019/02/19 08:12:30 stsp Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -2697,7 +2697,9 @@ ieee80211_printnode(struct ieee80211_nodereq *nr) * Print the fastest supported rate for APs. */ if ((nr->nr_flags & (IEEE80211_NODEREQ_AP)) == 0) { - if (nr->nr_flags & IEEE80211_NODEREQ_HT) { + if (nr->nr_flags & IEEE80211_NODEREQ_VHT) { + printf("VHT-MCS%d/%dSS", nr->nr_txmcs, nr->nr_vht_ss); + } else if (nr->nr_flags & IEEE80211_NODEREQ_HT) { printf("HT-MCS%d ", nr->nr_txmcs); } else if (nr->nr_nrates) { printf("%uM ", |