Lines Matching refs:ptcb_desc
243 static void _rtl8723be_insert_emcontent(struct rtl_tcb_desc *ptcb_desc, in _rtl8723be_insert_emcontent() argument
249 set_earlymode_pktnum(virtualaddress, ptcb_desc->empkt_num); in _rtl8723be_insert_emcontent()
250 if (ptcb_desc->empkt_num == 1) { in _rtl8723be_insert_emcontent()
251 dwtmp = ptcb_desc->empkt_len[0]; in _rtl8723be_insert_emcontent()
253 dwtmp = ptcb_desc->empkt_len[0]; in _rtl8723be_insert_emcontent()
255 dwtmp += ptcb_desc->empkt_len[1]; in _rtl8723be_insert_emcontent()
259 if (ptcb_desc->empkt_num <= 3) { in _rtl8723be_insert_emcontent()
260 dwtmp = ptcb_desc->empkt_len[2]; in _rtl8723be_insert_emcontent()
262 dwtmp = ptcb_desc->empkt_len[2]; in _rtl8723be_insert_emcontent()
264 dwtmp += ptcb_desc->empkt_len[3]; in _rtl8723be_insert_emcontent()
267 if (ptcb_desc->empkt_num <= 5) { in _rtl8723be_insert_emcontent()
268 dwtmp = ptcb_desc->empkt_len[4]; in _rtl8723be_insert_emcontent()
270 dwtmp = ptcb_desc->empkt_len[4]; in _rtl8723be_insert_emcontent()
272 dwtmp += ptcb_desc->empkt_len[5]; in _rtl8723be_insert_emcontent()
276 if (ptcb_desc->empkt_num <= 7) { in _rtl8723be_insert_emcontent()
277 dwtmp = ptcb_desc->empkt_len[6]; in _rtl8723be_insert_emcontent()
279 dwtmp = ptcb_desc->empkt_len[6]; in _rtl8723be_insert_emcontent()
281 dwtmp += ptcb_desc->empkt_len[7]; in _rtl8723be_insert_emcontent()
284 if (ptcb_desc->empkt_num <= 9) { in _rtl8723be_insert_emcontent()
285 dwtmp = ptcb_desc->empkt_len[8]; in _rtl8723be_insert_emcontent()
287 dwtmp = ptcb_desc->empkt_len[8]; in _rtl8723be_insert_emcontent()
289 dwtmp += ptcb_desc->empkt_len[9]; in _rtl8723be_insert_emcontent()
406 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl8723be_tx_fill_desc() argument
436 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl8723be_tx_fill_desc()
459 if (ptcb_desc->empkt_num) { in rtl8723be_tx_fill_desc()
462 ptcb_desc->empkt_num); in rtl8723be_tx_fill_desc()
463 _rtl8723be_insert_emcontent(ptcb_desc, in rtl8723be_tx_fill_desc()
472 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl8723be_tx_fill_desc()
473 if (ptcb_desc->hw_rate > DESC92C_RATEMCS0) in rtl8723be_tx_fill_desc()
474 short_gi = (ptcb_desc->use_shortgi) ? 1 : 0; in rtl8723be_tx_fill_desc()
476 short_gi = (ptcb_desc->use_shortpreamble) ? 1 : 0; in rtl8723be_tx_fill_desc()
485 set_tx_desc_rts_enable(pdesc, ((ptcb_desc->rts_enable && in rtl8723be_tx_fill_desc()
486 !ptcb_desc->cts_enable) ? in rtl8723be_tx_fill_desc()
489 set_tx_desc_cts2self(pdesc, ((ptcb_desc->cts_enable) ? in rtl8723be_tx_fill_desc()
492 set_tx_desc_rts_rate(pdesc, ptcb_desc->rts_rate); in rtl8723be_tx_fill_desc()
494 set_tx_desc_rts_sc(pdesc, ptcb_desc->rts_sc); in rtl8723be_tx_fill_desc()
496 ((ptcb_desc->rts_rate <= DESC92C_RATE54M) ? in rtl8723be_tx_fill_desc()
497 (ptcb_desc->rts_use_shortpreamble ? 1 : 0) : in rtl8723be_tx_fill_desc()
498 (ptcb_desc->rts_use_shortgi ? 1 : 0))); in rtl8723be_tx_fill_desc()
500 if (ptcb_desc->tx_enable_sw_calc_duration) in rtl8723be_tx_fill_desc()
504 if (ptcb_desc->packet_bw == HT_CHANNEL_WIDTH_20_40) { in rtl8723be_tx_fill_desc()
543 set_tx_desc_disable_fb(pdesc, ptcb_desc->disable_ratefallback ? in rtl8723be_tx_fill_desc()
545 set_tx_desc_use_rate(pdesc, ptcb_desc->use_driver_rate ? 1 : 0); in rtl8723be_tx_fill_desc()
559 rtl_set_tx_report(ptcb_desc, pdesc8, hw, tx_info); in rtl8723be_tx_fill_desc()
568 set_tx_desc_rate_id(pdesc, ptcb_desc->ratr_index); in rtl8723be_tx_fill_desc()
569 set_tx_desc_macid(pdesc, ptcb_desc->mac_id); in rtl8723be_tx_fill_desc()
571 set_tx_desc_rate_id(pdesc, 0xC + ptcb_desc->ratr_index); in rtl8723be_tx_fill_desc()
572 set_tx_desc_macid(pdesc, ptcb_desc->mac_id); in rtl8723be_tx_fill_desc()