mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
[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@gmail.com>
This commit is contained in:
parent
0ac43d9728
commit
129adb62dc
1 changed files with 6 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue