| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | sta.c | 17 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 D | tx.c | 47 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 D | agn.h | 262 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 D | sta.c | 29 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 D | mld-sta.c | 19 return BIT(mvmsta->deflink.sta_id); in iwl_mvm_sta_fw_id_mask() 49 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); in iwl_mvm_mld_add_int_sta_to_fw() 73 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 76 .sta_id = cpu_to_le32(sta_id), in iwl_mvm_mld_rm_sta_from_fw() 81 if (!rcu_access_pointer(mvm->fw_id_to_mac_id[sta_id])) { in iwl_mvm_mld_rm_sta_from_fw() 82 IWL_ERR(mvm, "Invalid station id %d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw() 89 IWL_ERR(mvm, "Failed to remove station. Id=%d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw() 103 .sta_id = cpu_to_le32(sta->sta_id), in iwl_mvm_add_aux_sta_to_fw() 127 if (WARN_ON_ONCE(sta->sta_id == IWL_INVALID_STA)) in iwl_mvm_mld_add_int_sta_with_queue() 141 txq = iwl_mvm_tvqm_enable_txq(mvm, NULL, sta->sta_id, tid, in iwl_mvm_mld_add_int_sta_with_queue() [all …]
|
| H A D | ftm-responder.c | 126 .sta_id = mvmvif->link[link_conf->link_id]->bcast_sta.sta_id, in iwl_mvm_ftm_responder_cmd() 315 iwl_mvm_sec_key_del_pasn(mvm, vif, BIT(sta->int_sta.sta_id), in iwl_mvm_resp_del_pasn_sta() 319 iwl_mvm_mld_rm_sta_id(mvm, sta->int_sta.sta_id); in iwl_mvm_resp_del_pasn_sta() 321 iwl_mvm_rm_sta_id(mvm, vif, sta->int_sta.sta_id); in iwl_mvm_resp_del_pasn_sta()
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965-mac.c | 931 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() 1603 int sta_id) in il4965_tx_cmd_build_hwcrypto() argument 1666 u8 sta_id; in il4965_tx_skb() local 1694 sta_id = il->hw_params.bcast_id; in il4965_tx_skb() [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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);
|
| H A D | 3945.c | 685 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 …]
|
| H A D | commands.h | 894 #define BUILD_RAxTID(sta_id, tid) (((sta_id) << 4) + (tid)) argument 921 u8 sta_id; member 1388 u8 sta_id; 1481 u8 sta_id; 1741 u8 sta_id; member 2075 u8 sta_id; member
|
| H A D | common.h | 726 u8 sta_id; member 2129 int il_remove_station(struct il_priv *il, const u8 sta_id, const u8 * addr); 2166 return ((struct il_station_priv_common *)sta->drv_priv)->sta_id; in il_sta_id() 2183 int sta_id; in il_sta_id_or_broadcast() local 2188 sta_id = il_sta_id(sta); in il_sta_id_or_broadcast() 2194 WARN_ON(sta_id == IL_INVALID_STATION); in il_sta_id_or_broadcast() 2196 return sta_id; in il_sta_id_or_broadcast() 2869 void il3945_rate_scale_init(struct ieee80211_hw *hw, s32 sta_id); 2873 u8 sta_id); 2875 u8 sta_id);
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | agg.c | 49 u32 sta_id; in iwl_mld_release_frames_from_notif() local 67 sta_id = ffs(ba_data->sta_mask) - 1; in iwl_mld_release_frames_from_notif() 68 link_sta = rcu_dereference(mld->fw_id_to_link_sta[sta_id]); in iwl_mld_release_frames_from_notif() 104 unsigned int baid, nssn, sta_id, tid; in iwl_mld_handle_bar_frame_release_notif() local 116 sta_id = le32_get_bits(release->sta_tid, in iwl_mld_handle_bar_frame_release_notif() 135 sta_id > mld->fw->ucode_capa.num_stations || in iwl_mld_handle_bar_frame_release_notif() 136 !(baid_data->sta_mask & BIT(sta_id)), in iwl_mld_handle_bar_frame_release_notif() 138 baid, baid_data->sta_mask, baid_data->tid, sta_id, in iwl_mld_handle_bar_frame_release_notif() 157 u32 sta_id; in iwl_mld_del_ba() local 169 sta_id = ffs(ba_data->sta_mask) - 1; in iwl_mld_del_ba() [all …]
|
| H A D | sta.c | 433 cmd.sta_id = cpu_to_le32(fw_id); in iwl_mld_add_modify_sta_cmd() 567 .sta_id = cpu_to_le32(fw_sta_id), in iwl_mld_rm_sta_from_fw() 944 u32 sta_mask = BIT(internal_sta->sta_id); in iwl_mld_allocate_internal_txq() 964 .sta_id = cpu_to_le32(internal_sta->sta_id), in iwl_mld_send_aux_sta_cmd() 984 cmd.sta_id = cpu_to_le32((u8)internal_sta->sta_id); in iwl_mld_add_internal_sta_to_fw() 1012 &internal_sta->sta_id, in iwl_mld_add_internal_sta() 1026 iwl_mld_rm_sta_from_fw(mld, internal_sta->sta_id); in iwl_mld_add_internal_sta() 1110 if (WARN_ON_ONCE(internal_sta->sta_id == IWL_INVALID_STA || in iwl_mld_remove_internal_sta() 1115 iwl_mld_flush_link_sta_txqs(mld, internal_sta->sta_id); in iwl_mld_remove_internal_sta() 1117 iwl_mld_free_txq(mld, BIT(internal_sta->sta_id), in iwl_mld_remove_internal_sta() [all …]
|
| H A D | tlc.h | 21 int iwl_mld_send_tlc_dhc(struct iwl_mld *mld, u8 sta_id, u32 type, u32 data);
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | tdls.h | 96 __le32 sta_id; member 108 u8 sta_id; member 146 __le16 sta_id; member
|
| H A D | time-event.h | 372 __le32 sta_id; member 403 __le32 sta_id; member
|
| H A D | txq.h | 105 u8 sta_id; member
|
| /linux/drivers/net/wireless/rsi/ |
| H A 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,
|
| H A D | rsi_91x_mac80211.c | 970 s16 sta_id = 0; in rsi_hal_key_config() local 985 sta_id = rsta->sta_id; in rsi_hal_key_config() 997 sta_id, in rsi_hal_key_config() 1010 sta_id, in rsi_hal_key_config() 1102 u8 sta_id = 0; in rsi_mac80211_ampdu_action() local 1129 sta_id = rsta->sta_id; in rsi_mac80211_ampdu_action() 1134 __func__, tid, seq_no, buf_size, sta_id); in rsi_mac80211_ampdu_action() 1143 sta_id); in rsi_mac80211_ampdu_action() 1152 sta_id); in rsi_mac80211_ampdu_action() 1173 sta_id); in rsi_mac80211_ampdu_action() [all …]
|
| H A 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() 1240 dynamic_frame->desc_dword3.sta_id = 0; /* vap id */ in rsi_send_vap_dynamic_update() 1306 u16 sta_id, in rsi_send_auto_rate_request() argument 1352 auto_rate->desc.desc_dword3.sta_id = sta_id; in rsi_send_auto_rate_request() [all …]
|
| H A D | rsi_91x_core.c | 405 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 D | rsi_hal.h | 197 u8 sta_id; member 211 u8 sta_id; member
|
| H A D | rsi_main.h | 27 s16 sta_id; member 139 s8 sta_id; member
|