Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/wil6210/
Dtxrx.c278 int rtap_len = sizeof(struct wil6210_rtap); in wil_rx_add_radiotap_header() local
284 rtap_len = sizeof(*rtap_vendor) + sizeof(*d); in wil_rx_add_radiotap_header()
306 rtap_len += phy_length; in wil_rx_add_radiotap_header()
309 if (skb_headroom(skb) < rtap_len && in wil_rx_add_radiotap_header()
310 pskb_expand_head(skb, rtap_len, 0, GFP_ATOMIC)) { in wil_rx_add_radiotap_header()
311 wil_err(wil, "Unable to expand headrom to %d\n", rtap_len); in wil_rx_add_radiotap_header()
315 rtap_vendor = (void *)skb_push(skb, rtap_len); in wil_rx_add_radiotap_header()
316 memset(rtap_vendor, 0, rtap_len); in wil_rx_add_radiotap_header()
319 rtap_vendor->rtap.rthdr.it_len = cpu_to_le16(rtap_len); in wil_rx_add_radiotap_header()
/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c2455 int rtap_len; in rtw_cfg80211_monitor_if_xmit_entry() local
2475 rtap_len = ieee80211_get_radiotap_len(skb->data); in rtw_cfg80211_monitor_if_xmit_entry()
2476 if (unlikely(skb->len < rtap_len)) in rtw_cfg80211_monitor_if_xmit_entry()
2479 if (rtap_len != 14) { in rtw_cfg80211_monitor_if_xmit_entry()
2480 DBG_8723A("radiotap len (should be 14): %d\n", rtap_len); in rtw_cfg80211_monitor_if_xmit_entry()
2485 skb_pull(skb, rtap_len); in rtw_cfg80211_monitor_if_xmit_entry()