79
79
#define CTRL_CF_END 0xE
80
80
#define CTRL_END_ACK 0xF
83
#define DATA_DATA_CF_ACK 0x1
84
#define DATA_DATA_CF_POLL 0x2
85
#define DATA_DATA_CF_ACK_POLL 0x3
86
#define DATA_NODATA 0x4
87
#define DATA_NODATA_CF_ACK 0x5
88
#define DATA_NODATA_CF_POLL 0x6
89
#define DATA_NODATA_CF_ACK_POLL 0x7
83
#define DATA_DATA_CF_ACK 0x1
84
#define DATA_DATA_CF_POLL 0x2
85
#define DATA_DATA_CF_ACK_POLL 0x3
86
#define DATA_NODATA 0x4
87
#define DATA_NODATA_CF_ACK 0x5
88
#define DATA_NODATA_CF_POLL 0x6
89
#define DATA_NODATA_CF_ACK_POLL 0x7
91
#define DATA_QOS_DATA 0x8
92
#define DATA_QOS_DATA_CF_ACK 0x9
93
#define DATA_QOS_DATA_CF_POLL 0xA
94
#define DATA_QOS_DATA_CF_ACK_POLL 0xB
95
#define DATA_QOS_NODATA 0xC
96
#define DATA_QOS_CF_POLL_NODATA 0xE
97
#define DATA_QOS_CF_ACK_POLL_NODATA 0xF
100
* The subtype field of a data frame is, in effect, composed of 4 flag
101
* bits - CF-Ack, CF-Poll, Null (means the frame doesn't actually have
102
* any data), and QoS.
104
#define DATA_FRAME_IS_CF_ACK(x) ((x) & 0x01)
105
#define DATA_FRAME_IS_CF_POLL(x) ((x) & 0x02)
106
#define DATA_FRAME_IS_NULL(x) ((x) & 0x04)
107
#define DATA_FRAME_IS_QOS(x) ((x) & 0x08)
92
110
* Bits in the frame control field.