diff --git a/src/dto/Packet.js b/src/dto/Packet.js index b40997f..d411f49 100644 --- a/src/dto/Packet.js +++ b/src/dto/Packet.js @@ -9,6 +9,7 @@ const PacketType = { Acknowledgment: 'Acknowledgment', BlockAcknowledgment: 'BlockAcknowledgment', NoData: 'NoData', + ContentionFreePeriod: 'ContentionFreePeriod', Unknown: 'Unknown' } diff --git a/src/streamHandler/PacketStreamFactory.js b/src/streamHandler/PacketStreamFactory.js index 4fc96a6..48e910f 100644 --- a/src/streamHandler/PacketStreamFactory.js +++ b/src/streamHandler/PacketStreamFactory.js @@ -12,7 +12,8 @@ const PACKET_TYPE_MAP = { "Request-To-Send": PacketType.RequestToSend, "Clear-To-Send": PacketType.ClearToSend, "Acknowledgment": PacketType.Acknowledgment, - "BA": PacketType.BlockAcknowledgment + "BA": PacketType.BlockAcknowledgment, + "CD": PacketType.ContentionFreePeriod }; const PACKET_TYPES_REGEX = Object.keys(PACKET_TYPE_MAP).join('|');