diff options
Diffstat (limited to 'src/transport/wlan/radiotap-parser.h')
-rw-r--r-- | src/transport/wlan/radiotap-parser.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/transport/wlan/radiotap-parser.h b/src/transport/wlan/radiotap-parser.h index b36037369..fb6d8e2af 100644 --- a/src/transport/wlan/radiotap-parser.h +++ b/src/transport/wlan/radiotap-parser.h | |||
@@ -57,22 +57,23 @@ typedef uint8_t u8; | |||
57 | * @bitmap_shifter: internal shifter for curr u32 bitmap, b0 set == arg present | 57 | * @bitmap_shifter: internal shifter for curr u32 bitmap, b0 set == arg present |
58 | */ | 58 | */ |
59 | 59 | ||
60 | struct ieee80211_radiotap_iterator { | 60 | struct ieee80211_radiotap_iterator |
61 | struct ieee80211_radiotap_header *rtheader; | 61 | { |
62 | int max_length; | 62 | struct ieee80211_radiotap_header *rtheader; |
63 | int this_arg_index; | 63 | int max_length; |
64 | u8 * this_arg; | 64 | int this_arg_index; |
65 | u8 *this_arg; | ||
65 | 66 | ||
66 | int arg_index; | 67 | int arg_index; |
67 | u8 * arg; | 68 | u8 *arg; |
68 | u32 *next_bitmap; | 69 | u32 *next_bitmap; |
69 | u32 bitmap_shifter; | 70 | u32 bitmap_shifter; |
70 | }; | 71 | }; |
71 | 72 | ||
72 | int ieee80211_radiotap_iterator_init( | 73 | int ieee80211_radiotap_iterator_init (struct ieee80211_radiotap_iterator |
73 | struct ieee80211_radiotap_iterator * iterator, | 74 | *iterator, |
74 | struct ieee80211_radiotap_header * radiotap_header, | 75 | struct ieee80211_radiotap_header |
75 | int max_length); | 76 | *radiotap_header, int max_length); |
76 | 77 | ||
77 | int ieee80211_radiotap_iterator_next( | 78 | int ieee80211_radiotap_iterator_next (struct ieee80211_radiotap_iterator |
78 | struct ieee80211_radiotap_iterator * iterator); | 79 | *iterator); |