From Ivan Lawrow: GTS Descriptor count is a 3 bit field;

The IEEE 802.15.4 GTS descriptor count is a 3-bit field (see page 144
of attached spec).

The mask for this field is incorrectly defined as a 2-bit field in
epan/dissectors/packet-ieee802154.h line 74:


https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6055

svn path=/trunk/; revision=37771
This commit is contained in:
Bill Meier 2011-06-23 15:40:34 +00:00
parent 882e24e7f5
commit 2994dae6d4
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
#define IEEE802154_SUPERFRAME_ORDER_SHIFT 4
#define IEEE802154_SUPERFRAME_CAP_SHIFT 8
#define IEEE802154_GTS_COUNT_MASK 0x03
#define IEEE802154_GTS_COUNT_MASK 0x07
#define IEEE802154_GTS_PERMIT_MASK 0x80
#define IEEE802154_GTS_DIRECTION_SLOT(i) (0x01<<(i))
#define IEEE802154_GTS_MAX_SLOTS 7