Searched refs:hdr_trans (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mac.c | 172 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/ |
D | mac.c | 357 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()
|
D | mcu.c | 902 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/ |
D | mac.c | 347 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/ |
D | mcu.c | 1789 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 …]
|
D | mac.c | 445 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()
|
D | mt7996.h | 504 int mt7996_mcu_set_hdr_trans(struct mt7996_dev *dev, bool hdr_trans);
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 299 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()
|
D | mt7915.h | 478 bool hdr_trans);
|
D | mcu.c | 2441 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/ |
D | mt76_connac_mcu.h | 1960 bool hdr_trans);
|
D | mt76_connac_mcu.c | 174 bool hdr_trans) in mt76_connac_mcu_set_mac_enable() argument
|