Searched refs:FrameType (Results 1 – 4 of 4) sorted by relevance
65 FrameType frameTypeFromByte(uint8_t byte) { in frameTypeFromByte()66 if (byte == static_cast<uint8_t>(FrameType::Ack)) { in frameTypeFromByte()67 return FrameType::Ack; in frameTypeFromByte()68 } else if (byte == static_cast<uint8_t>(FrameType::Data)) { in frameTypeFromByte()69 return FrameType::Data; in frameTypeFromByte()71 return FrameType::Unknown; in frameTypeFromByte()
42 WifiForwardHeader(FrameType type, const MacAddress& transmitter, in WifiForwardHeader()212 FrameType type = frameTypeFromByte(fwd->type); in receive()213 if (frameLength == 0 && type != FrameType::Ack) { in receive()218 if (type == FrameType::Ack) { in receive()231 } else if (type == FrameType::Data) { in receive()256 WifiForwardHeader header(FrameType::Data, in sendFrame()317 WifiForwardHeader header(FrameType::Ack, in ackFrame()
33 enum class FrameType : uint8_t { enum46 FrameType frameTypeFromByte(uint8_t byte);
63 enum class FrameType { enum