Lines Matching defs:tx_req

468 				struct rtw89_core_tx_request *tx_req,
471 struct ieee80211_sta *sta = tx_req->sta;
472 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
473 struct sk_buff *skb = tx_req->skb;
505 struct rtw89_core_tx_request *tx_req)
512 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
513 struct sk_buff *skb = tx_req->skb;
573 struct rtw89_core_tx_request *tx_req,
576 struct sk_buff *skb = tx_req->skb;
589 if (!vif || !vif->bss_conf.basic_rates || !tx_req->sta)
596 struct rtw89_core_tx_request *tx_req)
598 struct ieee80211_vif *vif = tx_req->vif;
600 struct ieee80211_sta *sta = tx_req->sta;
612 struct rtw89_core_tx_request *tx_req)
614 struct ieee80211_vif *vif = tx_req->vif;
616 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
627 desc_info->mac_id = rtw89_core_tx_get_mac_id(rtwdev, tx_req);
635 desc_info->data_rate = rtw89_core_get_mgmt_rate(rtwdev, tx_req, chan);
645 struct rtw89_core_tx_request *tx_req)
647 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
688 struct rtw89_core_tx_request *tx_req,
691 struct ieee80211_sta *sta = tx_req->sta;
693 struct sk_buff *skb = tx_req->skb;
718 struct rtw89_core_tx_request *tx_req)
720 struct ieee80211_sta *sta = tx_req->sta;
722 struct sk_buff *skb = tx_req->skb;
759 struct rtw89_core_tx_request *tx_req,
762 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
763 struct ieee80211_vif *vif = tx_req->vif;
766 if (!__rtw89_core_tx_check_he_qos_htc(rtwdev, tx_req, pkt_type))
769 __rtw89_core_tx_adjust_he_qos_htc(rtwdev, tx_req);
783 struct rtw89_core_tx_request *tx_req)
785 struct ieee80211_vif *vif = tx_req->vif;
786 struct ieee80211_sta *sta = tx_req->sta;
811 struct rtw89_core_tx_request *tx_req)
813 struct ieee80211_vif *vif = tx_req->vif;
814 struct ieee80211_sta *sta = tx_req->sta;
817 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
818 struct sk_buff *skb = tx_req->skb;
830 desc_info->mac_id = rtw89_core_tx_get_mac_id(rtwdev, tx_req);
840 rtw89_core_tx_update_sec_key(rtwdev, tx_req);
842 desc_info->data_retry_lowest_rate = rtw89_core_get_data_rate(rtwdev, tx_req);
847 struct rtw89_core_tx_request *tx_req)
849 struct sk_buff *skb = tx_req->skb;
895 struct rtw89_core_tx_request *tx_req)
906 tx_req->tx_type != RTW89_CORE_TX_TYPE_MGMT)
914 struct rtw89_core_tx_request *tx_req)
916 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info;
917 struct sk_buff *skb = tx_req->skb;
926 if (tx_req->tx_type != RTW89_CORE_TX_TYPE_FWCMD) {
928 tx_req->tx_type = tx_type;
939 switch (tx_req->tx_type) {
941 rtw89_core_tx_update_mgmt_info(rtwdev, tx_req);
944 rtw89_core_tx_update_data_info(rtwdev, tx_req);
945 pkt_type = rtw89_core_tx_btc_spec_pkt_notify(rtwdev, tx_req);
946 rtw89_core_tx_update_he_qos_htc(rtwdev, tx_req, pkt_type);
947 rtw89_core_tx_update_ampdu_info(rtwdev, tx_req, pkt_type);
951 rtw89_core_tx_update_h2c_info(rtwdev, tx_req);
999 struct rtw89_core_tx_request tx_req = {0};
1011 tx_req.skb = skb;
1012 tx_req.tx_type = RTW89_CORE_TX_TYPE_FWCMD;
1014 tx_req.desc_info.fw_dl = true;
1016 rtw89_core_tx_update_desc_info(rtwdev, &tx_req);
1027 ret = rtw89_hci_tx_write(rtwdev, &tx_req);
1040 struct rtw89_core_tx_request tx_req = {0};
1044 tx_req.skb = skb;
1045 tx_req.sta = sta;
1046 tx_req.vif = vif;
1050 rtw89_core_tx_update_desc_info(rtwdev, &tx_req);
1051 rtw89_core_tx_wake(rtwdev, &tx_req);
1053 ret = rtw89_hci_tx_write(rtwdev, &tx_req);
1060 *qsel = tx_req.desc_info.qsel;