Home
last modified time | relevance | path

Searched refs:sta_id (Results 1 – 25 of 72) sorted by relevance

123

/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c22 static int iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) in iwl_sta_ucode_activate() argument
26 if (sta_id >= IWLAGN_STATION_COUNT) { in iwl_sta_ucode_activate()
27 IWL_ERR(priv, "invalid sta_id %u\n", sta_id); in iwl_sta_ucode_activate()
30 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) in iwl_sta_ucode_activate()
33 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
35 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { in iwl_sta_ucode_activate()
39 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
41 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; in iwl_sta_ucode_activate()
43 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
97 u8 sta_id __maybe_unused = sta->sta.sta_id; in iwl_send_add_sta()
[all …]
Dtx.c51 struct ieee80211_hdr *hdr, u8 sta_id) in iwlagn_tx_cmd_build_basic() argument
76 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic()
243 int sta_id; in iwl_sta_id_or_broadcast() local
248 sta_id = iwl_sta_id(sta); in iwl_sta_id_or_broadcast()
254 WARN_ON(sta_id == IWL_INVALID_STATION); in iwl_sta_id_or_broadcast()
256 return sta_id; in iwl_sta_id_or_broadcast()
275 u8 sta_id, tid = IWL_MAX_TID_COUNT; in iwlagn_tx_skb() local
314 sta_id = ctx->bcast_sta_id; in iwlagn_tx_skb()
317 sta_id = iwl_sta_id_or_broadcast(ctx, sta); in iwlagn_tx_skb()
318 if (sta_id == IWL_INVALID_STATION) { in iwlagn_tx_skb()
[all …]
Dmac80211.c787 u8 sta_id; in iwlagn_mac_sta_add() local
791 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add()
798 is_ap, sta, &sta_id); in iwlagn_mac_sta_add()
806 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add()
828 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
830 ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
1532 static void iwl_sta_modify_ps_wake(struct iwl_priv *priv, int sta_id) in iwl_sta_modify_ps_wake() argument
1537 .sta.sta_id = sta_id, in iwl_sta_modify_ps_wake()
1550 int sta_id; in iwlagn_mac_sta_notify() local
1566 sta_id = iwl_sta_id(sta); in iwlagn_mac_sta_notify()
[all …]
Dagn.h262 int iwl_remove_station(struct iwl_priv *priv, const u8 sta_id,
264 void iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id,
284 return ((struct iwl_station_priv *)sta->drv_priv)->sta_id; in iwl_sta_id()
309 int iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid);
314 void iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt);
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c30 int sta_id; in iwl_mvm_find_free_sta_id() local
43 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id()
44 if (BIT(sta_id) & reserved_ids) in iwl_mvm_find_free_sta_id()
47 if (!rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_find_free_sta_id()
49 return sta_id; in iwl_mvm_find_free_sta_id()
60 .sta_id = mvm_sta->sta_id, in iwl_mvm_sta_send_to_fw()
249 sta = rcu_dereference(ba_data->mvm->fw_id_to_mac_id[ba_data->sta_id]); in iwl_mvm_rx_agg_session_expired()
278 u8 sta_id; in iwl_mvm_invalidate_sta_queue() local
283 sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_invalidate_sta_queue()
287 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_invalidate_sta_queue()
[all …]
Dtx.c143 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() argument
235 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd()
443 struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument
530 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params()
662 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local
688 sta_id = mvmvif->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
690 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
695 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
706 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
719 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta()
[all …]
Dtdls.c97 tdls_cfg_cmd.sta_info[cnt].sta_id = i; in iwl_mvm_tdls_config()
210 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_rx_tdls_notif() local
220 if (WARN_ON(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_tdls_notif()
223 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_rx_tdls_notif()
372 cmd.peer_sta_id = cpu_to_le32(mvmsta->sta_id); in iwl_mvm_tdls_config_channel_switch()
417 mvmsta->sta_id); in iwl_mvm_tdls_config_channel_switch()
434 mvm->tdls_cs.cur_sta_id = mvmsta->sta_id; in iwl_mvm_tdls_config_channel_switch()
468 if (mvm->tdls_cs.peer.sta_id == IWL_MVM_INVALID_STA) in iwl_mvm_tdls_ch_switch_work()
472 mvm->fw_id_to_mac_id[mvm->tdls_cs.peer.sta_id], in iwl_mvm_tdls_ch_switch_work()
517 if (mvm->tdls_cs.peer.sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_tdls_channel_switch()
[all …]
Dsf.c157 static int iwl_mvm_sf_config(struct iwl_mvm *mvm, u8 sta_id, in iwl_mvm_sf_config() argument
181 if (sta_id == IWL_MVM_INVALID_STA) { in iwl_mvm_sf_config()
187 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sf_config()
222 u8 sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_sf_update() local
258 sta_id = data.sta_vif_ap_sta_id; in iwl_mvm_sf_update()
267 sta_id = mvmvif->ap_sta_id; in iwl_mvm_sf_update()
278 return iwl_mvm_sf_config(mvm, sta_id, new_state); in iwl_mvm_sf_update()
Drs-fw.c296 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif()
299 notif->sta_id); in iwl_mvm_tlc_update_notif()
307 notif->sta_id); in iwl_mvm_tlc_update_notif()
414 .sta_id = mvmsta->sta_id, in rs_fw_rate_init()
465 lq_sta->pers.sta_id = mvmsta->sta_id; in iwl_mvm_rs_add_sta()
Drx.c249 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm()
656 u32 sta_id = mvmsta->sta_id; in iwl_mvm_stats_energy_iter() local
658 if (WARN_ONCE(sta_id >= IWL_MVM_STATION_COUNT_MAX, "sta_id %d >= %d", in iwl_mvm_stats_energy_iter()
659 sta_id, IWL_MVM_STATION_COUNT_MAX)) in iwl_mvm_stats_energy_iter()
662 if (energy[sta_id]) in iwl_mvm_stats_energy_iter()
663 mvmsta->avg_energy = energy[sta_id]; in iwl_mvm_stats_energy_iter()
890 u8 sta_id, tid; in iwl_mvm_window_status_notif() local
907 sta_id = (ratid & BA_WINDOW_STATUS_STA_ID_MSK) in iwl_mvm_window_status_notif()
909 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_window_status_notif()
Dsta.h383 u32 sta_id; member
436 u32 sta_id; member
471 u8 sta_id);
/Linux-v5.15/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c931 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il4965_request_scan()
1052 il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid, int freed) in il4965_free_tfds_in_queue() argument
1056 if (il->stations[sta_id].tid[tid].tfds_in_queue >= freed) in il4965_free_tfds_in_queue()
1057 il->stations[sta_id].tid[tid].tfds_in_queue -= freed; in il4965_free_tfds_in_queue()
1060 il->stations[sta_id].tid[tid].tfds_in_queue, freed); in il4965_free_tfds_in_queue()
1061 il->stations[sta_id].tid[tid].tfds_in_queue = 0; in il4965_free_tfds_in_queue()
1508 tx_cmd->sta_id = std_id; in il4965_tx_cmd_build_basic()
1600 int sta_id) in il4965_tx_cmd_build_hwcrypto() argument
1663 u8 sta_id; in il4965_tx_skb() local
1691 sta_id = il->hw_params.bcast_id; in il4965_tx_skb()
[all …]
Dcommon.c1736 il_sta_ucode_activate(struct il_priv *il, u8 sta_id) in il_sta_ucode_activate() argument
1739 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) in il_sta_ucode_activate()
1741 sta_id, il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1743 if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) { in il_sta_ucode_activate()
1745 " in uCode (according to driver)\n", sta_id, in il_sta_ucode_activate()
1746 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1748 il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE; in il_sta_ucode_activate()
1749 D_ASSOC("Added STA id %u addr %pM to uCode\n", sta_id, in il_sta_ucode_activate()
1750 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1758 u8 sta_id = addsta->sta.sta_id; in il_process_add_sta_resp() local
[all …]
D3945-mac.c118 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_ccmp_dynamic_key_info() argument
127 if (sta_id == il->hw_params.bcast_id) in il3945_set_ccmp_dynamic_key_info()
135 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il3945_set_ccmp_dynamic_key_info()
136 il->stations[sta_id].keyinfo.keylen = keyconf->keylen; in il3945_set_ccmp_dynamic_key_info()
137 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info()
139 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info()
141 if ((il->stations[sta_id].sta.key. in il3945_set_ccmp_dynamic_key_info()
143 il->stations[sta_id].sta.key.key_offset = in il3945_set_ccmp_dynamic_key_info()
148 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, in il3945_set_ccmp_dynamic_key_info()
151 il->stations[sta_id].sta.key.key_flags = key_flags; in il3945_set_ccmp_dynamic_key_info()
[all …]
D4965.h28 void il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid,
70 int il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id);
121 struct ieee80211_key_conf *key, u8 sta_id);
123 struct ieee80211_key_conf *key, u8 sta_id);
128 int il4965_sta_tx_modify_enable_tid(struct il_priv *il, int sta_id, int tid);
133 void il4965_sta_modify_sleep_tx_count(struct il_priv *il, int sta_id, int cnt);
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsta.h245 u8 sta_id; member
331 u8 sta_id; member
360 u8 sta_id; member
421 u8 sta_id; member
442 __le32 sta_id; member
459 __le32 sta_id; member
489 __le32 sta_id; member
Dtdls.h96 __le32 sta_id; member
108 u8 sta_id; member
146 __le16 sta_id; member
Dd3.h172 __le32 sta_id; member
327 u8 sta_id; member
389 u8 sta_id; member
434 __le32 sta_id; member
440 __le32 sta_id; member
472 __le32 sta_id; member
499 __le32 sta_id; member
512 __le32 sta_id; member
Dtx.h228 u8 sta_id; member
618 u8 sta_id; member
703 u8 sta_id; member
855 __le32 sta_id; member
881 __le16 sta_id; member
909 u8 sta_id; member
929 u8 sta_id; member
Dlocation.h241 u8 sta_id; member
277 u8 sta_id; member
325 u8 sta_id; member
375 u8 sta_id; member
728 u8 sta_id; member
781 u8 sta_id; member
850 u8 sta_id; member
931 u8 sta_id; member
Drs.h144 u8 sta_id; member
179 u8 sta_id; member
542 u8 sta_id; member
/Linux-v5.15/drivers/net/wireless/intersil/orinoco/
Dhw.c76 struct comp_id nic_id, sta_id; in determine_fw_capabilities() local
104 err = HERMES_READ_RECORD_PR(hw, USER_BAP, HERMES_RID_STAID, &sta_id); in determine_fw_capabilities()
111 le16_to_cpus(&sta_id.id); in determine_fw_capabilities()
112 le16_to_cpus(&sta_id.variant); in determine_fw_capabilities()
113 le16_to_cpus(&sta_id.major); in determine_fw_capabilities()
114 le16_to_cpus(&sta_id.minor); in determine_fw_capabilities()
116 sta_id.id, sta_id.variant, sta_id.major, sta_id.minor); in determine_fw_capabilities()
118 switch (sta_id.id) { in determine_fw_capabilities()
153 sta_id.major, sta_id.minor); in determine_fw_capabilities()
155 firmver = ((unsigned long)sta_id.major << 16) | sta_id.minor; in determine_fw_capabilities()
[all …]
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.h418 u8 sta_id; member
553 __le16 flags, u8 sta_id, u8 tid,
1189 __le16 flags, u8 sta_id, u8 tid, in iwl_trans_txq_alloc() argument
1203 return trans->ops->txq_alloc(trans, flags, sta_id, tid, in iwl_trans_txq_alloc()
1215 int fifo, int sta_id, int tid, in iwl_trans_txq_enable() argument
1221 .sta_id = sta_id, in iwl_trans_txq_enable()
1224 .aggregate = sta_id >= 0, in iwl_trans_txq_enable()
1236 .sta_id = -1, in iwl_trans_ac_txq_enable()
/Linux-v5.15/drivers/net/wireless/rsi/
Drsi_mgmt.h340 u8 sta_id; member
474 u8 sta_id; member
719 u8 sta_id);
721 u8 key_type, u8 key_id, u32 cipher, s16 sta_id,
729 u8 qos_enable, u16 aid, u16 sta_id,
733 struct ieee80211_sta *sta, u16 sta_id,
Drsi_91x_mac80211.c969 s16 sta_id = 0; in rsi_hal_key_config() local
984 sta_id = rsta->sta_id; in rsi_hal_key_config()
996 sta_id, in rsi_hal_key_config()
1009 sta_id, in rsi_hal_key_config()
1101 u8 sta_id = 0; in rsi_mac80211_ampdu_action() local
1125 sta_id = rsta->sta_id; in rsi_mac80211_ampdu_action()
1130 __func__, tid, seq_no, buf_size, sta_id); in rsi_mac80211_ampdu_action()
1139 sta_id); in rsi_mac80211_ampdu_action()
1148 sta_id); in rsi_mac80211_ampdu_action()
1169 sta_id); in rsi_mac80211_ampdu_action()
[all …]

123