@@ -85,8 +85,9 @@ static const uint8_t radiotap_header_ht[] __attribute__((unused)) = {
85
85
86
86
static const uint8_t radiotap_header_vht[] __attribute__((unused)) = {
87
87
0x00 , 0x00 , // <-- radiotap version
88
- 0x14 , 0x00 , // <- radiotap header length
89
- 0x00 , 0x00 , 0x20 , 0x00 , // <-- radiotap present flags: VHT Information
88
+ 0x16 , 0x00 , // <- radiotap header length
89
+ 0x00 , 0x80 , 0x20 , 0x00 , // <-- radiotap present flags: RADIOTAP_TX_FLAGS + VHT Information
90
+ 0x08 , 0x00 , // RADIOTAP_F_TX_NOACK
90
91
0x45 , 0x00 , // Known VHT information: 0000 0000 0100 0101, BW, GI, STBC
91
92
0x00 , // Flags, BIT(0)=STBC, BIT(2)=GI
92
93
0x04 , // BW, 0:20M, 1:40M, 4:80, 11:160
@@ -128,10 +129,10 @@ static const uint8_t radiotap_header_vht[] __attribute__((unused)) = {
128
129
#define MCS_IDX_OFF 12
129
130
130
131
// offset of VHT information
131
- #define VHT_FLAGS_OFF 10
132
- #define VHT_BW_OFF 11
133
- #define VHT_MCSNSS0_OFF 12
134
- #define VHT_CODING_OFF 16
132
+ #define VHT_FLAGS_OFF 12
133
+ #define VHT_BW_OFF 13
134
+ #define VHT_MCSNSS0_OFF 14
135
+ #define VHT_CODING_OFF 18
135
136
136
137
// the last four bytes used for channel_id
137
138
#define SRC_MAC_THIRD_BYTE 12
0 commit comments