Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
Dmon.c145 u32 rtap_len, ret = 0; in wilc_wfi_mon_xmit() local
156 rtap_len = ieee80211_get_radiotap_len(skb->data); in wilc_wfi_mon_xmit()
157 if (skb->len < rtap_len) in wilc_wfi_mon_xmit()
160 skb_pull(skb, rtap_len); in wilc_wfi_mon_xmit()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Ddp_mon.c973 u32 rtap_len = 0; in ath12k_dp_mon_rx_update_radiotap_he() local
975 put_unaligned_le16(rx_status->he_data1, &rtap_buf[rtap_len]); in ath12k_dp_mon_rx_update_radiotap_he()
976 rtap_len += 2; in ath12k_dp_mon_rx_update_radiotap_he()
978 put_unaligned_le16(rx_status->he_data2, &rtap_buf[rtap_len]); in ath12k_dp_mon_rx_update_radiotap_he()
979 rtap_len += 2; in ath12k_dp_mon_rx_update_radiotap_he()
981 put_unaligned_le16(rx_status->he_data3, &rtap_buf[rtap_len]); in ath12k_dp_mon_rx_update_radiotap_he()
982 rtap_len += 2; in ath12k_dp_mon_rx_update_radiotap_he()
984 put_unaligned_le16(rx_status->he_data4, &rtap_buf[rtap_len]); in ath12k_dp_mon_rx_update_radiotap_he()
985 rtap_len += 2; in ath12k_dp_mon_rx_update_radiotap_he()
987 put_unaligned_le16(rx_status->he_data5, &rtap_buf[rtap_len]); in ath12k_dp_mon_rx_update_radiotap_he()
[all …]
/linux-6.6.21/net/mac80211/
Dstatus.c294 int rtap_len, int shift, in ieee80211_add_tx_radiotap_header() argument
308 rthdr = skb_push(skb, rtap_len); in ieee80211_add_tx_radiotap_header()
310 memset(rthdr, 0, rtap_len); in ieee80211_add_tx_radiotap_header()
311 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_tx_radiotap_header()
872 int rtap_len; in ieee80211_tx_monitor() local
875 rtap_len = ieee80211_tx_radiotap_len(info, status); in ieee80211_tx_monitor()
876 if (WARN_ON_ONCE(skb_headroom(skb) < rtap_len)) { in ieee80211_tx_monitor()
882 rtap_len, shift, status); in ieee80211_tx_monitor()
Drx.c298 int rtap_len, bool has_fcs) in ieee80211_add_rx_radiotap_header() argument
339 rthdr = skb_push(skb, rtap_len - tlvs_len); in ieee80211_add_rx_radiotap_header()
340 memset(rthdr, 0, rtap_len - tlvs_len); in ieee80211_add_rx_radiotap_header()
344 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_rx_radiotap_header()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Ddp_rx.c4936 u32 rtap_len = 0; in ath11k_dp_rx_update_radiotap_he() local
4938 put_unaligned_le16(rx_status->he_data1, &rtap_buf[rtap_len]); in ath11k_dp_rx_update_radiotap_he()
4939 rtap_len += 2; in ath11k_dp_rx_update_radiotap_he()
4941 put_unaligned_le16(rx_status->he_data2, &rtap_buf[rtap_len]); in ath11k_dp_rx_update_radiotap_he()
4942 rtap_len += 2; in ath11k_dp_rx_update_radiotap_he()
4944 put_unaligned_le16(rx_status->he_data3, &rtap_buf[rtap_len]); in ath11k_dp_rx_update_radiotap_he()
4945 rtap_len += 2; in ath11k_dp_rx_update_radiotap_he()
4947 put_unaligned_le16(rx_status->he_data4, &rtap_buf[rtap_len]); in ath11k_dp_rx_update_radiotap_he()
4948 rtap_len += 2; in ath11k_dp_rx_update_radiotap_he()
4950 put_unaligned_le16(rx_status->he_data5, &rtap_buf[rtap_len]); in ath11k_dp_rx_update_radiotap_he()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/wil6210/
Dtxrx.c323 int rtap_len = sizeof(struct wil6210_rtap); in wil_rx_add_radiotap_header() local
326 if (skb_headroom(skb) < rtap_len && in wil_rx_add_radiotap_header()
327 pskb_expand_head(skb, rtap_len, 0, GFP_ATOMIC)) { in wil_rx_add_radiotap_header()
328 wil_err(wil, "Unable to expand headroom to %d\n", rtap_len); in wil_rx_add_radiotap_header()
332 rtap = skb_push(skb, rtap_len); in wil_rx_add_radiotap_header()
333 memset(rtap, 0, rtap_len); in wil_rx_add_radiotap_header()
336 rtap->rthdr.it_len = cpu_to_le16(rtap_len); in wil_rx_add_radiotap_header()
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2006 int rtap_len; in rtw_cfg80211_monitor_if_xmit_entry() local
2028 rtap_len = ieee80211_get_radiotap_len(skb->data); in rtw_cfg80211_monitor_if_xmit_entry()
2029 if (unlikely(skb->len < rtap_len)) in rtw_cfg80211_monitor_if_xmit_entry()
2032 if (rtap_len != 14) in rtw_cfg80211_monitor_if_xmit_entry()
2036 skb_pull(skb, rtap_len); in rtw_cfg80211_monitor_if_xmit_entry()