Lines Matching refs:sta_id

23 		return BIT(mvmsta->deflink.sta_id);
39 result |= BIT(link_sta->sta_id);
68 cmd.sta_id = cpu_to_le32((u8)sta->sta_id);
92 static int iwl_mvm_mld_rm_sta_from_fw(struct iwl_mvm *mvm, u32 sta_id)
95 .sta_id = cpu_to_le32(sta_id),
100 if (!rcu_access_pointer(mvm->fw_id_to_mac_id[sta_id])) {
101 IWL_ERR(mvm, "Invalid station id %d\n", sta_id);
108 IWL_ERR(mvm, "Failed to remove station. Id=%d\n", sta_id);
122 .sta_id = cpu_to_le32(sta->sta_id),
146 if (WARN_ON_ONCE(sta->sta_id == IWL_MVM_INVALID_STA))
160 txq = iwl_mvm_tvqm_enable_txq(mvm, NULL, sta->sta_id, tid,
163 iwl_mvm_mld_rm_sta_from_fw(mvm, sta->sta_id);
346 if (WARN_ON_ONCE(int_sta->sta_id == IWL_MVM_INVALID_STA))
350 iwl_mvm_flush_sta(mvm, int_sta->sta_id, int_sta->tfd_queue_msk);
352 iwl_mvm_mld_disable_txq(mvm, BIT(int_sta->sta_id), queuptr, tid);
354 ret = iwl_mvm_mld_rm_sta_from_fw(mvm, int_sta->sta_id);
439 .sta_id = cpu_to_le32(mvm_link_sta->sta_id),
521 RCU_INIT_POINTER(mvm->fw_id_to_mac_id[mvm_sta_link->sta_id],
523 RCU_INIT_POINTER(mvm->fw_id_to_link_sta[mvm_sta_link->sta_id], NULL);
556 u32 sta_id = iwl_mvm_find_free_sta_id(mvm,
559 if (sta_id == IWL_MVM_INVALID_STA)
570 link->sta_id = sta_id;
572 rcu_assign_pointer(mvm->fw_id_to_mac_id[link->sta_id], sta);
573 rcu_assign_pointer(mvm->fw_id_to_link_sta[link->sta_id],
613 vif_link->ap_sta_id = sta_link->sta_id;
632 int sta_id;
654 sta_id = mvm_link_sta->sta_id;
660 rcu_assign_pointer(mvm->fw_id_to_mac_id[sta_id], sta);
661 rcu_assign_pointer(mvm->fw_id_to_link_sta[sta_id], link_sta);
737 iwl_mvm_mld_rm_sta_from_fw(mvm, mvm_link_sta->sta_id);
823 ret = iwl_mvm_flush_sta_tids(mvm, mvm_link_sta->sta_id,
847 mvm_link_sta->sta_id);
856 int iwl_mvm_mld_rm_sta_id(struct iwl_mvm *mvm, u8 sta_id)
862 if (WARN_ON(sta_id == IWL_MVM_INVALID_STA))
865 ret = iwl_mvm_mld_rm_sta_from_fw(mvm, sta_id);
867 RCU_INIT_POINTER(mvm->fw_id_to_mac_id[sta_id], NULL);
868 RCU_INIT_POINTER(mvm->fw_id_to_link_sta[sta_id], NULL);
879 cmd.sta_id = cpu_to_le32(mvmsta->deflink.sta_id);
1074 current_sta_mask |= BIT(mvm_sta_link->sta_id);
1076 sta_mask_to_rem |= BIT(mvm_sta_link->sta_id);
1101 ret = iwl_mvm_mld_rm_sta_from_fw(mvm, mvm_sta_link->sta_id);
1158 sta_mask_added |= BIT(mvm_sta_link->sta_id);
1189 iwl_mvm_mld_rm_sta_from_fw(mvm, mvm_sta_link->sta_id);