Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c322 struct wil6210_rtap *rtap; in wil_rx_add_radiotap_header() local
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()
335 rtap->rthdr.it_version = PKTHDR_RADIOTAP_VERSION; in wil_rx_add_radiotap_header()
336 rtap->rthdr.it_len = cpu_to_le16(rtap_len); in wil_rx_add_radiotap_header()
337 rtap->rthdr.it_present = cpu_to_le32((1 << IEEE80211_RADIOTAP_FLAGS) | in wil_rx_add_radiotap_header()
341 rtap->flags |= IEEE80211_RADIOTAP_F_BADFCS; in wil_rx_add_radiotap_header()
343 rtap->chnl_freq = cpu_to_le16(ch ? ch->center_freq : 58320); in wil_rx_add_radiotap_header()
344 rtap->chnl_flags = cpu_to_le16(0); in wil_rx_add_radiotap_header()
346 rtap->mcs_present = IEEE80211_RADIOTAP_MCS_HAVE_MCS; in wil_rx_add_radiotap_header()
[all …]
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A DKconfig121 Enables the creation of a second interface prefixed 'rtap'.
135 the rtap interface will not be created and you will need to turn
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1647 struct ieee80211_radiotap_vendor_tlv *rtap; in mac80211_hwsim_add_vendor_rtap() local
1662 rtap = skb_push(skb, sizeof(*rtap) + sizeof(vendor_data)); in mac80211_hwsim_add_vendor_rtap()
1664 rtap->len = cpu_to_le16(sizeof(*rtap) - in mac80211_hwsim_add_vendor_rtap()
1667 rtap->type = cpu_to_le16(IEEE80211_RADIOTAP_VENDOR_NAMESPACE); in mac80211_hwsim_add_vendor_rtap()
1669 rtap->content.oui[0] = HWSIM_RADIOTAP_OUI[0]; in mac80211_hwsim_add_vendor_rtap()
1670 rtap->content.oui[1] = HWSIM_RADIOTAP_OUI[1]; in mac80211_hwsim_add_vendor_rtap()
1671 rtap->content.oui[2] = HWSIM_RADIOTAP_OUI[2]; in mac80211_hwsim_add_vendor_rtap()
1672 rtap->content.oui_subtype = 127; in mac80211_hwsim_add_vendor_rtap()
1674 rtap->content.reserved = 0; in mac80211_hwsim_add_vendor_rtap()
1675 rtap->content.vendor_type = 0; in mac80211_hwsim_add_vendor_rtap()
[all …]