/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | sta.c | 37 static int iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) in iwl_sta_ucode_activate() argument 41 if (sta_id >= IWLAGN_STATION_COUNT) { in iwl_sta_ucode_activate() 42 IWL_ERR(priv, "invalid sta_id %u\n", sta_id); in iwl_sta_ucode_activate() 45 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) in iwl_sta_ucode_activate() 48 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 50 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { in iwl_sta_ucode_activate() 54 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 56 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; in iwl_sta_ucode_activate() 58 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 112 u8 sta_id __maybe_unused = sta->sta.sta_id; in iwl_send_add_sta() [all …]
|
D | tx.c | 68 struct ieee80211_hdr *hdr, u8 sta_id) in iwlagn_tx_cmd_build_basic() argument 93 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic() 260 int sta_id; in iwl_sta_id_or_broadcast() local 265 sta_id = iwl_sta_id(sta); in iwl_sta_id_or_broadcast() 271 WARN_ON(sta_id == IWL_INVALID_STATION); in iwl_sta_id_or_broadcast() 273 return sta_id; in iwl_sta_id_or_broadcast() 292 u8 sta_id, tid = IWL_MAX_TID_COUNT; in iwlagn_tx_skb() local 331 sta_id = ctx->bcast_sta_id; in iwlagn_tx_skb() 334 sta_id = iwl_sta_id_or_broadcast(ctx, sta); in iwlagn_tx_skb() 335 if (sta_id == IWL_INVALID_STATION) { in iwlagn_tx_skb() [all …]
|
D | mac80211.c | 818 u8 sta_id; in iwlagn_mac_sta_add() local 822 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add() 829 is_ap, sta, &sta_id); in iwlagn_mac_sta_add() 837 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add() 859 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove() 861 ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove() 1563 static void iwl_sta_modify_ps_wake(struct iwl_priv *priv, int sta_id) in iwl_sta_modify_ps_wake() argument 1568 .sta.sta_id = sta_id, in iwl_sta_modify_ps_wake() 1581 int sta_id; in iwlagn_mac_sta_notify() local 1597 sta_id = iwl_sta_id(sta); in iwlagn_mac_sta_notify() [all …]
|
D | agn.h | 320 int iwl_remove_station(struct iwl_priv *priv, const u8 sta_id, 322 void iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id, 342 return ((struct iwl_station_priv *)sta->drv_priv)->sta_id; in iwl_sta_id() 367 int iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid); 372 void iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt);
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sta.c | 92 int sta_id; in iwl_mvm_find_free_sta_id() local 105 for (sta_id = 0; sta_id < ARRAY_SIZE(mvm->fw_id_to_mac_id); sta_id++) { in iwl_mvm_find_free_sta_id() 106 if (BIT(sta_id) & reserved_ids) in iwl_mvm_find_free_sta_id() 109 if (!rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_find_free_sta_id() 111 return sta_id; in iwl_mvm_find_free_sta_id() 122 .sta_id = mvm_sta->sta_id, in iwl_mvm_sta_send_to_fw() 284 sta = rcu_dereference(ba_data->mvm->fw_id_to_mac_id[ba_data->sta_id]); in iwl_mvm_rx_agg_session_expired() 313 u8 sta_id; in iwl_mvm_invalidate_sta_queue() local 320 sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_invalidate_sta_queue() 325 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_invalidate_sta_queue() [all …]
|
D | tx.c | 209 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() 474 struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument 557 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params() 629 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local 663 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 672 sta_id = mvmvif->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 674 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 685 sta_id = ap_sta_id; in iwl_mvm_tx_skb_non_sta() 688 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta() [all …]
|
D | tdls.c | 156 tdls_cfg_cmd.sta_info[cnt].sta_id = i; in iwl_mvm_tdls_config() 273 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_rx_tdls_notif() local 283 if (WARN_ON(sta_id >= IWL_MVM_STATION_COUNT)) in iwl_mvm_rx_tdls_notif() 286 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_rx_tdls_notif() 432 cmd.peer_sta_id = cpu_to_le32(mvmsta->sta_id); in iwl_mvm_tdls_config_channel_switch() 482 mvmsta->sta_id); in iwl_mvm_tdls_config_channel_switch() 500 mvm->tdls_cs.cur_sta_id = mvmsta->sta_id; in iwl_mvm_tdls_config_channel_switch() 534 if (mvm->tdls_cs.peer.sta_id == IWL_MVM_INVALID_STA) in iwl_mvm_tdls_ch_switch_work() 538 mvm->fw_id_to_mac_id[mvm->tdls_cs.peer.sta_id], in iwl_mvm_tdls_ch_switch_work() 583 if (mvm->tdls_cs.peer.sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_tdls_channel_switch() [all …]
|
D | sf.c | 214 static int iwl_mvm_sf_config(struct iwl_mvm *mvm, u8 sta_id, in iwl_mvm_sf_config() argument 238 if (sta_id == IWL_MVM_INVALID_STA) { in iwl_mvm_sf_config() 244 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sf_config() 279 u8 sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_sf_update() local 315 sta_id = data.sta_vif_ap_sta_id; in iwl_mvm_sf_update() 324 sta_id = mvmvif->ap_sta_id; in iwl_mvm_sf_update() 335 return iwl_mvm_sf_config(mvm, sta_id, new_state); in iwl_mvm_sf_update()
|
D | rs-fw.c | 270 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif() 273 notif->sta_id); in iwl_mvm_tlc_update_notif() 281 notif->sta_id); in iwl_mvm_tlc_update_notif() 322 .sta_id = mvmsta->sta_id, in rs_fw_rate_init() 360 lq_sta->pers.sta_id = mvmsta->sta_id; in iwl_mvm_rs_add_sta()
|
D | utils.c | 608 int iwl_mvm_find_free_queue(struct iwl_mvm *mvm, u8 sta_id, u8 minq, u8 maxq) in iwl_mvm_find_free_queue() argument 631 (sta_id == mvm->queue_info[i].ra_sta_id || in iwl_mvm_find_free_queue() 638 int iwl_mvm_reconfig_scd(struct iwl_mvm *mvm, int queue, int fifo, int sta_id, in iwl_mvm_reconfig_scd() argument 645 .sta_id = sta_id, in iwl_mvm_reconfig_scd() 675 int mac80211_queue, u8 sta_id, u8 tid) in iwl_mvm_update_txq_mapping() argument 697 mac80211_queue, queue, sta_id, tid); in iwl_mvm_update_txq_mapping() 703 mvm->queue_info[queue].ra_sta_id = sta_id; in iwl_mvm_update_txq_mapping() 726 u8 sta_id, u8 tid, unsigned int timeout) in iwl_mvm_tvqm_enable_txq() argument 730 .sta_id = sta_id, in iwl_mvm_tvqm_enable_txq() 745 sta_id, tid, queue); in iwl_mvm_tvqm_enable_txq() [all …]
|
D | mvm.h | 704 u8 sta_id; member 1075 u8 sta_id; member 1173 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_rcu() argument 1177 if (sta_id >= ARRAY_SIZE(mvm->fw_id_to_mac_id)) in iwl_mvm_sta_from_staid_rcu() 1180 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sta_from_staid_rcu() 1190 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_protected() argument 1194 if (sta_id >= ARRAY_SIZE(mvm->fw_id_to_mac_id)) in iwl_mvm_sta_from_staid_protected() 1197 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_sta_from_staid_protected() 1461 struct ieee80211_tx_info *info, u8 sta_id); 1472 int iwl_mvm_flush_sta_tids(struct iwl_mvm *mvm, u32 sta_id, [all …]
|
D | sta.h | 411 u32 sta_id; member 464 u32 sta_id; member 499 u8 sta_id);
|
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-mac.c | 945 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il4965_request_scan() 1066 il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid, int freed) in il4965_free_tfds_in_queue() argument 1070 if (il->stations[sta_id].tid[tid].tfds_in_queue >= freed) in il4965_free_tfds_in_queue() 1071 il->stations[sta_id].tid[tid].tfds_in_queue -= freed; in il4965_free_tfds_in_queue() 1074 il->stations[sta_id].tid[tid].tfds_in_queue, freed); in il4965_free_tfds_in_queue() 1075 il->stations[sta_id].tid[tid].tfds_in_queue = 0; in il4965_free_tfds_in_queue() 1522 tx_cmd->sta_id = std_id; in il4965_tx_cmd_build_basic() 1614 int sta_id) in il4965_tx_cmd_build_hwcrypto() argument 1677 u8 sta_id; in il4965_tx_skb() local 1705 sta_id = il->hw_params.bcast_id; in il4965_tx_skb() [all …]
|
D | common.c | 1757 il_sta_ucode_activate(struct il_priv *il, u8 sta_id) in il_sta_ucode_activate() argument 1760 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) in il_sta_ucode_activate() 1762 sta_id, il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate() 1764 if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) { in il_sta_ucode_activate() 1766 " in uCode (according to driver)\n", sta_id, in il_sta_ucode_activate() 1767 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate() 1769 il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE; in il_sta_ucode_activate() 1770 D_ASSOC("Added STA id %u addr %pM to uCode\n", sta_id, in il_sta_ucode_activate() 1771 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate() 1779 u8 sta_id = addsta->sta.sta_id; in il_process_add_sta_resp() local [all …]
|
D | 3945-mac.c | 134 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_ccmp_dynamic_key_info() argument 143 if (sta_id == il->hw_params.bcast_id) in il3945_set_ccmp_dynamic_key_info() 151 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il3945_set_ccmp_dynamic_key_info() 152 il->stations[sta_id].keyinfo.keylen = keyconf->keylen; in il3945_set_ccmp_dynamic_key_info() 153 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info() 155 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info() 157 if ((il->stations[sta_id].sta.key. in il3945_set_ccmp_dynamic_key_info() 159 il->stations[sta_id].sta.key.key_offset = in il3945_set_ccmp_dynamic_key_info() 164 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, in il3945_set_ccmp_dynamic_key_info() 167 il->stations[sta_id].sta.key.key_flags = key_flags; in il3945_set_ccmp_dynamic_key_info() [all …]
|
D | 4965.h | 46 void il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid, 88 int il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id); 139 struct ieee80211_key_conf *key, u8 sta_id); 141 struct ieee80211_key_conf *key, u8 sta_id); 146 int il4965_sta_tx_modify_enable_tid(struct il_priv *il, int sta_id, int tid); 151 void il4965_sta_modify_sleep_tx_count(struct il_priv *il, int sta_id, int cnt);
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sta.h | 325 u8 sta_id; member 412 u8 sta_id; member 441 u8 sta_id; member 498 u8 sta_id; member 519 __le32 sta_id; member 536 __le32 sta_id; member 566 __le32 sta_id; member
|
D | tdls.h | 143 __le32 sta_id; member 155 u8 sta_id; member 193 __le16 sta_id; member
|
D | tx.h | 281 u8 sta_id; member 671 u8 sta_id; member 756 u8 sta_id; member 891 __le32 sta_id; member 919 u8 sta_id; member 939 u8 sta_id; member
|
D | rs.h | 178 u8 sta_id; member 212 u8 sta_id; member 265 u8 sta_id; member 628 u8 sta_id; member
|
/Linux-v4.19/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-v4.19/drivers/net/wireless/rsi/ |
D | rsi_91x_mgmt.c | 456 u8 qos_enable, u16 aid, u16 sta_id, in rsi_hal_send_sta_notify_frame() argument 503 peer_notify->desc.desc_dword3.qid_tid = sta_id; in rsi_hal_send_sta_notify_frame() 504 peer_notify->desc.desc_dword3.sta_id = vap_id; in rsi_hal_send_sta_notify_frame() 534 u8 sta_id) in rsi_send_aggregation_params_frame() argument 557 aggr_params->peer_id = sta_id; in rsi_send_aggregation_params_frame() 712 s16 sta_id, in rsi_hal_load_key() argument 755 set_key->sta_id = sta_id; in rsi_hal_load_key() 1102 dynamic_frame->desc_dword3.sta_id = 0; /* vap id */ in rsi_send_vap_dynamic_update() 1165 u16 sta_id, in rsi_send_auto_rate_request() argument 1211 auto_rate->desc.desc_dword3.sta_id = sta_id; in rsi_send_auto_rate_request() [all …]
|
D | rsi_hal.h | 144 u8 sta_id; member 158 u8 sta_id; member
|
D | rsi_mgmt.h | 336 u8 sta_id; member 461 u8 sta_id; member 662 u8 sta_id); 664 u8 key_type, u8 key_id, u32 cipher, s16 sta_id, 672 u8 qos_enable, u16 aid, u16 sta_id, 676 struct ieee80211_sta *sta, u16 sta_id,
|
D | rsi_91x_mac80211.c | 882 s16 sta_id = 0; in rsi_hal_key_config() local 897 sta_id = rsta->sta_id; in rsi_hal_key_config() 909 sta_id, in rsi_hal_key_config() 922 sta_id, in rsi_hal_key_config() 1017 u8 sta_id = 0; in rsi_mac80211_ampdu_action() local 1041 sta_id = rsta->sta_id; in rsi_mac80211_ampdu_action() 1046 __func__, tid, seq_no, buf_size, sta_id); in rsi_mac80211_ampdu_action() 1055 sta_id); in rsi_mac80211_ampdu_action() 1064 sta_id); in rsi_mac80211_ampdu_action() 1086 sta_id); in rsi_mac80211_ampdu_action() [all …]
|