Lines Matching defs:rtwsta
3857 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv;
3861 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
3886 rtw89_mac_get_tx_time(rtwdev, rtwsta, &plink->tx_time);
3887 rtw89_mac_get_tx_retry_limit(rtwdev, rtwsta, &plink->tx_retry);
3895 rtw89_mac_set_tx_time(rtwdev, rtwsta, true, plink->tx_time);
3896 rtw89_mac_set_tx_retry_limit(rtwdev, rtwsta, true,
3903 rtw89_mac_set_tx_time(rtwdev, rtwsta, false, tx_time);
3904 rtw89_mac_set_tx_retry_limit(rtwdev, rtwsta, false, tx_retry);
5667 struct rtw89_sta *rtwsta, enum btc_role_state state)
5672 struct ieee80211_sta *sta = rtwsta_to_sta(rtwsta);
5693 if (rtwsta) {
5695 rtwsta->mac_id);
5730 if (rtwsta && vif->type == NL80211_IFTYPE_STATION)
5731 r.mac_id = rtwsta->mac_id;
5945 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv;
5947 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
5962 rssi = ewma_rssi_read(&rtwsta->avg_rssi) >> RSSI_FACTOR;
6014 if (rtwsta->rx_hw_rate <= RTW89_HW_RATE_CCK2 &&
6019 if (last_tx_rate != rtwsta->ra_report.hw_rate ||
6020 last_rx_rate != rtwsta->rx_hw_rate ||
6025 link_info_t->tx_rate = rtwsta->ra_report.hw_rate;
6026 link_info_t->rx_rate = rtwsta->rx_hw_rate;
6038 r->active_role[port].tx_rate = rtwsta->ra_report.hw_rate;
6039 r->active_role[port].rx_rate = rtwsta->rx_hw_rate;
6044 r1->active_role_v1[port].tx_rate = rtwsta->ra_report.hw_rate;
6045 r1->active_role_v1[port].rx_rate = rtwsta->rx_hw_rate;
6049 dm->trx_info.tx_rate = rtwsta->ra_report.hw_rate;
6050 dm->trx_info.rx_rate = rtwsta->rx_hw_rate;