Lines Matching refs:txrate

708 	struct ieee80211_tx_info *info,	struct ieee80211_tx_rate *txrate,  in carl9170_tx_rate_tpc_chains()  argument
715 idx = txrate->idx; in carl9170_tx_rate_tpc_chains()
719 if (txrate->flags & IEEE80211_TX_RC_MCS) { in carl9170_tx_rate_tpc_chains()
720 if (txrate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH) { in carl9170_tx_rate_tpc_chains()
735 *phyrate = txrate->idx; in carl9170_tx_rate_tpc_chains()
756 if (!(txrate->flags & IEEE80211_TX_RC_MCS) && in carl9170_tx_rate_tpc_chains()
767 struct ieee80211_tx_info *info, struct ieee80211_tx_rate *txrate) in carl9170_tx_physet() argument
774 if (txrate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH) in carl9170_tx_physet()
778 if (txrate->flags & IEEE80211_TX_RC_DUP_DATA) in carl9170_tx_physet()
782 if (txrate->flags & IEEE80211_TX_RC_SHORT_GI) in carl9170_tx_physet()
785 if (txrate->flags & IEEE80211_TX_RC_MCS) { in carl9170_tx_physet()
786 SET_VAL(AR9170_TX_PHY_MCS, phyrate, txrate->idx); in carl9170_tx_physet()
789 tmp |= cpu_to_le32((txrate->idx & 0x7) << in carl9170_tx_physet()
802 if (txrate->idx <= AR9170_TX_PHY_RATE_CCK_11M) in carl9170_tx_physet()
817 carl9170_tx_rate_tpc_chains(ar, info, txrate, in carl9170_tx_physet()
894 struct ieee80211_tx_rate *txrate; in carl9170_tx_apply_rateset() local
918 txrate = &sinfo->control.rates[i]; in carl9170_tx_apply_rateset()
919 if (txrate->idx < 0) in carl9170_tx_apply_rateset()
922 phy_set = carl9170_tx_physet(ar, info, txrate); in carl9170_tx_apply_rateset()
929 if (ampdu && txrate->flags & IEEE80211_TX_RC_MCS) in carl9170_tx_apply_rateset()
932 if (carl9170_tx_rts_check(ar, txrate, ampdu, no_ack)) in carl9170_tx_apply_rateset()
934 else if (carl9170_tx_cts_check(ar, txrate)) in carl9170_tx_apply_rateset()
946 txrate->count); in carl9170_tx_apply_rateset()
948 if (carl9170_tx_rts_check(ar, txrate, ampdu, no_ack)) in carl9170_tx_apply_rateset()
951 else if (carl9170_tx_cts_check(ar, txrate)) in carl9170_tx_apply_rateset()
955 if (ampdu && (txrate->flags & IEEE80211_TX_RC_MCS)) in carl9170_tx_apply_rateset()