Home
last modified time | relevance | path

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

/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c254 static int mt7615_reverse_frag0_hdr_trans(struct sk_buff *skb, u16 hdr_gap) in mt7615_reverse_frag0_hdr_trans() argument
257 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_gap); in mt7615_reverse_frag0_hdr_trans()
305 skb_pull(skb, hdr_gap + sizeof(struct ethhdr) - 2); in mt7615_reverse_frag0_hdr_trans()
350 u16 hdr_gap; in mt7615_mac_fill_rx() local
599 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7615_mac_fill_rx()
601 if (mt7615_reverse_frag0_hdr_trans(skb, hdr_gap)) in mt7615_mac_fill_rx()
607 skb_pull(skb, hdr_gap); in mt7615_mac_fill_rx()
/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c228 u16 hdr_gap; in mt7921_mac_fill_rx() local
443 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7921_mac_fill_rx()
453 err = mt76_connac2_reverse_frag0_hdr_trans(vif, skb, hdr_gap); in mt7921_mac_fill_rx()
459 skb_pull(skb, hdr_gap); in mt7921_mac_fill_rx()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c238 u16 hdr_gap; in mt7915_mac_fill_rx() local
425 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7915_mac_fill_rx()
435 err = mt76_connac2_reverse_frag0_hdr_trans(vif, skb, hdr_gap); in mt7915_mac_fill_rx()
443 skb_pull(skb, hdr_gap); in mt7915_mac_fill_rx()