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 <vid...@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",
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to