Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A 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 …]
H A Dtx.c47 struct ieee80211_hdr *hdr, u8 sta_id) in iwlagn_tx_cmd_build_basic() argument
72 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic()
239 int sta_id; in iwl_sta_id_or_broadcast() local
244 sta_id = iwl_sta_id(sta); in iwl_sta_id_or_broadcast()
250 WARN_ON(sta_id == IWL_INVALID_STATION); in iwl_sta_id_or_broadcast()
252 return sta_id; in iwl_sta_id_or_broadcast()
271 u8 sta_id, tid = IWL_MAX_TID_COUNT; in iwlagn_tx_skb() local
310 sta_id = ctx->bcast_sta_id; in iwlagn_tx_skb()
313 sta_id = iwl_sta_id_or_broadcast(ctx, sta); in iwlagn_tx_skb()
314 if (sta_id == IWL_INVALID_STATION) { in iwlagn_tx_skb()
[all …]
H A 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 …]
H A 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);
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.c29 int sta_id; in iwl_mvm_find_free_sta_id() local
42 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id()
43 if (BIT(sta_id) & reserved_ids) in iwl_mvm_find_free_sta_id()
46 if (!rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_find_free_sta_id()
48 return sta_id; in iwl_mvm_find_free_sta_id()
133 .sta_id = mvm_sta->deflink.sta_id, in iwl_mvm_sta_send_to_fw()
262 unsigned int sta_id; in iwl_mvm_rx_agg_session_expired() local
281 sta_id = ffs(ba_data->sta_mask) - 1; /* don't care which one */ in iwl_mvm_rx_agg_session_expired()
282 sta = rcu_dereference(ba_data->mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_agg_session_expired()
311 u8 sta_id; in iwl_mvm_invalidate_sta_queue() local
[all …]
H A Dmld-sta.c26 return BIT(mvmsta->deflink.sta_id); in iwl_mvm_sta_fw_id_mask()
42 result |= BIT(mvm_link_sta->sta_id); in iwl_mvm_sta_fw_id_mask()
71 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); in iwl_mvm_mld_add_int_sta_to_fw()
95 static int iwl_mvm_mld_rm_sta_from_fw(struct iwl_mvm *mvm, u32 sta_id) in iwl_mvm_mld_rm_sta_from_fw() argument
98 .sta_id = cpu_to_le32(sta_id), in iwl_mvm_mld_rm_sta_from_fw()
103 if (!rcu_access_pointer(mvm->fw_id_to_mac_id[sta_id])) { in iwl_mvm_mld_rm_sta_from_fw()
104 IWL_ERR(mvm, "Invalid station id %d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw()
111 IWL_ERR(mvm, "Failed to remove station. Id=%d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw()
125 .sta_id = cpu_to_le32(sta->sta_id), in iwl_mvm_add_aux_sta_to_fw()
149 if (WARN_ON_ONCE(sta->sta_id == IWL_MVM_INVALID_STA)) in iwl_mvm_mld_add_int_sta_with_queue()
[all …]
H A Dtx.c151 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() argument
242 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd()
519 struct ieee80211_sta *sta, u8 sta_id, in iwl_mvm_set_tx_params() argument
606 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params()
739 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local
780 sta_id = link->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
782 sta_id = link->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
788 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
799 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
812 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta()
[all …]
H A 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->deflink.sta_id); in iwl_mvm_tdls_config_channel_switch()
417 mvmsta->deflink.sta_id); in iwl_mvm_tdls_config_channel_switch()
434 mvm->tdls_cs.cur_sta_id = mvmsta->deflink.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 …]
H A Drs-fw.c429 link_sta = rcu_dereference(mvm->fw_id_to_link_sta[notif->sta_id]); in iwl_mvm_tlc_update_notif()
430 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif()
437 notif->sta_id); in iwl_mvm_tlc_update_notif()
445 notif->sta_id); in iwl_mvm_tlc_update_notif()
455 link_sta->link_id, notif->sta_id); in iwl_mvm_tlc_update_notif()
631 cfg_cmd.sta_id = mvm_link_sta->sta_id; in iwl_mvm_rs_fw_rate_init()
656 cfg_cmd.sta_id, cfg_cmd.max_ch_width, cfg_cmd.mode); in iwl_mvm_rs_fw_rate_init()
672 .sta_id = cfg_cmd.sta_id, in iwl_mvm_rs_fw_rate_init()
721 lq_sta->pers.sta_id = link_sta->sta_id; in iwl_mvm_rs_add_sta_link()
H A Dsta.h346 u32 sta_id; member
460 u32 sta_id; member
479 struct ieee80211_sta *sta, int sta_id, u8 sta_type);
503 u8 sta_id);
590 u8 sta_id, u8 tid, unsigned int timeout);
650 int iwl_mvm_mld_rm_sta_id(struct iwl_mvm *mvm, u8 sta_id);
H A Drx.c248 mvmsta->deflink.sta_id != mvmvif->deflink.ap_sta_id) in iwl_mvm_rx_handle_tcm()
720 u32 sta_id = mvmsta->deflink.sta_id; in iwl_mvm_stats_energy_iter() local
722 if (WARN_ONCE(sta_id >= IWL_MVM_STATION_COUNT_MAX, "sta_id %d >= %d", in iwl_mvm_stats_energy_iter()
723 sta_id, IWL_MVM_STATION_COUNT_MAX)) in iwl_mvm_stats_energy_iter()
726 if (energy[sta_id]) in iwl_mvm_stats_energy_iter()
727 mvmsta->deflink.avg_energy = energy[sta_id]; in iwl_mvm_stats_energy_iter()
1043 u8 sta_id, tid; in iwl_mvm_window_status_notif() local
1060 sta_id = (ratid & BA_WINDOW_STATUS_STA_ID_MSK) in iwl_mvm_window_status_notif()
1062 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_window_status_notif()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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);
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A 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
H A Dd3.h174 __le32 sta_id; member
329 u8 sta_id; member
391 u8 sta_id; member
437 __le32 sta_id; member
443 __le32 sta_id; member
475 __le32 sta_id; member
502 __le32 sta_id; member
515 __le32 sta_id; member
590 __le32 sta_id; member
H A Dtdls.h96 __le32 sta_id; member
108 u8 sta_id; member
146 __le16 sta_id; member
H A Dtx.h232 u8 sta_id; member
626 u8 sta_id; member
711 u8 sta_id; member
878 __le32 sta_id; member
904 __le16 sta_id; member
932 u8 sta_id; member
952 u8 sta_id; member
H A Dmac-cfg.h572 __le32 sta_id; member
604 __le32 sta_id; member
619 __le32 sta_id; member
630 __le32 sta_id; member
H A Dlocation.h247 u8 sta_id; member
283 u8 sta_id; member
331 u8 sta_id; member
381 u8 sta_id; member
735 u8 sta_id; member
788 u8 sta_id; member
857 u8 sta_id; member
938 u8 sta_id; member
H A Drs.h155 u8 sta_id; member
188 u8 sta_id; member
221 u8 sta_id; member
742 u8 sta_id; member
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A 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 …]
/openbmc/linux/drivers/net/wireless/rsi/
H A 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,
H A 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 …]

123