/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | 309 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local 327 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue() 329 mvmsta->tid_disable_agg |= disable_agg_tids; in iwl_mvm_invalidate_sta_queue() 331 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_invalidate_sta_queue() 332 cmd.sta_id = mvmsta->deflink.sta_id; in iwl_mvm_invalidate_sta_queue() 339 cmd.tfd_queue_msk = cpu_to_le32(mvmsta->tfd_queue_msk); in iwl_mvm_invalidate_sta_queue() 340 cmd.tid_disable_tx = cpu_to_le16(mvmsta->tid_disable_agg); in iwl_mvm_invalidate_sta_queue() 447 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local 467 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids() 469 spin_lock_bh(&mvmsta in iwl_mvm_get_queue_agg_tids() 487 struct iwl_mvm_sta *mvmsta; iwl_mvm_remove_sta_queue_marking() local 551 struct iwl_mvm_sta *mvmsta; iwl_mvm_free_inactive_queue() local 867 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_tvqm_enable_txq() local 913 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_alloc_queue_tvqm() local 1062 struct iwl_mvm_sta *mvmsta; iwl_mvm_unshare_queue() local 1145 iwl_mvm_remove_inactive_tids(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int queue, unsigned long tid_bitmap, unsigned long *unshare_queues, unsigned long *changetid_queues) iwl_mvm_remove_inactive_tids() argument 1257 struct iwl_mvm_sta *mvmsta; iwl_mvm_inactivity_check() local 1339 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_alloc_queue() local 1561 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_reserve_sta_stream() local 1895 iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool drain) iwl_mvm_drain_sta() argument 3094 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_tx_agg_start() local 3200 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_tx_agg_oper() local 3325 iwl_mvm_unreserve_agg_queue(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, struct iwl_mvm_tid_data *tid_data) iwl_mvm_unreserve_agg_queue() argument 3352 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_tx_agg_stop() local 3425 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_tx_agg_flush() local 4036 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_modify_ps_wake() local 4057 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_modify_sleep_tx_count() local 4152 iwl_mvm_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool disable) iwl_mvm_sta_modify_disable_tx() argument 4282 struct iwl_mvm_sta *mvmsta; iwl_mvm_csa_client_absent() local [all...] |
H A D | tx.c | 257 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_tx_ant() local 259 return BIT(mvmsta->tx_ant) << RATE_MCS_ANT_POS; in iwl_mvm_get_tx_ant() 412 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_tx_cmd_rate() local 414 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_cmd_rate() 536 struct iwl_mvm_sta *mvmsta = sta ? in iwl_mvm_set_tx_params() local 561 mvmsta->sta_state < IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_params() 833 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_max_amsdu_size() local 852 val = mvmsta->max_amsdu_len; in iwl_mvm_max_amsdu_size() 860 link_conf = rcu_dereference(mvmsta->vif->link_conf[link]); in iwl_mvm_max_amsdu_size() 867 band = mvmsta in iwl_mvm_max_amsdu_size() 959 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_tx_tso() local 1090 iwl_mvm_tx_airtime(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int airtime) iwl_mvm_tx_airtime() argument 1111 iwl_mvm_tx_pkt_queued(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int tid) iwl_mvm_tx_pkt_queued() argument 1139 struct iwl_mvm_sta *mvmsta; iwl_mvm_tx_mpdu() local 1288 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_tx_skb_sta() local 1380 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_check_ratid_empty() local 1802 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rx_tx_cmd_single() local 1934 struct iwl_mvm_sta *mvmsta; iwl_mvm_rx_tx_cmd_agg() local 1987 struct iwl_mvm_sta *mvmsta = NULL; iwl_mvm_tx_reclaim() local 2130 struct iwl_mvm_sta *mvmsta; iwl_mvm_rx_ba_notif() local [all...] |
H A D | tdls.c | 19 struct iwl_mvm_sta *mvmsta; in iwl_mvm_teardown_tdls_peers() local 30 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers() 31 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers() 41 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local 54 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count() 55 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count() 208 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local 229 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tdls_notif() 230 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif() 338 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local 456 struct iwl_mvm_sta *mvmsta; iwl_mvm_tdls_ch_switch_work() local 507 struct iwl_mvm_sta *mvmsta; iwl_mvm_tdls_channel_switch() local [all...] |
H A D | rs.c | 582 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in rs_tl_turn_on_agg() argument 600 tid_data = &mvmsta->tid_data[tid]; in rs_tl_turn_on_agg() 601 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED && in rs_tl_turn_on_agg() 717 struct iwl_mvm_sta *mvmsta, in rs_update_tid_tpt_stats() 725 tid_data = &mvmsta->tid_data[tid]; in rs_update_tid_tpt_stats() 747 struct iwl_mvm_sta *mvmsta, u8 tid, in rs_collect_tlc_data() 757 struct lq_sta_pers *pers = &mvmsta->deflink.lq_sta.rs_drv.pers; in rs_collect_tlc_data() 763 rs_update_tid_tpt_stats(mvm, mvmsta, tid, successes); in rs_collect_tlc_data() 1170 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_drv_mac80211_tx_status() local 1172 if (!mvmsta in rs_drv_mac80211_tx_status() 716 rs_update_tid_tpt_stats(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, u8 tid, int successes) rs_update_tid_tpt_stats() argument 746 rs_collect_tlc_data(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, u8 tid, struct iwl_scale_tbl_info *tbl, int scale_index, int attempts, int successes) rs_collect_tlc_data() argument 1492 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_set_amsdu_len() local 2073 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_rate_scale_perform() local 2493 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_get_initial_rate() local 2603 rs_update_last_rssi(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, struct ieee80211_rx_status *rx_status) rs_update_last_rssi() argument 2719 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_drv_alloc_sta() local 2927 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_drv_rate_init() local 3013 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_drv_rate_update() local 3045 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); __iwl_mvm_rs_tx_status() local 3265 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rs_tx_status() local 3449 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_bfer_active_iter() local 3509 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_set_lq_ss_params() local 3586 struct iwl_mvm_sta *mvmsta; rs_fill_lq_cmd() local 3758 struct iwl_mvm_sta *mvmsta = rs_sta_dbgfs_scale_table_read() local 4058 struct iwl_mvm_sta *mvmsta; rs_drv_add_sta_debugfs() local 4121 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rs_rate_init() local 4139 rs_drv_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool enable) rs_drv_tx_protection() argument 4165 iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool enable) iwl_mvm_tx_protection() argument [all...] |
H A D | rs-fw.c | 421 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local 441 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif() 443 if (!mvmsta) { in iwl_mvm_tlc_update_notif() 451 mvm_link_sta = rcu_dereference(mvmsta->link[link_sta->link_id]); in iwl_mvm_tlc_update_notif() 454 "Invalid mvmsta RCU pointer for link (%d) of sta id (%d) in TLC notification\n", in iwl_mvm_tlc_update_notif() 495 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif() 496 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif() 497 link_sta->agg.max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif() 500 if (mvmsta->amsdu_enabled & BIT(i)) in iwl_mvm_tlc_update_notif() 514 mvmsta in iwl_mvm_tlc_update_notif() 585 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rs_fw_rate_init() local 705 rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool enable) rs_fw_tx_protection() argument 733 iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta) iwl_mvm_rs_add_sta() argument [all...] |
H A D | coex.c | 186 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local 189 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp() 190 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp() 194 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp() 197 value = mvmsta->deflink.sta_id; in iwl_mvm_bt_coex_reduced_txp() 206 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp() 593 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local 594 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit() 605 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit() 617 struct iwl_mvm_sta *mvmsta in iwl_mvm_bt_coex_is_mimo_allowed() local [all...] |
H A D | rx.c | 205 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local 223 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm() 224 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm() 240 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm() 248 mvmsta->deflink.sta_id != mvmvif->deflink.ap_sta_id) in iwl_mvm_rx_handle_tcm() 274 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local 275 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 382 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local 383 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu() 414 struct iwl_mvm_sta *mvmsta in iwl_mvm_rx_rx_mpdu() local 718 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_stats_energy_iter() local [all...] |
H A D | mac80211.c | 910 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local 911 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger() 1382 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local 1385 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, in iwl_mvm_post_channel_switch() 1388 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch() 1393 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_post_channel_switch() 3149 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local 3161 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify() 3162 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify() 3163 struct iwl_mvm_tid_data *tid_data = &mvmsta in __iwl_mvm_mac_sta_notify() 3214 struct iwl_mvm_sta *mvmsta; iwl_mvm_sta_pm_notif() local 3806 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_state_authorized_to_assoc() local 4102 struct iwl_mvm_sta *mvmsta = NULL; __iwl_mvm_mac_set_key() local 5567 struct iwl_mvm_sta *mvmsta; iwl_mvm_mac_flush() local 5625 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_mac_flush_sta() local 5837 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_mac_sta_statistics() local [all...] |
H A D | tt.c | 342 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local 346 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, i); in iwl_mvm_tt_tx_protection() 347 if (!mvmsta) in iwl_mvm_tt_tx_protection() 350 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection() 352 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection() 359 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
|
H A D | rxmq.c | 17 struct iwl_mvm_sta *mvmsta; in iwl_mvm_check_pn() local 52 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_pn() 57 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn() 286 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_mgmt_prot() local 310 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_mgmt_prot() 311 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_mgmt_prot() 359 wdev = ieee80211_vif_to_wdev(mvmsta->vif); in iwl_mvm_rx_mgmt_prot() 476 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local 482 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 703 struct iwl_mvm_sta *mvmsta; in iwl_mvm_reorder_timer_expired() local 890 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_oldsn_workaround() local 2196 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rx_get_sta_block_tx() local 2508 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rx_mpdu_mq() local [all...] |
H A D | rs.h | 430 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 439 void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta); 449 int rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
|
H A D | debugfs.c | 117 struct iwl_mvm_sta *mvmsta; in iwl_dbgfs_sta_drain_write() local 133 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_dbgfs_sta_drain_write() 135 if (!mvmsta) in iwl_dbgfs_sta_drain_write() 138 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write() 396 struct iwl_mvm_sta *mvmsta, in iwl_dbgfs_rs_data_read() 439 struct iwl_mvm_sta *mvmsta, in iwl_dbgfs_amsdu_len_write() 472 struct iwl_mvm_sta *mvmsta, in iwl_dbgfs_amsdu_len_read() 1615 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(link_sta->sta); in _iwl_dbgfs_link_sta_wrap_write() local 1616 struct iwl_mvm *mvm = iwl_mvm_vif_from_mac80211(mvmsta->vif)->mvm; in _iwl_dbgfs_link_sta_wrap_write() 1622 mvm_link_sta = rcu_dereference_protected(mvmsta in _iwl_dbgfs_link_sta_wrap_write() 395 iwl_dbgfs_rs_data_read(struct ieee80211_link_sta *link_sta, struct iwl_mvm_sta *mvmsta, struct iwl_mvm *mvm, struct iwl_mvm_link_sta *mvm_link_sta, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_rs_data_read() argument 438 iwl_dbgfs_amsdu_len_write(struct ieee80211_link_sta *link_sta, struct iwl_mvm_sta *mvmsta, struct iwl_mvm *mvm, struct iwl_mvm_link_sta *mvm_link_sta, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_amsdu_len_write() argument 471 iwl_dbgfs_amsdu_len_read(struct ieee80211_link_sta *link_sta, struct iwl_mvm_sta *mvmsta, struct iwl_mvm *mvm, struct iwl_mvm_link_sta *mvm_link_sta, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_amsdu_len_read() argument 1647 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(link_sta->sta); _iwl_dbgfs_link_sta_wrap_read() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | 322 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local 340 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue() 342 mvmsta->tid_disable_agg |= disable_agg_tids; in iwl_mvm_invalidate_sta_queue() 344 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_invalidate_sta_queue() 345 cmd.sta_id = mvmsta->sta_id; in iwl_mvm_invalidate_sta_queue() 352 cmd.tfd_queue_msk = cpu_to_le32(mvmsta->tfd_queue_msk); in iwl_mvm_invalidate_sta_queue() 353 cmd.tid_disable_tx = cpu_to_le16(mvmsta->tid_disable_agg); in iwl_mvm_invalidate_sta_queue() 434 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local 454 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids() 456 spin_lock_bh(&mvmsta in iwl_mvm_get_queue_agg_tids() 474 struct iwl_mvm_sta *mvmsta; iwl_mvm_remove_sta_queue_marking() local 534 struct iwl_mvm_sta *mvmsta; iwl_mvm_free_inactive_queue() local 801 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_alloc_queue_tvqm() local 949 struct iwl_mvm_sta *mvmsta; iwl_mvm_unshare_queue() local 1032 iwl_mvm_remove_inactive_tids(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int queue, unsigned long tid_bitmap, unsigned long *unshare_queues, unsigned long *changetid_queues) iwl_mvm_remove_inactive_tids() argument 1144 struct iwl_mvm_sta *mvmsta; iwl_mvm_inactivity_check() local 1226 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_alloc_queue() local 1466 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_reserve_sta_stream() local 1779 iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool drain) iwl_mvm_drain_sta() argument 2843 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_tx_agg_start() local 2948 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_tx_agg_oper() local 3071 iwl_mvm_unreserve_agg_queue(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, struct iwl_mvm_tid_data *tid_data) iwl_mvm_unreserve_agg_queue() argument 3098 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_tx_agg_stop() local 3170 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_tx_agg_flush() local 3727 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_modify_ps_wake() local 3748 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_sta_modify_sleep_tx_count() local 3843 iwl_mvm_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool disable) iwl_mvm_sta_modify_disable_tx() argument 3950 struct iwl_mvm_sta *mvmsta; iwl_mvm_csa_client_absent() local [all...] |
H A D | tx.c | 316 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_tx_ant() local 318 return BIT(mvmsta->tx_ant) << RATE_MCS_ANT_POS; in iwl_mvm_get_tx_ant() 399 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_tx_cmd_rate() local 401 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_cmd_rate() 513 struct iwl_mvm_sta *mvmsta = sta ? in iwl_mvm_set_tx_params() local 546 mvmsta->sta_state < IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_params() 796 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_max_amsdu_size() local 797 enum nl80211_band band = mvmsta->vif->bss_conf.chandef.chan->band; in iwl_mvm_max_amsdu_size() 814 return min_t(unsigned int, mvmsta->max_amsdu_len, in iwl_mvm_max_amsdu_size() 891 struct iwl_mvm_sta *mvmsta in iwl_mvm_tx_tso() local 1022 iwl_mvm_tx_airtime(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int airtime) iwl_mvm_tx_airtime() argument 1043 iwl_mvm_tx_pkt_queued(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int tid) iwl_mvm_tx_pkt_queued() argument 1070 struct iwl_mvm_sta *mvmsta; iwl_mvm_tx_mpdu() local 1205 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_tx_skb_sta() local 1263 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_check_ratid_empty() local 1613 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rx_tx_cmd_single() local 1737 struct iwl_mvm_sta *mvmsta; iwl_mvm_rx_tx_cmd_agg() local 1789 struct iwl_mvm_sta *mvmsta = NULL; iwl_mvm_tx_reclaim() local 1927 struct iwl_mvm_sta *mvmsta; iwl_mvm_rx_ba_notif() local [all...] |
H A D | rs-fw.c | 348 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local 362 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif() 364 if (!mvmsta) { in iwl_mvm_tlc_update_notif() 372 lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_mvm_tlc_update_notif() 382 if (flags & IWL_TLC_NOTIF_FLAG_AMSDU && !mvmsta->orig_amsdu_len) { in iwl_mvm_tlc_update_notif() 392 WARN_ON(mvmsta->orig_amsdu_len < size); in iwl_mvm_tlc_update_notif() 396 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif() 397 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif() 398 sta->max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif() 401 if (mvmsta in iwl_mvm_tlc_update_notif() 455 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_fw_rate_init() local 497 rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool enable) rs_fw_tx_protection() argument 505 iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta) iwl_mvm_rs_add_sta() argument [all...] |
H A D | tdls.c | 75 struct iwl_mvm_sta *mvmsta; in iwl_mvm_teardown_tdls_peers() local 86 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers() 87 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers() 97 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local 110 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count() 111 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count() 264 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local 285 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tdls_notif() 286 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif() 394 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local 512 struct iwl_mvm_sta *mvmsta; iwl_mvm_tdls_ch_switch_work() local 563 struct iwl_mvm_sta *mvmsta; iwl_mvm_tdls_channel_switch() local [all...] |
H A D | coex.c | 241 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local 244 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp() 245 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp() 249 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp() 252 value = mvmsta->sta_id; in iwl_mvm_bt_coex_reduced_txp() 261 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp() 610 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local 611 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit() 622 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit() 634 struct iwl_mvm_sta *mvmsta in iwl_mvm_bt_coex_is_mimo_allowed() local [all...] |
H A D | rs.c | 626 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in rs_tl_turn_on_agg() argument 644 tid_data = &mvmsta->tid_data[tid]; in rs_tl_turn_on_agg() 645 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED && in rs_tl_turn_on_agg() 762 struct iwl_mvm_sta *mvmsta, in rs_update_tid_tpt_stats() 770 tid_data = &mvmsta->tid_data[tid]; in rs_update_tid_tpt_stats() 792 struct iwl_mvm_sta *mvmsta, u8 tid, in rs_collect_tlc_data() 802 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data() 808 rs_update_tid_tpt_stats(mvm, mvmsta, tid, successes); in rs_collect_tlc_data() 1217 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_drv_mac80211_tx_status() local 1219 if (!mvmsta in rs_drv_mac80211_tx_status() 761 rs_update_tid_tpt_stats(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, u8 tid, int successes) rs_update_tid_tpt_stats() argument 791 rs_collect_tlc_data(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, u8 tid, struct iwl_scale_tbl_info *tbl, int scale_index, int attempts, int successes) rs_collect_tlc_data() argument 1539 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_set_amsdu_len() local 2119 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_rate_scale_perform() local 2539 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_get_initial_rate() local 2648 rs_update_last_rssi(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, struct ieee80211_rx_status *rx_status) rs_update_last_rssi() argument 2763 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_drv_alloc_sta() local 2972 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_drv_rate_init() local 3087 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); __iwl_mvm_rs_tx_status() local 3307 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rs_tx_status() local 3491 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_bfer_active_iter() local 3550 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); rs_set_lq_ss_params() local 3627 struct iwl_mvm_sta *mvmsta; rs_fill_lq_cmd() local 3816 struct iwl_mvm_sta *mvmsta = rs_sta_dbgfs_scale_table_read() local 4117 struct iwl_mvm_sta *mvmsta; rs_drv_add_sta_debugfs() local 4174 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rs_rate_init() local 4192 rs_drv_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool enable) rs_drv_tx_protection() argument 4217 iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool enable) iwl_mvm_tx_protection() argument [all...] |
H A D | rx.c | 262 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local 276 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm() 277 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm() 293 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm() 301 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm() 328 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local 329 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 436 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local 440 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu() 455 rs_update_last_rssi(mvm, mvmsta, rx_statu in iwl_mvm_rx_rx_mpdu() [all...] |
H A D | tt.c | 401 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local 405 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, i); in iwl_mvm_tt_tx_protection() 406 if (!mvmsta) in iwl_mvm_tt_tx_protection() 409 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection() 411 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection() 418 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
|
H A D | mac80211.c | 959 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local 960 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger() 1384 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local 1387 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, in iwl_mvm_post_channel_switch() 1390 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch() 1395 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_post_channel_switch() 2859 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local 2871 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify() 2872 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify() 2873 struct iwl_mvm_tid_data *tid_data = &mvmsta in __iwl_mvm_mac_sta_notify() 2926 struct iwl_mvm_sta *mvmsta; iwl_mvm_sta_pm_notif() local 3442 struct iwl_mvm_sta *mvmsta; __iwl_mvm_mac_set_key() local 4784 struct iwl_mvm_sta *mvmsta; iwl_mvm_mac_flush() local 5012 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_mac_sta_statistics() local [all...] |
H A D | rs.h | 441 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 448 void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta); 451 int rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
|
H A D | debugfs.c | 168 struct iwl_mvm_sta *mvmsta; in iwl_dbgfs_sta_drain_write() local 184 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_dbgfs_sta_drain_write() 186 if (!mvmsta) in iwl_dbgfs_sta_drain_write() 189 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write() 429 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_rs_data_read() local 430 struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_dbgfs_rs_data_read() 475 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_amsdu_len_write() local 483 if ((amsdu_len && mvmsta->orig_amsdu_len) || in iwl_dbgfs_amsdu_len_write() 484 (!!amsdu_len && mvmsta->orig_amsdu_len)) in iwl_dbgfs_amsdu_len_write() 488 mvmsta in iwl_dbgfs_amsdu_len_write() 504 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_dbgfs_amsdu_len_read() local [all...] |
H A D | rxmq.c | 98 struct iwl_mvm_sta *mvmsta; in iwl_mvm_check_pn() local 133 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_pn() 138 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn() 463 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local 469 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 715 struct iwl_mvm_sta *mvmsta; in iwl_mvm_reorder_timer_expired() local 720 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_reorder_timer_expired() 726 iwl_mvm_event_frame_timeout_callback(buf->mvm, mvmsta->vif, in iwl_mvm_reorder_timer_expired() 866 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_oldsn_workaround() local 904 ieee80211_stop_rx_ba_session(mvmsta in iwl_mvm_oldsn_workaround() 1817 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); iwl_mvm_rx_mpdu_mq() local [all...] |
H A D | sta.h | 570 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 573 struct iwl_mvm_sta *mvmsta, bool disable);
|