svn commit: r311830 - head/sys/dev/usb/wlan

Adrian Chadd adrian at FreeBSD.org
Mon Jan 9 21:46:26 UTC 2017


Author: adrian
Date: Mon Jan  9 21:46:24 2017
New Revision: 311830
URL: https://svnweb.freebsd.org/changeset/base/311830

Log:
  [rsu] add support for the "green" rsu NICs.
  
  They're still a 1T2R NIC, so reuse the same rfconfig and
  nstream configuration.
  
  Submitted by:	Idwer Vollering <vidwer at gmail.com>

Modified:
  head/sys/dev/usb/wlan/if_rsu.c

Modified: head/sys/dev/usb/wlan/if_rsu.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rsu.c	Mon Jan  9 21:24:02 2017	(r311829)
+++ head/sys/dev/usb/wlan/if_rsu.c	Mon Jan  9 21:46:24 2017	(r311830)
@@ -523,6 +523,12 @@ rsu_attach(device_t self)
 		sc->sc_ntxstream = 2;
 		rft = "2T2R";
 		break;
+	case 0x3:	/* "green" NIC */
+		sc->sc_rftype = RTL8712_RFCONFIG_1T2R;
+		sc->sc_nrxstream = 2;
+		sc->sc_ntxstream = 1;
+		rft = "1T2R ('green')";
+		break;
 	default:
 		device_printf(sc->sc_dev,
 		    "%s: unknown board type (rfconfig=0x%02x)\n",


More information about the svn-src-all mailing list