Searched refs:rtap (Results 1 – 1 of 1) sorted by relevance
322 struct wil6210_rtap *rtap; in wil_rx_add_radiotap_header() local332 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 …]