Lines Matching refs:tx_req

456 				struct rtw89_core_tx_request *tx_req,
459 struct ieee80211_sta *sta = tx_req->sta;
460 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
461 struct sk_buff *skb = tx_req->skb;
493 struct rtw89_core_tx_request *tx_req)
496 struct ieee80211_vif *vif = tx_req->vif;
497 struct ieee80211_sta *sta = tx_req->sta;
504 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
505 struct sk_buff *skb = tx_req->skb;
571 struct rtw89_core_tx_request *tx_req,
574 struct sk_buff *skb = tx_req->skb;
587 if (!vif || !vif->bss_conf.basic_rates || !tx_req->sta)
594 struct rtw89_core_tx_request *tx_req)
596 struct ieee80211_vif *vif = tx_req->vif;
598 struct ieee80211_sta *sta = tx_req->sta;
610 struct rtw89_core_tx_request *tx_req)
612 struct ieee80211_vif *vif = tx_req->vif;
614 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
625 desc_info->mac_id = rtw89_core_tx_get_mac_id(rtwdev, tx_req);
633 desc_info->data_rate = rtw89_core_get_mgmt_rate(rtwdev, tx_req, chan);
643 struct rtw89_core_tx_request *tx_req)
645 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
686 struct rtw89_core_tx_request *tx_req,
689 struct ieee80211_sta *sta = tx_req->sta;
691 struct sk_buff *skb = tx_req->skb;
716 struct rtw89_core_tx_request *tx_req)
718 struct ieee80211_sta *sta = tx_req->sta;
720 struct sk_buff *skb = tx_req->skb;
745 struct rtw89_core_tx_request *tx_req,
748 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
749 struct ieee80211_vif *vif = tx_req->vif;
752 if (!__rtw89_core_tx_check_he_qos_htc(rtwdev, tx_req, pkt_type))
755 __rtw89_core_tx_adjust_he_qos_htc(rtwdev, tx_req);
769 struct rtw89_core_tx_request *tx_req)
771 struct ieee80211_vif *vif = tx_req->vif;
772 struct ieee80211_sta *sta = tx_req->sta;
797 struct rtw89_core_tx_request *tx_req)
799 struct ieee80211_vif *vif = tx_req->vif;
800 struct ieee80211_sta *sta = tx_req->sta;
803 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
804 struct sk_buff *skb = tx_req->skb;
816 desc_info->mac_id = rtw89_core_tx_get_mac_id(rtwdev, tx_req);
824 rtw89_core_tx_update_sec_key(rtwdev, tx_req);
826 desc_info->data_retry_lowest_rate = rtw89_core_get_data_rate(rtwdev, tx_req);
831 struct rtw89_core_tx_request *tx_req)
833 struct sk_buff *skb = tx_req->skb;
879 struct rtw89_core_tx_request *tx_req)
890 tx_req->tx_type != RTW89_CORE_TX_TYPE_MGMT)
898 struct rtw89_core_tx_request *tx_req)
900 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
901 struct sk_buff *skb = tx_req->skb;
910 if (tx_req->tx_type != RTW89_CORE_TX_TYPE_FWCMD) {
912 tx_req->tx_type = tx_type;
923 switch (tx_req->tx_type) {
925 rtw89_core_tx_update_mgmt_info(rtwdev, tx_req);
928 rtw89_core_tx_update_data_info(rtwdev, tx_req);
929 pkt_type = rtw89_core_tx_btc_spec_pkt_notify(rtwdev, tx_req);
930 rtw89_core_tx_update_he_qos_htc(rtwdev, tx_req, pkt_type);
931 rtw89_core_tx_update_ampdu_info(rtwdev, tx_req, pkt_type);
935 rtw89_core_tx_update_h2c_info(rtwdev, tx_req);
983 struct rtw89_core_tx_request tx_req = {0};
995 tx_req.skb = skb;
996 tx_req.tx_type = RTW89_CORE_TX_TYPE_FWCMD;
998 tx_req.desc_info.fw_dl = true;
1000 rtw89_core_tx_update_desc_info(rtwdev, &tx_req);
1011 ret = rtw89_hci_tx_write(rtwdev, &tx_req);
1024 struct rtw89_core_tx_request tx_req = {0};
1028 tx_req.skb = skb;
1029 tx_req.sta = sta;
1030 tx_req.vif = vif;
1034 rtw89_core_tx_update_desc_info(rtwdev, &tx_req);
1035 rtw89_core_tx_wake(rtwdev, &tx_req);
1037 ret = rtw89_hci_tx_write(rtwdev, &tx_req);
1044 *qsel = tx_req.desc_info.qsel;