Lines Matching refs:ptcb_desc

455 static void _rtl92de_insert_emcontent(struct rtl_tcb_desc *ptcb_desc,  in _rtl92de_insert_emcontent()  argument
462 set_earlymode_pktnum(virtualaddress, ptcb_desc->empkt_num); in _rtl92de_insert_emcontent()
463 set_earlymode_len0(virtualaddress, ptcb_desc->empkt_len[0]); in _rtl92de_insert_emcontent()
464 set_earlymode_len1(virtualaddress, ptcb_desc->empkt_len[1]); in _rtl92de_insert_emcontent()
465 set_earlymode_len2_1(virtualaddress, ptcb_desc->empkt_len[2] & 0xF); in _rtl92de_insert_emcontent()
466 set_earlymode_len2_2(virtualaddress, ptcb_desc->empkt_len[2] >> 4); in _rtl92de_insert_emcontent()
467 set_earlymode_len3(virtualaddress, ptcb_desc->empkt_len[3]); in _rtl92de_insert_emcontent()
468 set_earlymode_len4(virtualaddress, ptcb_desc->empkt_len[4]); in _rtl92de_insert_emcontent()
476 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92de_tx_fill_desc() argument
504 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl92de_tx_fill_desc()
528 if (ptcb_desc->empkt_num) { in rtl92de_tx_fill_desc()
531 ptcb_desc->empkt_num); in rtl92de_tx_fill_desc()
532 _rtl92de_insert_emcontent(ptcb_desc, in rtl92de_tx_fill_desc()
540 if (ptcb_desc->hw_rate < DESC_RATE6M) in rtl92de_tx_fill_desc()
541 ptcb_desc->hw_rate = DESC_RATE6M; in rtl92de_tx_fill_desc()
542 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl92de_tx_fill_desc()
543 if (ptcb_desc->use_shortgi || ptcb_desc->use_shortpreamble) in rtl92de_tx_fill_desc()
547 ptcb_desc->hw_rate == DESC_RATEMCS7) in rtl92de_tx_fill_desc()
556 ((ptcb_desc->rts_enable && in rtl92de_tx_fill_desc()
557 !ptcb_desc->cts_enable) ? 1 : 0)); in rtl92de_tx_fill_desc()
558 set_tx_desc_hw_rts_enable(pdesc, ((ptcb_desc->rts_enable in rtl92de_tx_fill_desc()
559 || ptcb_desc->cts_enable) ? 1 : 0)); in rtl92de_tx_fill_desc()
560 set_tx_desc_cts2self(pdesc, ((ptcb_desc->cts_enable) ? 1 : 0)); in rtl92de_tx_fill_desc()
561 set_tx_desc_rts_stbc(pdesc, ((ptcb_desc->rts_stbc) ? 1 : 0)); in rtl92de_tx_fill_desc()
564 if (ptcb_desc->rts_rate < DESC_RATE6M) in rtl92de_tx_fill_desc()
565 ptcb_desc->rts_rate = DESC_RATE6M; in rtl92de_tx_fill_desc()
566 set_tx_desc_rts_rate(pdesc, ptcb_desc->rts_rate); in rtl92de_tx_fill_desc()
568 set_tx_desc_rts_sc(pdesc, ptcb_desc->rts_sc); in rtl92de_tx_fill_desc()
569 set_tx_desc_rts_short(pdesc, ((ptcb_desc->rts_rate <= in rtl92de_tx_fill_desc()
571 (ptcb_desc->rts_use_shortpreamble ? 1 : 0) : in rtl92de_tx_fill_desc()
572 (ptcb_desc->rts_use_shortgi ? 1 : 0))); in rtl92de_tx_fill_desc()
574 if (ptcb_desc->packet_bw) { in rtl92de_tx_fill_desc()
615 set_tx_desc_disable_fb(pdesc, ptcb_desc->disable_ratefallback ? in rtl92de_tx_fill_desc()
617 set_tx_desc_use_rate(pdesc, ptcb_desc->use_driver_rate ? 1 : 0); in rtl92de_tx_fill_desc()
622 if (!ptcb_desc->use_driver_rate) { in rtl92de_tx_fill_desc()
641 set_tx_desc_rate_id(pdesc, ptcb_desc->ratr_index); in rtl92de_tx_fill_desc()
642 set_tx_desc_macid(pdesc, ptcb_desc->mac_id); in rtl92de_tx_fill_desc()
644 set_tx_desc_rate_id(pdesc, 0xC + ptcb_desc->ratr_index); in rtl92de_tx_fill_desc()
645 set_tx_desc_macid(pdesc, ptcb_desc->ratr_index); in rtl92de_tx_fill_desc()