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()
645 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92ee_tx_fill_desc() argument
672 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl92ee_tx_fill_desc()
699 if (ptcb_desc->empkt_num) { in rtl92ee_tx_fill_desc()
702 ptcb_desc->empkt_num); in rtl92ee_tx_fill_desc()
703 _rtl92ee_insert_emcontent(ptcb_desc, in rtl92ee_tx_fill_desc()
711 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl92ee_tx_fill_desc()
714 ptcb_desc->use_driver_rate = true; in rtl92ee_tx_fill_desc()
717 ptcb_desc->use_driver_rate = true; in rtl92ee_tx_fill_desc()
720 ptcb_desc->use_driver_rate = false; in rtl92ee_tx_fill_desc()
730 ((ptcb_desc->rts_enable && in rtl92ee_tx_fill_desc()
731 !ptcb_desc->cts_enable) ? 1 : 0)); in rtl92ee_tx_fill_desc()
734 ((ptcb_desc->cts_enable) ? 1 : 0)); in rtl92ee_tx_fill_desc()
736 set_tx_desc_rts_rate(pdesc, ptcb_desc->rts_rate); in rtl92ee_tx_fill_desc()
737 set_tx_desc_rts_sc(pdesc, ptcb_desc->rts_sc); in rtl92ee_tx_fill_desc()
739 ((ptcb_desc->rts_rate <= DESC_RATE54M) ? in rtl92ee_tx_fill_desc()
740 (ptcb_desc->rts_use_shortpreamble ? 1 : 0) : in rtl92ee_tx_fill_desc()
741 (ptcb_desc->rts_use_shortgi ? 1 : 0))); in rtl92ee_tx_fill_desc()
743 if (ptcb_desc->tx_enable_sw_calc_duration) in rtl92ee_tx_fill_desc()
747 if (ptcb_desc->packet_bw == HT_CHANNEL_WIDTH_20_40) { in rtl92ee_tx_fill_desc()
788 ptcb_desc->disable_ratefallback ? 1 : 0); in rtl92ee_tx_fill_desc()
789 set_tx_desc_use_rate(pdesc, ptcb_desc->use_driver_rate ? 1 : 0); in rtl92ee_tx_fill_desc()
795 if (!ptcb_desc->use_driver_rate) { in rtl92ee_tx_fill_desc()
808 rtl_set_tx_report(ptcb_desc, pdesc8, hw, tx_info); in rtl92ee_tx_fill_desc()
815 set_tx_desc_rate_id(pdesc, ptcb_desc->ratr_index); in rtl92ee_tx_fill_desc()
816 set_tx_desc_macid(pdesc, ptcb_desc->mac_id); in rtl92ee_tx_fill_desc()
818 set_tx_desc_rate_id(pdesc, 0xC + ptcb_desc->ratr_index); in rtl92ee_tx_fill_desc()
819 set_tx_desc_macid(pdesc, ptcb_desc->ratr_index); in rtl92ee_tx_fill_desc()