Lines Matching refs:cb_hdr
29 struct wilc_wfi_radiotap_cb_hdr *cb_hdr; in wilc_wfi_monitor_rx() local
48 skb = dev_alloc_skb(size + sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
54 cb_hdr = skb_push(skb, sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
55 memset(cb_hdr, 0, sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
57 cb_hdr->hdr.it_version = 0; /* PKTHDR_RADIOTAP_VERSION; */ in wilc_wfi_monitor_rx()
59 cb_hdr->hdr.it_len = cpu_to_le16(sizeof(*cb_hdr)); in wilc_wfi_monitor_rx()
61 cb_hdr->hdr.it_present = cpu_to_le32(TX_RADIOTAP_PRESENT); in wilc_wfi_monitor_rx()
63 cb_hdr->rate = 5; in wilc_wfi_monitor_rx()
67 cb_hdr->tx_flags = IEEE80211_RADIOTAP_F_TX_RTS; in wilc_wfi_monitor_rx()
69 cb_hdr->tx_flags = IEEE80211_RADIOTAP_F_TX_FAIL; in wilc_wfi_monitor_rx()
148 struct wilc_wfi_radiotap_cb_hdr *cb_hdr; in wilc_wfi_mon_xmit() local
163 skb2 = dev_alloc_skb(skb->len + sizeof(*cb_hdr)); in wilc_wfi_mon_xmit()
169 cb_hdr = skb_push(skb2, sizeof(*cb_hdr)); in wilc_wfi_mon_xmit()
170 memset(cb_hdr, 0, sizeof(struct wilc_wfi_radiotap_cb_hdr)); in wilc_wfi_mon_xmit()
172 cb_hdr->hdr.it_version = 0; /* PKTHDR_RADIOTAP_VERSION; */ in wilc_wfi_mon_xmit()
174 cb_hdr->hdr.it_len = cpu_to_le16(sizeof(*cb_hdr)); in wilc_wfi_mon_xmit()
176 cb_hdr->hdr.it_present = cpu_to_le32(TX_RADIOTAP_PRESENT); in wilc_wfi_mon_xmit()
178 cb_hdr->rate = 5; in wilc_wfi_mon_xmit()
179 cb_hdr->tx_flags = 0x0004; in wilc_wfi_mon_xmit()