Lines Matching refs:txrate
707 struct ieee80211_tx_info *info, struct ieee80211_tx_rate *txrate,
714 idx = txrate->idx;
718 if (txrate->flags & IEEE80211_TX_RC_MCS) {
719 if (txrate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH) {
734 *phyrate = txrate->idx;
755 if (!(txrate->flags & IEEE80211_TX_RC_MCS) &&
766 struct ieee80211_tx_info *info, struct ieee80211_tx_rate *txrate)
773 if (txrate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH)
777 if (txrate->flags & IEEE80211_TX_RC_DUP_DATA)
781 if (txrate->flags & IEEE80211_TX_RC_SHORT_GI)
784 if (txrate->flags & IEEE80211_TX_RC_MCS) {
785 SET_VAL(AR9170_TX_PHY_MCS, phyrate, txrate->idx);
788 tmp |= cpu_to_le32((txrate->idx & 0x7) <<
796 * if (txrate->flags & IEEE80211_TX_RC_GREEN_FIELD)
801 if (txrate->idx <= AR9170_TX_PHY_RATE_CCK_11M)
812 * if (txrate->flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE)
816 carl9170_tx_rate_tpc_chains(ar, info, txrate,
893 struct ieee80211_tx_rate *txrate;
917 txrate = &sinfo->control.rates[i];
918 if (txrate->idx < 0)
921 phy_set = carl9170_tx_physet(ar, info, txrate);
928 if (ampdu && txrate->flags & IEEE80211_TX_RC_MCS)
931 if (carl9170_tx_rts_check(ar, txrate, ampdu, no_ack))
933 else if (carl9170_tx_cts_check(ar, txrate))
945 txrate->count);
947 if (carl9170_tx_rts_check(ar, txrate, ampdu, no_ack))
950 else if (carl9170_tx_cts_check(ar, txrate))
954 if (ampdu && (txrate->flags & IEEE80211_TX_RC_MCS))