Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c17 static int iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) in iwl_sta_ucode_activate() argument
21 if (sta_id >= IWLAGN_STATION_COUNT) { in iwl_sta_ucode_activate()
22 IWL_ERR(priv, "invalid sta_id %u\n", sta_id); in iwl_sta_ucode_activate()
25 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) in iwl_sta_ucode_activate()
28 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
30 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { in iwl_sta_ucode_activate()
34 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
36 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; in iwl_sta_ucode_activate()
38 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
92 u8 sta_id __maybe_unused = sta->sta.sta_id; in iwl_send_add_sta()
[all …]
Dtx.c46 struct ieee80211_hdr *hdr, u8 sta_id) in iwlagn_tx_cmd_build_basic() argument
71 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic()
238 int sta_id; in iwl_sta_id_or_broadcast() local
243 sta_id = iwl_sta_id(sta); in iwl_sta_id_or_broadcast()
249 WARN_ON(sta_id == IWL_INVALID_STATION); in iwl_sta_id_or_broadcast()
251 return sta_id; in iwl_sta_id_or_broadcast()
270 u8 sta_id, tid = IWL_MAX_TID_COUNT; in iwlagn_tx_skb() local
309 sta_id = ctx->bcast_sta_id; in iwlagn_tx_skb()
312 sta_id = iwl_sta_id_or_broadcast(ctx, sta); in iwlagn_tx_skb()
313 if (sta_id == IWL_INVALID_STATION) { in iwlagn_tx_skb()
[all …]
Dmac80211.c782 u8 sta_id; in iwlagn_mac_sta_add() local
786 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add()
793 is_ap, sta, &sta_id); in iwlagn_mac_sta_add()
801 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add()
823 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
825 ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
1528 static void iwl_sta_modify_ps_wake(struct iwl_priv *priv, int sta_id) in iwl_sta_modify_ps_wake() argument
1533 .sta.sta_id = sta_id, in iwl_sta_modify_ps_wake()
1546 int sta_id; in iwlagn_mac_sta_notify() local
1562 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-6.1.9/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.c196 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() argument
287 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd()
497 struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument
580 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params()
713 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local
739 sta_id = mvmvif->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
741 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
746 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
757 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
770 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.c295 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif()
302 notif->sta_id); in iwl_mvm_tlc_update_notif()
310 notif->sta_id); in iwl_mvm_tlc_update_notif()
430 .sta_id = mvmsta->sta_id, in rs_fw_rate_init()
460 cfg_cmd.sta_id, cfg_cmd.max_ch_width, cfg_cmd.mode); in rs_fw_rate_init()
476 .sta_id = cfg_cmd.sta_id, in rs_fw_rate_init()
524 lq_sta->pers.sta_id = mvmsta->sta_id; in iwl_mvm_rs_add_sta()
Drx.c244 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm()
717 u32 sta_id = mvmsta->sta_id; in iwl_mvm_stats_energy_iter() local
719 if (WARN_ONCE(sta_id >= IWL_MVM_STATION_COUNT_MAX, "sta_id %d >= %d", in iwl_mvm_stats_energy_iter()
720 sta_id, IWL_MVM_STATION_COUNT_MAX)) in iwl_mvm_stats_energy_iter()
723 if (energy[sta_id]) in iwl_mvm_stats_energy_iter()
724 mvmsta->avg_energy = energy[sta_id]; in iwl_mvm_stats_energy_iter()
1040 u8 sta_id, tid; in iwl_mvm_window_status_notif() local
1057 sta_id = (ratid & BA_WINDOW_STATUS_STA_ID_MSK) in iwl_mvm_window_status_notif()
1059 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_window_status_notif()
Dsta.h384 u32 sta_id; member
438 u32 sta_id; member
473 u8 sta_id);
/linux-6.1.9/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-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsta.h247 u8 sta_id; member
333 u8 sta_id; member
362 u8 sta_id; member
423 u8 sta_id; member
444 __le32 sta_id; member
461 __le32 sta_id; member
491 __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
587 __le32 sta_id; member
Dtx.h243 u8 sta_id; member
637 u8 sta_id; member
722 u8 sta_id; member
887 __le32 sta_id; member
913 __le16 sta_id; member
941 u8 sta_id; member
961 u8 sta_id; member
Drs.h155 u8 sta_id; member
188 u8 sta_id; member
221 u8 sta_id; member
735 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
729 u8 sta_id; member
782 u8 sta_id; member
851 u8 sta_id; member
932 u8 sta_id; member
/linux-6.1.9/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-6.1.9/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.c967 s16 sta_id = 0; in rsi_hal_key_config() local
982 sta_id = rsta->sta_id; in rsi_hal_key_config()
994 sta_id, in rsi_hal_key_config()
1007 sta_id, in rsi_hal_key_config()
1099 u8 sta_id = 0; in rsi_mac80211_ampdu_action() local
1126 sta_id = rsta->sta_id; in rsi_mac80211_ampdu_action()
1131 __func__, tid, seq_no, buf_size, sta_id); in rsi_mac80211_ampdu_action()
1140 sta_id); in rsi_mac80211_ampdu_action()
1149 sta_id); in rsi_mac80211_ampdu_action()
1170 sta_id); in rsi_mac80211_ampdu_action()
[all …]
Drsi_91x_core.c405 tx_params->sta_id = 0; in rsi_core_xmit()
456 tx_params->sta_id = rsta->sta_id; in rsi_core_xmit()
458 tx_params->sta_id = 0; in rsi_core_xmit()

123