Lines Matching refs:tcb_desc
600 struct rtl_tcb_desc *tcb_desc, in _rtl_qurey_shortpreamble_mode() argument
606 tcb_desc->use_shortpreamble = false; in _rtl_qurey_shortpreamble_mode()
609 if (tcb_desc->hw_rate == rtlpriv->cfg->maps[RTL_RC_CCK_RATE1M]) in _rtl_qurey_shortpreamble_mode()
612 tcb_desc->use_shortpreamble = true; in _rtl_qurey_shortpreamble_mode()
619 struct rtl_tcb_desc *tcb_desc, in _rtl_query_shortgi() argument
627 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
655 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
657 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
660 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
662 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
666 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
670 struct rtl_tcb_desc *tcb_desc, in _rtl_query_protection_mode() argument
677 tcb_desc->rts_stbc = false; in _rtl_query_protection_mode()
678 tcb_desc->cts_enable = false; in _rtl_query_protection_mode()
679 tcb_desc->rts_sc = 0; in _rtl_query_protection_mode()
680 tcb_desc->rts_bw = false; in _rtl_query_protection_mode()
681 tcb_desc->rts_use_shortpreamble = false; in _rtl_query_protection_mode()
682 tcb_desc->rts_use_shortgi = false; in _rtl_query_protection_mode()
686 tcb_desc->rts_enable = true; in _rtl_query_protection_mode()
687 tcb_desc->cts_enable = true; in _rtl_query_protection_mode()
688 tcb_desc->rts_rate = rtlpriv->cfg->maps[RTL_RC_OFDM_RATE24M]; in _rtl_query_protection_mode()
691 tcb_desc->rts_enable = true; in _rtl_query_protection_mode()
692 tcb_desc->rts_rate = rtlpriv->cfg->maps[RTL_RC_OFDM_RATE24M]; in _rtl_query_protection_mode()
770 struct rtl_tcb_desc *tcb_desc) in _rtl_txrate_selectmode() argument
789 if (!tcb_desc->disable_ratefallback || !tcb_desc->use_driver_rate) { in _rtl_txrate_selectmode()
791 tcb_desc->ratr_index = 0; in _rtl_txrate_selectmode()
794 if (tcb_desc->multicast || tcb_desc->broadcast) { in _rtl_txrate_selectmode()
795 tcb_desc->hw_rate = in _rtl_txrate_selectmode()
797 tcb_desc->use_driver_rate = 1; in _rtl_txrate_selectmode()
798 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
801 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
804 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
809 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
813 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
819 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
822 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
825 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
828 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
831 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
834 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
837 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
844 tcb_desc->mac_id = sta->aid + 1; in _rtl_txrate_selectmode()
846 tcb_desc->mac_id = 1; in _rtl_txrate_selectmode()
848 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
857 struct rtl_tcb_desc *tcb_desc) in _rtl_query_bandwidth_mode() argument
862 tcb_desc->packet_bw = false; in _rtl_query_bandwidth_mode()
875 if (tcb_desc->multicast || tcb_desc->broadcast) in _rtl_query_bandwidth_mode()
879 if (tcb_desc->hw_rate <= rtlpriv->cfg->maps[RTL_RC_OFDM_RATE54M]) in _rtl_query_bandwidth_mode()
882 tcb_desc->packet_bw = HT_CHANNEL_WIDTH_20_40; in _rtl_query_bandwidth_mode()
895 if (tcb_desc->hw_rate <= in _rtl_query_bandwidth_mode()
898 tcb_desc->packet_bw = HT_CHANNEL_WIDTH_80; in _rtl_query_bandwidth_mode()
1226 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc) in rtl_get_tcb_desc() argument
1244 tcb_desc->hw_rate = _rtl_get_tx_hw_rate(hw, info); in rtl_get_tcb_desc()
1247 tcb_desc->use_spe_rpt = 1; in rtl_get_tcb_desc()
1262 tcb_desc->use_driver_rate = true; in rtl_get_tcb_desc()
1263 tcb_desc->ratr_index = in rtl_get_tcb_desc()
1266 tcb_desc->disable_ratefallback = 1; in rtl_get_tcb_desc()
1276 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1280 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1284 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1287 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1295 tcb_desc->multicast = 1; in rtl_get_tcb_desc()
1297 tcb_desc->broadcast = 1; in rtl_get_tcb_desc()
1299 _rtl_txrate_selectmode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1300 _rtl_query_bandwidth_mode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1301 _rtl_qurey_shortpreamble_mode(hw, tcb_desc, info); in rtl_get_tcb_desc()
1302 _rtl_query_shortgi(hw, sta, tcb_desc, info); in rtl_get_tcb_desc()
1303 _rtl_query_protection_mode(hw, tcb_desc, info); in rtl_get_tcb_desc()
1305 tcb_desc->use_driver_rate = true; in rtl_get_tcb_desc()
1306 tcb_desc->ratr_index = SET_RATE_ID(RATR_INX_WIRELESS_MC); in rtl_get_tcb_desc()
1307 tcb_desc->disable_ratefallback = 1; in rtl_get_tcb_desc()
1308 tcb_desc->mac_id = 0; in rtl_get_tcb_desc()
1309 tcb_desc->packet_bw = false; in rtl_get_tcb_desc()
2460 struct rtl_tcb_desc tcb_desc; in rtl_send_smps_action() local
2463 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in rtl_send_smps_action()
2493 rtlpriv->intf_ops->adapter_tx(hw, sta, skb, &tcb_desc); in rtl_send_smps_action()