Home
last modified time | relevance | path

Searched refs:rtap_len (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/staging/wilc1000/
Dlinux_mon.c154 u32 rtap_len, ret = 0; in wilc_wfi_mon_xmit() local
165 rtap_len = ieee80211_get_radiotap_len(skb->data); in wilc_wfi_mon_xmit()
166 if (skb->len < rtap_len) in wilc_wfi_mon_xmit()
169 skb_pull(skb, rtap_len); in wilc_wfi_mon_xmit()
/Linux-v4.19/net/mac80211/
Dstatus.c292 int rtap_len, int shift) in ieee80211_add_tx_radiotap_header() argument
300 rthdr = skb_push(skb, rtap_len); in ieee80211_add_tx_radiotap_header()
302 memset(rthdr, 0, rtap_len); in ieee80211_add_tx_radiotap_header()
303 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_tx_radiotap_header()
652 int rtap_len; in ieee80211_tx_monitor() local
655 rtap_len = ieee80211_tx_radiotap_len(info); in ieee80211_tx_monitor()
656 if (WARN_ON_ONCE(skb_headroom(skb) < rtap_len)) { in ieee80211_tx_monitor()
662 rtap_len, shift); in ieee80211_tx_monitor()
Drx.c268 int rtap_len, bool has_fcs) in ieee80211_add_rx_radiotap_header() argument
304 rthdr = skb_push(skb, rtap_len); in ieee80211_add_rx_radiotap_header()
305 memset(rthdr, 0, rtap_len - rtap.len - rtap.pad); in ieee80211_add_rx_radiotap_header()
309 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_rx_radiotap_header()
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dtxrx.c344 int rtap_len = sizeof(struct wil6210_rtap); in wil_rx_add_radiotap_header() local
350 rtap_len = sizeof(*rtap_vendor) + sizeof(*d); in wil_rx_add_radiotap_header()
372 rtap_len += phy_length; in wil_rx_add_radiotap_header()
375 if (skb_headroom(skb) < rtap_len && in wil_rx_add_radiotap_header()
376 pskb_expand_head(skb, rtap_len, 0, GFP_ATOMIC)) { in wil_rx_add_radiotap_header()
377 wil_err(wil, "Unable to expand headroom to %d\n", rtap_len); in wil_rx_add_radiotap_header()
381 rtap_vendor = skb_push(skb, rtap_len); in wil_rx_add_radiotap_header()
382 memset(rtap_vendor, 0, rtap_len); in wil_rx_add_radiotap_header()
385 rtap_vendor->rtap.rthdr.it_len = cpu_to_le16(rtap_len); in wil_rx_add_radiotap_header()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2463 int rtap_len; in rtw_cfg80211_monitor_if_xmit_entry() local
2489 rtap_len = ieee80211_get_radiotap_len(skb->data); in rtw_cfg80211_monitor_if_xmit_entry()
2490 if (unlikely(skb->len < rtap_len)) in rtw_cfg80211_monitor_if_xmit_entry()
2493 if (rtap_len != 14) in rtw_cfg80211_monitor_if_xmit_entry()
2495 DBG_8192C("radiotap len (should be 14): %d\n", rtap_len); in rtw_cfg80211_monitor_if_xmit_entry()
2500 skb_pull(skb, rtap_len); in rtw_cfg80211_monitor_if_xmit_entry()