Lines Matching refs:ptcb_desc

266 static void _rtl8723be_insert_emcontent(struct rtl_tcb_desc *ptcb_desc,  in _rtl8723be_insert_emcontent()  argument
272 SET_EARLYMODE_PKTNUM(virtualaddress, ptcb_desc->empkt_num); in _rtl8723be_insert_emcontent()
273 if (ptcb_desc->empkt_num == 1) { in _rtl8723be_insert_emcontent()
274 dwtmp = ptcb_desc->empkt_len[0]; in _rtl8723be_insert_emcontent()
276 dwtmp = ptcb_desc->empkt_len[0]; in _rtl8723be_insert_emcontent()
278 dwtmp += ptcb_desc->empkt_len[1]; in _rtl8723be_insert_emcontent()
282 if (ptcb_desc->empkt_num <= 3) { in _rtl8723be_insert_emcontent()
283 dwtmp = ptcb_desc->empkt_len[2]; in _rtl8723be_insert_emcontent()
285 dwtmp = ptcb_desc->empkt_len[2]; in _rtl8723be_insert_emcontent()
287 dwtmp += ptcb_desc->empkt_len[3]; in _rtl8723be_insert_emcontent()
290 if (ptcb_desc->empkt_num <= 5) { in _rtl8723be_insert_emcontent()
291 dwtmp = ptcb_desc->empkt_len[4]; in _rtl8723be_insert_emcontent()
293 dwtmp = ptcb_desc->empkt_len[4]; in _rtl8723be_insert_emcontent()
295 dwtmp += ptcb_desc->empkt_len[5]; in _rtl8723be_insert_emcontent()
299 if (ptcb_desc->empkt_num <= 7) { in _rtl8723be_insert_emcontent()
300 dwtmp = ptcb_desc->empkt_len[6]; in _rtl8723be_insert_emcontent()
302 dwtmp = ptcb_desc->empkt_len[6]; in _rtl8723be_insert_emcontent()
304 dwtmp += ptcb_desc->empkt_len[7]; in _rtl8723be_insert_emcontent()
307 if (ptcb_desc->empkt_num <= 9) { in _rtl8723be_insert_emcontent()
308 dwtmp = ptcb_desc->empkt_len[8]; in _rtl8723be_insert_emcontent()
310 dwtmp = ptcb_desc->empkt_len[8]; in _rtl8723be_insert_emcontent()
312 dwtmp += ptcb_desc->empkt_len[9]; in _rtl8723be_insert_emcontent()
428 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl8723be_tx_fill_desc() argument
458 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl8723be_tx_fill_desc()
481 if (ptcb_desc->empkt_num) { in rtl8723be_tx_fill_desc()
484 ptcb_desc->empkt_num); in rtl8723be_tx_fill_desc()
485 _rtl8723be_insert_emcontent(ptcb_desc, in rtl8723be_tx_fill_desc()
494 SET_TX_DESC_TX_RATE(pdesc, ptcb_desc->hw_rate); in rtl8723be_tx_fill_desc()
495 if (ptcb_desc->hw_rate > DESC92C_RATEMCS0) in rtl8723be_tx_fill_desc()
496 short_gi = (ptcb_desc->use_shortgi) ? 1 : 0; in rtl8723be_tx_fill_desc()
498 short_gi = (ptcb_desc->use_shortpreamble) ? 1 : 0; in rtl8723be_tx_fill_desc()
507 SET_TX_DESC_RTS_ENABLE(pdesc, ((ptcb_desc->rts_enable && in rtl8723be_tx_fill_desc()
508 !ptcb_desc->cts_enable) ? in rtl8723be_tx_fill_desc()
511 SET_TX_DESC_CTS2SELF(pdesc, ((ptcb_desc->cts_enable) ? in rtl8723be_tx_fill_desc()
514 SET_TX_DESC_RTS_RATE(pdesc, ptcb_desc->rts_rate); in rtl8723be_tx_fill_desc()
516 SET_TX_DESC_RTS_SC(pdesc, ptcb_desc->rts_sc); in rtl8723be_tx_fill_desc()
518 ((ptcb_desc->rts_rate <= DESC92C_RATE54M) ? in rtl8723be_tx_fill_desc()
519 (ptcb_desc->rts_use_shortpreamble ? 1 : 0) : in rtl8723be_tx_fill_desc()
520 (ptcb_desc->rts_use_shortgi ? 1 : 0))); in rtl8723be_tx_fill_desc()
522 if (ptcb_desc->tx_enable_sw_calc_duration) in rtl8723be_tx_fill_desc()
526 if (ptcb_desc->packet_bw == HT_CHANNEL_WIDTH_20_40) { in rtl8723be_tx_fill_desc()
565 SET_TX_DESC_DISABLE_FB(pdesc, ptcb_desc->disable_ratefallback ? in rtl8723be_tx_fill_desc()
567 SET_TX_DESC_USE_RATE(pdesc, ptcb_desc->use_driver_rate ? 1 : 0); in rtl8723be_tx_fill_desc()
581 rtl_set_tx_report(ptcb_desc, pdesc, hw, tx_info); in rtl8723be_tx_fill_desc()
590 SET_TX_DESC_RATE_ID(pdesc, ptcb_desc->ratr_index); in rtl8723be_tx_fill_desc()
591 SET_TX_DESC_MACID(pdesc, ptcb_desc->mac_id); in rtl8723be_tx_fill_desc()
593 SET_TX_DESC_RATE_ID(pdesc, 0xC + ptcb_desc->ratr_index); in rtl8723be_tx_fill_desc()
594 SET_TX_DESC_MACID(pdesc, ptcb_desc->mac_id); in rtl8723be_tx_fill_desc()