Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC op...



details:   https://anonhg.NetBSD.org/src/rev/55a33cb06493
branches:  trunk
changeset: 1003861:55a33cb06493
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Oct 03 14:41:14 2019 +0000

description:
Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC operating mode, and missing descriptions

diffstat:

 sys/net/if_media.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 0de8096c2539 -r 55a33cb06493 sys/net/if_media.h
--- a/sys/net/if_media.h        Thu Oct 03 13:49:33 2019 +0000
+++ b/sys/net/if_media.h        Thu Oct 03 14:41:14 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_media.h,v 1.65 2019/05/17 07:37:12 msaitoh Exp $    */
+/*     $NetBSD: if_media.h,v 1.66 2019/10/03 14:41:14 jmcneill Exp $   */
 
 /*-
  * Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -373,6 +373,7 @@
 #define        IFM_IEEE80211_OFDM27    23      /* OFDM 27Mbps */
 /* NB: not enough bits to express MCS fully */
 #define        IFM_IEEE80211_MCS       24      /* HT MCS rate */
+#define        IFM_IEEE80211_VHT       25      /* VHT MCS rate */
 
 /* IFM_OMASK bits */
 #define        IFM_IEEE80211_ADHOC     0x00000100      /* Operate in Adhoc mode */
@@ -390,6 +391,7 @@
 #define        IFM_IEEE80211_FH        0x00040000      /* 2 GHz, GFSK mode */
 #define        IFM_IEEE80211_11NA      0x00050000      /* 5Ghz, HT mode */
 #define        IFM_IEEE80211_11NG      0x00060000      /* 2Ghz, HT mode */
+#define        IFM_IEEE80211_11AC      0x00070000      /* 2Ghz/5Ghz, VHT mode */
 
 
 /*
@@ -628,6 +630,8 @@
        { IFM_IEEE80211 | IFM_IEEE80211_OFDM3,  "OFDM/3Mbps" },         \
        { IFM_IEEE80211 | IFM_IEEE80211_OFDM4,  "OFDM/4.5Mbps" },       \
        { IFM_IEEE80211 | IFM_IEEE80211_OFDM27, "OFDM/27Mbps" },        \
+       { IFM_IEEE80211 | IFM_IEEE80211_MCS, "HT" },                    \
+       { IFM_IEEE80211 | IFM_IEEE80211_VHT, "VHT" },                   \
                                                                        \
        { 0, NULL },                                                    \
 }
@@ -641,6 +645,7 @@
        { IFM_IEEE80211 | IFM_IEEE80211_FH,     "fh" },                 \
        { IFM_IEEE80211 | IFM_IEEE80211_11NA,   "11na" },               \
        { IFM_IEEE80211 | IFM_IEEE80211_11NG,   "11ng" },               \
+       { IFM_IEEE80211 | IFM_IEEE80211_11AC,   "11ac" },               \
        { 0, NULL },                                                    \
 }
 



Home | Main Index | Thread Index | Old Index