From 9be139cae0b9e82524a670e33429ad147859ff6d Mon Sep 17 00:00:00 2001 From: Yasuyuki Tanaka Date: Mon, 19 Mar 2018 17:09:55 +0000 Subject: ieee802154: support 6top protocol (6P) draft-10 - remove GEN field, that is obsoleted - add SIGNAL command - update return codes following the draft Bug: 14542 Change-Id: I7eeb6f832d23688d5dc50f68224da9a7612429ff Reviewed-on: https://code.wireshark.org/review/26553 Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte --- epan/dissectors/packet-ieee802154.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'epan/dissectors/packet-ieee802154.h') diff --git a/epan/dissectors/packet-ieee802154.h b/epan/dissectors/packet-ieee802154.h index d3b7ec7222..43be02d328 100644 --- a/epan/dissectors/packet-ieee802154.h +++ b/epan/dissectors/packet-ieee802154.h @@ -308,8 +308,7 @@ typedef enum { #define IETF_6TOP_VERSION 0x0F #define IETF_6TOP_TYPE 0x30 #define IETF_6TOP_FLAGS_RESERVED 0xC0 -#define IETF_6TOP_SEQNUM 0x0F -#define IETF_6TOP_GEN 0xF0 +#define IETF_6TOP_SEQNUM 0xFF /* SIXTOP CMD and RC identifiers */ #define IETF_6TOP_CMD_ADD 0x01 @@ -317,17 +316,18 @@ typedef enum { #define IETF_6TOP_CMD_RELOCATE 0x03 #define IETF_6TOP_CMD_COUNT 0x04 #define IETF_6TOP_CMD_LIST 0x05 -#define IETF_6TOP_CMD_CLEAR 0x06 +#define IETF_6TOP_CMD_SIGNAL 0x06 +#define IETF_6TOP_CMD_CLEAR 0x07 #define IETF_6TOP_RC_SUCCESS 0x00 -#define IETF_6TOP_RC_ERROR 0x01 -#define IETF_6TOP_RC_EOL 0x02 +#define IETF_6TOP_RC_EOL 0x01 +#define IETF_6TOP_RC_ERR 0x02 #define IETF_6TOP_RC_RESET 0x03 -#define IETF_6TOP_RC_VER_ERR 0x04 -#define IETF_6TOP_RC_SFID_ERR 0x05 -#define IETF_6TOP_RC_GEN_ERR 0x06 -#define IETF_6TOP_RC_BUSY 0x07 -#define IETF_6TOP_RC_NORES 0x08 -#define IETF_6TOP_RC_CELLLIST_ERR 0x09 +#define IETF_6TOP_RC_ERR_VERSION 0x04 +#define IETF_6TOP_RC_ERR_SFID 0x05 +#define IETF_6TOP_RC_ERR_SEQNUM 0x06 +#define IETF_6TOP_RC_ERR_CELLLIST 0x07 +#define IETF_6TOP_RC_ERR_BUSY 0x08 +#define IETF_6TOP_RC_ERR_LOCKED 0x09 /* SIXTOP Message Types */ #define IETF_6TOP_TYPE_REQUEST 0x00 -- cgit v1.2.3