Lines Matching refs:arsta

82 		 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()
471 arsta->txrate.legacy = rate; in ath11k_dp_tx_update_txcompl()
478 if (arsta->txrate.nss != 0) in ath11k_dp_tx_update_txcompl()
479 arsta->txrate.mcs = mcs + 8 * (arsta->txrate.nss - 1); in ath11k_dp_tx_update_txcompl()
480 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath11k_dp_tx_update_txcompl()
482 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath11k_dp_tx_update_txcompl()
489 arsta->txrate.mcs = mcs; in ath11k_dp_tx_update_txcompl()
490 arsta->txrate.flags = RATE_INFO_FLAGS_VHT_MCS; in ath11k_dp_tx_update_txcompl()
492 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath11k_dp_tx_update_txcompl()
499 arsta->txrate.mcs = mcs; in ath11k_dp_tx_update_txcompl()
500 arsta->txrate.flags = RATE_INFO_FLAGS_HE_MCS; in ath11k_dp_tx_update_txcompl()
501 arsta->txrate.he_gi = ath11k_mac_he_gi_to_nl80211_he_gi(sgi); in ath11k_dp_tx_update_txcompl()
504 arsta->txrate.bw = ath11k_mac_bw_to_mac80211_bw(bw); in ath11k_dp_tx_update_txcompl()
506 arsta->txrate.bw = RATE_INFO_BW_HE_RU; in ath11k_dp_tx_update_txcompl()
507 arsta->txrate.he_ru_alloc = in ath11k_dp_tx_update_txcompl()
512 ath11k_debugfs_sta_add_tx_stats(arsta, peer_stats, rate_idx); in ath11k_dp_tx_update_txcompl()
528 struct ath11k_sta *arsta; in ath11k_dp_tx_complete_msdu() local
602 arsta = (struct ath11k_sta *)peer->sta->drv_priv; in ath11k_dp_tx_complete_msdu()
606 rate = arsta->last_txrate; in ath11k_dp_tx_complete_msdu()