Home
last modified time | relevance | path

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

/linux/drivers/staging/rtl8192e/
A Drtllib_tx.c359 if (tcb_desc->multicast || tcb_desc->broadcast) in rtllib_query_bandwidth_mode()
378 tcb_desc->RTSSC = 0; in rtllib_query_protectionmode()
381 if (tcb_desc->broadcast || tcb_desc->multicast) in rtllib_query_protectionmode()
448 tcb_desc->rts_rate = 0; in rtllib_query_protectionmode()
449 tcb_desc->RTSSC = 0; in rtllib_query_protectionmode()
749 tcb_desc->hw_sec = 1; in rtllib_xmit_inter()
751 tcb_desc->hw_sec = 0; in rtllib_xmit_inter()
756 tcb_desc->hw_sec = 0; in rtllib_xmit_inter()
845 if (tcb_desc->multicast || tcb_desc->broadcast) in rtllib_xmit_inter()
863 tcb_desc->bdhcp = 1; in rtllib_xmit_inter()
[all …]
A Drtllib_crypt_wep.c65 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_encrypt() local
105 if (!tcb_desc->hw_sec) { in prism2_wep_encrypt()
134 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_decrypt() local
158 if (!tcb_desc->hw_sec) { in prism2_wep_decrypt()
A Drtllib_softmac.c199 tcb_desc->queue_index = MGNT_QUEUE; in softmac_mgmt_xmit()
202 tcb_desc->queue_index = HIGH_QUEUE; in softmac_mgmt_xmit()
205 tcb_desc->ratr_index = 7; in softmac_mgmt_xmit()
206 tcb_desc->tx_dis_rate_fallback = 1; in softmac_mgmt_xmit()
238 tcb_desc->queue_index) || in softmac_mgmt_xmit()
273 tcb_desc->queue_index = MGNT_QUEUE; in softmac_ps_mgmt_xmit()
275 tcb_desc->queue_index = HIGH_QUEUE; in softmac_ps_mgmt_xmit()
281 tcb_desc->ratr_index = 7; in softmac_ps_mgmt_xmit()
282 tcb_desc->tx_dis_rate_fallback = 1; in softmac_ps_mgmt_xmit()
1804 struct cb_desc *tcb_desc = NULL; in rtllib_softmac_xmit() local
[all …]
A Drtllib_crypt_tkip.c259 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_encrypt() local
271 if (!tcb_desc->hw_sec) { in rtllib_tkip_encrypt()
288 if (tcb_desc->hw_sec) { in rtllib_tkip_encrypt()
304 if (!tcb_desc->hw_sec) { in rtllib_tkip_encrypt()
322 if (!tcb_desc->hw_sec) in rtllib_tkip_encrypt()
334 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_decrypt() local
374 if (!tcb_desc->hw_sec || (skb->cb[0] == 1)) { in rtllib_tkip_decrypt()
A Drtllib_crypt_ccmp.c156 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_encrypt() local
185 if (!tcb_desc->hw_sec) { in rtllib_ccmp_encrypt()
223 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_decrypt() local
268 if (!tcb_desc->hw_sec) { in rtllib_ccmp_decrypt()
A Drtllib_rx.c281 struct cb_desc *tcb_desc = (struct cb_desc *) in rtllib_rx_frame_decrypt() local
284 tcb_desc->hw_sec = 1; in rtllib_rx_frame_decrypt()
287 tcb_desc->hw_sec = 0; in rtllib_rx_frame_decrypt()
320 struct cb_desc *tcb_desc = (struct cb_desc *) in rtllib_rx_frame_decrypt_msdu() local
323 tcb_desc->hw_sec = 1; in rtllib_rx_frame_decrypt_msdu()
326 tcb_desc->hw_sec = 0; in rtllib_rx_frame_decrypt_msdu()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
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/drivers/staging/rtl8192e/rtl8192e/
A Dr8192E_cmdpkt.c18 struct cb_desc *tcb_desc; in rtl92e_send_cmd_pkt() local
43 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl92e_send_cmd_pkt()
44 tcb_desc->queue_index = TXCMD_QUEUE; in rtl92e_send_cmd_pkt()
45 tcb_desc->cmd_or_init = type; in rtl92e_send_cmd_pkt()
46 tcb_desc->last_ini_pkt = last_ini_pkt; in rtl92e_send_cmd_pkt()
49 tcb_desc->pkt_size = frag_length; in rtl92e_send_cmd_pkt()
56 tcb_desc->txbuf_size = frag_length; in rtl92e_send_cmd_pkt()
A Drtl_core.c836 struct cb_desc *tcb_desc = NULL; in _rtl92e_tx_check_stuck() local
863 tcb_desc->stuck_count++; in _rtl92e_tx_check_stuck()
865 if (tcb_desc->stuck_count > 1) in _rtl92e_tx_check_stuck()
869 tcb_desc->stuck_count); in _rtl92e_tx_check_stuck()
1138 u8 queue_index = tcb_desc->queue_index; in _rtl92e_hard_data_xmit()
1169 u8 queue_index = tcb_desc->queue_index; in _rtl92e_hard_start_xmit()
1185 tcb_desc->ratr_index = 7; in _rtl92e_hard_start_xmit()
1186 tcb_desc->tx_dis_rate_fallback = 1; in _rtl92e_hard_start_xmit()
1187 tcb_desc->tx_use_drv_assinged_rate = 1; in _rtl92e_hard_start_xmit()
1188 tcb_desc->tx_enable_fw_calc_dur = 1; in _rtl92e_hard_start_xmit()
[all …]
A Dr8192E_dev.c858 static u8 _rtl92e_query_is_short(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) in _rtl92e_query_is_short() argument
862 tmp_Short = (TxHT == 1) ? ((tcb_desc->use_short_gi) ? 1 : 0) : in _rtl92e_query_is_short()
863 ((tcb_desc->use_short_preamble) ? 1 : 0); in _rtl92e_query_is_short()
/linux/drivers/net/wireless/realtek/rtlwifi/
A Dbase.c678 tcb_desc->rts_sc = 0; in _rtl_query_protection_mode()
788 if (!tcb_desc->disable_ratefallback || !tcb_desc->use_driver_rate) { in _rtl_txrate_selectmode()
793 if (tcb_desc->multicast || tcb_desc->broadcast) { in _rtl_txrate_selectmode()
794 tcb_desc->hw_rate = in _rtl_txrate_selectmode()
812 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
847 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
874 if (tcb_desc->multicast || tcb_desc->broadcast) in _rtl_query_bandwidth_mode()
1262 tcb_desc->ratr_index = in rtl_get_tcb_desc()
1275 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1279 tcb_desc->hw_rate = in rtl_get_tcb_desc()
[all …]
A Dpci.c392 struct rtl_tcb_desc *tcb_desc, u8 tid) in _rtl_update_earlymode_info() argument
405 tcb_desc->empkt_num = 0; in _rtl_update_earlymode_info()
412 tcb_desc->empkt_len[tcb_desc->empkt_num] = in _rtl_update_earlymode_info()
414 tcb_desc->empkt_num++; in _rtl_update_earlymode_info()
423 if (tcb_desc->empkt_num >= rtlhal->max_earlymode_num) in _rtl_update_earlymode_info()
452 struct rtl_tcb_desc tcb_desc; in _rtl_pci_tx_chk_waitq() local
454 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_pci_tx_chk_waitq()
473 &tcb_desc, tid); in _rtl_pci_tx_chk_waitq()
1036 struct rtl_tcb_desc tcb_desc; in _rtl_pci_prepare_bcn_tasklet() local
1042 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_pci_prepare_bcn_tasklet()
[all …]
A Dbase.h119 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc);
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()
A Dusb.c880 struct rtl_tcb_desc tcb_desc; in _rtl_usb_tx_preprocess() local
885 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_usb_tx_preprocess()
904 hw_queue, &tcb_desc); in _rtl_usb_tx_preprocess()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
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/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
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 …]
A Dtrx.h393 struct rtl_tcb_desc *tcb_desc);
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
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()
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()

Completed in 660 milliseconds