/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | sta.c | 22 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 …]
|
D | tx.c | 51 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 …]
|
D | mac80211.c | 787 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 …]
|
D | agn.h | 315 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.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sta.c | 85 int sta_id; in iwl_mvm_find_free_sta_id() local 98 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id() 99 if (BIT(sta_id) & reserved_ids) in iwl_mvm_find_free_sta_id() 102 if (!rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_find_free_sta_id() 104 return sta_id; in iwl_mvm_find_free_sta_id() 115 .sta_id = mvm_sta->sta_id, in iwl_mvm_sta_send_to_fw() 295 sta = rcu_dereference(ba_data->mvm->fw_id_to_mac_id[ba_data->sta_id]); in iwl_mvm_rx_agg_session_expired() 324 u8 sta_id; in iwl_mvm_invalidate_sta_queue() local 329 sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_invalidate_sta_queue() 333 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_invalidate_sta_queue() [all …]
|
D | tx.c | 203 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() 496 struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument 583 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params() 715 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local 741 sta_id = mvmvif->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 743 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 748 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 759 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 772 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta() [all …]
|
D | tdls.c | 153 tdls_cfg_cmd.sta_info[cnt].sta_id = i; in iwl_mvm_tdls_config() 266 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_rx_tdls_notif() local 276 if (WARN_ON(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_tdls_notif() 279 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_rx_tdls_notif() 428 cmd.peer_sta_id = cpu_to_le32(mvmsta->sta_id); in iwl_mvm_tdls_config_channel_switch() 473 mvmsta->sta_id); in iwl_mvm_tdls_config_channel_switch() 490 mvm->tdls_cs.cur_sta_id = mvmsta->sta_id; in iwl_mvm_tdls_config_channel_switch() 524 if (mvm->tdls_cs.peer.sta_id == IWL_MVM_INVALID_STA) in iwl_mvm_tdls_ch_switch_work() 528 mvm->fw_id_to_mac_id[mvm->tdls_cs.peer.sta_id], in iwl_mvm_tdls_ch_switch_work() 573 if (mvm->tdls_cs.peer.sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_tdls_channel_switch() [all …]
|
D | sf.c | 213 static int iwl_mvm_sf_config(struct iwl_mvm *mvm, u8 sta_id, in iwl_mvm_sf_config() argument 237 if (sta_id == IWL_MVM_INVALID_STA) { in iwl_mvm_sf_config() 243 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sf_config() 278 u8 sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_sf_update() local 314 sta_id = data.sta_vif_ap_sta_id; in iwl_mvm_sf_update() 323 sta_id = mvmvif->ap_sta_id; in iwl_mvm_sf_update() 334 return iwl_mvm_sf_config(mvm, sta_id, new_state); in iwl_mvm_sf_update()
|
D | rs-fw.c | 355 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif() 358 notif->sta_id); in iwl_mvm_tlc_update_notif() 366 notif->sta_id); in iwl_mvm_tlc_update_notif() 461 .sta_id = mvmsta->sta_id, in rs_fw_rate_init() 512 lq_sta->pers.sta_id = mvmsta->sta_id; in iwl_mvm_rs_add_sta()
|
D | sta.h | 419 u32 sta_id; member 472 u32 sta_id; member 507 u8 sta_id);
|
/Linux-v5.10/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-mac.c | 930 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il4965_request_scan() 1051 il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid, int freed) in il4965_free_tfds_in_queue() argument 1055 if (il->stations[sta_id].tid[tid].tfds_in_queue >= freed) in il4965_free_tfds_in_queue() 1056 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, freed); in il4965_free_tfds_in_queue() 1060 il->stations[sta_id].tid[tid].tfds_in_queue = 0; in il4965_free_tfds_in_queue() 1507 tx_cmd->sta_id = std_id; in il4965_tx_cmd_build_basic() 1599 int sta_id) in il4965_tx_cmd_build_hwcrypto() argument 1662 u8 sta_id; in il4965_tx_skb() local 1690 sta_id = il->hw_params.bcast_id; in il4965_tx_skb() [all …]
|
D | common.c | 1738 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 …]
|
D | 3945-mac.c | 118 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 …]
|
D | 4965.h | 28 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.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sta.h | 300 u8 sta_id; member 386 u8 sta_id; member 415 u8 sta_id; member 472 u8 sta_id; member 493 __le32 sta_id; member 510 __le32 sta_id; member 540 __le32 sta_id; member
|
D | tdls.h | 154 __le32 sta_id; member 166 u8 sta_id; member 204 __le16 sta_id; member
|
D | tx.h | 280 u8 sta_id; member 670 u8 sta_id; member 755 u8 sta_id; member 907 __le32 sta_id; member 935 u8 sta_id; member 955 u8 sta_id; member
|
D | rs.h | 200 u8 sta_id; member 235 u8 sta_id; member 598 u8 sta_id; member
|
/Linux-v5.10/drivers/net/wireless/intersil/orinoco/ |
D | hw.c | 76 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.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.h | 470 u8 sta_id; member 604 __le16 flags, u8 sta_id, u8 tid, 1240 __le16 flags, u8 sta_id, u8 tid, in iwl_trans_txq_alloc() argument 1254 return trans->ops->txq_alloc(trans, flags, sta_id, tid, in iwl_trans_txq_alloc() 1266 int fifo, int sta_id, int tid, in iwl_trans_txq_enable() argument 1272 .sta_id = sta_id, in iwl_trans_txq_enable() 1275 .aggregate = sta_id >= 0, in iwl_trans_txq_enable() 1287 .sta_id = -1, in iwl_trans_ac_txq_enable()
|
/Linux-v5.10/drivers/net/wireless/rsi/ |
D | rsi_mgmt.h | 340 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,
|
D | rsi_91x_core.c | 404 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()
|
D | rsi_91x_mac80211.c | 952 s16 sta_id = 0; in rsi_hal_key_config() local 967 sta_id = rsta->sta_id; in rsi_hal_key_config() 979 sta_id, in rsi_hal_key_config() 992 sta_id, in rsi_hal_key_config() 1087 u8 sta_id = 0; in rsi_mac80211_ampdu_action() local 1111 sta_id = rsta->sta_id; in rsi_mac80211_ampdu_action() 1116 __func__, tid, seq_no, buf_size, sta_id); in rsi_mac80211_ampdu_action() 1125 sta_id); in rsi_mac80211_ampdu_action() 1134 sta_id); in rsi_mac80211_ampdu_action() 1155 sta_id); in rsi_mac80211_ampdu_action() [all …]
|
D | rsi_91x_mgmt.c | 537 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() 1241 dynamic_frame->desc_dword3.sta_id = 0; /* vap id */ in rsi_send_vap_dynamic_update() 1307 u16 sta_id, in rsi_send_auto_rate_request() argument 1353 auto_rate->desc.desc_dword3.sta_id = sta_id; in rsi_send_auto_rate_request() [all …]
|
D | rsi_hal.h | 186 u8 sta_id; member 200 u8 sta_id; member
|