Home
last modified time | relevance | path

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

123

/Linux-v5.4/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.c786 u8 sta_id; in iwlagn_mac_sta_add() local
790 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add()
797 is_ap, sta, &sta_id); in iwlagn_mac_sta_add()
805 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add()
827 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
829 ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
1531 static void iwl_sta_modify_ps_wake(struct iwl_priv *priv, int sta_id) in iwl_sta_modify_ps_wake() argument
1536 .sta.sta_id = sta_id, in iwl_sta_modify_ps_wake()
1549 int sta_id; in iwlagn_mac_sta_notify() local
1565 sta_id = iwl_sta_id(sta); in iwlagn_mac_sta_notify()
[all …]
Dagn.h315 int iwl_remove_station(struct iwl_priv *priv, const u8 sta_id,
317 void iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id,
337 return ((struct iwl_station_priv *)sta->drv_priv)->sta_id; in iwl_sta_id()
362 int iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid);
367 void iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt);
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c87 int sta_id; in iwl_mvm_find_free_sta_id() local
100 for (sta_id = 0; sta_id < ARRAY_SIZE(mvm->fw_id_to_mac_id); sta_id++) { in iwl_mvm_find_free_sta_id()
101 if (BIT(sta_id) & reserved_ids) in iwl_mvm_find_free_sta_id()
104 if (!rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_find_free_sta_id()
106 return sta_id; in iwl_mvm_find_free_sta_id()
117 .sta_id = mvm_sta->sta_id, in iwl_mvm_sta_send_to_fw()
279 sta = rcu_dereference(ba_data->mvm->fw_id_to_mac_id[ba_data->sta_id]); in iwl_mvm_rx_agg_session_expired()
308 u8 sta_id; in iwl_mvm_invalidate_sta_queue() local
313 sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_invalidate_sta_queue()
317 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_invalidate_sta_queue()
[all …]
Dtx.c203 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() argument
295 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd()
493 struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument
585 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params()
717 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local
743 sta_id = mvmvif->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
745 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
750 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
761 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
774 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta()
[all …]
Dtdls.c153 tdls_cfg_cmd.sta_info[cnt].sta_id = i; in iwl_mvm_tdls_config()
260 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_rx_tdls_notif() local
270 if (WARN_ON(sta_id >= IWL_MVM_STATION_COUNT)) in iwl_mvm_rx_tdls_notif()
273 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_rx_tdls_notif()
422 cmd.peer_sta_id = cpu_to_le32(mvmsta->sta_id); in iwl_mvm_tdls_config_channel_switch()
467 mvmsta->sta_id); in iwl_mvm_tdls_config_channel_switch()
484 mvm->tdls_cs.cur_sta_id = mvmsta->sta_id; in iwl_mvm_tdls_config_channel_switch()
518 if (mvm->tdls_cs.peer.sta_id == IWL_MVM_INVALID_STA) in iwl_mvm_tdls_ch_switch_work()
522 mvm->fw_id_to_mac_id[mvm->tdls_cs.peer.sta_id], in iwl_mvm_tdls_ch_switch_work()
567 if (mvm->tdls_cs.peer.sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_tdls_channel_switch()
[all …]
Dsf.c211 static int iwl_mvm_sf_config(struct iwl_mvm *mvm, u8 sta_id, in iwl_mvm_sf_config() argument
235 if (sta_id == IWL_MVM_INVALID_STA) { in iwl_mvm_sf_config()
241 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sf_config()
276 u8 sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_sf_update() local
312 sta_id = data.sta_vif_ap_sta_id; in iwl_mvm_sf_update()
321 sta_id = mvmvif->ap_sta_id; in iwl_mvm_sf_update()
332 return iwl_mvm_sf_config(mvm, sta_id, new_state); in iwl_mvm_sf_update()
Drs-fw.c324 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif()
327 notif->sta_id); in iwl_mvm_tlc_update_notif()
335 notif->sta_id); in iwl_mvm_tlc_update_notif()
422 .sta_id = mvmsta->sta_id, in rs_fw_rate_init()
467 lq_sta->pers.sta_id = mvmsta->sta_id; in iwl_mvm_rs_add_sta()
Dsta.h419 u32 sta_id; member
472 u32 sta_id; member
507 u8 sta_id);
Drxmq.c647 u8 sta_id = baid_data->sta_id; in iwl_mvm_reorder_timer_expired() local
650 sta = rcu_dereference(buf->mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_reorder_timer_expired()
656 sta_id, sn); in iwl_mvm_reorder_timer_expired()
692 sta = rcu_dereference(mvm->fw_id_to_mac_id[ba_data->sta_id]); in iwl_mvm_del_ba()
733 sta = rcu_dereference(mvm->fw_id_to_mac_id[ba_data->sta_id]); in iwl_mvm_release_frames_from_notif()
907 if (WARN(tid != baid_data->tid || mvm_sta->sta_id != baid_data->sta_id, in iwl_mvm_reorder()
909 baid, baid_data->sta_id, baid_data->tid, mvm_sta->sta_id, in iwl_mvm_reorder()
2035 unsigned int sta_id = le32_get_bits(release->sta_tid, in iwl_mvm_rx_bar_frame_release() local
2054 if (WARN(tid != baid_data->tid || sta_id != baid_data->sta_id, in iwl_mvm_rx_bar_frame_release()
2056 baid, baid_data->sta_id, baid_data->tid, sta_id, in iwl_mvm_rx_bar_frame_release()
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c929 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il4965_request_scan()
1050 il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid, int freed) in il4965_free_tfds_in_queue() argument
1054 if (il->stations[sta_id].tid[tid].tfds_in_queue >= freed) in il4965_free_tfds_in_queue()
1055 il->stations[sta_id].tid[tid].tfds_in_queue -= freed; in il4965_free_tfds_in_queue()
1058 il->stations[sta_id].tid[tid].tfds_in_queue, freed); in il4965_free_tfds_in_queue()
1059 il->stations[sta_id].tid[tid].tfds_in_queue = 0; in il4965_free_tfds_in_queue()
1506 tx_cmd->sta_id = std_id; in il4965_tx_cmd_build_basic()
1598 int sta_id) in il4965_tx_cmd_build_hwcrypto() argument
1661 u8 sta_id; in il4965_tx_skb() local
1689 sta_id = il->hw_params.bcast_id; in il4965_tx_skb()
[all …]
Dcommon.c1739 il_sta_ucode_activate(struct il_priv *il, u8 sta_id) in il_sta_ucode_activate() argument
1742 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) in il_sta_ucode_activate()
1744 sta_id, il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1746 if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) { in il_sta_ucode_activate()
1748 " in uCode (according to driver)\n", sta_id, in il_sta_ucode_activate()
1749 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1751 il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE; in il_sta_ucode_activate()
1752 D_ASSOC("Added STA id %u addr %pM to uCode\n", sta_id, in il_sta_ucode_activate()
1753 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1761 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.4/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsta.h327 u8 sta_id; member
414 u8 sta_id; member
443 u8 sta_id; member
500 u8 sta_id; member
521 __le32 sta_id; member
538 __le32 sta_id; member
568 __le32 sta_id; member
Dtdls.h154 __le32 sta_id; member
166 u8 sta_id; member
204 __le16 sta_id; member
Dtx.h281 u8 sta_id; member
671 u8 sta_id; member
756 u8 sta_id; member
905 __le32 sta_id; member
933 u8 sta_id; member
953 u8 sta_id; member
Drs.h198 u8 sta_id; member
232 u8 sta_id; member
588 u8 sta_id; member
/Linux-v5.4/drivers/net/wireless/intersil/orinoco/
Dhw.c76 struct comp_id nic_id, sta_id; in determine_fw_capabilities() local
104 err = HERMES_READ_RECORD(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.4/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.h430 u8 sta_id; member
560 __le16 flags, u8 sta_id, u8 tid,
1017 __le16 flags, u8 sta_id, u8 tid, in iwl_trans_txq_alloc() argument
1031 return trans->ops->txq_alloc(trans, flags, sta_id, tid, in iwl_trans_txq_alloc()
1043 int fifo, int sta_id, int tid, in iwl_trans_txq_enable() argument
1049 .sta_id = sta_id, in iwl_trans_txq_enable()
1052 .aggregate = sta_id >= 0, in iwl_trans_txq_enable()
1064 .sta_id = -1, in iwl_trans_ac_txq_enable()
/Linux-v5.4/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_core.c404 tx_params->sta_id = 0; in rsi_core_xmit()
454 tx_params->sta_id = rsta->sta_id; in rsi_core_xmit()
456 tx_params->sta_id = 0; in rsi_core_xmit()
Drsi_91x_mac80211.c951 s16 sta_id = 0; in rsi_hal_key_config() local
966 sta_id = rsta->sta_id; in rsi_hal_key_config()
978 sta_id, in rsi_hal_key_config()
991 sta_id, in rsi_hal_key_config()
1086 u8 sta_id = 0; in rsi_mac80211_ampdu_action() local
1110 sta_id = rsta->sta_id; in rsi_mac80211_ampdu_action()
1115 __func__, tid, seq_no, buf_size, sta_id); in rsi_mac80211_ampdu_action()
1124 sta_id); in rsi_mac80211_ampdu_action()
1133 sta_id); in rsi_mac80211_ampdu_action()
1155 sta_id); in rsi_mac80211_ampdu_action()
[all …]
Drsi_91x_mgmt.c536 u8 qos_enable, u16 aid, u16 sta_id, in rsi_hal_send_sta_notify_frame() argument
583 peer_notify->desc.desc_dword3.qid_tid = sta_id; in rsi_hal_send_sta_notify_frame()
584 peer_notify->desc.desc_dword3.sta_id = vap_id; in rsi_hal_send_sta_notify_frame()
614 u8 sta_id) in rsi_send_aggregation_params_frame() argument
637 aggr_params->peer_id = sta_id; in rsi_send_aggregation_params_frame()
792 s16 sta_id, in rsi_hal_load_key() argument
835 set_key->sta_id = sta_id; in rsi_hal_load_key()
1234 dynamic_frame->desc_dword3.sta_id = 0; /* vap id */ in rsi_send_vap_dynamic_update()
1297 u16 sta_id, in rsi_send_auto_rate_request() argument
1343 auto_rate->desc.desc_dword3.sta_id = sta_id; in rsi_send_auto_rate_request()
[all …]

123