Home
last modified time | relevance | path

Searched refs:tcb_desc (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
H A Dtrx.c67 struct rtl_tcb_desc *tcb_desc) in rtl92du_tx_fill_desc() argument
95 if (tcb_desc->hw_rate < DESC_RATE6M) in rtl92du_tx_fill_desc()
96 tcb_desc->hw_rate = DESC_RATE6M; in rtl92du_tx_fill_desc()
99 if (tcb_desc->use_shortgi || tcb_desc->use_shortpreamble) in rtl92du_tx_fill_desc()
103 tcb_desc->hw_rate == DESC_RATEMCS7) in rtl92du_tx_fill_desc()
118 tcb_desc->rts_enable = 1; in rtl92du_tx_fill_desc()
119 tcb_desc->rts_rate = DESC_RATE24M; in rtl92du_tx_fill_desc()
126 rts_en = tcb_desc->rts_enable && !tcb_desc->cts_enable; in rtl92du_tx_fill_desc()
127 hw_rts_en = tcb_desc->rts_enable || tcb_desc->cts_enable; in rtl92du_tx_fill_desc()
134 if (tcb_desc->rts_rate < DESC_RATE6M) in rtl92du_tx_fill_desc()
[all …]
/linux-6.15/drivers/net/wireless/realtek/rtlwifi/
H A Dbase.c684 tcb_desc->rts_sc = 0; in _rtl_query_protection_mode()
794 if (!tcb_desc->disable_ratefallback || !tcb_desc->use_driver_rate) { in _rtl_txrate_selectmode()
799 if (tcb_desc->multicast || tcb_desc->broadcast) { in _rtl_txrate_selectmode()
800 tcb_desc->hw_rate = in _rtl_txrate_selectmode()
818 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
853 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
880 if (tcb_desc->multicast || tcb_desc->broadcast) in _rtl_query_bandwidth_mode()
1268 tcb_desc->ratr_index = in rtl_get_tcb_desc()
1281 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1285 tcb_desc->hw_rate = in rtl_get_tcb_desc()
[all …]
H A Dpci.c352 struct rtl_tcb_desc *tcb_desc, u8 tid) in _rtl_update_earlymode_info() argument
365 tcb_desc->empkt_num = 0; in _rtl_update_earlymode_info()
372 tcb_desc->empkt_len[tcb_desc->empkt_num] = in _rtl_update_earlymode_info()
374 tcb_desc->empkt_num++; in _rtl_update_earlymode_info()
383 if (tcb_desc->empkt_num >= rtlhal->max_earlymode_num) in _rtl_update_earlymode_info()
412 struct rtl_tcb_desc tcb_desc; in _rtl_pci_tx_chk_waitq() local
414 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_pci_tx_chk_waitq()
433 &tcb_desc, tid); in _rtl_pci_tx_chk_waitq()
996 struct rtl_tcb_desc tcb_desc; in _rtl_pci_prepare_bcn_tasklet() local
1002 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_pci_prepare_bcn_tasklet()
[all …]
H A Dbase.h119 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc);
H A Dcore.c192 struct rtl_tcb_desc tcb_desc; in rtl_op_tx() local
194 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in rtl_op_tx()
203 rtlpriv->intf_ops->adapter_tx(hw, control->sta, skb, &tcb_desc); in rtl_op_tx()
992 struct rtl_tcb_desc tcb_desc; in send_beacon_frame() local
995 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in send_beacon_frame()
996 rtlpriv->intf_ops->adapter_tx(hw, NULL, skb, &tcb_desc); in send_beacon_frame()
H A Dusb.c875 struct rtl_tcb_desc tcb_desc; in _rtl_usb_tx_preprocess() local
880 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_usb_tx_preprocess()
899 hw_queue, &tcb_desc); in _rtl_usb_tx_preprocess()
/linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dtrx.c347 u8 hw_queue, struct rtl_tcb_desc *tcb_desc) in rtl92ce_tx_fill_desc() argument
386 rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc); in rtl92ce_tx_fill_desc()
397 set_tx_desc_tx_rate(pdesc, tcb_desc->hw_rate); in rtl92ce_tx_fill_desc()
399 if (tcb_desc->use_shortgi || tcb_desc->use_shortpreamble) in rtl92ce_tx_fill_desc()
409 !tcb_desc-> in rtl92ce_tx_fill_desc()
412 ((tcb_desc->rts_enable in rtl92ce_tx_fill_desc()
413 || tcb_desc->cts_enable) ? 1 : 0)); in rtl92ce_tx_fill_desc()
419 set_tx_desc_rts_sc(pdesc, tcb_desc->rts_sc); in rtl92ce_tx_fill_desc()
421 ((tcb_desc->rts_rate <= DESC_RATE54M) ? in rtl92ce_tx_fill_desc()
426 if (tcb_desc->packet_bw) { in rtl92ce_tx_fill_desc()
[all …]
/linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dtrx.c480 struct rtl_tcb_desc *tcb_desc) in rtl92cu_tx_fill_desc() argument
499 rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc); in rtl92cu_tx_fill_desc()
508 if (tcb_desc->use_shortgi || tcb_desc->use_shortpreamble) in rtl92cu_tx_fill_desc()
523 tcb_desc->rts_enable = 1; in rtl92cu_tx_fill_desc()
524 tcb_desc->rts_rate = DESC_RATE24M; in rtl92cu_tx_fill_desc()
530 ((tcb_desc->rts_enable && in rtl92cu_tx_fill_desc()
531 !tcb_desc->cts_enable) ? 1 : 0)); in rtl92cu_tx_fill_desc()
533 ((tcb_desc->rts_enable || in rtl92cu_tx_fill_desc()
534 tcb_desc->cts_enable) ? 1 : 0)); in rtl92cu_tx_fill_desc()
539 set_tx_desc_rts_sc(txdesc, tcb_desc->rts_sc); in rtl92cu_tx_fill_desc()
[all …]
H A Dtrx.h393 struct rtl_tcb_desc *tcb_desc);
/linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dfw.c138 struct rtl_tcb_desc *tcb_desc; in _rtl92s_firmware_downloadcode() local
171 tcb_desc = (struct rtl_tcb_desc *)(skb->cb); in _rtl92s_firmware_downloadcode()
172 tcb_desc->queue_index = TXCMD_QUEUE; in _rtl92s_firmware_downloadcode()
173 tcb_desc->cmd_or_init = DESC_PACKET_TYPE_INIT; in _rtl92s_firmware_downloadcode()
174 tcb_desc->last_inipkt = last_inipkt; in _rtl92s_firmware_downloadcode()
H A Dtrx.c500 struct rtl_tcb_desc *tcb_desc = (struct rtl_tcb_desc *)(skb->cb); in rtl92se_tx_fill_cmddesc() local
515 if (tcb_desc->cmd_or_init == DESC_PACKET_TYPE_INIT) { in rtl92se_tx_fill_cmddesc()
517 set_tx_desc_linip(pdesc, tcb_desc->last_inipkt); in rtl92se_tx_fill_cmddesc()