Lines Matching defs:baid
2717 static void iwl_mvm_sync_rxq_del_ba(struct iwl_mvm *mvm, u8 baid)
2720 .baid = baid,
2732 iwl_mvm_sync_rxq_del_ba(mvm, data->baid);
2836 u16 buf_size, int baid)
2850 BUILD_BUG_ON(sizeof(struct iwl_rx_baid_cfg_resp) != sizeof(baid));
2858 baid = -EIO;
2860 cmd.remove_v1.baid = cpu_to_le32(baid);
2868 ret = iwl_mvm_send_cmd_status(mvm, &hcmd, &baid);
2873 /* ignore firmware baid on remove */
2874 baid = 0;
2880 if (baid < 0 || baid >= ARRAY_SIZE(mvm->baid_map))
2883 return baid;
2888 int baid)
2893 tid, ssn, buf_size, baid);
2904 int ret, baid;
2957 baid = mvm_sta->tid_to_baid[tid];
2960 baid = -1;
2965 baid = iwl_mvm_fw_baid_op(mvm, sta, start, tid, ssn, buf_size,
2966 baid);
2968 if (baid < 0) {
2969 ret = baid;
2979 baid_data->baid = baid;
2982 baid_data->rcu_ptr = &mvm->baid_map[baid];
2990 mvm_sta->tid_to_baid[tid] = baid;
3003 mvm_sta->deflink.sta_id, tid, baid);
3004 WARN_ON(rcu_access_pointer(mvm->baid_map[baid]));
3005 rcu_assign_pointer(mvm->baid_map[baid], baid_data);
3007 baid = mvm_sta->tid_to_baid[tid];
3015 if (WARN_ON(baid == IWL_RX_REORDER_DATA_INVALID_BAID))
3018 baid_data = rcu_access_pointer(mvm->baid_map[baid]);
3025 RCU_INIT_POINTER(mvm->baid_map[baid], NULL);
3027 IWL_DEBUG_HT(mvm, "BAID %d is free\n", baid);