/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A 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] in iwl_sta_ucode_activate() 201 u8 sta_id = iwl_sta_id(sta); iwl_sta_update_ht() local 247 u8 sta_id = IWL_INVALID_STATION; iwl_prep_station() local 334 u8 sta_id; iwl_add_station_common() local 389 iwl_sta_ucode_deactivate(struct iwl_priv *priv, u8 sta_id) iwl_sta_ucode_deactivate() argument 405 iwl_send_remove_station(struct iwl_priv *priv, const u8 *addr, int sta_id, bool temporary) iwl_send_remove_station() argument 457 iwl_remove_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) iwl_remove_station() argument 518 iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) iwl_deactivate_station() argument 554 iwl_sta_fill_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id, struct iwl_link_quality_cmd *link_cmd) iwl_sta_fill_lq() argument 867 iwl_sta_alloc_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id) iwl_sta_alloc_lq() argument 893 u8 sta_id; iwlagn_add_bssid_station() local 1082 iwlagn_send_sta_key(struct iwl_priv *priv, struct ieee80211_key_conf *keyconf, u8 sta_id, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags) iwlagn_send_sta_key() argument 1143 u8 sta_id = iwlagn_key_sta_id(priv, vif, sta); iwl_update_tkip_key() local 1164 u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); iwl_remove_dynamic_key() local 1214 u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); iwl_set_dynamic_key() local 1275 u8 sta_id; iwlagn_alloc_bcast_station() local 1314 u8 sta_id = ctx->bcast_sta_id; iwl_update_bcast_station() local 1350 iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid) iwl_sta_tx_modify_enable_tid() argument 1370 int sta_id; iwl_sta_rx_agg_start() local 1394 int sta_id; iwl_sta_rx_agg_stop() local 1418 iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt) iwl_sta_modify_sleep_tx_count() argument [all...] |
H A D | tx.c | 51 struct ieee80211_hdr *hdr, u8 sta_id) in iwlagn_tx_cmd_build_basic() 76 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic() 231 * iwl_sta_id_or_broadcast - return sta_id or broadcast sta 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 in iwlagn_tx_skb() 47 iwlagn_tx_cmd_build_basic(struct iwl_priv *priv, struct sk_buff *skb, struct iwl_tx_cmd *tx_cmd, struct ieee80211_tx_info *info, struct ieee80211_hdr *hdr, u8 sta_id) iwlagn_tx_cmd_build_basic() argument 490 int sta_id, txq_id; iwlagn_tx_agg_stop() local 582 int sta_id, txq_id, ret; iwlagn_tx_agg_start() local 641 int sta_id, txq_id; iwlagn_tx_agg_flush() local 745 iwlagn_check_ratid_empty(struct iwl_priv *priv, int sta_id, u8 tid) iwlagn_check_ratid_empty() argument 928 int sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> iwl_rx_reply_tx_agg() local 1124 int sta_id; iwlagn_rx_reply_tx() local 1273 int sta_id; iwlagn_rx_reply_compressed_ba() local [all...] |
/kernel/linux/linux-6.6/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] in iwl_sta_ucode_activate() 196 u8 sta_id = iwl_sta_id(sta); iwl_sta_update_ht() local 242 u8 sta_id = IWL_INVALID_STATION; iwl_prep_station() local 329 u8 sta_id; iwl_add_station_common() local 384 iwl_sta_ucode_deactivate(struct iwl_priv *priv, u8 sta_id) iwl_sta_ucode_deactivate() argument 400 iwl_send_remove_station(struct iwl_priv *priv, const u8 *addr, int sta_id, bool temporary) iwl_send_remove_station() argument 452 iwl_remove_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) iwl_remove_station() argument 513 iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) iwl_deactivate_station() argument 549 iwl_sta_fill_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id, struct iwl_link_quality_cmd *link_cmd) iwl_sta_fill_lq() argument 862 iwl_sta_alloc_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id) iwl_sta_alloc_lq() argument 888 u8 sta_id; iwlagn_add_bssid_station() local 1077 iwlagn_send_sta_key(struct iwl_priv *priv, struct ieee80211_key_conf *keyconf, u8 sta_id, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags) iwlagn_send_sta_key() argument 1138 u8 sta_id = iwlagn_key_sta_id(priv, vif, sta); iwl_update_tkip_key() local 1159 u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); iwl_remove_dynamic_key() local 1209 u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); iwl_set_dynamic_key() local 1270 u8 sta_id; iwlagn_alloc_bcast_station() local 1309 u8 sta_id = ctx->bcast_sta_id; iwl_update_bcast_station() local 1345 iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid) iwl_sta_tx_modify_enable_tid() argument 1365 int sta_id; iwl_sta_rx_agg_start() local 1389 int sta_id; iwl_sta_rx_agg_stop() local 1413 iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt) iwl_sta_modify_sleep_tx_count() argument [all...] |
H A D | tx.c | 47 struct ieee80211_hdr *hdr, u8 sta_id) in iwlagn_tx_cmd_build_basic() 72 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic() 227 * iwl_sta_id_or_broadcast - return sta_id or broadcast sta 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 in iwlagn_tx_skb() 43 iwlagn_tx_cmd_build_basic(struct iwl_priv *priv, struct sk_buff *skb, struct iwl_tx_cmd *tx_cmd, struct ieee80211_tx_info *info, struct ieee80211_hdr *hdr, u8 sta_id) iwlagn_tx_cmd_build_basic() argument 486 int sta_id, txq_id; iwlagn_tx_agg_stop() local 578 int sta_id, txq_id, ret; iwlagn_tx_agg_start() local 637 int sta_id, txq_id; iwlagn_tx_agg_flush() local 741 iwlagn_check_ratid_empty(struct iwl_priv *priv, int sta_id, u8 tid) iwlagn_check_ratid_empty() argument 924 int sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> iwl_rx_reply_tx_agg() local 1120 int sta_id; iwlagn_rx_reply_tx() local 1269 int sta_id; iwlagn_rx_reply_compressed_ba() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | 29 int sta_id; in iwl_mvm_find_free_sta_id() local 37 /* d0i3/d3 assumes the AP's sta_id (of sta vif) is 0. reserve it. */ in iwl_mvm_find_free_sta_id() 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; iwl_mvm_rx_agg_session_expired() local 311 u8 sta_id; iwl_mvm_invalidate_sta_queue() local 351 iwl_mvm_disable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int sta_id, u16 *queueptr, u8 tid) iwl_mvm_disable_txq() argument 450 u8 sta_id; iwl_mvm_get_queue_agg_tids() local 490 u8 sta_id; iwl_mvm_remove_sta_queue_marking() local 552 u8 sta_id, tid; iwl_mvm_free_inactive_queue() local 663 iwl_mvm_reconfig_scd(struct iwl_mvm *mvm, int queue, int fifo, int sta_id, int tid, int frame_limit, u16 ssn) iwl_mvm_reconfig_scd() argument 787 iwl_mvm_find_free_queue(struct iwl_mvm *mvm, u8 sta_id, u8 minq, u8 maxq) iwl_mvm_find_free_queue() argument 845 iwl_mvm_tvqm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 sta_id, u8 tid, unsigned int timeout) iwl_mvm_tvqm_enable_txq() argument 943 iwl_mvm_update_txq_mapping(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u8 sta_id, u8 tid) iwl_mvm_update_txq_mapping() argument 1063 u8 sta_id; iwl_mvm_unshare_queue() local 1258 u8 sta_id; iwl_mvm_inactivity_check() local 1727 iwl_mvm_sta_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, int sta_id, u8 sta_type) iwl_mvm_sta_init() argument 1830 int ret, sta_id; iwl_mvm_add_sta() local 1937 iwl_mvm_rm_sta_common(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_rm_sta_common() argument 2031 u8 sta_id; iwl_mvm_sta_del() local 2129 iwl_mvm_rm_sta_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 sta_id) iwl_mvm_rm_sta_id() argument 2168 iwl_mvm_enable_aux_snif_queue(struct iwl_mvm *mvm, u16 queue, u8 sta_id, u8 fifo) iwl_mvm_enable_aux_snif_queue() argument 2186 iwl_mvm_enable_aux_snif_queue_tvqm(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_enable_aux_snif_queue_tvqm() argument 2606 __iwl_mvm_remove_sta_key(struct iwl_mvm *mvm, u8 sta_id, struct ieee80211_key_conf *keyconf, bool mcast) __iwl_mvm_remove_sta_key() argument 3511 u8 sta_id = mvmvif->deflink.ap_sta_id; iwl_mvm_get_key_sta() local 3544 iwl_mvm_send_sta_key(struct iwl_mvm *mvm, u32 sta_id, struct ieee80211_key_conf *key, bool mcast, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags, u8 key_offset, bool mfp) iwl_mvm_send_sta_key() argument 3697 iwl_mvm_send_sta_igtk(struct iwl_mvm *mvm, struct ieee80211_key_conf *keyconf, u8 sta_id, bool remove_key) iwl_mvm_send_sta_igtk() argument 3789 u8 sta_id = mvmvif->deflink.ap_sta_id; iwl_mvm_get_mac_addr() local 3812 u32 sta_id; __iwl_mvm_set_sta_key() local 3858 u8 sta_id = IWL_MVM_INVALID_STA; iwl_mvm_set_sta_key() local 3959 u8 sta_id = IWL_MVM_INVALID_STA; iwl_mvm_remove_sta_key() local 4140 u32 sta_id = le32_to_cpu(notif->sta_id); iwl_mvm_rx_eosp_notif() local [all...] |
H A D | mld-sta.c | 23 return BIT(mvmsta->deflink.sta_id); in iwl_mvm_sta_fw_id_mask() 39 result |= BIT(link_sta->sta_id); in iwl_mvm_sta_fw_id_mask() 68 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); in iwl_mvm_mld_add_int_sta_to_fw() 92 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 95 .sta_id = cpu_to_le32(sta_id), in iwl_mvm_mld_rm_sta_from_fw() 100 if (!rcu_access_pointer(mvm->fw_id_to_mac_id[sta_id])) { in iwl_mvm_mld_rm_sta_from_fw() 101 IWL_ERR(mvm, "Invalid station id %d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw() 108 IWL_ERR(mvm, "Failed to remove station. Id=%d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw() 556 u32 sta_id = iwl_mvm_find_free_sta_id(mvm, iwl_mvm_mld_alloc_sta_link() local 632 int sta_id; iwl_mvm_alloc_sta_after_restart() local 854 iwl_mvm_mld_rm_sta_id(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_mld_rm_sta_id() argument [all...] |
H A D | tx.c | 151 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() 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() 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() 149 iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb, struct iwl_tx_cmd *tx_cmd, struct ieee80211_tx_info *info, u8 sta_id) iwl_mvm_set_tx_cmd() argument 517 iwl_mvm_set_tx_params(struct iwl_mvm *mvm, struct sk_buff *skb, struct ieee80211_tx_info *info, int hdrlen, struct ieee80211_sta *sta, u8 sta_id, const u8 *addr3_override) iwl_mvm_set_tx_params() argument 1641 int sta_id = IWL_MVM_TX_RES_GET_RA(tx_resp->ra_tid); iwl_mvm_rx_tx_cmd_single() local 1931 int sta_id = IWL_MVM_TX_RES_GET_RA(tx_resp->ra_tid); iwl_mvm_rx_tx_cmd_agg() local 1979 iwl_mvm_tx_reclaim(struct iwl_mvm *mvm, int sta_id, int tid, int txq, int index, struct ieee80211_tx_info *tx_info, u32 rate, bool is_flush) iwl_mvm_tx_reclaim() argument 2126 int sta_id, tid, txq, index; iwl_mvm_rx_ba_notif() local 2276 iwl_mvm_flush_sta_tids(struct iwl_mvm *mvm, u32 sta_id, u16 tids) iwl_mvm_flush_sta_tids() argument 2355 iwl_mvm_flush_sta(struct iwl_mvm *mvm, u32 sta_id, u32 tfd_queue_mask) iwl_mvm_flush_sta() argument [all...] |
H A D | tdls.c | 97 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() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | 85 int sta_id; in iwl_mvm_find_free_sta_id() local 93 /* d0i3/d3 assumes the AP's sta_id (of sta vif) is 0. reserve it. */ in iwl_mvm_find_free_sta_id() 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() 324 u8 sta_id; iwl_mvm_invalidate_sta_queue() local 437 u8 sta_id; iwl_mvm_get_queue_agg_tids() local 477 u8 sta_id; iwl_mvm_remove_sta_queue_marking() local 535 u8 sta_id, tid; iwl_mvm_free_inactive_queue() local 737 iwl_mvm_find_free_queue(struct iwl_mvm *mvm, u8 sta_id, u8 minq, u8 maxq) iwl_mvm_find_free_queue() argument 762 iwl_mvm_tvqm_enable_txq(struct iwl_mvm *mvm, u8 sta_id, u8 tid, unsigned int timeout) iwl_mvm_tvqm_enable_txq() argument 830 iwl_mvm_update_txq_mapping(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u8 sta_id, u8 tid) iwl_mvm_update_txq_mapping() argument 950 u8 sta_id; iwl_mvm_unshare_queue() local 1145 u8 sta_id; iwl_mvm_inactivity_check() local 1637 int i, ret, sta_id; iwl_mvm_add_sta() local 1821 iwl_mvm_rm_sta_common(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_rm_sta_common() argument 1905 u8 sta_id = mvm_sta->sta_id; iwl_mvm_rm_sta() local 1988 iwl_mvm_rm_sta_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 sta_id) iwl_mvm_rm_sta_id() argument 2027 iwl_mvm_enable_aux_snif_queue(struct iwl_mvm *mvm, u16 queue, u8 sta_id, u8 fifo) iwl_mvm_enable_aux_snif_queue() argument 2045 iwl_mvm_enable_aux_snif_queue_tvqm(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_enable_aux_snif_queue_tvqm() argument 2446 __iwl_mvm_remove_sta_key(struct iwl_mvm *mvm, u8 sta_id, struct ieee80211_key_conf *keyconf, bool mcast) __iwl_mvm_remove_sta_key() argument 3255 u8 sta_id = mvmvif->ap_sta_id; iwl_mvm_get_key_sta() local 3274 iwl_mvm_send_sta_key(struct iwl_mvm *mvm, u32 sta_id, struct ieee80211_key_conf *key, bool mcast, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags, u8 key_offset, bool mfp) iwl_mvm_send_sta_key() argument 3386 iwl_mvm_send_sta_igtk(struct iwl_mvm *mvm, struct ieee80211_key_conf *keyconf, u8 sta_id, bool remove_key) iwl_mvm_send_sta_igtk() argument 3476 u8 sta_id = mvmvif->ap_sta_id; iwl_mvm_get_mac_addr() local 3497 u32 sta_id; __iwl_mvm_set_sta_key() local 3549 u8 sta_id = IWL_MVM_INVALID_STA; iwl_mvm_set_sta_key() local 3650 u8 sta_id = IWL_MVM_INVALID_STA; iwl_mvm_remove_sta_key() local 3831 u32 sta_id = le32_to_cpu(notif->sta_id); iwl_mvm_rx_eosp_notif() local [all...] |
H A 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()
|
H A D | tx.c | 203 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() 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() 587 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params() 719 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local 745 sta_id = mvmvif->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 747 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 201 iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb, struct iwl_tx_cmd *tx_cmd, struct ieee80211_tx_info *info, u8 sta_id) iwl_mvm_set_tx_cmd() argument 494 iwl_mvm_set_tx_params(struct iwl_mvm *mvm, struct sk_buff *skb, struct ieee80211_tx_info *info, int hdrlen, struct ieee80211_sta *sta, u8 sta_id) iwl_mvm_set_tx_params() argument 1460 int sta_id = IWL_MVM_TX_RES_GET_RA(tx_resp->ra_tid); iwl_mvm_rx_tx_cmd_single() local 1734 int sta_id = IWL_MVM_TX_RES_GET_RA(tx_resp->ra_tid); iwl_mvm_rx_tx_cmd_agg() local 1782 iwl_mvm_tx_reclaim(struct iwl_mvm *mvm, int sta_id, int tid, int txq, int index, struct ieee80211_tx_info *ba_info, u32 rate) iwl_mvm_tx_reclaim() argument 1923 int sta_id, tid, txq, index; iwl_mvm_rx_ba_notif() local 2060 iwl_mvm_flush_sta_tids(struct iwl_mvm *mvm, u32 sta_id, u16 tids, u32 flags) iwl_mvm_flush_sta_tids() argument [all...] |
H A 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() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
H A 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() 1662 u8 sta_id; in il4965_tx_skb() local 1690 sta_id in il4965_tx_skb() 1597 il4965_tx_cmd_build_hwcrypto(struct il_priv *il, struct ieee80211_tx_info *info, struct il_tx_cmd *tx_cmd, struct sk_buff *skb_frag, int sta_id) il4965_tx_cmd_build_hwcrypto() argument 2148 il4965_txq_agg_enable(struct il_priv *il, int txq_id, int tx_fifo, int sta_id, int tid, u16 ssn_idx) il4965_txq_agg_enable() argument 2217 int sta_id; il4965_tx_agg_start() local 2313 int tx_fifo_id, txq_id, sta_id, ssn; il4965_tx_agg_stop() local 2388 il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id) il4965_txq_check_empty() argument 2770 int sta_id; il4965_hdl_tx() local 2911 int sta_id; il4965_hdl_compressed_ba() local 3021 il4965_sta_alloc_lq(struct il_priv *il, u8 sta_id) il4965_sta_alloc_lq() argument 3081 u8 sta_id; il4965_add_bssid_station() local 3226 il4965_set_wep_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_set_wep_dynamic_key_info() argument 3280 il4965_set_ccmp_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_set_ccmp_dynamic_key_info() argument 3328 il4965_set_tkip_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_set_tkip_dynamic_key_info() argument 3375 u8 sta_id; il4965_update_tkip_key() local 3406 il4965_remove_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_remove_dynamic_key() argument 3467 il4965_set_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_set_dynamic_key() argument 3514 u8 sta_id; il4965_alloc_bcast_station() local 3554 u8 sta_id = il->hw_params.bcast_id; il4965_update_bcast_station() local 3583 il4965_sta_tx_modify_enable_tid(struct il_priv *il, int sta_id, int tid) il4965_sta_tx_modify_enable_tid() argument 3607 int sta_id; il4965_sta_rx_agg_start() local 3633 int sta_id; il4965_sta_rx_agg_stop() local 3657 il4965_sta_modify_sleep_tx_count(struct il_priv *il, int sta_id, int cnt) il4965_sta_modify_sleep_tx_count() argument 5892 u8 sta_id; il4965_mac_set_key() local 6019 u8 sta_id; il4965_mac_sta_add() local [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] in il_sta_ucode_activate() 1760 u8 sta_id = addsta->sta.sta_id; il_process_add_sta_resp() local 1926 u8 sta_id = IL_INVALID_STATION; il_prep_station() local 2011 u8 sta_id; il_add_station_common() local 2068 il_sta_ucode_deactivate(struct il_priv *il, u8 sta_id) il_sta_ucode_deactivate() argument 2083 il_send_remove_station(struct il_priv *il, const u8 * addr, int sta_id, bool temporary) il_send_remove_station() argument 2142 il_remove_station(struct il_priv *il, const u8 sta_id, const u8 * addr) il_remove_station() argument [all...] |
H A D | 3945-mac.c | 118 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_ccmp_dynamic_key_info() 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] in il3945_set_ccmp_dynamic_key_info() 117 il3945_set_ccmp_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il3945_set_ccmp_dynamic_key_info() argument 165 il3945_set_tkip_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il3945_set_tkip_dynamic_key_info() argument 172 il3945_set_wep_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il3945_set_wep_dynamic_key_info() argument 179 il3945_clear_sta_key_info(struct il_priv *il, u8 sta_id) il3945_clear_sta_key_info() argument 199 il3945_set_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il3945_set_dynamic_key() argument 347 il3945_build_tx_cmd_hwcrypto(struct il_priv *il, struct ieee80211_tx_info *info, struct il_device_cmd *cmd, struct sk_buff *skb_frag, int sta_id) il3945_build_tx_cmd_hwcrypto() argument 461 u8 sta_id; il3945_tx_skb() local 2326 u8 sta_id; il3945_alloc_bcast_station() local 2915 u8 sta_id = IL_INVALID_STATION; il3945_mac_set_key() local 2981 u8 sta_id; il3945_mac_sta_add() local [all...] |
/kernel/linux/linux-6.6/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() 1600 int sta_id) in il4965_tx_cmd_build_hwcrypto() 1663 u8 sta_id; in il4965_tx_skb() local 1691 sta_id in il4965_tx_skb() 1598 il4965_tx_cmd_build_hwcrypto(struct il_priv *il, struct ieee80211_tx_info *info, struct il_tx_cmd *tx_cmd, struct sk_buff *skb_frag, int sta_id) il4965_tx_cmd_build_hwcrypto() argument 2147 il4965_txq_agg_enable(struct il_priv *il, int txq_id, int tx_fifo, int sta_id, int tid, u16 ssn_idx) il4965_txq_agg_enable() argument 2216 int sta_id; il4965_tx_agg_start() local 2312 int tx_fifo_id, txq_id, sta_id, ssn; il4965_tx_agg_stop() local 2387 il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id) il4965_txq_check_empty() argument 2768 int sta_id; il4965_hdl_tx() local 2910 int sta_id; il4965_hdl_compressed_ba() local 3020 il4965_sta_alloc_lq(struct il_priv *il, u8 sta_id) il4965_sta_alloc_lq() argument 3080 u8 sta_id; il4965_add_bssid_station() local 3225 il4965_set_wep_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_set_wep_dynamic_key_info() argument 3279 il4965_set_ccmp_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_set_ccmp_dynamic_key_info() argument 3327 il4965_set_tkip_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_set_tkip_dynamic_key_info() argument 3374 u8 sta_id; il4965_update_tkip_key() local 3405 il4965_remove_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_remove_dynamic_key() argument 3466 il4965_set_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il4965_set_dynamic_key() argument 3513 u8 sta_id; il4965_alloc_bcast_station() local 3553 u8 sta_id = il->hw_params.bcast_id; il4965_update_bcast_station() local 3582 il4965_sta_tx_modify_enable_tid(struct il_priv *il, int sta_id, int tid) il4965_sta_tx_modify_enable_tid() argument 3606 int sta_id; il4965_sta_rx_agg_start() local 3632 int sta_id; il4965_sta_rx_agg_stop() local 3656 il4965_sta_modify_sleep_tx_count(struct il_priv *il, int sta_id, int cnt) il4965_sta_modify_sleep_tx_count() argument 5891 u8 sta_id; il4965_mac_set_key() local 6018 u8 sta_id; il4965_mac_sta_add() local [all...] |
H A D | common.c | 1736 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] in il_sta_ucode_activate() 1758 u8 sta_id = addsta->sta.sta_id; il_process_add_sta_resp() local 1924 u8 sta_id = IL_INVALID_STATION; il_prep_station() local 2009 u8 sta_id; il_add_station_common() local 2066 il_sta_ucode_deactivate(struct il_priv *il, u8 sta_id) il_sta_ucode_deactivate() argument 2081 il_send_remove_station(struct il_priv *il, const u8 * addr, int sta_id, bool temporary) il_send_remove_station() argument 2140 il_remove_station(struct il_priv *il, const u8 sta_id, const u8 * addr) il_remove_station() argument [all...] |
H A D | 3945-mac.c | 118 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_ccmp_dynamic_key_info() 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] in il3945_set_ccmp_dynamic_key_info() 117 il3945_set_ccmp_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il3945_set_ccmp_dynamic_key_info() argument 165 il3945_set_tkip_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il3945_set_tkip_dynamic_key_info() argument 172 il3945_set_wep_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il3945_set_wep_dynamic_key_info() argument 179 il3945_clear_sta_key_info(struct il_priv *il, u8 sta_id) il3945_clear_sta_key_info() argument 199 il3945_set_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) il3945_set_dynamic_key() argument 347 il3945_build_tx_cmd_hwcrypto(struct il_priv *il, struct ieee80211_tx_info *info, struct il_device_cmd *cmd, struct sk_buff *skb_frag, int sta_id) il3945_build_tx_cmd_hwcrypto() argument 461 u8 sta_id; il3945_tx_skb() local 2318 u8 sta_id; il3945_alloc_bcast_station() local 2907 u8 sta_id = IL_INVALID_STATION; il3945_mac_set_key() local 2973 u8 sta_id; il3945_mac_sta_add() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | sta.h | 264 * @sta_id: index of station in uCode's station table 300 u8 sta_id; member 344 * @sta_id: index of station in uCode's station table 386 u8 sta_id; member 408 * @sta_id: index of station in uCode's station table 415 u8 sta_id; member 468 * @sta_id: the station id of the station to be removed 472 u8 sta_id; member 483 * @sta_id: station ID that support IGTK 493 __le32 sta_id; member 510 __le32 sta_id; global() member 540 __le32 sta_id; global() member [all...] |
H A D | tdls.h | 149 * @sta_id: peer currently performing the channel-switch with 154 __le32 sta_id; member 160 * @sta_id: station id of the TDLS peer 166 u8 sta_id; member 199 * @sta_id: station id of the TDLS peer 204 __le16 sta_id; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | sta.h | 211 * @sta_id: index of station in uCode's station table 247 u8 sta_id; member 291 * @sta_id: index of station in uCode's station table 333 u8 sta_id; member 355 * @sta_id: index of station in uCode's station table 362 u8 sta_id; member 419 * @sta_id: the station id of the station to be removed 423 u8 sta_id; member 434 * @sta_id: station ID that support IGTK 444 __le32 sta_id; member 461 __le32 sta_id; global() member 491 __le32 sta_id; global() member [all...] |
H A D | tdls.h | 91 * @sta_id: peer currently performing the channel-switch with 96 __le32 sta_id; member 102 * @sta_id: station id of the TDLS peer 108 u8 sta_id; member 141 * @sta_id: station id of the TDLS peer 146 __le16 sta_id; member
|
H A D | d3.h | 167 * @sta_id: station id 174 __le32 sta_id; member 327 * @n_patterns: sta_id 329 u8 sta_id; member 380 * @sta_id: station ID for wowlan. 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; global() member 590 __le32 sta_id; global() member [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
H A 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 in determine_fw_capabilities() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/ |
H A D | hw.c | 76 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 in determine_fw_capabilities() [all...] |