Home
last modified time | relevance | path

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

/Linux-v6.6/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.c3203 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_new_peer_tid_config() local
3239 arsta->retry_long[i] = -1; in ath10k_new_peer_tid_config()
3240 arsta->noack[i] = -1; in ath10k_new_peer_tid_config()
3241 arsta->ampdu[i] = -1; in ath10k_new_peer_tid_config()
3881 struct ath10k_sta *arsta; in ath10k_mac_tx_h_fill_cb() local
3907 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_mac_tx_h_fill_cb()
3909 if (arsta->noack[tid] == WMI_PEER_TID_CONFIG_NOACK) in ath10k_mac_tx_h_fill_cb()
3912 if (arsta->noack[tid] == WMI_PEER_TID_CONFIG_ACK) in ath10k_mac_tx_h_fill_cb()
3935 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_mac_tx_h_fill_cb()
3937 cb->ucast_cipher = arsta->ucast_cipher; in ath10k_mac_tx_h_fill_cb()
[all …]
Dhtt_rx.c3662 struct ath10k_sta *arsta, in ath10k_accumulate_per_peer_tx_stats() argument
3666 struct rate_info *txrate = &arsta->txrate; in ath10k_accumulate_per_peer_tx_stats()
3671 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats()
3674 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats()
3787 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_update_per_peer_tx_stats() local
3821 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath10k_update_per_peer_tx_stats()
3822 memset(&arsta->tx_info.status, 0, sizeof(arsta->tx_info.status)); in ath10k_update_per_peer_tx_stats()
3832 arsta->txrate.legacy = rate; in ath10k_update_per_peer_tx_stats()
3834 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath10k_update_per_peer_tx_stats()
3835 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.c2403 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_peer_ps_state_disable() local
2406 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-v6.6/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.c83 struct ath11k_sta *arsta, struct sk_buff *skb) in ath11k_dp_tx() argument
145 is_multicast_ether_addr(hdr->addr3) && arsta && in ath11k_dp_tx()
146 arsta->use_4addr_set) { in ath11k_dp_tx()
147 ti.meta_data_flags = arsta->tcl_metadata; in ath11k_dp_tx()
455 struct ath11k_sta *arsta; in ath11k_dp_tx_update_txcompl() local
470 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_dp_tx_update_txcompl()
472 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_dp_tx_update_txcompl()
486 if (arsta->last_txrate.nss) in ath11k_dp_tx_update_txcompl()
487 arsta->txrate.nss = arsta->last_txrate.nss; in ath11k_dp_tx_update_txcompl()
489 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.c2830 struct ath11k_sta *arsta; in ath11k_peer_assoc_prepare() local
2834 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_peer_assoc_prepare()
2852 arsta->peer_nss = arg->peer_nss; in ath11k_peer_assoc_prepare()
4222 struct ath11k_sta *arsta; in ath11k_mac_op_set_key() local
4317 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_mac_op_set_key()
4326 arsta->pn_type = HAL_PN_TYPE_WPA; in ath11k_mac_op_set_key()
4328 arsta->pn_type = HAL_PN_TYPE_NONE; in ath11k_mac_op_set_key()
4331 arsta->pn_type = HAL_PN_TYPE_NONE; in ath11k_mac_op_set_key()
4660 struct ath11k_sta *arsta; in ath11k_sta_rc_update_wk() local
4673 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.h22 struct ath11k_sta *arsta, struct sk_buff *skb);
Dpeer.c374 struct ath11k_sta *arsta; in ath11k_peer_create() local
449 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_peer_create()
450 arsta->tcl_metadata |= FIELD_PREP(HTT_TCL_META_DATA_TYPE, 0) | in ath11k_peer_create()
455 arsta->tcl_metadata &= ~HTT_TCL_META_DATA_VALID_HTT; in ath11k_peer_create()
Ddebugfs.c1462 struct ath11k_sta *arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_reset_peer_ps_duration() local
1465 arsta->ps_total_duration = 0; in ath11k_reset_peer_ps_duration()
1513 struct ath11k_sta *arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_peer_ps_state_disable() local
1516 arsta->peer_ps_state = WMI_PEER_PS_STATE_DISABLED; in ath11k_peer_ps_state_disable()
1517 arsta->ps_start_time = 0; in ath11k_peer_ps_state_disable()
1518 arsta->ps_total_duration = 0; in ath11k_peer_ps_state_disable()
Dwmi.c6417 struct ath11k_sta *arsta; in ath11k_wmi_tlv_rssi_chain_parse() local
6455 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_wmi_tlv_rssi_chain_parse()
6457 BUILD_BUG_ON(ARRAY_SIZE(arsta->chain_signal) > in ath11k_wmi_tlv_rssi_chain_parse()
6460 for (j = 0; j < ARRAY_SIZE(arsta->chain_signal); j++) { in ath11k_wmi_tlv_rssi_chain_parse()
6461 arsta->chain_signal[j] = stats_rssi->rssi_avg_beacon[j]; in ath11k_wmi_tlv_rssi_chain_parse()
6485 struct ath11k_sta *arsta; in ath11k_wmi_tlv_fw_stats_data_parse() local
6543 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_wmi_tlv_fw_stats_data_parse()
6544 arsta->rssi_beacon = src->beacon_snr; in ath11k_wmi_tlv_fw_stats_data_parse()
7415 struct ath11k_sta *arsta; in ath11k_wmi_event_peer_sta_ps_state_chg() local
7472 arsta = (struct ath11k_sta *)sta->drv_priv; in ath11k_wmi_event_peer_sta_ps_state_chg()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Dmac.c3160 struct ath12k_sta *arsta; in ath12k_mac_op_set_key() local
3249 arsta = (struct ath12k_sta *)sta->drv_priv; in ath12k_mac_op_set_key()
3258 arsta->pn_type = HAL_PN_TYPE_WPA; in ath12k_mac_op_set_key()
3260 arsta->pn_type = HAL_PN_TYPE_NONE; in ath12k_mac_op_set_key()
3263 arsta->pn_type = HAL_PN_TYPE_NONE; in ath12k_mac_op_set_key()
3447 struct ath12k_sta *arsta; in ath12k_sta_rc_update_wk() local
3459 arsta = container_of(wk, struct ath12k_sta, update_wk); in ath12k_sta_rc_update_wk()
3460 sta = container_of((void *)arsta, struct ieee80211_sta, drv_priv); in ath12k_sta_rc_update_wk()
3461 arvif = arsta->arvif; in ath12k_sta_rc_update_wk()
3473 changed = arsta->changed; in ath12k_sta_rc_update_wk()
[all …]
Ddp_rx.c1057 struct ath12k_sta *arsta = (void *)params->sta->drv_priv; in ath12k_dp_rx_ampdu_start() local
1058 int vdev_id = arsta->arvif->vdev_id; in ath12k_dp_rx_ampdu_start()
1063 params->ssn, arsta->pn_type); in ath12k_dp_rx_ampdu_start()
1075 struct ath12k_sta *arsta = (void *)params->sta->drv_priv; in ath12k_dp_rx_ampdu_stop() local
1076 int vdev_id = arsta->arvif->vdev_id; in ath12k_dp_rx_ampdu_stop()
1329 struct ath12k_sta *arsta; in ath12k_update_per_peer_tx_stats() local
1413 arsta = (struct ath12k_sta *)sta->drv_priv; in ath12k_update_per_peer_tx_stats()
1415 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath12k_update_per_peer_tx_stats()
1419 arsta->txrate.legacy = rate; in ath12k_update_per_peer_tx_stats()
1422 arsta->txrate.legacy = rate; in ath12k_update_per_peer_tx_stats()
[all …]
Ddp_mon.c2206 struct ath12k_sta *arsta, in ath12k_dp_mon_rx_update_peer_su_stats() argument
2209 struct ath12k_rx_peer_stats *rx_stats = arsta->rx_stats; in ath12k_dp_mon_rx_update_peer_su_stats()
2215 arsta->rssi_comb = ppdu_info->rssi_comb; in ath12k_dp_mon_rx_update_peer_su_stats()
2261 arsta->rx_duration = rx_stats->rx_duration; in ath12k_dp_mon_rx_update_peer_su_stats()
2362 struct ath12k_sta *arsta = NULL; in ath12k_dp_mon_rx_update_user_stats() local
2379 arsta = (struct ath12k_sta *)peer->sta->drv_priv; in ath12k_dp_mon_rx_update_user_stats()
2380 rx_stats = arsta->rx_stats; in ath12k_dp_mon_rx_update_user_stats()
2385 arsta->rssi_comb = ppdu_info->rssi_comb; in ath12k_dp_mon_rx_update_user_stats()
2427 arsta->rx_duration = rx_stats->rx_duration; in ath12k_dp_mon_rx_update_user_stats()
2486 struct ath12k_sta *arsta = NULL; in ath12k_dp_mon_rx_process_stats() local
[all …]