• Home
  • Raw
  • Download

Lines Matching refs:ba

930 	struct wtbl_ba *ba;  in mt76_connac_mcu_wtbl_ba_tlv()  local
933 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_BA, sizeof(*ba), in mt76_connac_mcu_wtbl_ba_tlv()
936 ba = (struct wtbl_ba *)tlv; in mt76_connac_mcu_wtbl_ba_tlv()
937 ba->tid = params->tid; in mt76_connac_mcu_wtbl_ba_tlv()
940 ba->ba_type = MT_BA_TYPE_ORIGINATOR; in mt76_connac_mcu_wtbl_ba_tlv()
941 ba->sn = enable ? cpu_to_le16(params->ssn) : 0; in mt76_connac_mcu_wtbl_ba_tlv()
942 ba->ba_winsize = enable ? cpu_to_le16(params->buf_size) : 0; in mt76_connac_mcu_wtbl_ba_tlv()
943 ba->ba_en = enable; in mt76_connac_mcu_wtbl_ba_tlv()
945 memcpy(ba->peer_addr, params->sta->addr, ETH_ALEN); in mt76_connac_mcu_wtbl_ba_tlv()
946 ba->ba_type = MT_BA_TYPE_RECIPIENT; in mt76_connac_mcu_wtbl_ba_tlv()
947 ba->rst_ba_tid = params->tid; in mt76_connac_mcu_wtbl_ba_tlv()
948 ba->rst_ba_sel = RST_BA_MAC_TID_MATCH; in mt76_connac_mcu_wtbl_ba_tlv()
949 ba->rst_ba_sb = 1; in mt76_connac_mcu_wtbl_ba_tlv()
953 ba->ba_winsize = enable ? cpu_to_le16(params->buf_size) : 0; in mt76_connac_mcu_wtbl_ba_tlv()
965 ba->ba_winsize_idx = i; in mt76_connac_mcu_wtbl_ba_tlv()
1068 struct sta_rec_ba *ba; in mt76_connac_mcu_sta_ba_tlv() local
1071 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_BA, sizeof(*ba)); in mt76_connac_mcu_sta_ba_tlv()
1073 ba = (struct sta_rec_ba *)tlv; in mt76_connac_mcu_sta_ba_tlv()
1074 ba->ba_type = tx ? MT_BA_TYPE_ORIGINATOR : MT_BA_TYPE_RECIPIENT; in mt76_connac_mcu_sta_ba_tlv()
1075 ba->winsize = cpu_to_le16(params->buf_size); in mt76_connac_mcu_sta_ba_tlv()
1076 ba->ssn = cpu_to_le16(params->ssn); in mt76_connac_mcu_sta_ba_tlv()
1077 ba->ba_en = enable << params->tid; in mt76_connac_mcu_sta_ba_tlv()
1078 ba->amsdu = params->amsdu; in mt76_connac_mcu_sta_ba_tlv()
1079 ba->tid = params->tid; in mt76_connac_mcu_sta_ba_tlv()