svn commit: r330472 - stable/11/sys/dev/usb/wlan

Eitan Adler eadler at FreeBSD.org
Mon Mar 5 08:42:08 UTC 2018


Author: eadler
Date: Mon Mar  5 08:42:07 2018
New Revision: 330472
URL: https://svnweb.freebsd.org/changeset/base/330472

Log:
  MFC r311830:
  
  [rsu] add support for the "green" rsu NICs.
  
  They're still a 1T2R NIC, so reuse the same rfconfig and
  nstream configuration.

Modified:
  stable/11/sys/dev/usb/wlan/if_rsu.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/usb/wlan/if_rsu.c
==============================================================================
--- stable/11/sys/dev/usb/wlan/if_rsu.c	Mon Mar  5 08:40:18 2018	(r330471)
+++ stable/11/sys/dev/usb/wlan/if_rsu.c	Mon Mar  5 08:42:07 2018	(r330472)
@@ -492,6 +492,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-stable-11 mailing list