Lines Matching refs:ptcb_desc

274 static void _rtl92ee_insert_emcontent(struct rtl_tcb_desc *ptcb_desc,  in _rtl92ee_insert_emcontent()  argument
282 set_earlymode_pktnum(virtualaddress, ptcb_desc->empkt_num); in _rtl92ee_insert_emcontent()
283 if (ptcb_desc->empkt_num == 1) { in _rtl92ee_insert_emcontent()
284 dwtmp = ptcb_desc->empkt_len[0]; in _rtl92ee_insert_emcontent()
286 dwtmp = ptcb_desc->empkt_len[0]; in _rtl92ee_insert_emcontent()
288 dwtmp += ptcb_desc->empkt_len[1]; in _rtl92ee_insert_emcontent()
292 if (ptcb_desc->empkt_num <= 3) { in _rtl92ee_insert_emcontent()
293 dwtmp = ptcb_desc->empkt_len[2]; in _rtl92ee_insert_emcontent()
295 dwtmp = ptcb_desc->empkt_len[2]; in _rtl92ee_insert_emcontent()
297 dwtmp += ptcb_desc->empkt_len[3]; in _rtl92ee_insert_emcontent()
300 if (ptcb_desc->empkt_num <= 5) { in _rtl92ee_insert_emcontent()
301 dwtmp = ptcb_desc->empkt_len[4]; in _rtl92ee_insert_emcontent()
303 dwtmp = ptcb_desc->empkt_len[4]; in _rtl92ee_insert_emcontent()
305 dwtmp += ptcb_desc->empkt_len[5]; in _rtl92ee_insert_emcontent()
309 if (ptcb_desc->empkt_num <= 7) { in _rtl92ee_insert_emcontent()
310 dwtmp = ptcb_desc->empkt_len[6]; in _rtl92ee_insert_emcontent()
312 dwtmp = ptcb_desc->empkt_len[6]; in _rtl92ee_insert_emcontent()
314 dwtmp += ptcb_desc->empkt_len[7]; in _rtl92ee_insert_emcontent()
317 if (ptcb_desc->empkt_num <= 9) { in _rtl92ee_insert_emcontent()
318 dwtmp = ptcb_desc->empkt_len[8]; in _rtl92ee_insert_emcontent()
320 dwtmp = ptcb_desc->empkt_len[8]; in _rtl92ee_insert_emcontent()
322 dwtmp += ptcb_desc->empkt_len[9]; in _rtl92ee_insert_emcontent()
647 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92ee_tx_fill_desc() argument
674 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl92ee_tx_fill_desc()
701 if (ptcb_desc->empkt_num) { in rtl92ee_tx_fill_desc()
704 ptcb_desc->empkt_num); in rtl92ee_tx_fill_desc()
705 _rtl92ee_insert_emcontent(ptcb_desc, in rtl92ee_tx_fill_desc()
713 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl92ee_tx_fill_desc()
716 ptcb_desc->use_driver_rate = true; in rtl92ee_tx_fill_desc()
719 ptcb_desc->use_driver_rate = true; in rtl92ee_tx_fill_desc()
722 ptcb_desc->use_driver_rate = false; in rtl92ee_tx_fill_desc()
732 ((ptcb_desc->rts_enable && in rtl92ee_tx_fill_desc()
733 !ptcb_desc->cts_enable) ? 1 : 0)); in rtl92ee_tx_fill_desc()
736 ((ptcb_desc->cts_enable) ? 1 : 0)); in rtl92ee_tx_fill_desc()
738 set_tx_desc_rts_rate(pdesc, ptcb_desc->rts_rate); in rtl92ee_tx_fill_desc()
739 set_tx_desc_rts_sc(pdesc, ptcb_desc->rts_sc); in rtl92ee_tx_fill_desc()
741 ((ptcb_desc->rts_rate <= DESC_RATE54M) ? in rtl92ee_tx_fill_desc()
742 (ptcb_desc->rts_use_shortpreamble ? 1 : 0) : in rtl92ee_tx_fill_desc()
743 (ptcb_desc->rts_use_shortgi ? 1 : 0))); in rtl92ee_tx_fill_desc()
745 if (ptcb_desc->tx_enable_sw_calc_duration) in rtl92ee_tx_fill_desc()
749 if (ptcb_desc->packet_bw == HT_CHANNEL_WIDTH_20_40) { in rtl92ee_tx_fill_desc()
790 ptcb_desc->disable_ratefallback ? 1 : 0); in rtl92ee_tx_fill_desc()
791 set_tx_desc_use_rate(pdesc, ptcb_desc->use_driver_rate ? 1 : 0); in rtl92ee_tx_fill_desc()
797 if (!ptcb_desc->use_driver_rate) { in rtl92ee_tx_fill_desc()
810 rtl_set_tx_report(ptcb_desc, pdesc8, hw, tx_info); in rtl92ee_tx_fill_desc()
817 set_tx_desc_rate_id(pdesc, ptcb_desc->ratr_index); in rtl92ee_tx_fill_desc()
818 set_tx_desc_macid(pdesc, ptcb_desc->mac_id); in rtl92ee_tx_fill_desc()
820 set_tx_desc_rate_id(pdesc, 0xC + ptcb_desc->ratr_index); in rtl92ee_tx_fill_desc()
821 set_tx_desc_macid(pdesc, ptcb_desc->ratr_index); in rtl92ee_tx_fill_desc()