diff options
author | Graham Bloice <graham.bloice@trihedral.com> | 2015-06-28 12:23:41 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-06-28 12:20:54 +0000 |
commit | e4dc3321b1962d3cfaf25240b647b5403d6aaef3 (patch) | |
tree | 8d0e9704870435c4bdf32bda6e0219adf60d90df /wiretap/wtap.h | |
parent | d4bdbb971ef040c7bf71bf3229a25a721ad53e0d (diff) |
Set 802.11.ac Partial AID field size
The assignment of a short to a guint8 in packet-ieee80211-radiotap.c line 1696
generates a narrowing warning.
In my reading of the spec which shows the field as 9 bits,
and looking at the hf fields for this item I think it should be a guint16.
Change-Id: Ic7785c2bfc66d72f7b1e914b1a46f32079fc99d9
Reviewed-on: https://code.wireshark.org/review/9197
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index a157dd76cb..a8402d8a05 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -690,7 +690,7 @@ struct ieee_802_11ac { /* 802.11ac */ guint8 nss[4]; /* NSS per user */ guint8 fec; /* Bit array of FEC per user: 0 = BCC, 1 = LDPC */ guint8 group_id; - guint8 partial_aid; + guint16 partial_aid; }; /* |