diff options
author | Glenden Lee <thornhillextreme@gmail.com> | 2020-05-27 14:20:02 -0400 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-05-27 21:45:43 +0000 |
commit | a584fd9fb60c6e45b1a3773aba38627f16f58acb (patch) | |
tree | ceb4297638eda163444d327909750d2c03aa5d60 /wiretap | |
parent | d02ea543b7fc50566f0d63fd1ead79bd26723c40 (diff) |
ieee80211: Add datarate for 802.11AX packets
Bug: 16255 - support HE MCS to rate conversion
Change-Id: I4a4a6c3d62c167b654d150c397047a55f287e6c8
Reviewed-on: https://code.wireshark.org/review/37255
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/wtap.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index ab931708c8..96fdf722f4 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -806,6 +806,21 @@ struct ieee_802_11ad { guint8 mcs; /* MCS index */ }; +/* + * 802.11ax (HE). + */ +struct ieee_802_11ax { + /* Which of this information is present? */ + guint has_mcs_index:1; + guint has_bwru:1; + guint has_gi:1; + + guint8 nsts:4; /* Number of Space-time Streams */ + guint8 mcs:4; /* MCS index */ + guint8 bwru:4; /* Bandwidth/RU allocation */ + guint8 gi:2; /* Guard Interval */ +}; + union ieee_802_11_phy_info { struct ieee_802_11_fhss info_11_fhss; struct ieee_802_11b info_11b; @@ -814,6 +829,7 @@ union ieee_802_11_phy_info { struct ieee_802_11n info_11n; struct ieee_802_11ac info_11ac; struct ieee_802_11ad info_11ad; + struct ieee_802_11ax info_11ax; }; struct ieee_802_11_phdr { |