• Home
  • Raw
  • Download

Lines Matching refs:ba

1279 	struct sta_rec_ba *ba;  in mt7915_mcu_sta_ba_tlv()  local
1282 tlv = mt7915_mcu_add_tlv(skb, STA_REC_BA, sizeof(*ba)); in mt7915_mcu_sta_ba_tlv()
1284 ba = (struct sta_rec_ba *)tlv; in mt7915_mcu_sta_ba_tlv()
1285 ba->ba_type = tx ? MT_BA_TYPE_ORIGINATOR : MT_BA_TYPE_RECIPIENT; in mt7915_mcu_sta_ba_tlv()
1286 ba->winsize = cpu_to_le16(params->buf_size); in mt7915_mcu_sta_ba_tlv()
1287 ba->ssn = cpu_to_le16(params->ssn); in mt7915_mcu_sta_ba_tlv()
1288 ba->ba_en = enable << params->tid; in mt7915_mcu_sta_ba_tlv()
1289 ba->amsdu = params->amsdu; in mt7915_mcu_sta_ba_tlv()
1290 ba->tid = params->tid; in mt7915_mcu_sta_ba_tlv()
1299 struct wtbl_ba *ba; in mt7915_mcu_wtbl_ba_tlv() local
1302 tlv = mt7915_mcu_add_nested_tlv(skb, WTBL_BA, sizeof(*ba), in mt7915_mcu_wtbl_ba_tlv()
1305 ba = (struct wtbl_ba *)tlv; in mt7915_mcu_wtbl_ba_tlv()
1306 ba->tid = params->tid; in mt7915_mcu_wtbl_ba_tlv()
1309 ba->ba_type = MT_BA_TYPE_ORIGINATOR; in mt7915_mcu_wtbl_ba_tlv()
1310 ba->sn = enable ? cpu_to_le16(params->ssn) : 0; in mt7915_mcu_wtbl_ba_tlv()
1311 ba->ba_en = enable; in mt7915_mcu_wtbl_ba_tlv()
1313 memcpy(ba->peer_addr, params->sta->addr, ETH_ALEN); in mt7915_mcu_wtbl_ba_tlv()
1314 ba->ba_type = MT_BA_TYPE_RECIPIENT; in mt7915_mcu_wtbl_ba_tlv()
1315 ba->rst_ba_tid = params->tid; in mt7915_mcu_wtbl_ba_tlv()
1316 ba->rst_ba_sel = RST_BA_MAC_TID_MATCH; in mt7915_mcu_wtbl_ba_tlv()
1317 ba->rst_ba_sb = 1; in mt7915_mcu_wtbl_ba_tlv()
1321 ba->ba_winsize = cpu_to_le16(params->buf_size); in mt7915_mcu_wtbl_ba_tlv()