Lines Matching defs:rtwsta
5462 __rtw89_mac_set_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
5466 u8 mac_idx = rtwsta->rtwvif->mac_idx;
5471 if (rtwsta->cctl_tx_time) {
5472 rtwsta->ampdu_max_time = (max_tx_time - 512) >> 9;
5473 ret = rtw89_fw_h2c_txtime_cmac_tbl(rtwdev, rtwsta);
5489 int rtw89_mac_set_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
5495 rtwsta->cctl_tx_time = true;
5496 ret = __rtw89_mac_set_tx_time(rtwdev, rtwsta, tx_time);
5498 ret = __rtw89_mac_set_tx_time(rtwdev, rtwsta, tx_time);
5499 rtwsta->cctl_tx_time = false;
5505 int rtw89_mac_get_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
5508 u8 mac_idx = rtwsta->rtwvif->mac_idx;
5512 if (rtwsta->cctl_tx_time) {
5513 *tx_time = (rtwsta->ampdu_max_time + 1) << 9;
5529 struct rtw89_sta *rtwsta,
5534 rtwsta->data_tx_cnt_lmt = tx_retry;
5537 rtwsta->cctl_tx_retry_limit = true;
5538 ret = rtw89_fw_h2c_txtime_cmac_tbl(rtwdev, rtwsta);
5540 ret = rtw89_fw_h2c_txtime_cmac_tbl(rtwdev, rtwsta);
5541 rtwsta->cctl_tx_retry_limit = false;
5548 struct rtw89_sta *rtwsta, u8 *tx_retry)
5550 u8 mac_idx = rtwsta->rtwvif->mac_idx;
5554 if (rtwsta->cctl_tx_retry_limit) {
5555 *tx_retry = rtwsta->data_tx_cnt_lmt;
5641 void rtw89_mac_pkt_drop_sta(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta)
5649 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
5654 params.macid = rtwsta->mac_id;
5667 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv;
5668 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
5675 rtw89_mac_pkt_drop_sta(rtwdev, rtwsta);