Home
last modified time | relevance | path

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

/linux-5.19.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.c3196 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_new_peer_tid_config() local
3232 arsta->retry_long[i] = -1; in ath10k_new_peer_tid_config()
3233 arsta->noack[i] = -1; in ath10k_new_peer_tid_config()
3234 arsta->ampdu[i] = -1; in ath10k_new_peer_tid_config()
3871 struct ath10k_sta *arsta; in ath10k_mac_tx_h_fill_cb() local
3891 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_mac_tx_h_fill_cb()
3893 if (arsta->noack[tid] == WMI_PEER_TID_CONFIG_NOACK) in ath10k_mac_tx_h_fill_cb()
3896 if (arsta->noack[tid] == WMI_PEER_TID_CONFIG_ACK) in ath10k_mac_tx_h_fill_cb()
3918 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_mac_tx_h_fill_cb()
3920 cb->ucast_cipher = arsta->ucast_cipher; in ath10k_mac_tx_h_fill_cb()
[all …]
Dhtt_rx.c3661 struct ath10k_sta *arsta, in ath10k_accumulate_per_peer_tx_stats() argument
3665 struct rate_info *txrate = &arsta->txrate; in ath10k_accumulate_per_peer_tx_stats()
3670 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats()
3673 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats()
3786 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_update_per_peer_tx_stats() local
3820 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath10k_update_per_peer_tx_stats()
3821 memset(&arsta->tx_info.status, 0, sizeof(arsta->tx_info.status)); in ath10k_update_per_peer_tx_stats()
3831 arsta->txrate.legacy = rate; in ath10k_update_per_peer_tx_stats()
3833 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath10k_update_per_peer_tx_stats()
3834 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()
/linux-5.19.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()
139 struct ath11k_sta *arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_dbg_sta_dump_tx_stats() local
140 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_dump_tx_stats()
149 if (!arsta->tx_stats) in ath11k_dbg_sta_dump_tx_stats()
161 stats = &arsta->tx_stats->stats[k]; in ath11k_dbg_sta_dump_tx_stats()
218 arsta->tx_stats->tx_duration); in ath11k_dbg_sta_dump_tx_stats()
[all …]
Ddp_tx.c82 struct ath11k_sta *arsta, struct sk_buff *skb) in ath11k_dp_tx() argument
148 is_multicast_ether_addr(hdr->addr3) && arsta && in ath11k_dp_tx()
149 arsta->use_4addr_set) { in ath11k_dp_tx()
150 ti.meta_data_flags = arsta->tcl_metadata; in ath11k_dp_tx()
427 struct ath11k_sta *arsta; in ath11k_dp_tx_update_txcompl() local
442 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_dp_tx_update_txcompl()
444 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_dp_tx_update_txcompl()
458 if (arsta->last_txrate.nss) in ath11k_dp_tx_update_txcompl()
459 arsta->txrate.nss = arsta->last_txrate.nss; in ath11k_dp_tx_update_txcompl()
461 arsta->txrate.nss = arsta->peer_nss; in ath11k_dp_tx_update_txcompl()
[all …]
Ddebugfs_sta.h18 void ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta,
29 ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta, in ath11k_debugfs_sta_add_tx_stats() argument
Dmac.c2644 struct ath11k_sta *arsta; in ath11k_peer_assoc_prepare() local
2648 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_peer_assoc_prepare()
2666 arsta->peer_nss = arg->peer_nss; in ath11k_peer_assoc_prepare()
3832 struct ath11k_sta *arsta; in ath11k_mac_op_set_key() local
3927 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_mac_op_set_key()
3936 arsta->pn_type = HAL_PN_TYPE_WPA; in ath11k_mac_op_set_key()
3938 arsta->pn_type = HAL_PN_TYPE_NONE; in ath11k_mac_op_set_key()
3941 arsta->pn_type = HAL_PN_TYPE_NONE; in ath11k_mac_op_set_key()
4202 struct ath11k_sta *arsta; in ath11k_sta_rc_update_wk() local
4214 arsta = container_of(wk, struct ath11k_sta, update_wk); in ath11k_sta_rc_update_wk()
[all …]
Ddp_rx.c1102 struct ath11k_sta *arsta = (void *)params->sta->drv_priv; in ath11k_dp_rx_ampdu_start() local
1103 int vdev_id = arsta->arvif->vdev_id; in ath11k_dp_rx_ampdu_start()
1108 params->ssn, arsta->pn_type); in ath11k_dp_rx_ampdu_start()
1120 struct ath11k_sta *arsta = (void *)params->sta->drv_priv; in ath11k_dp_rx_ampdu_stop() local
1121 int vdev_id = arsta->arvif->vdev_id; in ath11k_dp_rx_ampdu_stop()
1378 struct ath11k_sta *arsta; in ath11k_update_per_peer_tx_stats() local
1462 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_update_per_peer_tx_stats()
1464 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_update_per_peer_tx_stats()
1468 arsta->txrate.legacy = rate; in ath11k_update_per_peer_tx_stats()
1471 arsta->txrate.legacy = rate; in ath11k_update_per_peer_tx_stats()
[all …]
Ddp_tx.h21 struct ath11k_sta *arsta, struct sk_buff *skb);
Dpeer.c361 struct ath11k_sta *arsta; in ath11k_peer_create() local
426 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_peer_create()
427 arsta->tcl_metadata |= FIELD_PREP(HTT_TCL_META_DATA_TYPE, 0) | in ath11k_peer_create()
432 arsta->tcl_metadata &= ~HTT_TCL_META_DATA_VALID_HTT; in ath11k_peer_create()
Dwmi.c5785 struct ath11k_sta *arsta; in ath11k_wmi_tlv_rssi_chain_parse() local
5823 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_wmi_tlv_rssi_chain_parse()
5825 BUILD_BUG_ON(ARRAY_SIZE(arsta->chain_signal) > in ath11k_wmi_tlv_rssi_chain_parse()
5828 for (j = 0; j < ARRAY_SIZE(arsta->chain_signal); j++) { in ath11k_wmi_tlv_rssi_chain_parse()
5829 arsta->chain_signal[j] = stats_rssi->rssi_avg_beacon[j]; in ath11k_wmi_tlv_rssi_chain_parse()
5853 struct ath11k_sta *arsta; in ath11k_wmi_tlv_fw_stats_data_parse() local
5911 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_wmi_tlv_fw_stats_data_parse()
5912 arsta->rssi_beacon = src->beacon_snr; in ath11k_wmi_tlv_fw_stats_data_parse()