Home
last modified time | relevance | path

Searched refs:hdr_gap (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c168 static int mt7925_reverse_frag0_hdr_trans(struct sk_buff *skb, u16 hdr_gap) in mt7925_reverse_frag0_hdr_trans() argument
171 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_gap); in mt7925_reverse_frag0_hdr_trans()
219 skb_pull(skb, hdr_gap + sizeof(struct ethhdr) - 2); in mt7925_reverse_frag0_hdr_trans()
359 u16 hdr_gap; in mt7925_mac_fill_rx() local
549 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7925_mac_fill_rx()
551 if (mt7925_reverse_frag0_hdr_trans(skb, hdr_gap)) in mt7925_mac_fill_rx()
557 skb_pull(skb, hdr_gap); in mt7925_mac_fill_rx()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmac.c174 u16 hdr_gap; in mt7921_mac_fill_rx() local
392 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7921_mac_fill_rx()
402 err = mt76_connac2_reverse_frag0_hdr_trans(vif, skb, hdr_gap); in mt7921_mac_fill_rx()
408 skb_pull(skb, hdr_gap); in mt7921_mac_fill_rx()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c252 static int mt7615_reverse_frag0_hdr_trans(struct sk_buff *skb, u16 hdr_gap) in mt7615_reverse_frag0_hdr_trans() argument
255 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_gap); in mt7615_reverse_frag0_hdr_trans()
303 skb_pull(skb, hdr_gap + sizeof(struct ethhdr) - 2); in mt7615_reverse_frag0_hdr_trans()
348 u16 hdr_gap; in mt7615_mac_fill_rx() local
598 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7615_mac_fill_rx()
600 if (mt7615_reverse_frag0_hdr_trans(skb, hdr_gap)) in mt7615_mac_fill_rx()
606 skb_pull(skb, hdr_gap); in mt7615_mac_fill_rx()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c207 static int mt7996_reverse_frag0_hdr_trans(struct sk_buff *skb, u16 hdr_gap) in mt7996_reverse_frag0_hdr_trans() argument
210 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_gap); in mt7996_reverse_frag0_hdr_trans()
258 skb_pull(skb, hdr_gap + sizeof(struct ethhdr) - 2); in mt7996_reverse_frag0_hdr_trans()
446 u16 hdr_gap; in mt7996_mac_fill_rx() local
626 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7996_mac_fill_rx()
628 if (mt7996_reverse_frag0_hdr_trans(skb, hdr_gap)) in mt7996_mac_fill_rx()
634 skb_pull(skb, hdr_gap); in mt7996_mac_fill_rx()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c300 u16 hdr_gap; in mt7915_mac_fill_rx() local
488 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7915_mac_fill_rx()
498 err = mt76_connac2_reverse_frag0_hdr_trans(vif, skb, hdr_gap); in mt7915_mac_fill_rx()
506 skb_pull(skb, hdr_gap); in mt7915_mac_fill_rx()