Lines Matching defs:rtwsta
6138 __rtw89_mac_set_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
6142 u8 mac_idx = rtwsta->rtwvif->mac_idx;
6147 if (rtwsta->cctl_tx_time) {
6148 rtwsta->ampdu_max_time = (max_tx_time - 512) >> 9;
6149 ret = rtw89_fw_h2c_txtime_cmac_tbl(rtwdev, rtwsta);
6165 int rtw89_mac_set_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
6171 rtwsta->cctl_tx_time = true;
6172 ret = __rtw89_mac_set_tx_time(rtwdev, rtwsta, tx_time);
6174 ret = __rtw89_mac_set_tx_time(rtwdev, rtwsta, tx_time);
6175 rtwsta->cctl_tx_time = false;
6181 int rtw89_mac_get_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
6184 u8 mac_idx = rtwsta->rtwvif->mac_idx;
6188 if (rtwsta->cctl_tx_time) {
6189 *tx_time = (rtwsta->ampdu_max_time + 1) << 9;
6205 struct rtw89_sta *rtwsta,
6210 rtwsta->data_tx_cnt_lmt = tx_retry;
6213 rtwsta->cctl_tx_retry_limit = true;
6214 ret = rtw89_fw_h2c_txtime_cmac_tbl(rtwdev, rtwsta);
6216 ret = rtw89_fw_h2c_txtime_cmac_tbl(rtwdev, rtwsta);
6217 rtwsta->cctl_tx_retry_limit = false;
6224 struct rtw89_sta *rtwsta, u8 *tx_retry)
6226 u8 mac_idx = rtwsta->rtwvif->mac_idx;
6230 if (rtwsta->cctl_tx_retry_limit) {
6231 *tx_retry = rtwsta->data_tx_cnt_lmt;
6318 void rtw89_mac_pkt_drop_sta(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta)
6326 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
6331 params.macid = rtwsta->mac_id;
6344 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv;
6345 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
6352 rtw89_mac_pkt_drop_sta(rtwdev, rtwsta);