Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2020 22:37:53 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361738 - head/sys/dev/usb/wlan
Message-ID:  <202006022237.052Mbrth024680@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Tue Jun  2 22:37:53 2020
New Revision: 361738
URL: https://svnweb.freebsd.org/changeset/base/361738

Log:
  [run] note that PHY_HT is for mixed mode.
  
  Submitted by:	Ashish Gupta <ashishgu@andrew.cmu.edu>
  Differential Revision:	https://reviews.freebsd.org/D25108

Modified:
  head/sys/dev/usb/wlan/if_run.c
  head/sys/dev/usb/wlan/if_runreg.h

Modified: head/sys/dev/usb/wlan/if_run.c
==============================================================================
--- head/sys/dev/usb/wlan/if_run.c	Tue Jun  2 22:36:17 2020	(r361737)
+++ head/sys/dev/usb/wlan/if_run.c	Tue Jun  2 22:37:53 2020	(r361738)
@@ -3397,7 +3397,7 @@ run_set_tx_desc(struct run_softc *sc, struct run_tx_da
 		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);
 

Modified: head/sys/dev/usb/wlan/if_runreg.h
==============================================================================
--- head/sys/dev/usb/wlan/if_runreg.h	Tue Jun  2 22:36:17 2020	(r361737)
+++ head/sys/dev/usb/wlan/if_runreg.h	Tue Jun  2 22:37:53 2020	(r361738)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006022237.052Mbrth024680>