Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 08:42:07 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r330472 - stable/11/sys/dev/usb/wlan
Message-ID:  <201803050842.w258g7m9027825@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",



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