• Home
  • Raw
  • Download

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()
654 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
656 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
659 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
661 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
665 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
669 struct rtl_tcb_desc *tcb_desc, in _rtl_query_protection_mode() argument
676 tcb_desc->rts_stbc = false; in _rtl_query_protection_mode()
677 tcb_desc->cts_enable = false; in _rtl_query_protection_mode()
678 tcb_desc->rts_sc = 0; in _rtl_query_protection_mode()
679 tcb_desc->rts_bw = false; in _rtl_query_protection_mode()
680 tcb_desc->rts_use_shortpreamble = false; in _rtl_query_protection_mode()
681 tcb_desc->rts_use_shortgi = false; in _rtl_query_protection_mode()
685 tcb_desc->rts_enable = true; in _rtl_query_protection_mode()
686 tcb_desc->cts_enable = true; in _rtl_query_protection_mode()
687 tcb_desc->rts_rate = rtlpriv->cfg->maps[RTL_RC_OFDM_RATE24M]; in _rtl_query_protection_mode()
690 tcb_desc->rts_enable = true; in _rtl_query_protection_mode()
691 tcb_desc->rts_rate = rtlpriv->cfg->maps[RTL_RC_OFDM_RATE24M]; in _rtl_query_protection_mode()
769 struct rtl_tcb_desc *tcb_desc) in _rtl_txrate_selectmode() argument
788 if (!tcb_desc->disable_ratefallback || !tcb_desc->use_driver_rate) { in _rtl_txrate_selectmode()
790 tcb_desc->ratr_index = 0; 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()
796 tcb_desc->use_driver_rate = 1; in _rtl_txrate_selectmode()
797 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
800 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
803 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
808 tcb_desc->ratr_index = ratr_index; in _rtl_txrate_selectmode()
812 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
818 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
821 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
824 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
827 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
830 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
833 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
836 tcb_desc->ratr_index = in _rtl_txrate_selectmode()
843 tcb_desc->mac_id = sta->aid + 1; in _rtl_txrate_selectmode()
845 tcb_desc->mac_id = 1; in _rtl_txrate_selectmode()
847 tcb_desc->mac_id = 0; in _rtl_txrate_selectmode()
856 struct rtl_tcb_desc *tcb_desc) in _rtl_query_bandwidth_mode() argument
861 tcb_desc->packet_bw = false; in _rtl_query_bandwidth_mode()
874 if (tcb_desc->multicast || tcb_desc->broadcast) in _rtl_query_bandwidth_mode()
878 if (tcb_desc->hw_rate <= rtlpriv->cfg->maps[RTL_RC_OFDM_RATE54M]) in _rtl_query_bandwidth_mode()
881 tcb_desc->packet_bw = HT_CHANNEL_WIDTH_20_40; in _rtl_query_bandwidth_mode()
894 if (tcb_desc->hw_rate <= in _rtl_query_bandwidth_mode()
897 tcb_desc->packet_bw = HT_CHANNEL_WIDTH_80; in _rtl_query_bandwidth_mode()
1225 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc) in rtl_get_tcb_desc() argument
1243 tcb_desc->hw_rate = _rtl_get_tx_hw_rate(hw, info); in rtl_get_tcb_desc()
1246 tcb_desc->use_spe_rpt = 1; in rtl_get_tcb_desc()
1261 tcb_desc->use_driver_rate = true; in rtl_get_tcb_desc()
1262 tcb_desc->ratr_index = in rtl_get_tcb_desc()
1265 tcb_desc->disable_ratefallback = 1; 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()
1283 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1286 tcb_desc->hw_rate = in rtl_get_tcb_desc()
1294 tcb_desc->multicast = 1; in rtl_get_tcb_desc()
1296 tcb_desc->broadcast = 1; in rtl_get_tcb_desc()
1298 _rtl_txrate_selectmode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1299 _rtl_query_bandwidth_mode(hw, sta, tcb_desc); in rtl_get_tcb_desc()
1300 _rtl_qurey_shortpreamble_mode(hw, tcb_desc, info); in rtl_get_tcb_desc()
1301 _rtl_query_shortgi(hw, sta, tcb_desc, info); in rtl_get_tcb_desc()
1302 _rtl_query_protection_mode(hw, tcb_desc, info); in rtl_get_tcb_desc()
1304 tcb_desc->use_driver_rate = true; in rtl_get_tcb_desc()
1305 tcb_desc->ratr_index = SET_RATE_ID(RATR_INX_WIRELESS_MC); in rtl_get_tcb_desc()
1306 tcb_desc->disable_ratefallback = 1; in rtl_get_tcb_desc()
1307 tcb_desc->mac_id = 0; in rtl_get_tcb_desc()
1308 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()