Lines Matching refs:amsdu
543 struct bss_info_hw_amsdu *amsdu; in mt7915_mcu_bss_hw_amsdu_tlv() local
546 tlv = mt76_connac_mcu_add_tlv(skb, BSS_INFO_HW_AMSDU, sizeof(*amsdu)); in mt7915_mcu_bss_hw_amsdu_tlv()
548 amsdu = (struct bss_info_hw_amsdu *)tlv; in mt7915_mcu_bss_hw_amsdu_tlv()
549 amsdu->cmp_bitmap_0 = cpu_to_le32(TXD_CMP_MAP1); in mt7915_mcu_bss_hw_amsdu_tlv()
550 amsdu->cmp_bitmap_1 = cpu_to_le32(TXD_CMP_MAP2); in mt7915_mcu_bss_hw_amsdu_tlv()
551 amsdu->trig_thres = cpu_to_le16(2); in mt7915_mcu_bss_hw_amsdu_tlv()
552 amsdu->enable = true; in mt7915_mcu_bss_hw_amsdu_tlv()
665 if (enable && !params->amsdu) in mt7915_mcu_add_tx_ba()
666 msta->wcid.amsdu = false; in mt7915_mcu_add_tx_ba()
921 struct sta_rec_amsdu *amsdu; in mt7915_mcu_sta_amsdu_tlv() local
931 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_HW_AMSDU, sizeof(*amsdu)); in mt7915_mcu_sta_amsdu_tlv()
932 amsdu = (struct sta_rec_amsdu *)tlv; in mt7915_mcu_sta_amsdu_tlv()
933 amsdu->max_amsdu_num = 8; in mt7915_mcu_sta_amsdu_tlv()
934 amsdu->amsdu_en = true; in mt7915_mcu_sta_amsdu_tlv()
935 msta->wcid.amsdu = true; in mt7915_mcu_sta_amsdu_tlv()
940 amsdu->max_mpdu_size = in mt7915_mcu_sta_amsdu_tlv()
947 amsdu->max_mpdu_size = IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_7991; in mt7915_mcu_sta_amsdu_tlv()
950 amsdu->max_mpdu_size = IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895; in mt7915_mcu_sta_amsdu_tlv()