Lines Matching refs:tcb_desc

617 					  struct rtl_tcb_desc *tcb_desc,  in _rtl_qurey_shortpreamble_mode()  argument
623 tcb_desc->use_shortpreamble = false; in _rtl_qurey_shortpreamble_mode()
626 if (tcb_desc->hw_rate == rtlpriv->cfg->maps[RTL_RC_CCK_RATE1M]) in _rtl_qurey_shortpreamble_mode()
629 tcb_desc->use_shortpreamble = true; in _rtl_qurey_shortpreamble_mode()
636 struct rtl_tcb_desc *tcb_desc, in _rtl_query_shortgi() argument
643 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
670 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
672 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
675 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
677 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
681 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
685 struct rtl_tcb_desc *tcb_desc, in _rtl_query_protection_mode() argument
692 tcb_desc->rts_stbc = false; in _rtl_query_protection_mode()
693 tcb_desc->cts_enable = false; in _rtl_query_protection_mode()
694 tcb_desc->rts_sc = 0; in _rtl_query_protection_mode()
695 tcb_desc->rts_bw = false; in _rtl_query_protection_mode()
696 tcb_desc->rts_use_shortpreamble = false; in _rtl_query_protection_mode()
697 tcb_desc->rts_use_shortgi = false; in _rtl_query_protection_mode()
701 tcb_desc->rts_enable = true; in _rtl_query_protection_mode()
702 tcb_desc->cts_enable = true; in _rtl_query_protection_mode()
703 tcb_desc->rts_rate = rtlpriv->cfg->maps[RTL_RC_OFDM_RATE24M]; in _rtl_query_protection_mode()
706 tcb_desc->rts_enable = true; in _rtl_query_protection_mode()
707 tcb_desc->rts_rate = rtlpriv->cfg->maps[RTL_RC_OFDM_RATE24M]; in _rtl_query_protection_mode()
785 struct rtl_tcb_desc *tcb_desc) in _rtl_txrate_selectmode() argument
804 if (!tcb_desc->disable_ratefallback || !tcb_desc->use_driver_rate) { in _rtl_txrate_selectmode()
806 tcb_desc->ratr_index = 0; in _rtl_txrate_selectmode()
809 if (tcb_desc->multicast || tcb_desc->broadcast) { in _rtl_txrate_selectmode()
810 tcb_desc->hw_rate = in _rtl_txrate_selectmode()
812 tcb_desc->use_driver_rate = 1; in _rtl_txrate_selectmode()
813 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
816 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
819 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
824 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
828 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
834 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
837 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
840 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
843 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
846 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
849 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
852 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
859 tcb_desc->mac_id = sta->aid + 1; in _rtl_txrate_selectmode()
861 tcb_desc->mac_id = 1; in _rtl_txrate_selectmode()
863 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
872 struct rtl_tcb_desc *tcb_desc) in _rtl_query_bandwidth_mode() argument
877 tcb_desc->packet_bw = false; in _rtl_query_bandwidth_mode()
890 if (tcb_desc->multicast || tcb_desc->broadcast) in _rtl_query_bandwidth_mode()
894 if (tcb_desc->hw_rate <= rtlpriv->cfg->maps[RTL_RC_OFDM_RATE54M]) in _rtl_query_bandwidth_mode()
897 tcb_desc->packet_bw = HT_CHANNEL_WIDTH_20_40; in _rtl_query_bandwidth_mode()
910 if (tcb_desc->hw_rate <= in _rtl_query_bandwidth_mode()
913 tcb_desc->packet_bw = HT_CHANNEL_WIDTH_80; in _rtl_query_bandwidth_mode()
1241 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc) in rtl_get_tcb_desc() argument
1259 tcb_desc->hw_rate = _rtl_get_tx_hw_rate(hw, info); in rtl_get_tcb_desc()
1262 tcb_desc->use_spe_rpt = 1; in rtl_get_tcb_desc()
1277 tcb_desc->use_driver_rate = true; in rtl_get_tcb_desc()
1278 tcb_desc->ratr_index = in rtl_get_tcb_desc()
1281 tcb_desc->disable_ratefallback = 1; in rtl_get_tcb_desc()
1291 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1295 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1299 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1302 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1310 tcb_desc->multicast = 1; in rtl_get_tcb_desc()
1312 tcb_desc->broadcast = 1; in rtl_get_tcb_desc()
1314 _rtl_txrate_selectmode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1315 _rtl_query_bandwidth_mode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1316 _rtl_qurey_shortpreamble_mode(hw, tcb_desc, info); in rtl_get_tcb_desc()
1317 _rtl_query_shortgi(hw, sta, tcb_desc, info); in rtl_get_tcb_desc()
1318 _rtl_query_protection_mode(hw, tcb_desc, info); in rtl_get_tcb_desc()
1320 tcb_desc->use_driver_rate = true; in rtl_get_tcb_desc()
1321 tcb_desc->ratr_index = SET_RATE_ID(RATR_INX_WIRELESS_MC); in rtl_get_tcb_desc()
1322 tcb_desc->disable_ratefallback = 1; in rtl_get_tcb_desc()
1323 tcb_desc->mac_id = 0; in rtl_get_tcb_desc()
1324 tcb_desc->packet_bw = false; in rtl_get_tcb_desc()
2487 struct rtl_tcb_desc tcb_desc; in rtl_send_smps_action() local
2490 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in rtl_send_smps_action()
2520 rtlpriv->intf_ops->adapter_tx(hw, sta, skb, &tcb_desc); in rtl_send_smps_action()