Home
last modified time | relevance | path

Searched refs:hdr_trans (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c172 bool hdr_trans, unicast, insert_ccmp_hdr = false; in mt7921_mac_fill_rx() local
203 hdr_trans = rxd2 & MT_RXD2_NORMAL_HDR_TRANS; in mt7921_mac_fill_rx()
204 if (hdr_trans && (rxd1 & MT_RXD1_NORMAL_CM)) in mt7921_mac_fill_rx()
393 if (hdr_trans && ieee80211_has_morefrags(fc)) { in mt7921_mac_fill_rx()
406 hdr_trans = false; in mt7921_mac_fill_rx()
409 if (!hdr_trans && status->amsdu) { in mt7921_mac_fill_rx()
416 if (!hdr_trans) { in mt7921_mac_fill_rx()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dmac.c357 bool hdr_trans, unicast, insert_ccmp_hdr = false; in mt7925_mac_fill_rx() local
383 hdr_trans = rxd2 & MT_RXD2_NORMAL_HDR_TRANS; in mt7925_mac_fill_rx()
384 if (hdr_trans && (rxd1 & MT_RXD1_NORMAL_CM)) in mt7925_mac_fill_rx()
550 if (hdr_trans && ieee80211_has_morefrags(fc)) { in mt7925_mac_fill_rx()
553 hdr_trans = false; in mt7925_mac_fill_rx()
558 if (!hdr_trans && status->amsdu) { in mt7925_mac_fill_rx()
560 } else if (hdr_trans && (rxd2 & MT_RXD2_NORMAL_HDR_TRANS_ERROR)) { in mt7925_mac_fill_rx()
579 if (!hdr_trans) { in mt7925_mac_fill_rx()
Dmcu.c902 struct sta_rec_hdr_trans *hdr_trans; in mt7925_mcu_sta_hdr_trans_tlv() local
906 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_HDR_TRANS, sizeof(*hdr_trans)); in mt7925_mcu_sta_hdr_trans_tlv()
907 hdr_trans = (struct sta_rec_hdr_trans *)tlv; in mt7925_mcu_sta_hdr_trans_tlv()
908 hdr_trans->dis_rx_hdr_tran = true; in mt7925_mcu_sta_hdr_trans_tlv()
911 hdr_trans->to_ds = true; in mt7925_mcu_sta_hdr_trans_tlv()
913 hdr_trans->from_ds = true; in mt7925_mcu_sta_hdr_trans_tlv()
928 hdr_trans->dis_rx_hdr_tran = !test_bit(MT_WCID_FLAG_HDR_TRANS, &wcid->flags); in mt7925_mcu_sta_hdr_trans_tlv()
930 hdr_trans->to_ds = true; in mt7925_mcu_sta_hdr_trans_tlv()
931 hdr_trans->from_ds = true; in mt7925_mcu_sta_hdr_trans_tlv()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c347 bool unicast, hdr_trans, remove_pad, insert_ccmp_hdr = false; in mt7615_mac_fill_rx() local
374 hdr_trans = rxd1 & MT_RXD1_NORMAL_HDR_TRANS; in mt7615_mac_fill_rx()
375 if (hdr_trans && (rxd2 & MT_RXD2_NORMAL_CM)) in mt7615_mac_fill_rx()
599 if (hdr_trans && ieee80211_has_morefrags(fc)) { in mt7615_mac_fill_rx()
602 hdr_trans = false; in mt7615_mac_fill_rx()
607 if (!hdr_trans && status->amsdu) { in mt7615_mac_fill_rx()
609 } else if (hdr_trans && (rxd2 & MT_RXD2_NORMAL_HDR_TRANS_ERROR)) { in mt7615_mac_fill_rx()
631 if (insert_ccmp_hdr && !hdr_trans) { in mt7615_mac_fill_rx()
637 if (!hdr_trans) { in mt7615_mac_fill_rx()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/
Dmcu.c1789 struct sta_rec_hdr_trans *hdr_trans; in mt7996_mcu_sta_hdr_trans_tlv() local
1793 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_HDR_TRANS, sizeof(*hdr_trans)); in mt7996_mcu_sta_hdr_trans_tlv()
1794 hdr_trans = (struct sta_rec_hdr_trans *)tlv; in mt7996_mcu_sta_hdr_trans_tlv()
1795 hdr_trans->dis_rx_hdr_tran = true; in mt7996_mcu_sta_hdr_trans_tlv()
1798 hdr_trans->to_ds = true; in mt7996_mcu_sta_hdr_trans_tlv()
1800 hdr_trans->from_ds = true; in mt7996_mcu_sta_hdr_trans_tlv()
1806 hdr_trans->dis_rx_hdr_tran = !test_bit(MT_WCID_FLAG_HDR_TRANS, &wcid->flags); in mt7996_mcu_sta_hdr_trans_tlv()
1808 hdr_trans->to_ds = true; in mt7996_mcu_sta_hdr_trans_tlv()
1809 hdr_trans->from_ds = true; in mt7996_mcu_sta_hdr_trans_tlv()
1813 hdr_trans->to_ds = true; in mt7996_mcu_sta_hdr_trans_tlv()
[all …]
Dmac.c445 bool hdr_trans; in mt7996_mac_fill_rx() local
467 hdr_trans = rxd2 & MT_RXD2_NORMAL_HDR_TRANS; in mt7996_mac_fill_rx()
468 if (hdr_trans && (rxd1 & MT_RXD1_NORMAL_CM)) in mt7996_mac_fill_rx()
627 if (hdr_trans && ieee80211_has_morefrags(fc)) { in mt7996_mac_fill_rx()
630 hdr_trans = false; in mt7996_mac_fill_rx()
635 if (!hdr_trans && status->amsdu && !(ieee80211_has_a4(fc) && is_mesh)) { in mt7996_mac_fill_rx()
637 } else if (hdr_trans && (rxd2 & MT_RXD2_NORMAL_HDR_TRANS_ERROR)) { in mt7996_mac_fill_rx()
658 if (!hdr_trans) { in mt7996_mac_fill_rx()
Dmt7996.h504 int mt7996_mcu_set_hdr_trans(struct mt7996_dev *dev, bool hdr_trans);
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c299 bool hdr_trans; in mt7915_mac_fill_rx() local
322 hdr_trans = rxd2 & MT_RXD2_NORMAL_HDR_TRANS; in mt7915_mac_fill_rx()
323 if (hdr_trans && (rxd1 & MT_RXD1_NORMAL_CM)) in mt7915_mac_fill_rx()
489 if (hdr_trans && ieee80211_has_morefrags(fc)) { in mt7915_mac_fill_rx()
502 hdr_trans = false; in mt7915_mac_fill_rx()
507 if (!hdr_trans && status->amsdu) { in mt7915_mac_fill_rx()
509 } else if (hdr_trans && (rxd2 & MT_RXD2_NORMAL_HDR_TRANS_ERROR)) { in mt7915_mac_fill_rx()
531 if (!hdr_trans) { in mt7915_mac_fill_rx()
Dmt7915.h478 bool hdr_trans);
Dmcu.c2441 bool enable, bool hdr_trans) in mt7915_mcu_set_mac() argument
2453 .enable = hdr_trans, in mt7915_mcu_set_mac()
2470 if (hdr_trans) in mt7915_mcu_set_mac()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.h1960 bool hdr_trans);
Dmt76_connac_mcu.c174 bool hdr_trans) in mt76_connac_mcu_set_mac_enable() argument