Lines Matching defs:rtwsta
4900 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv;
4904 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
4932 rtw89_mac_get_tx_time(rtwdev, rtwsta, &plink->tx_time);
4933 rtw89_mac_get_tx_retry_limit(rtwdev, rtwsta, &plink->tx_retry);
4941 rtw89_mac_set_tx_time(rtwdev, rtwsta, true, plink->tx_time);
4942 rtw89_mac_set_tx_retry_limit(rtwdev, rtwsta, true,
4949 rtw89_mac_set_tx_time(rtwdev, rtwsta, false, tx_time);
4950 rtw89_mac_set_tx_retry_limit(rtwdev, rtwsta, false, tx_retry);
7169 struct rtw89_sta *rtwsta, enum btc_role_state state)
7174 struct ieee80211_sta *sta = rtwsta_to_sta(rtwsta);
7195 if (rtwsta) {
7197 rtwsta->mac_id);
7236 if (rtwsta && vif->type == NL80211_IFTYPE_STATION)
7237 r.mac_id = rtwsta->mac_id;
7475 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv;
7477 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
7492 rssi = ewma_rssi_read(&rtwsta->avg_rssi) >> RSSI_FACTOR;
7544 if (rtwsta->rx_hw_rate <= RTW89_HW_RATE_CCK2 &&
7549 if (last_tx_rate != rtwsta->ra_report.hw_rate ||
7550 last_rx_rate != rtwsta->rx_hw_rate ||
7555 link_info_t->tx_rate = rtwsta->ra_report.hw_rate;
7556 link_info_t->rx_rate = rtwsta->rx_hw_rate;
7568 r->active_role[port].tx_rate = rtwsta->ra_report.hw_rate;
7569 r->active_role[port].rx_rate = rtwsta->rx_hw_rate;
7574 r1->active_role_v1[port].tx_rate = rtwsta->ra_report.hw_rate;
7575 r1->active_role_v1[port].rx_rate = rtwsta->rx_hw_rate;
7579 dm->trx_info.tx_rate = rtwsta->ra_report.hw_rate;
7580 dm->trx_info.rx_rate = rtwsta->rx_hw_rate;