[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:
parent
bb7234be77
commit
6bc40d8d83
@ -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);
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user