Searched refs:iterator (Results 1 – 3 of 3) sorted by relevance
/net/wireless/ |
D | radiotap.c | 98 struct ieee80211_radiotap_iterator *iterator, in ieee80211_radiotap_iterator_init() argument 114 iterator->_rtheader = radiotap_header; in ieee80211_radiotap_iterator_init() 115 iterator->_max_length = get_unaligned_le16(&radiotap_header->it_len); in ieee80211_radiotap_iterator_init() 116 iterator->_arg_index = 0; in ieee80211_radiotap_iterator_init() 117 iterator->_bitmap_shifter = get_unaligned_le32(&radiotap_header->it_present); in ieee80211_radiotap_iterator_init() 118 iterator->_arg = (uint8_t *)radiotap_header + sizeof(*radiotap_header); in ieee80211_radiotap_iterator_init() 119 iterator->_reset_on_ext = 0; in ieee80211_radiotap_iterator_init() 120 iterator->_next_bitmap = &radiotap_header->it_present; in ieee80211_radiotap_iterator_init() 121 iterator->_next_bitmap++; in ieee80211_radiotap_iterator_init() 122 iterator->_vns = vns; in ieee80211_radiotap_iterator_init() [all …]
|
/net/mac80211/ |
D | tx.c | 2058 struct ieee80211_radiotap_iterator iterator; in ieee80211_parse_tx_radiotap() local 2062 int ret = ieee80211_radiotap_iterator_init(&iterator, rthdr, skb->len, in ieee80211_parse_tx_radiotap() 2087 ret = ieee80211_radiotap_iterator_next(&iterator); in ieee80211_parse_tx_radiotap() 2093 switch (iterator.this_arg_index) { in ieee80211_parse_tx_radiotap() 2101 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_FCS) { in ieee80211_parse_tx_radiotap() 2109 if (skb->len < (iterator._max_length + FCS_LEN)) in ieee80211_parse_tx_radiotap() 2114 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_WEP) in ieee80211_parse_tx_radiotap() 2116 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_FRAG) in ieee80211_parse_tx_radiotap() 2121 txflags = get_unaligned_le16(iterator.this_arg); in ieee80211_parse_tx_radiotap() 2129 rate = *iterator.this_arg; in ieee80211_parse_tx_radiotap() [all …]
|
D | util.c | 767 void (*iterator)(void *data, u8 *mac, in __iterate_interfaces() 792 iterator(data, sdata->vif.addr, in __iterate_interfaces() 802 iterator(data, sdata->vif.addr, &sdata->vif); in __iterate_interfaces() 807 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_interfaces() 814 __iterate_interfaces(local, iter_flags, iterator, data); in ieee80211_iterate_interfaces() 821 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces_atomic() 829 iterator, data); in ieee80211_iterate_active_interfaces_atomic() 836 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces_rtnl() 845 iterator, data); in ieee80211_iterate_active_interfaces_rtnl() 850 void (*iterator)(void *data, in __iterate_stations() [all …]
|