Lines Matching refs:ptcb_desc
317 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92se_tx_fill_desc() argument
350 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl92se_tx_fill_desc()
362 if (ptcb_desc->mac_id < 32) { in rtl92se_tx_fill_desc()
363 set_tx_desc_macid(pdesc, ptcb_desc->mac_id); in rtl92se_tx_fill_desc()
364 reserved_macid |= ptcb_desc->mac_id; in rtl92se_tx_fill_desc()
369 set_tx_desc_txht(pdesc, ((ptcb_desc->hw_rate >= in rtl92se_tx_fill_desc()
373 if (ptcb_desc->hw_rate == DESC_RATE1M || in rtl92se_tx_fill_desc()
374 ptcb_desc->hw_rate == DESC_RATE2M || in rtl92se_tx_fill_desc()
375 ptcb_desc->hw_rate == DESC_RATE5_5M || in rtl92se_tx_fill_desc()
376 ptcb_desc->hw_rate == DESC_RATE11M) { in rtl92se_tx_fill_desc()
377 ptcb_desc->hw_rate = DESC_RATE12M; in rtl92se_tx_fill_desc()
381 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl92se_tx_fill_desc()
383 if (ptcb_desc->use_shortgi || ptcb_desc->use_shortpreamble) in rtl92se_tx_fill_desc()
396 set_tx_desc_rts_enable(pdesc, ((ptcb_desc->rts_enable && in rtl92se_tx_fill_desc()
397 !ptcb_desc->cts_enable) ? in rtl92se_tx_fill_desc()
399 set_tx_desc_cts_enable(pdesc, ((ptcb_desc->cts_enable) ? in rtl92se_tx_fill_desc()
401 set_tx_desc_rts_stbc(pdesc, ((ptcb_desc->rts_stbc) ? 1 : 0)); in rtl92se_tx_fill_desc()
403 set_tx_desc_rts_rate(pdesc, ptcb_desc->rts_rate); in rtl92se_tx_fill_desc()
405 set_tx_desc_rts_sub_carrier(pdesc, ptcb_desc->rts_sc); in rtl92se_tx_fill_desc()
406 set_tx_desc_rts_short(pdesc, ((ptcb_desc->rts_rate <= in rtl92se_tx_fill_desc()
408 (ptcb_desc->rts_use_shortpreamble ? 1 : 0) in rtl92se_tx_fill_desc()
409 : (ptcb_desc->rts_use_shortgi ? 1 : 0))); in rtl92se_tx_fill_desc()
414 if (ptcb_desc->packet_bw) { in rtl92se_tx_fill_desc()
435 set_tx_desc_ra_brsr_id(pdesc, ptcb_desc->ratr_index); in rtl92se_tx_fill_desc()
471 ptcb_desc->use_driver_rate ? 1 : 0); in rtl92se_tx_fill_desc()