[run] note that PHY_HT is for mixed mode.

Submitted by:	Ashish Gupta <ashishgu@andrew.cmu.edu>
Differential Revision:	https://reviews.freebsd.org/D25108
This commit is contained in:
Adrian Chadd 2020-06-02 22:37:53 +00:00
parent bb7234be77
commit 6bc40d8d83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361738
2 changed files with 2 additions and 2 deletions

View File

@ -3397,7 +3397,7 @@ run_set_tx_desc(struct run_softc *sc, struct run_tx_data *data)
mcs |= RT2860_PHY_OFDM;
} else if (rt2860_rates[ridx].phy == IEEE80211_T_HT) {
/* XXX TODO: [adrian] set short preamble for MCS? */
mcs |= RT2860_PHY_HT; /* Mixed, not greenfield */
mcs |= RT2860_PHY_HT_MIX; /* Mixed, not greenfield */
}
txwi->phy = htole16(mcs);

View File

@ -781,7 +781,7 @@ struct rt2860_txwi {
#define RT2860_PHY_MODE 0xc000
#define RT2860_PHY_CCK (0 << 14)
#define RT2860_PHY_OFDM (1 << 14)
#define RT2860_PHY_HT (2 << 14)
#define RT2860_PHY_HT_MIX (2 << 14)
#define RT2860_PHY_HT_GF (3 << 14)
#define RT2860_PHY_SGI (1 << 8)
#define RT2860_PHY_BW40 (1 << 7)