Home
last modified time | relevance | path

Searched refs:rtap (Results 1 – 2 of 2) sorted by relevance

/net/mac80211/
Drx.c208 struct ieee80211_vendor_radiotap *rtap; in ieee80211_rx_radiotap_hdrlen() local
225 rtap = (void *)&skb->data[vendor_data_offset]; in ieee80211_rx_radiotap_hdrlen()
231 if (WARN_ON(rtap->align == 0)) in ieee80211_rx_radiotap_hdrlen()
232 rtap->align = 1; in ieee80211_rx_radiotap_hdrlen()
233 len = ALIGN(len, rtap->align); in ieee80211_rx_radiotap_hdrlen()
234 len += rtap->len + rtap->pad; in ieee80211_rx_radiotap_hdrlen()
304 struct ieee80211_vendor_radiotap rtap = {}; in ieee80211_add_rx_radiotap_header() local
326 rtap = *(struct ieee80211_vendor_radiotap *)skb->data; in ieee80211_add_rx_radiotap_header()
328 skb_pull(skb, sizeof(rtap) + rtap.len + rtap.pad); in ieee80211_add_rx_radiotap_header()
336 memset(rthdr, 0, rtap_len - rtap.len - rtap.pad); in ieee80211_add_rx_radiotap_header()
[all …]
Diface.c1179 struct ieee80211_radiotap_header *rtap = (void *)skb->data; in ieee80211_monitor_select_queue() local
1185 skb->len < le16_to_cpu(rtap->it_len) + 2 /* frame control */) in ieee80211_monitor_select_queue()
1188 hdr = (void *)((u8 *)skb->data + le16_to_cpu(rtap->it_len)); in ieee80211_monitor_select_queue()