Note that the HT MCS index macros can't return all possible MCS values.
I don't know whether this is a bug in the software or a lack of support in the hardware. This at least notes the issue in CID 1405905. Change-Id: I481454bc38842a0f877cb8b52b73e1156fd362b5 Reviewed-on: https://code.wireshark.org/review/21558 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
548e9762fb
commit
ee37135c67
|
@ -525,8 +525,13 @@
|
|||
|
||||
/*
|
||||
* HT - contains MCS index.
|
||||
*
|
||||
* XXX - MCS indices for HT go up to 76, which doesn't fit in 6 bits;
|
||||
* either the mask is wrong, or the hardware can't receive packets
|
||||
* with an MCS of 64 through 76, or the hardware can but misreports
|
||||
* the MCS.
|
||||
*/
|
||||
#define vVW510021_W_S2_MCS_INDEX_HT(l1p_1) ((l1p_1) & 0x3f) /* MCS index for HT */
|
||||
#define vVW510021_W_S2_MCS_INDEX_HT(l1p_1) ((l1p_1) & 0x3f)
|
||||
|
||||
/*
|
||||
* VHT - contains MCS index and number of spatial streams.
|
||||
|
@ -545,6 +550,11 @@
|
|||
|
||||
/*
|
||||
* HT - contains MCS index.
|
||||
*
|
||||
* XXX - MCS indices for HT go up to 76, which doesn't fit in 6 bits;
|
||||
* either the mask is wrong, or the hardware can't receive packets
|
||||
* with an MCS of 64 through 76, or the hardware can but misreports
|
||||
* the MCS.
|
||||
*/
|
||||
#define vVW510021_W_S3_MCS_INDEX_HT(l1p_1) ((l1p_1) & 0x3f)
|
||||
|
||||
|
|
Loading…
Reference in New Issue