Home
last modified time | relevance | path

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

12

/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()
241 int sta_id; in iwl_sta_id_or_broadcast() local
246 sta_id = iwl_sta_id(sta); in iwl_sta_id_or_broadcast()
252 WARN_ON(sta_id == IWL_INVALID_STATION); in iwl_sta_id_or_broadcast()
254 return sta_id; in iwl_sta_id_or_broadcast()
273 u8 sta_id, tid = IWL_MAX_TID_COUNT; in iwlagn_tx_skb() local
312 sta_id = ctx->bcast_sta_id; in iwlagn_tx_skb()
315 sta_id = iwl_sta_id_or_broadcast(ctx, sta); in iwlagn_tx_skb()
316 if (sta_id == IWL_INVALID_STATION) { in iwlagn_tx_skb()
[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);
/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 Dtx.c152 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() argument
243 tx_cmd_params->sta_id = sta_id; in iwl_mvm_set_tx_cmd()
555 struct ieee80211_sta *sta, u8 sta_id, in iwl_mvm_set_tx_params() argument
642 iwl_mvm_set_tx_cmd(mvm, skb, &tx_cmd->params, info, sta_id); in iwl_mvm_set_tx_params()
775 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local
812 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
822 sta_id = mvmvif->deflink.bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
824 sta_id = mvmvif->deflink.mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
831 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
843 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta()
[all …]
H A Drs-fw.c427 if (IWL_FW_CHECK(mvm, notif->sta_id >= mvm->fw->ucode_capa.num_stations, in iwl_mvm_tlc_update_notif()
429 notif->sta_id)) in iwl_mvm_tlc_update_notif()
434 link_sta = rcu_dereference(mvm->fw_id_to_link_sta[notif->sta_id]); in iwl_mvm_tlc_update_notif()
435 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif()
442 notif->sta_id); in iwl_mvm_tlc_update_notif()
454 link_sta->link_id, notif->sta_id); in iwl_mvm_tlc_update_notif()
625 cfg_cmd.sta_id = mvm_link_sta->sta_id; in iwl_mvm_rs_fw_rate_init()
650 cfg_cmd.sta_id, cfg_cmd.max_ch_width, cfg_cmd.mode); in iwl_mvm_rs_fw_rate_init()
666 .sta_id = cfg_cmd.sta_id, in iwl_mvm_rs_fw_rate_init()
713 lq_sta->pers.sta_id = link_sta->sta_id; in iwl_mvm_rs_add_sta_link()
H A Drx.c248 mvmsta->deflink.sta_id != mvmvif->deflink.ap_sta_id) in iwl_mvm_rx_handle_tcm()
725 u32 sta_id = mvmsta->deflink.sta_id; in iwl_mvm_stats_energy_iter() local
727 if (WARN_ONCE(sta_id >= IWL_STATION_COUNT_MAX, "sta_id %d >= %d", in iwl_mvm_stats_energy_iter()
728 sta_id, IWL_STATION_COUNT_MAX)) in iwl_mvm_stats_energy_iter()
731 if (energy[sta_id]) in iwl_mvm_stats_energy_iter()
732 mvmsta->deflink.avg_energy = energy[sta_id]; in iwl_mvm_stats_energy_iter()
1211 u8 sta_id, tid; in iwl_mvm_window_status_notif() local
1228 sta_id = (ratid & BA_WINDOW_STATUS_STA_ID_MSK) in iwl_mvm_window_status_notif()
1231 sta_id >= mvm->fw->ucode_capa.num_stations, in iwl_mvm_window_status_notif()
1233 sta_id)) in iwl_mvm_window_status_notif()
[all …]
H A Dmvm.h829 u8 sta_id; member
1190 u8 sta_id; member
1338 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_rcu() argument
1342 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_rcu()
1345 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sta_from_staid_rcu()
1355 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_protected() argument
1359 if (sta_id >= mvm->fw->ucode_capa.num_stations) in iwl_mvm_sta_from_staid_protected()
1362 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_sta_from_staid_protected()
1699 struct ieee80211_tx_info *info, u8 sta_id);
1715 int iwl_mvm_flush_sta(struct iwl_mvm *mvm, u32 sta_id, u32 tfd_queue_mask);
[all …]
H A Dftm-initiator.c442 u8 *sta_id, __le32 *flags) in iwl_mvm_ftm_set_sta() argument
455 *sta_id = mvmvif->link[link_id]->ap_sta_id; in iwl_mvm_ftm_set_sta()
456 sta = rcu_dereference(mvm->fw_id_to_mac_id[*sta_id]); in iwl_mvm_ftm_set_sta()
471 *sta_id = IWL_INVALID_STA; in iwl_mvm_ftm_set_sta()
476 *sta_id = IWL_INVALID_STA; in iwl_mvm_ftm_set_sta()
497 iwl_mvm_ftm_set_sta(mvm, vif, peer, &target->sta_id, in iwl_mvm_ftm_put_target()
901 iwl_mvm_ftm_set_sta(mvm, vif, peer, &target->sta_id, in iwl_mvm_ftm_put_target_v10()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dagg.c49 u32 sta_id; in iwl_mld_release_frames_from_notif() local
70 sta_id = ffs(ba_data->sta_mask) - 1; in iwl_mld_release_frames_from_notif()
71 link_sta = rcu_dereference(mld->fw_id_to_link_sta[sta_id]); in iwl_mld_release_frames_from_notif()
107 unsigned int baid, nssn, sta_id, tid; in iwl_mld_handle_bar_frame_release_notif() local
119 sta_id = le32_get_bits(release->sta_tid, in iwl_mld_handle_bar_frame_release_notif()
138 sta_id > mld->fw->ucode_capa.num_stations || in iwl_mld_handle_bar_frame_release_notif()
139 !(baid_data->sta_mask & BIT(sta_id)), in iwl_mld_handle_bar_frame_release_notif()
141 baid, baid_data->sta_mask, baid_data->tid, sta_id, in iwl_mld_handle_bar_frame_release_notif()
160 u32 sta_id; in iwl_mld_del_ba() local
175 sta_id = ffs(ba_data->sta_mask) - 1; in iwl_mld_del_ba()
[all …]
H A Dsta.c501 cmd.sta_id = cpu_to_le32(fw_id); in iwl_mld_add_modify_sta_cmd()
660 .sta_id = cpu_to_le32(fw_sta_id), in iwl_mld_rm_sta_from_fw()
1050 u32 sta_mask = BIT(internal_sta->sta_id); in iwl_mld_allocate_internal_txq()
1070 .sta_id = cpu_to_le32(internal_sta->sta_id), in iwl_mld_send_aux_sta_cmd()
1089 cmd.sta_id = cpu_to_le32((u8)internal_sta->sta_id); in iwl_mld_set_internal_sta_to_fw()
1128 &internal_sta->sta_id, in iwl_mld_add_internal_sta()
1145 iwl_mld_rm_sta_from_fw(mld, internal_sta->sta_id); in iwl_mld_add_internal_sta()
1232 if (WARN_ON_ONCE(internal_sta->sta_id == IWL_INVALID_STA)) in iwl_mld_remove_internal_sta()
1237 iwl_mld_flush_link_sta_txqs(mld, internal_sta->sta_id); in iwl_mld_remove_internal_sta()
1240 iwl_mld_free_txq(mld, BIT(internal_sta->sta_id), in iwl_mld_remove_internal_sta()
[all …]
H A Dtx.c1099 int sta_id = IWL_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mld_handle_tx_resp_notif() local
1189 if (IWL_FW_CHECK(mld, sta_id >= mld->fw->ucode_capa.num_stations, in iwl_mld_handle_tx_resp_notif()
1190 "Got invalid sta_id (%d)\n", sta_id)) in iwl_mld_handle_tx_resp_notif()
1195 link_sta = rcu_dereference(mld->fw_id_to_link_sta[sta_id]); in iwl_mld_handle_tx_resp_notif()
1202 sta_id); in iwl_mld_handle_tx_resp_notif()
1255 .sta_id = cpu_to_le32(fw_sta_id), in iwl_mld_flush_link_sta_txqs()
1286 if (IWL_FW_CHECK(mld, le16_to_cpu(rsp->sta_id) != fw_sta_id, in iwl_mld_flush_link_sta_txqs()
1288 le16_to_cpu(rsp->sta_id))) { in iwl_mld_flush_link_sta_txqs()
1389 u8 sta_id = ba_res->sta_id; in iwl_mld_handle_compressed_ba_notif() local
1402 sta_id, le32_to_cpu(ba_res->flags), in iwl_mld_handle_compressed_ba_notif()
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommon.c1738 il_sta_ucode_activate(struct il_priv *il, u8 sta_id) in il_sta_ucode_activate() argument
1741 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) in il_sta_ucode_activate()
1743 sta_id, il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1745 if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) { in il_sta_ucode_activate()
1747 " in uCode (according to driver)\n", sta_id, in il_sta_ucode_activate()
1748 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1750 il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE; in il_sta_ucode_activate()
1751 D_ASSOC("Added STA id %u addr %pM to uCode\n", sta_id, in il_sta_ucode_activate()
1752 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1760 u8 sta_id = addsta->sta.sta_id; in il_process_add_sta_resp() local
[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);
H A D3945.c685 struct ieee80211_hdr *hdr, int sta_id) in il3945_hw_build_tx_cmd_rate() argument
724 "cck/ofdm mask: 0x%x/0x%x\n", sta_id, tx_cmd->rate, in il3945_hw_build_tx_cmd_rate()
730 il3945_sync_sta(struct il_priv *il, int sta_id, u16 tx_rate) in il3945_sync_sta() argument
735 if (sta_id == IL_INVALID_STATION) in il3945_sync_sta()
739 station = &il->stations[sta_id]; in il3945_sync_sta()
747 D_RATE("SCALE sync station %d to rate %d\n", sta_id, tx_rate); in il3945_sync_sta()
748 return sta_id; in il3945_sync_sta()
2259 u8 sta_id; in il3945_add_bssid_station() local
2265 ret = il_add_station_common(il, addr, 0, NULL, &sta_id); in il3945_add_bssid_station()
2272 *sta_id_r = sta_id; in il3945_add_bssid_station()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dtdls.h96 __le32 sta_id; member
108 u8 sta_id; member
146 __le16 sta_id; member
H A Dtime-event.h372 __le32 sta_id; member
403 __le32 sta_id; member
H A Dtxq.h105 u8 sta_id; member
/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.c985 s16 sta_id = 0; in rsi_hal_key_config() local
1000 sta_id = rsta->sta_id; in rsi_hal_key_config()
1012 sta_id, in rsi_hal_key_config()
1025 sta_id, in rsi_hal_key_config()
1117 u8 sta_id = 0; in rsi_mac80211_ampdu_action() local
1144 sta_id = rsta->sta_id; in rsi_mac80211_ampdu_action()
1149 __func__, tid, seq_no, buf_size, sta_id); in rsi_mac80211_ampdu_action()
1158 sta_id); in rsi_mac80211_ampdu_action()
1167 sta_id); in rsi_mac80211_ampdu_action()
1188 sta_id); in rsi_mac80211_ampdu_action()
[all …]
H A 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()
H A Drsi_91x_mgmt.c537 u8 qos_enable, u16 aid, u16 sta_id, in rsi_hal_send_sta_notify_frame() argument
584 peer_notify->desc.desc_dword3.qid_tid = sta_id; in rsi_hal_send_sta_notify_frame()
585 peer_notify->desc.desc_dword3.sta_id = vap_id; in rsi_hal_send_sta_notify_frame()
616 u8 sta_id) in rsi_send_aggregation_params_frame() argument
639 aggr_params->peer_id = sta_id; in rsi_send_aggregation_params_frame()
799 s16 sta_id, in rsi_hal_load_key() argument
842 set_key->sta_id = sta_id; in rsi_hal_load_key()
1242 dynamic_frame->desc_dword3.sta_id = 0; /* vap id */ in rsi_send_vap_dynamic_update()
1308 u16 sta_id, in rsi_send_auto_rate_request() argument
1354 auto_rate->desc.desc_dword3.sta_id = sta_id; in rsi_send_auto_rate_request()
[all …]
H A Drsi_hal.h197 u8 sta_id; member
211 u8 sta_id; member
H A Drsi_main.h27 s16 sta_id; member
139 s8 sta_id; member
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_tx.h46 int wfx_hif_map_link(struct wfx_vif *wvif, bool unmap, u8 *mac_addr, int sta_id, bool mfp);

12