Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/rtc/
Drtc-coh901331.c56 struct coh901331_port *rtap = data; in coh901331_interrupt() local
58 clk_enable(rtap->clk); in coh901331_interrupt()
60 writel(1, rtap->virtbase + COH901331_IRQ_EVENT); in coh901331_interrupt()
68 writel(0, rtap->virtbase + COH901331_IRQ_MASK); in coh901331_interrupt()
69 clk_disable(rtap->clk); in coh901331_interrupt()
72 rtc_update_irq(rtap->rtc, 1, RTC_AF); in coh901331_interrupt()
79 struct coh901331_port *rtap = dev_get_drvdata(dev); in coh901331_read_time() local
81 clk_enable(rtap->clk); in coh901331_read_time()
83 if (!readl(rtap->virtbase + COH901331_VALID)) { in coh901331_read_time()
84 clk_disable(rtap->clk); in coh901331_read_time()
[all …]
/Linux-v5.4/net/mac80211/
Drx.c208 struct ieee80211_vendor_radiotap *rtap; in ieee80211_rx_radiotap_hdrlen() local
225 rtap = (void *)&skb->data[vendor_data_offset]; in ieee80211_rx_radiotap_hdrlen()
231 if (WARN_ON(rtap->align == 0)) in ieee80211_rx_radiotap_hdrlen()
232 rtap->align = 1; in ieee80211_rx_radiotap_hdrlen()
233 len = ALIGN(len, rtap->align); in ieee80211_rx_radiotap_hdrlen()
234 len += rtap->len + rtap->pad; in ieee80211_rx_radiotap_hdrlen()
304 struct ieee80211_vendor_radiotap rtap = {}; in ieee80211_add_rx_radiotap_header() local
326 rtap = *(struct ieee80211_vendor_radiotap *)skb->data; in ieee80211_add_rx_radiotap_header()
328 skb_pull(skb, sizeof(rtap) + rtap.len + rtap.pad); in ieee80211_add_rx_radiotap_header()
336 memset(rthdr, 0, rtap_len - rtap.len - rtap.pad); in ieee80211_add_rx_radiotap_header()
[all …]
Diface.c1183 struct ieee80211_radiotap_header *rtap = (void *)skb->data; in ieee80211_monitor_select_queue() local
1189 skb->len < le16_to_cpu(rtap->it_len) + 2 /* frame control */) in ieee80211_monitor_select_queue()
1192 hdr = (void *)((u8 *)skb->data + le16_to_cpu(rtap->it_len)); in ieee80211_monitor_select_queue()
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dtxrx.c334 struct wil6210_rtap *rtap; in wil_rx_add_radiotap_header() local
344 rtap = skb_push(skb, rtap_len); in wil_rx_add_radiotap_header()
345 memset(rtap, 0, rtap_len); in wil_rx_add_radiotap_header()
347 rtap->rthdr.it_version = PKTHDR_RADIOTAP_VERSION; in wil_rx_add_radiotap_header()
348 rtap->rthdr.it_len = cpu_to_le16(rtap_len); in wil_rx_add_radiotap_header()
349 rtap->rthdr.it_present = cpu_to_le32((1 << IEEE80211_RADIOTAP_FLAGS) | in wil_rx_add_radiotap_header()
353 rtap->flags |= IEEE80211_RADIOTAP_F_BADFCS; in wil_rx_add_radiotap_header()
355 rtap->chnl_freq = cpu_to_le16(ch ? ch->center_freq : 58320); in wil_rx_add_radiotap_header()
356 rtap->chnl_flags = cpu_to_le16(0); in wil_rx_add_radiotap_header()
358 rtap->mcs_present = IEEE80211_RADIOTAP_MCS_HAVE_MCS; in wil_rx_add_radiotap_header()
[all …]
/Linux-v5.4/drivers/net/wireless/
Dmac80211_hwsim.c1182 struct ieee80211_vendor_radiotap *rtap; in mac80211_hwsim_add_vendor_rtap() local
1188 rtap = skb_push(skb, sizeof(*rtap) + 8 + 4); in mac80211_hwsim_add_vendor_rtap()
1189 rtap->oui[0] = HWSIM_RADIOTAP_OUI[0]; in mac80211_hwsim_add_vendor_rtap()
1190 rtap->oui[1] = HWSIM_RADIOTAP_OUI[1]; in mac80211_hwsim_add_vendor_rtap()
1191 rtap->oui[2] = HWSIM_RADIOTAP_OUI[2]; in mac80211_hwsim_add_vendor_rtap()
1192 rtap->subns = 127; in mac80211_hwsim_add_vendor_rtap()
1200 rtap->present = BIT(0); in mac80211_hwsim_add_vendor_rtap()
1202 rtap->len = 8; in mac80211_hwsim_add_vendor_rtap()
1204 rtap->align = 8; in mac80211_hwsim_add_vendor_rtap()
1206 rtap->pad = 4; in mac80211_hwsim_add_vendor_rtap()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/ipw2x00/
DKconfig121 Enables the creation of a second interface prefixed 'rtap'.
135 the rtap interface will not be created and you will need to turn