|
|
@ -12,7 +12,8 @@ const PACKET_TYPE_MAP = {
|
|
|
|
"Request-To-Send": PacketType.RequestToSend,
|
|
|
|
"Request-To-Send": PacketType.RequestToSend,
|
|
|
|
"Clear-To-Send": PacketType.ClearToSend,
|
|
|
|
"Clear-To-Send": PacketType.ClearToSend,
|
|
|
|
"Acknowledgment": PacketType.Acknowledgment,
|
|
|
|
"Acknowledgment": PacketType.Acknowledgment,
|
|
|
|
"BA": PacketType.BlockAcknowledgment
|
|
|
|
"BA": PacketType.BlockAcknowledgment,
|
|
|
|
|
|
|
|
"CD": PacketType.ContentionFreePeriod
|
|
|
|
};
|
|
|
|
};
|
|
|
|
const PACKET_TYPES_REGEX = Object.keys(PACKET_TYPE_MAP).join('|');
|
|
|
|
const PACKET_TYPES_REGEX = Object.keys(PACKET_TYPE_MAP).join('|');
|
|
|
|
|
|
|
|
|
|
|
|