Home
last modified time | relevance | path

Searched refs:arsta (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Ddebugfs_sta.c52 struct ath10k_sta *arsta; in ath10k_sta_update_rx_tid_stats_ampdu() local
66 arsta = (struct ath10k_sta *)peer->sta->drv_priv; in ath10k_sta_update_rx_tid_stats_ampdu()
70 &arsta->tid_stats[tid], in ath10k_sta_update_rx_tid_stats_ampdu()
87 struct ath10k_sta *arsta; in ath10k_sta_update_rx_tid_stats() local
109 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_update_rx_tid_stats()
112 stats = &arsta->tid_stats[tid]; in ath10k_sta_update_rx_tid_stats()
120 ath10k_rx_stats_update_amsdu_subfrm(ar, &arsta->tid_stats[tid], in ath10k_sta_update_rx_tid_stats()
133 struct ath10k_sta *arsta; in ath10k_sta_update_extd_stats_rx_duration() local
141 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_update_extd_stats_rx_duration()
142 arsta->rx_duration += (u64)peer->rx_duration; in ath10k_sta_update_extd_stats_rx_duration()
[all …]
Dmac.c3032 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_new_peer_tid_config() local
3068 arsta->retry_long[i] = -1; in ath10k_new_peer_tid_config()
3069 arsta->noack[i] = -1; in ath10k_new_peer_tid_config()
3070 arsta->ampdu[i] = -1; in ath10k_new_peer_tid_config()
3707 struct ath10k_sta *arsta; in ath10k_mac_tx_h_fill_cb() local
3727 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_mac_tx_h_fill_cb()
3729 if (arsta->noack[tid] == WMI_PEER_TID_CONFIG_NOACK) in ath10k_mac_tx_h_fill_cb()
3732 if (arsta->noack[tid] == WMI_PEER_TID_CONFIG_ACK) in ath10k_mac_tx_h_fill_cb()
3754 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_mac_tx_h_fill_cb()
3756 cb->ucast_cipher = arsta->ucast_cipher; in ath10k_mac_tx_h_fill_cb()
[all …]
Dhtt_rx.c3538 struct ath10k_sta *arsta, in ath10k_accumulate_per_peer_tx_stats() argument
3542 struct rate_info *txrate = &arsta->txrate; in ath10k_accumulate_per_peer_tx_stats()
3547 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats()
3550 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats()
3663 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_update_per_peer_tx_stats() local
3697 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath10k_update_per_peer_tx_stats()
3698 memset(&arsta->tx_info.status, 0, sizeof(arsta->tx_info.status)); in ath10k_update_per_peer_tx_stats()
3708 arsta->txrate.legacy = rate; in ath10k_update_per_peer_tx_stats()
3710 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath10k_update_per_peer_tx_stats()
3711 arsta->txrate.mcs = txrate.mcs + 8 * (txrate.nss - 1); in ath10k_update_per_peer_tx_stats()
[all …]
Dhtt_tx.c41 struct ath10k_sta *arsta; in __ath10k_htt_tx_txq_recalc() local
60 arsta = (void *)txq->sta->drv_priv; in __ath10k_htt_tx_txq_recalc()
61 peer_id = arsta->peer_id; in __ath10k_htt_tx_txq_recalc()
Dwmi-tlv.c227 struct ath10k_sta *arsta; in ath10k_wmi_tlv_parse_peer_stats_info() local
251 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_wmi_tlv_parse_peer_stats_info()
252 arsta->rx_rate_code = __le32_to_cpu(stat->last_rx_rate_code); in ath10k_wmi_tlv_parse_peer_stats_info()
253 arsta->rx_bitrate_kbps = __le32_to_cpu(stat->last_rx_bitrate_kbps); in ath10k_wmi_tlv_parse_peer_stats_info()
254 arsta->tx_rate_code = __le32_to_cpu(stat->last_tx_rate_code); in ath10k_wmi_tlv_parse_peer_stats_info()
255 arsta->tx_bitrate_kbps = __le32_to_cpu(stat->last_tx_bitrate_kbps); in ath10k_wmi_tlv_parse_peer_stats_info()
Ddebug.c2402 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_peer_ps_state_disable() local
2405 arsta->peer_ps_state = WMI_PEER_PS_STATE_DISABLED; in ath10k_peer_ps_state_disable()
Dwmi.c5260 struct ath10k_sta *arsta; in ath10k_wmi_event_peer_sta_ps_state_chg() local
5278 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_wmi_event_peer_sta_ps_state_chg()
5279 arsta->peer_ps_state = __le32_to_cpu(ev->peer_ps_state); in ath10k_wmi_event_peer_sta_ps_state_chg()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddebugfs_sta.c15 void ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta, in ath11k_debugfs_sta_add_tx_stats() argument
19 struct rate_info *txrate = &arsta->txrate; in ath11k_debugfs_sta_add_tx_stats()
23 if (!arsta->tx_stats) in ath11k_debugfs_sta_add_tx_stats()
26 tx_stats = arsta->tx_stats; in ath11k_debugfs_sta_add_tx_stats()
27 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats()
138 struct ath11k_sta *arsta; in ath11k_debugfs_sta_update_txcompl() local
156 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_debugfs_sta_update_txcompl()
158 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_debugfs_sta_update_txcompl()
175 arsta->txrate.legacy = rate; in ath11k_debugfs_sta_update_txcompl()
182 arsta->txrate.mcs = mcs + 8 * (arsta->last_txrate.nss - 1); in ath11k_debugfs_sta_update_txcompl()
[all …]
Ddebugfs_sta.h18 void ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta,
30 ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta, in ath11k_debugfs_sta_add_tx_stats() argument
Dmac.c2500 struct ath11k_sta *arsta; in ath11k_mac_op_set_key() local
2595 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_mac_op_set_key()
2604 arsta->pn_type = HAL_PN_TYPE_WPA; in ath11k_mac_op_set_key()
2606 arsta->pn_type = HAL_PN_TYPE_NONE; in ath11k_mac_op_set_key()
2609 arsta->pn_type = HAL_PN_TYPE_NONE; in ath11k_mac_op_set_key()
2793 struct ath11k_sta *arsta; in ath11k_sta_rc_update_wk() local
2804 arsta = container_of(wk, struct ath11k_sta, update_wk); in ath11k_sta_rc_update_wk()
2805 sta = container_of((void *)arsta, struct ieee80211_sta, drv_priv); in ath11k_sta_rc_update_wk()
2806 arvif = arsta->arvif; in ath11k_sta_rc_update_wk()
2818 changed = arsta->changed; in ath11k_sta_rc_update_wk()
[all …]
Ddp_rx.c1036 struct ath11k_sta *arsta = (void *)params->sta->drv_priv; in ath11k_dp_rx_ampdu_start() local
1037 int vdev_id = arsta->arvif->vdev_id; in ath11k_dp_rx_ampdu_start()
1042 params->ssn, arsta->pn_type); in ath11k_dp_rx_ampdu_start()
1054 struct ath11k_sta *arsta = (void *)params->sta->drv_priv; in ath11k_dp_rx_ampdu_stop() local
1055 int vdev_id = arsta->arvif->vdev_id; in ath11k_dp_rx_ampdu_stop()
1331 struct ath11k_sta *arsta; in ath11k_update_per_peer_tx_stats() local
1420 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_update_per_peer_tx_stats()
1422 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_update_per_peer_tx_stats()
1426 arsta->txrate.legacy = rate; in ath11k_update_per_peer_tx_stats()
1429 arsta->txrate.legacy = rate; in ath11k_update_per_peer_tx_stats()
[all …]