Add support for the Realtek RTL8192EU chipset.
Committed over the D-Link DWA-131 rev E1 on amd64 with WPA. Reviewed by: avos
This commit is contained in:
parent
0f95e091ee
commit
3dfa47ebb8
@ -2737,7 +2737,7 @@ nomatch 32 {
|
||||
match "bus" "uhub[0-9]+";
|
||||
match "mode" "host";
|
||||
match "vendor" "0x0bda";
|
||||
match "product" "(0x8176|0x8177|0x8178|0x8179|0x817a|0x817b|0x817c|0x817d|0x817e|0x817f)";
|
||||
match "product" "(0x8176|0x8177|0x8178|0x8178|0x8179|0x817a|0x817b|0x817c|0x817d|0x817e|0x817f)";
|
||||
action "kldload -n if_rtwn_usb";
|
||||
};
|
||||
|
||||
@ -2753,7 +2753,7 @@ nomatch 32 {
|
||||
match "bus" "uhub[0-9]+";
|
||||
match "mode" "host";
|
||||
match "vendor" "0x0bda";
|
||||
match "product" "(0x818a|0x8191)";
|
||||
match "product" "(0x818a|0x818b|0x8191)";
|
||||
action "kldload -n if_rtwn_usb";
|
||||
};
|
||||
|
||||
@ -3793,7 +3793,7 @@ nomatch 32 {
|
||||
match "bus" "uhub[0-9]+";
|
||||
match "mode" "host";
|
||||
match "vendor" "0x1199";
|
||||
match "product" "(0x68aa|0x68c0|0x9041)";
|
||||
match "product" "(0x68aa|0x68c0|0x9041|0x9071)";
|
||||
action "kldload -n u3g";
|
||||
};
|
||||
|
||||
@ -3905,7 +3905,7 @@ nomatch 32 {
|
||||
match "bus" "uhub[0-9]+";
|
||||
match "mode" "host";
|
||||
match "vendor" "0x12d1";
|
||||
match "product" "(0x1573|0x1803|0x1c05|0x1c0b)";
|
||||
match "product" "(0x1573|0x15c1|0x1803|0x1c05|0x1c0b)";
|
||||
action "kldload -n u3g";
|
||||
};
|
||||
|
||||
@ -5025,7 +5025,7 @@ nomatch 32 {
|
||||
match "bus" "uhub[0-9]+";
|
||||
match "mode" "host";
|
||||
match "vendor" "0x2001";
|
||||
match "product" "(0x3307|0x3308|0x3309|0x330a|0x330d|0x330f|0x3310|0x3314|0x3315|0x3316|0x3318)";
|
||||
match "product" "(0x3307|0x3308|0x3309|0x330a|0x330d|0x330f|0x3310|0x3314|0x3315|0x3316|0x3318|0x3319)";
|
||||
action "kldload -n if_rtwn_usb";
|
||||
};
|
||||
|
||||
@ -5297,7 +5297,7 @@ nomatch 32 {
|
||||
match "bus" "uhub[0-9]+";
|
||||
match "mode" "host";
|
||||
match "vendor" "0x2357";
|
||||
match "product" "0x0101";
|
||||
match "product" "(0x0101|0x0108|0x0109)";
|
||||
action "kldload -n if_rtwn_usb";
|
||||
};
|
||||
|
||||
@ -5889,5 +5889,5 @@ nomatch 32 {
|
||||
action "kldload -n umass";
|
||||
};
|
||||
|
||||
# 2743 USB entries processed
|
||||
# 2751 USB entries processed
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd October 17, 2016
|
||||
.Dd January 24, 2017
|
||||
.Dt RTWN 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -52,9 +52,9 @@ if_rtwn_usb_load="YES"
|
||||
The
|
||||
.Nm
|
||||
driver provides support for wireless network devices based on
|
||||
the Realtek RTL8192C, RTL8188E, RTL8812A and RTL8821A programming APIs.
|
||||
These APIs are used by a wide variety of chips; most chips with USB
|
||||
and some with PCI interface are supported.
|
||||
the Realtek RTL8192C, RTL8188E, RTL8192E, RTL8812A and RTL8821A
|
||||
programming APIs. These APIs are used by a wide variety of chips;
|
||||
most chips with USB and some with PCI interface are supported.
|
||||
.Pp
|
||||
To enable use for PCI/PCIe systems, see the rtwn_pci(4) driver;
|
||||
for USB devices, use the rtwn_usb(4) driver.
|
||||
@ -98,6 +98,7 @@ when an interface is brought up:
|
||||
.It Pa /boot/kernel/rtwn-rtl8192cfwE.ko
|
||||
.It Pa /boot/kernel/rtwn-rtl8192cfwT.ko
|
||||
.It Pa /boot/kernel/rtwn-rtl8192cfwU.ko
|
||||
.It Pa /boot/kernel/rtwn-rtl8192eufw.ko
|
||||
.It Pa /boot/kernel/rtwn-rtl8812aufw.ko
|
||||
.It Pa /boot/kernel/rtwn-rtl8821aufw.ko
|
||||
.El
|
||||
|
@ -29,7 +29,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"/
|
||||
.Dd January 6, 2017
|
||||
.Dd January 24, 2017
|
||||
.Dt RTWN_USB 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -56,7 +56,7 @@ driver.
|
||||
.Sh HARDWARE
|
||||
The
|
||||
.Nm
|
||||
driver supports Realtek RTL8188CU/RTL8188RU/RTL8188EU/RTL8192CU/RTL8812AU/RTL8821AU
|
||||
driver supports Realtek RTL8188CU/RTL8188RU/RTL8188EU/RTL8192CU/RTL8192EU/RTL8812AU/RTL8821AU
|
||||
based USB wireless network adapters, including:
|
||||
.Pp
|
||||
.Bl -column -compact "Belkin F7D1102 Surf Wireless Micro" "Bus"
|
||||
@ -70,6 +70,7 @@ based USB wireless network adapters, including:
|
||||
.It "D-Link DWA-123 rev D1" Ta USB 2.0
|
||||
.It "D-Link DWA-125 rev D1" Ta USB 2.0
|
||||
.It "D-Link DWA-131" Ta USB 2.0
|
||||
.It "D-Link DWA-131 rev E1" Ta USB 2.0
|
||||
.It "D-Link DWA-171 rev A1" Ta USB 2.0
|
||||
.It "D-Link DWA-172 rev A1" Ta USB 2.0
|
||||
.It "D-Link DWA-180 rev A1" Ta USB 2.0
|
||||
@ -94,7 +95,10 @@ based USB wireless network adapters, including:
|
||||
.It "TP-LINK TL-WN723N v3" Ta USB 2.0
|
||||
.It "TP-LINK TL-WN725N v2" Ta USB 2.0
|
||||
.It "TP-LINK TL-WN821N v4" Ta USB 2.0
|
||||
.It "TP-LINK TL-WN821N v5" Ta USB 2.0
|
||||
.It "TP-LINK TL-WN822N v4" Ta USB 2.0
|
||||
.It "TP-LINK TL-WN823N v1" Ta USB 2.0
|
||||
.It "TP-LINK TL-WN823N v2" Ta USB 2.0
|
||||
.It "TRENDnet TEW-805UB" Ta USB 3.0
|
||||
.It "ZyXEL NWD6605" Ta USB 3.0
|
||||
.El
|
||||
|
@ -23,7 +23,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd October 28, 2015
|
||||
.Dd January 24, 2017
|
||||
.Dt RTWNFW 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -46,6 +46,7 @@ of the following:
|
||||
.Cd "device rtwn-rtl8192cfwE"
|
||||
.Cd "device rtwn-rtl8192cfwT"
|
||||
.Cd "device rtwn-rtl8192cfwU"
|
||||
.Cd "device rtwn-rtl8192eufw"
|
||||
.Cd "device rtwn-rtl8812aufw"
|
||||
.Cd "device rtwn-rtl8821aufw"
|
||||
.Ed
|
||||
@ -59,6 +60,7 @@ rtwn-rtl8192cfwE_B_load="YES"
|
||||
rtwn-rtl8192cfwE_load="YES"
|
||||
rtwn-rtl8192cfwT_load="YES"
|
||||
rtwn-rtl8192cfwU_load="YES"
|
||||
rtwn-rtl8192eufw_load="YES"
|
||||
rtwn-rtl8812aufw_load="YES"
|
||||
rtwn-rtl8821aufw_load="YES"
|
||||
.Ed
|
||||
@ -66,8 +68,8 @@ rtwn-rtl8821aufw_load="YES"
|
||||
rtwn-rtl8192cfwE and rtl8192cfwE_B modules provide access
|
||||
to firmware sets for the Realtek RTL8188CE chip based PCIe adapters.
|
||||
Other modules provide access to firmware sets for the Realtek RTL8188CUS,
|
||||
RTL8188CE-VAU, RTL8188EUS, RTL8188RU, RTL8192CU, RTL8812AU and RTL8821AU
|
||||
chip based USB WiFi adapters.
|
||||
RTL8188CE-VAU, RTL8188EUS, RTL8188RU, RTL8192CU, RTL8192EU, RTL8812AU and
|
||||
RTL8821AU chip based USB WiFi adapters.
|
||||
They may be
|
||||
statically linked into the kernel, or loaded as a modules.
|
||||
.Pp
|
||||
|
@ -2674,6 +2674,7 @@ dev/rtwn/rtl8192c/r92c_calib.c optional rtwn
|
||||
dev/rtwn/rtl8192c/r92c_chan.c optional rtwn
|
||||
dev/rtwn/rtl8192c/r92c_fw.c optional rtwn
|
||||
dev/rtwn/rtl8192c/r92c_init.c optional rtwn
|
||||
dev/rtwn/rtl8192c/r92c_llt.c optional rtwn
|
||||
dev/rtwn/rtl8192c/r92c_rf.c optional rtwn
|
||||
dev/rtwn/rtl8192c/r92c_rom.c optional rtwn
|
||||
dev/rtwn/rtl8192c/r92c_rx.c optional rtwn
|
||||
@ -2690,6 +2691,16 @@ dev/rtwn/rtl8192c/usb/r92cu_init.c optional rtwn_usb
|
||||
dev/rtwn/rtl8192c/usb/r92cu_led.c optional rtwn_usb
|
||||
dev/rtwn/rtl8192c/usb/r92cu_rx.c optional rtwn_usb
|
||||
dev/rtwn/rtl8192c/usb/r92cu_tx.c optional rtwn_usb
|
||||
# RTL8192E
|
||||
dev/rtwn/rtl8192e/r92e_chan.c optional rtwn
|
||||
dev/rtwn/rtl8192e/r92e_fw.c optional rtwn
|
||||
dev/rtwn/rtl8192e/r92e_init.c optional rtwn
|
||||
dev/rtwn/rtl8192e/r92e_led.c optional rtwn
|
||||
dev/rtwn/rtl8192e/r92e_rf.c optional rtwn
|
||||
dev/rtwn/rtl8192e/r92e_rom.c optional rtwn
|
||||
dev/rtwn/rtl8192e/r92e_rx.c optional rtwn
|
||||
dev/rtwn/rtl8192e/usb/r92eu_attach.c optional rtwn_usb
|
||||
dev/rtwn/rtl8192e/usb/r92eu_init.c optional rtwn_usb
|
||||
# RTL8812A
|
||||
dev/rtwn/rtl8812a/r12a_beacon.c optional rtwn
|
||||
dev/rtwn/rtl8812a/r12a_calib.c optional rtwn
|
||||
@ -2788,6 +2799,20 @@ rtwn-rtl8192cfwU.fw optional rtwn-rtl8192cfwU | rtwnfw \
|
||||
compile-with "${NORMAL_FW}" \
|
||||
no-obj no-implicit-rule \
|
||||
clean "rtwn-rtl8192cfwU.fw"
|
||||
rtwn-rtl8192eufw.c optional rtwn-rtl8192eufw | rtwnfw \
|
||||
compile-with "${AWK} -f $S/tools/fw_stub.awk rtwn-rtl8192eufw.fw:rtwn-rtl8192eufw:111 -mrtwn-rtl8192eufw -c${.TARGET}" \
|
||||
no-implicit-rule before-depend local \
|
||||
clean "rtwn-rtl8192eufw.c"
|
||||
rtwn-rtl8192eufw.fwo optional rtwn-rtl8192eufw | rtwnfw \
|
||||
dependency "rtwn-rtl8192eufw.fw" \
|
||||
compile-with "${NORMAL_FWO}" \
|
||||
no-implicit-rule \
|
||||
clean "rtwn-rtl8192eufw.fwo"
|
||||
rtwn-rtl8192eufw.fw optional rtwn-rtl8192eufw | rtwnfw \
|
||||
dependency "$S/contrib/dev/rtwn/rtwn-rtl8192eufw.fw.uu" \
|
||||
compile-with "${NORMAL_FW}" \
|
||||
no-obj no-implicit-rule \
|
||||
clean "rtwn-rtl8192eufw.fw"
|
||||
rtwn-rtl8812aufw.c optional rtwn-rtl8812aufw | rtwnfw \
|
||||
compile-with "${AWK} -f $S/tools/fw_stub.awk rtwn-rtl8812aufw.fw:rtwn-rtl8812aufw:111 -mrtwn-rtl8812aufw -c${.TARGET}" \
|
||||
no-implicit-rule before-depend local \
|
||||
|
711
sys/contrib/dev/rtwn/rtwn-rtl8192eufw.fw.uu
Normal file
711
sys/contrib/dev/rtwn/rtwn-rtl8192eufw.fw.uu
Normal file
@ -0,0 +1,711 @@
|
||||
begin 644 rtwn-rtl8192eufw.fw.uu
|
||||
MX9(0`!,````#,1%`*GP``+@0```````````````````"24T"7_4`````````
|
||||
M`````````F`Y``````````````````)P*```````````````````````````
|
||||
M`````````````E_V```````":$@```````)OZ@WP_P\````-\`\`````#?#_
|
||||
M#P````WP#P`````0\/\/````$/`/`````/4/``````#P#P``````#0``````
|
||||
M`!#P__\````0\#\`````"@@#`P`$"0<#`P`$"`8#`@`$"`4#`0`$#0H'!0`(
|
||||
M#`H'!``("PH&!0`("PH%`P`("PH#`@`(%!(,!``0%!()!``0)"(<$@`@)"(8
|
||||
M#``@)"(4!@`@)"(/!``@)"$*!``@(R$,!``@(Q\*!``@(A\/!``@(1\6#``@
|
||||
M,2\@%``P,2\8$``P,2P8#``P,2H4#``P,2@4```P,204```P,1X4```P`@("
|
||||
M!0($!0<'!P@*`0($!@<*"PT"`P0'"`L-#P4%!P<("PT/!04'!P@+#0\!`@,&
|
||||
M!PH+#`T.`@,$!P@+#`T.$`4%!P<("PT/#P\%!0<'"`L-#P\/!`0$!0<'"0D,
|
||||
M#A`2!`4&!PL-$1,$!08'"PT1$PD)"0D,#A$3"0D)"0P.$1,$"`D*#`X0$A,4
|
||||
M!`@*#`X0$1,4%@D)"0D,#A$3$Q,)"0D)#`X1$Q,3````````````)"8J````
|
||||
M'R$E)R@`````(R8H*@`````C)B@J`````",F*"H`````("4G*2DJ`````"`E
|
||||
M)RDI*@`````C)B@J*BH````?(R8H*BHJ````!`````0````(````$````!@`
|
||||
M```D````,````$@```!@````D````,````#8````/````&0```!X````H```
|
||||
M`/````%````!D````>````"@````\````4````&0```"6````R````9````'
|
||||
MT````,@```$8```!X````M````/H```$L```!D````?0````R````1@```'@
|
||||
M```"T````^@```2P```&0```!]`````\````9````'@```"@````\````4``
|
||||
M``&0```!X```!+````E@````R````1@```'@```"T````^@```?0```+N```
|
||||
M$X@``!=P```?0````,@```$8```!X````M````/H```$L```!D````?0```'
|
||||
MT```!]````#(```!&````>````+0```#Z```!+````9````'T```!]````?0
|
||||
M``(``@`$``@`#``2`!@`)``P`$@`8`!L`!X`,@`\`%``>`"@`,@`\`!0`'@`
|
||||
MH`#(`2P!D`.$!10`9`",`/`!:`'T`E@#(`/H`&0`C`#P`6@!]`)8`R`#Z``>
|
||||
M`#(`/`!0`'@`H`#(`/`"6`2P`&0`C`#P`6@!]`/H!=P)Q`NX#Z``9`",`/`!
|
||||
M:`'T`E@#(`/H`^@#Z`!D`(P`\`%H`?0"6`,@`^@#Z`/H`@0&"`H,$!@@,$!0
|
||||
M`@("`@("`P,$!`4%`0$"`@0$!04"`@,#!04&!@4&!@<'"`D*!08&!P<("0H!
|
||||
M`0("!`0%!08'`@(#`P4%!@8("04&!@<'"`D*"@L%!@8'!P@)"@H+`0$!`0$"
|
||||
M`P0%!@<(`0(#!`4&!P@%!@8'"`H+#`4&!@<("@L,!08'"`D*"PP%!@8'"`D+
|
||||
M#`P,!08&!P@)"PP,#`4&!P@)"@L,#`P%!@<("0H+#`P,&08$`@`8%`T5#A4/
|
||||
M%A`7$1@2&!,8'!4.%A`7$1@2&1P:'!L<%`P4#0X4%0\6$!<1$A<,'`X4%0\6
|
||||
M$!,7&!,9&!H9````````````````````````````````````````````````
|
||||
M``````````````````````````````````````#"KX#^,A)%=(70"W70"*K@
|
||||
MPHSEBB1G]8KEC#1Y]8S2C.PDA_CFO`("=/_#E8&T0`!`SGD#>(`6Y@AP"\*O
|
||||
MYC#A`T08]M*O"-GMZHO0(N4,_R,D@?@/"`B_`P1_`'B!YC#D\@#E#,.?4"`%
|
||||
M#'2&)0SXYOVF@0CFK@R^`@)T_\WXZ&U@X`CFP."`]N4,TY]`)^4,)(?XYJX,
|
||||
MO@("=/_]&.;-^.6!;6`&T.#V&(#UY0PDALCV%0R`T^4,(R2!^'\$PJ_F,.`#
|
||||
M$.(,?P`PX0<PXP1_"%3T5'S&TJ]4@$('(GB&IH%T`F`&_PAV_]_[?P/D>(#V
|
||||
M"/8(W_IX@78PD$EM=`&3P.#DD\#@0XD!=8I@=8QYTHS2KR("[].4`D`#?_\B
|
||||
M=($O+_CF(.7TPJ_F1##VTJ^N#.[#GU`A#G2&+OCF^0CF&+X"`G3__>UI8`D)
|
||||
MYQD9]PD)@/,6%H#:[M.?0`0%@06![M.?0")TAB[X".;Y[K4,`JF!&`8&YOWM
|
||||
M:6`)&1GG"0GW&8#S'H#9[R2&^.8$^.\O!)!);9/V".\OD_9_`"+OTY0"0`-_
|
||||
M_R+O(R2!^.8PY?3"K^94C/;2K^4,M0<*=(8O^.;U@0)%O5`N=(<O^.:_`@)T
|
||||
M__T8YOETAB_X^^;\Z6Q@"*@%Y_8=&8#TJ`.F!1_E#+4'XW\`(G2'+_CF_1B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'0@\(`[D*.\X&`(D`&X=(#P@"V0!F+@,.$(D`&X=!'P@!Z0
|
||||
M!F+@,.`/X%3\_[^`")`!N'02\(`(D`&XY/!_`2*0`;ET!/!_`"*0`H?@8`B0
|
||||
M`;AT`?"`)9`"EN!@")`!N'00\(`7D`*&X"#A")`!N'0$\(`(D`&XY/!_`2*0
|
||||
M`;ET"/!_`")]+1)7[I`!-W0"\/U_`Q)FE!)+2>3]?P$24P#DD*,2\")]+G]O
|
||||
M$E.Z?0)_`1)3`)`%)^!4O_"0HQ)T`O`BY/5DD`:IX/5D5,!P#9"C&^!4_O!4
|
||||
M_?`"4*3E9##F(Y"C%^!D`7`BD*,;X$0!\)"C%>!4#V0"8`42EYZ`#!)75X`'
|
||||
MD*,;X%3^\.5DD*,;,.<;X$0"\.20I:7PD*.WX)"EIA):MY"C$^!$!/`BX%3]
|
||||
M\"+D]620HQ?@<`)AMI"BC>!D`6`"8;:0HQ/@,.`=D`5BX/Z0!6'@_>UX`L[#
|
||||
M$\X3V/G_D*-,[O"C[_"0HQ7@_\14#V`B)/Y@`P1P'I"C'N`4\.#_8`:0HR#@
|
||||
M8`[O<`B0HQW@H_"``'5D`9"C#N`PX!*0HQ+@M`(#Y/5D$F;([W`"]63E9&!#
|
||||
MD*,;X$00\)"C(.!@`[0!"^20I:7PD*,@X(`/Y)"EI?"0HR#@=?`#I"3^_Y"C
|
||||
M'^`OD*6F$EJWD*,:X"#B`Q)0N1*7R"*0HQ/@_Q,35#\PX!'O5/OPD*,;X%3]
|
||||
M\%0'<"Z`*9"C(.`$\)"C&^!4[_"0H[;@_Y"C(.#3GT`/D**-X+0!"Y"C%.!4
|
||||
M^_`B$E"D(GTO$DM$?0A_`1)3`)"C$G0(\"(2;C;D_?\24[H24OR0HQ)T#/`B
|
||||
#`*FO
|
||||
`
|
||||
end
|
@ -121,9 +121,6 @@ static int rtwn_run(struct rtwn_softc *,
|
||||
static void rtwn_watchdog(void *);
|
||||
#endif
|
||||
static void rtwn_parent(struct ieee80211com *);
|
||||
static int rtwn_llt_write(struct rtwn_softc *, uint32_t,
|
||||
uint32_t);
|
||||
static int rtwn_llt_init(struct rtwn_softc *);
|
||||
static int rtwn_dma_init(struct rtwn_softc *);
|
||||
static int rtwn_mac_init(struct rtwn_softc *);
|
||||
static void rtwn_mrr_init(struct rtwn_softc *);
|
||||
@ -1383,54 +1380,6 @@ rtwn_parent(struct ieee80211com *ic)
|
||||
rtwn_stop(sc);
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
rtwn_llt_write(struct rtwn_softc *sc, uint32_t addr, uint32_t data)
|
||||
{
|
||||
int ntries, error;
|
||||
|
||||
error = rtwn_write_4(sc, R92C_LLT_INIT,
|
||||
SM(R92C_LLT_INIT_OP, R92C_LLT_INIT_OP_WRITE) |
|
||||
SM(R92C_LLT_INIT_ADDR, addr) |
|
||||
SM(R92C_LLT_INIT_DATA, data));
|
||||
if (error != 0)
|
||||
return (error);
|
||||
/* Wait for write operation to complete. */
|
||||
for (ntries = 0; ntries < 20; ntries++) {
|
||||
if (MS(rtwn_read_4(sc, R92C_LLT_INIT), R92C_LLT_INIT_OP) ==
|
||||
R92C_LLT_INIT_OP_NO_ACTIVE)
|
||||
return (0);
|
||||
rtwn_delay(sc, 10);
|
||||
}
|
||||
return (ETIMEDOUT);
|
||||
}
|
||||
|
||||
static int
|
||||
rtwn_llt_init(struct rtwn_softc *sc)
|
||||
{
|
||||
int i, error;
|
||||
|
||||
/* Reserve pages [0; page_count]. */
|
||||
for (i = 0; i < sc->page_count; i++) {
|
||||
if ((error = rtwn_llt_write(sc, i, i + 1)) != 0)
|
||||
return (error);
|
||||
}
|
||||
/* NB: 0xff indicates end-of-list. */
|
||||
if ((error = rtwn_llt_write(sc, i, 0xff)) != 0)
|
||||
return (error);
|
||||
/*
|
||||
* Use pages [page_count + 1; pktbuf_count - 1]
|
||||
* as ring buffer.
|
||||
*/
|
||||
for (++i; i < sc->pktbuf_count - 1; i++) {
|
||||
if ((error = rtwn_llt_write(sc, i, i + 1)) != 0)
|
||||
return (error);
|
||||
}
|
||||
/* Make the last page point to the beginning of the ring buffer. */
|
||||
error = rtwn_llt_write(sc, i, sc->page_count + 1);
|
||||
return (error);
|
||||
}
|
||||
|
||||
static int
|
||||
rtwn_dma_init(struct rtwn_softc *sc)
|
||||
{
|
||||
|
@ -308,6 +308,7 @@ struct rtwn_softc {
|
||||
void (*sc_fw_reset)(struct rtwn_softc *, int);
|
||||
void (*sc_fw_download_enable)(struct rtwn_softc *, int);
|
||||
#endif
|
||||
int (*sc_llt_init)(struct rtwn_softc *);
|
||||
int (*sc_set_page_size)(struct rtwn_softc *);
|
||||
void (*sc_lc_calib)(struct rtwn_softc *);
|
||||
void (*sc_iq_calib)(struct rtwn_softc *);
|
||||
@ -472,8 +473,8 @@ void rtwn_suspend(struct rtwn_softc *);
|
||||
|
||||
/* Aliases. */
|
||||
#define rtwn_bb_write rtwn_write_4
|
||||
#define rtwn_bb_read rtwn_read_4
|
||||
#define rtwn_bb_setbits rtwn_setbits_4
|
||||
#define rtwn_bb_read rtwn_read_4
|
||||
#define rtwn_bb_setbits rtwn_setbits_4
|
||||
|
||||
/* Device-specific. */
|
||||
#define rtwn_rf_read(_sc, _chain, _addr) \
|
||||
@ -504,6 +505,8 @@ void rtwn_suspend(struct rtwn_softc *);
|
||||
#define rtwn_fw_download_enable(_sc, _enable) \
|
||||
(((_sc)->sc_fw_download_enable)((_sc), (_enable)))
|
||||
#endif
|
||||
#define rtwn_llt_init(_sc) \
|
||||
(((_sc)->sc_llt_init)((_sc)))
|
||||
#define rtwn_set_page_size(_sc) \
|
||||
(((_sc)->sc_set_page_size)((_sc)))
|
||||
#define rtwn_lc_calib(_sc) \
|
||||
|
@ -146,6 +146,7 @@ r88eu_attach(struct rtwn_usb_softc *uc)
|
||||
sc->sc_fw_reset = r88e_fw_reset;
|
||||
sc->sc_fw_download_enable = r88e_fw_download_enable;
|
||||
#endif
|
||||
sc->sc_llt_init = r92c_llt_init;
|
||||
sc->sc_set_page_size = r92c_set_page_size;
|
||||
sc->sc_lc_calib = r92c_lc_calib;
|
||||
sc->sc_iq_calib = r88e_iq_calib; /* XXX TODO */
|
||||
|
@ -191,6 +191,7 @@ r92ce_attach(struct rtwn_pci_softc *pc)
|
||||
sc->sc_fw_reset = r92ce_fw_reset;
|
||||
sc->sc_fw_download_enable = r92c_fw_download_enable;
|
||||
#endif
|
||||
sc->sc_llt_init = r92c_llt_init;
|
||||
sc->sc_set_page_size = r92c_set_page_size;
|
||||
sc->sc_lc_calib = r92c_lc_calib;
|
||||
sc->sc_iq_calib = r92ce_iq_calib;
|
||||
|
@ -77,6 +77,7 @@ void r92c_handle_c2h_report(void *);
|
||||
|
||||
/* r92c_init.c */
|
||||
int r92c_check_condition(struct rtwn_softc *, const uint8_t[]);
|
||||
int r92c_llt_init(struct rtwn_softc *);
|
||||
int r92c_set_page_size(struct rtwn_softc *);
|
||||
void r92c_init_bb_common(struct rtwn_softc *);
|
||||
int r92c_init_rf_chain(struct rtwn_softc *,
|
||||
@ -87,6 +88,9 @@ void r92c_init_ampdu(struct rtwn_softc *);
|
||||
void r92c_init_antsel(struct rtwn_softc *);
|
||||
void r92c_pa_bias_init(struct rtwn_softc *);
|
||||
|
||||
/* r92c_llt.c */
|
||||
int r92c_llt_write(struct rtwn_softc *, uint32_t, uint32_t);
|
||||
|
||||
/* r92c_rf.c */
|
||||
uint32_t r92c_rf_read(struct rtwn_softc *, int, uint8_t);
|
||||
void r92c_rf_write(struct rtwn_softc *, int, uint8_t, uint32_t);
|
||||
|
@ -89,6 +89,32 @@ r92c_check_condition(struct rtwn_softc *sc, const uint8_t cond[])
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
r92c_llt_init(struct rtwn_softc *sc)
|
||||
{
|
||||
int i, error;
|
||||
|
||||
/* Reserve pages [0; page_count]. */
|
||||
for (i = 0; i < sc->page_count; i++) {
|
||||
if ((error = r92c_llt_write(sc, i, i + 1)) != 0)
|
||||
return (error);
|
||||
}
|
||||
/* NB: 0xff indicates end-of-list. */
|
||||
if ((error = r92c_llt_write(sc, i, 0xff)) != 0)
|
||||
return (error);
|
||||
/*
|
||||
* Use pages [page_count + 1; pktbuf_count - 1]
|
||||
* as ring buffer.
|
||||
*/
|
||||
for (++i; i < sc->pktbuf_count - 1; i++) {
|
||||
if ((error = r92c_llt_write(sc, i, i + 1)) != 0)
|
||||
return (error);
|
||||
}
|
||||
/* Make the last page point to the beginning of the ring buffer. */
|
||||
error = r92c_llt_write(sc, i, sc->page_count + 1);
|
||||
return (error);
|
||||
}
|
||||
|
||||
int
|
||||
r92c_set_page_size(struct rtwn_softc *sc)
|
||||
{
|
||||
|
73
sys/dev/rtwn/rtl8192c/r92c_llt.c
Normal file
73
sys/dev/rtwn/rtl8192c/r92c_llt.c
Normal file
@ -0,0 +1,73 @@
|
||||
/* $OpenBSD: if_urtwn.c,v 1.16 2011/02/10 17:26:40 jakemsr Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
|
||||
* Copyright (c) 2014 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* Copyright (c) 2015-2016 Andriy Voskoboinyk <avos@FreeBSD.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192c/r92c.h>
|
||||
#include <dev/rtwn/rtl8192c/r92c_reg.h>
|
||||
#include <dev/rtwn/rtl8192c/r92c_var.h>
|
||||
|
||||
int
|
||||
r92c_llt_write(struct rtwn_softc *sc, uint32_t addr, uint32_t data)
|
||||
{
|
||||
int ntries, error;
|
||||
|
||||
error = rtwn_write_4(sc, R92C_LLT_INIT,
|
||||
SM(R92C_LLT_INIT_OP, R92C_LLT_INIT_OP_WRITE) |
|
||||
SM(R92C_LLT_INIT_ADDR, addr) |
|
||||
SM(R92C_LLT_INIT_DATA, data));
|
||||
if (error != 0)
|
||||
return (error);
|
||||
/* Wait for write operation to complete. */
|
||||
for (ntries = 0; ntries < 20; ntries++) {
|
||||
if (MS(rtwn_read_4(sc, R92C_LLT_INIT), R92C_LLT_INIT_OP) ==
|
||||
R92C_LLT_INIT_OP_NO_ACTIVE)
|
||||
return (0);
|
||||
rtwn_delay(sc, 10);
|
||||
}
|
||||
return (ETIMEDOUT);
|
||||
}
|
@ -66,6 +66,7 @@
|
||||
#define R92C_HSIMR 0x058
|
||||
#define R92C_HSISR 0x05c
|
||||
#define R92C_MULTI_FUNC_CTRL 0x068
|
||||
#define R92C_LDO_SWR_CTRL 0x07c
|
||||
#define R92C_MCUFWDL 0x080
|
||||
#define R92C_HMEBOX_EXT(idx) (0x088 + (idx) * 2)
|
||||
#define R92C_EFUSE_ACCESS 0x0cf
|
||||
@ -115,6 +116,7 @@
|
||||
#define R92C_TXDMA_OFFSET_CHK 0x20c
|
||||
#define R92C_TXDMA_STATUS 0x210
|
||||
#define R92C_RQPN_NPQ 0x214
|
||||
#define R92C_AUTO_LLT 0x224
|
||||
/* Rx DMA Configuration. */
|
||||
#define R92C_RXDMA_AGG_PG_TH 0x280
|
||||
#define R92C_RXPKT_NUM 0x284
|
||||
@ -297,6 +299,16 @@
|
||||
#define R92C_SYS_CLKR_SYS_EN 0x00001000
|
||||
#define R92C_SYS_CLKR_RING_EN 0x00002000
|
||||
|
||||
/* Bits for R92C_RSV_CTRL. */
|
||||
#define R92C_RSV_CTRL_WLOCK_ALL 0x01
|
||||
#define R92C_RSV_CTRL_WLOCK_00 0x02
|
||||
#define R92C_RSV_CTRL_WLOCK_04 0x04
|
||||
#define R92C_RSV_CTRL_WLOCK_08 0x08
|
||||
#define R92C_RSV_CTRL_WLOCK_40 0x10
|
||||
#define R92C_RSV_CTRL_R_DIS_PRST_0 0x20
|
||||
#define R92C_RSV_CTRL_R_DIS_PRST_1 0x40
|
||||
#define R92C_RSV_CTRL_LOCK_ALL_EN 0x80
|
||||
|
||||
/* Bits for R92C_RF_CTRL. */
|
||||
#define R92C_RF_CTRL_EN 0x01
|
||||
#define R92C_RF_CTRL_RSTB 0x02
|
||||
@ -339,6 +351,9 @@
|
||||
/* Bits for R92C_LEDCFG0. */
|
||||
#define R92C_LEDCFG0_DIS 0x08
|
||||
|
||||
/* Bits for R92C_LEDCFG1. */
|
||||
#define R92C_LEDCFG1_DIS 0x80
|
||||
|
||||
/* Bits for R92C_MULTI_FUNC_CTRL. */
|
||||
#define R92C_MULTI_BT_FUNC_EN 0x00040000
|
||||
|
||||
@ -477,6 +492,9 @@
|
||||
/* Bits for R92C_TXDMA_OFFSET_CHK. */
|
||||
#define R92C_TXDMA_OFFSET_DROP_DATA_EN 0x00000200
|
||||
|
||||
/* Bits for R92C_AUTO_LLT. */
|
||||
#define R92C_AUTO_LLT_INIT 0x00010000
|
||||
|
||||
/* Bits for R92C_FWHW_TXQ_CTRL. */
|
||||
#define R92C_FWHW_TXQ_CTRL_AMPDU_RTY_NEW 0x80
|
||||
#define R92C_FWHW_TXQ_CTRL_REAL_BEACON 0x400000
|
||||
@ -683,6 +701,7 @@
|
||||
#define R92C_OFDM0_TXIQIMBALANCE(chain) (0xc80 + (chain) * 8)
|
||||
#define R92C_OFDM0_TXAFE(chain) (0xc94 + (chain) * 8)
|
||||
#define R92C_OFDM0_RXIQEXTANTA 0xca0
|
||||
#define R92C_OFDM0_TXPSEUDONOISEWGT 0xce4
|
||||
#define R92C_OFDM1_LSTF 0xd00
|
||||
|
||||
/* Bits for R92C_FPGA[01]_RFMOD. */
|
||||
@ -802,6 +821,9 @@
|
||||
#define R92C_LSSI_READBACK_DATA_M 0x000fffff
|
||||
#define R92C_LSSI_READBACK_DATA_S 0
|
||||
|
||||
/* Bits for R92C_CCK0_SYSTEM. */
|
||||
#define R92C_CCK0_SYSTEM_CCK_SIDEBAND 0x00000010
|
||||
|
||||
/* Bits for R92C_OFDM0_AGCCORE1(i). */
|
||||
#define R92C_OFDM0_AGCCORE1_GAIN_M 0x0000007f
|
||||
#define R92C_OFDM0_AGCCORE1_GAIN_S 0
|
||||
|
@ -184,6 +184,7 @@ r92cu_attach(struct rtwn_usb_softc *uc)
|
||||
sc->sc_fw_reset = r92c_fw_reset;
|
||||
sc->sc_fw_download_enable = r92c_fw_download_enable;
|
||||
#endif
|
||||
sc->sc_llt_init = r92c_llt_init;
|
||||
sc->sc_set_page_size = r92c_set_page_size;
|
||||
sc->sc_lc_calib = r92c_lc_calib;
|
||||
sc->sc_iq_calib = r92c_iq_calib; /* XXX TODO */
|
||||
|
82
sys/dev/rtwn/rtl8192e/r92e.h
Normal file
82
sys/dev/rtwn/rtl8192e/r92e.h
Normal file
@ -0,0 +1,82 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef RTL8192E_H
|
||||
#define RTL8192E_H
|
||||
|
||||
/*
|
||||
* Global definitions.
|
||||
*/
|
||||
#define R92E_PUBQ_NPAGES 222
|
||||
#define R92E_TX_PAGE_COUNT 243
|
||||
|
||||
#define R92E_TX_PAGE_SIZE 256
|
||||
#define R92E_RX_DMA_BUFFER_SIZE 0x3d00
|
||||
|
||||
#define R92E_MAX_FW_SIZE 0x8000
|
||||
|
||||
|
||||
/*
|
||||
* Function declarations.
|
||||
*/
|
||||
/* r92e_attach.c */
|
||||
void r92e_detach_private(struct rtwn_softc *);
|
||||
|
||||
/* r92e_chan.c */
|
||||
void r92e_set_chan(struct rtwn_softc *, struct ieee80211_channel *);
|
||||
|
||||
/* r92e_fw.c */
|
||||
#ifndef RTWN_WITHOUT_UCODE
|
||||
void r92e_fw_reset(struct rtwn_softc *, int);
|
||||
void r92e_set_media_status(struct rtwn_softc *, int);
|
||||
int r92e_set_pwrmode(struct rtwn_softc *, struct ieee80211vap *, int);
|
||||
#endif
|
||||
|
||||
/* r92e_init.c */
|
||||
int r92e_llt_init(struct rtwn_softc *);
|
||||
void r92e_init_bb(struct rtwn_softc *);
|
||||
void r92e_init_rf(struct rtwn_softc *);
|
||||
int r92e_power_on(struct rtwn_softc *);
|
||||
void r92e_power_off(struct rtwn_softc *);
|
||||
|
||||
/* r92e_led.c */
|
||||
void r92e_set_led(struct rtwn_softc *, int, int);
|
||||
|
||||
/* r92e_rf.c */
|
||||
uint32_t r92e_rf_read(struct rtwn_softc *, int, uint8_t);
|
||||
void r92e_rf_write(struct rtwn_softc *, int, uint8_t, uint32_t);
|
||||
|
||||
/* r92e_rom.c */
|
||||
void r92e_parse_rom_common(struct rtwn_softc *, uint8_t *);
|
||||
void r92e_parse_rom(struct rtwn_softc *, uint8_t *);
|
||||
|
||||
/* r92e_rx.c */
|
||||
void r92e_handle_c2h_report(struct rtwn_softc *, uint8_t *, int);
|
||||
int8_t r92e_get_rssi_cck(struct rtwn_softc *, void *);
|
||||
|
||||
#endif /* RTL8192E_H */
|
294
sys/dev/rtwn/rtl8192e/r92e_chan.c
Normal file
294
sys/dev/rtwn/rtl8192e/r92e_chan.c
Normal file
@ -0,0 +1,294 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwn_debug.h>
|
||||
#include <dev/rtwn/if_rtwn_ridx.h>
|
||||
#include <dev/rtwn/if_rtwn_rx.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_reg.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_var.h>
|
||||
|
||||
static int
|
||||
r92e_get_power_group(struct rtwn_softc *sc, struct ieee80211_channel *c)
|
||||
{
|
||||
uint8_t chan;
|
||||
int group;
|
||||
|
||||
chan = rtwn_chan2centieee(c);
|
||||
if (IEEE80211_IS_CHAN_2GHZ(c)) {
|
||||
if (chan <= 2) group = 0;
|
||||
else if (chan <= 5) group = 1;
|
||||
else if (chan <= 8) group = 2;
|
||||
else if (chan <= 11) group = 3;
|
||||
else if (chan <= 14) group = 4;
|
||||
else {
|
||||
KASSERT(0, ("wrong 2GHz channel %d!\n", chan));
|
||||
return (-1);
|
||||
}
|
||||
} else {
|
||||
KASSERT(0, ("wrong channel band (flags %08X)\n", c->ic_flags));
|
||||
return (-1);
|
||||
}
|
||||
|
||||
return (group);
|
||||
}
|
||||
|
||||
static void
|
||||
r92e_get_txpower(struct rtwn_softc *sc, int chain, struct ieee80211_channel *c,
|
||||
uint8_t power[RTWN_RIDX_COUNT])
|
||||
{
|
||||
struct r92e_softc *rs = sc->sc_priv;
|
||||
int i, ridx, group, max_mcs;
|
||||
|
||||
/* Determine channel group. */
|
||||
group = r92e_get_power_group(sc, c);
|
||||
if (group == -1) { /* shouldn't happen */
|
||||
device_printf(sc->sc_dev, "%s: incorrect channel\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
max_mcs = RTWN_RIDX_MCS(sc->ntxchains * 8 - 1);
|
||||
|
||||
/* XXX regulatory */
|
||||
/* XXX net80211 regulatory */
|
||||
|
||||
for (ridx = RTWN_RIDX_CCK1; ridx <= RTWN_RIDX_CCK11; ridx++)
|
||||
power[ridx] = rs->cck_tx_pwr[chain][group];
|
||||
for (ridx = RTWN_RIDX_OFDM6; ridx <= max_mcs; ridx++)
|
||||
power[ridx] = rs->ht40_tx_pwr_2g[chain][group];
|
||||
|
||||
for (ridx = RTWN_RIDX_OFDM6; ridx <= RTWN_RIDX_OFDM54; ridx++)
|
||||
power[ridx] += rs->ofdm_tx_pwr_diff_2g[chain][0];
|
||||
|
||||
for (i = 0; i < sc->ntxchains; i++) {
|
||||
uint8_t min_mcs;
|
||||
uint8_t pwr_diff;
|
||||
|
||||
if (IEEE80211_IS_CHAN_HT40(c))
|
||||
pwr_diff = rs->bw40_tx_pwr_diff_2g[chain][i];
|
||||
else
|
||||
pwr_diff = rs->bw20_tx_pwr_diff_2g[chain][i];
|
||||
|
||||
min_mcs = RTWN_RIDX_MCS(i * 8);
|
||||
for (ridx = min_mcs; ridx <= max_mcs; ridx++)
|
||||
power[ridx] += pwr_diff;
|
||||
|
||||
}
|
||||
|
||||
/* Apply max limit. */
|
||||
for (ridx = RTWN_RIDX_CCK1; ridx <= max_mcs; ridx++) {
|
||||
if (power[ridx] > R92C_MAX_TX_PWR)
|
||||
power[ridx] = R92C_MAX_TX_PWR;
|
||||
}
|
||||
|
||||
#ifdef RTWN_DEBUG
|
||||
if (sc->sc_debug & RTWN_DEBUG_TXPWR) {
|
||||
/* Dump per-rate Tx power values. */
|
||||
printf("Tx power for chain %d:\n", chain);
|
||||
for (ridx = RTWN_RIDX_CCK1; ridx < RTWN_RIDX_COUNT; ridx++)
|
||||
printf("Rate %d = %u\n", ridx, power[ridx]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
r92e_write_txpower(struct rtwn_softc *sc, int chain,
|
||||
uint8_t power[RTWN_RIDX_COUNT])
|
||||
{
|
||||
uint32_t reg;
|
||||
|
||||
/* Write per-CCK rate Tx power. */
|
||||
if (chain == 0) {
|
||||
reg = rtwn_bb_read(sc, R92C_TXAGC_A_CCK1_MCS32);
|
||||
reg = RW(reg, R92C_TXAGC_A_CCK1, power[RTWN_RIDX_CCK1]);
|
||||
rtwn_bb_write(sc, R92C_TXAGC_A_CCK1_MCS32, reg);
|
||||
reg = rtwn_bb_read(sc, R92C_TXAGC_B_CCK11_A_CCK2_11);
|
||||
reg = RW(reg, R92C_TXAGC_A_CCK2, power[RTWN_RIDX_CCK2]);
|
||||
reg = RW(reg, R92C_TXAGC_A_CCK55, power[RTWN_RIDX_CCK55]);
|
||||
reg = RW(reg, R92C_TXAGC_A_CCK11, power[RTWN_RIDX_CCK11]);
|
||||
rtwn_bb_write(sc, R92C_TXAGC_B_CCK11_A_CCK2_11, reg);
|
||||
} else {
|
||||
reg = rtwn_bb_read(sc, R92C_TXAGC_B_CCK1_55_MCS32);
|
||||
reg = RW(reg, R92C_TXAGC_B_CCK1, power[RTWN_RIDX_CCK1]);
|
||||
reg = RW(reg, R92C_TXAGC_B_CCK2, power[RTWN_RIDX_CCK2]);
|
||||
reg = RW(reg, R92C_TXAGC_B_CCK55, power[RTWN_RIDX_CCK55]);
|
||||
rtwn_bb_write(sc, R92C_TXAGC_B_CCK1_55_MCS32, reg);
|
||||
reg = rtwn_bb_read(sc, R92C_TXAGC_B_CCK11_A_CCK2_11);
|
||||
reg = RW(reg, R92C_TXAGC_B_CCK11, power[RTWN_RIDX_CCK11]);
|
||||
rtwn_bb_write(sc, R92C_TXAGC_B_CCK11_A_CCK2_11, reg);
|
||||
}
|
||||
/* Write per-OFDM rate Tx power. */
|
||||
rtwn_bb_write(sc, R92C_TXAGC_RATE18_06(chain),
|
||||
SM(R92C_TXAGC_RATE06, power[RTWN_RIDX_OFDM6]) |
|
||||
SM(R92C_TXAGC_RATE09, power[RTWN_RIDX_OFDM9]) |
|
||||
SM(R92C_TXAGC_RATE12, power[RTWN_RIDX_OFDM12]) |
|
||||
SM(R92C_TXAGC_RATE18, power[RTWN_RIDX_OFDM18]));
|
||||
rtwn_bb_write(sc, R92C_TXAGC_RATE54_24(chain),
|
||||
SM(R92C_TXAGC_RATE24, power[RTWN_RIDX_OFDM24]) |
|
||||
SM(R92C_TXAGC_RATE36, power[RTWN_RIDX_OFDM36]) |
|
||||
SM(R92C_TXAGC_RATE48, power[RTWN_RIDX_OFDM48]) |
|
||||
SM(R92C_TXAGC_RATE54, power[RTWN_RIDX_OFDM54]));
|
||||
/* Write per-MCS Tx power. */
|
||||
rtwn_bb_write(sc, R92C_TXAGC_MCS03_MCS00(chain),
|
||||
SM(R92C_TXAGC_MCS00, power[RTWN_RIDX_MCS(0)]) |
|
||||
SM(R92C_TXAGC_MCS01, power[RTWN_RIDX_MCS(1)]) |
|
||||
SM(R92C_TXAGC_MCS02, power[RTWN_RIDX_MCS(2)]) |
|
||||
SM(R92C_TXAGC_MCS03, power[RTWN_RIDX_MCS(3)]));
|
||||
rtwn_bb_write(sc, R92C_TXAGC_MCS07_MCS04(chain),
|
||||
SM(R92C_TXAGC_MCS04, power[RTWN_RIDX_MCS(4)]) |
|
||||
SM(R92C_TXAGC_MCS05, power[RTWN_RIDX_MCS(5)]) |
|
||||
SM(R92C_TXAGC_MCS06, power[RTWN_RIDX_MCS(6)]) |
|
||||
SM(R92C_TXAGC_MCS07, power[RTWN_RIDX_MCS(7)]));
|
||||
if (sc->ntxchains >= 2) {
|
||||
rtwn_bb_write(sc, R92C_TXAGC_MCS11_MCS08(chain),
|
||||
SM(R92C_TXAGC_MCS08, power[RTWN_RIDX_MCS(8)]) |
|
||||
SM(R92C_TXAGC_MCS09, power[RTWN_RIDX_MCS(9)]) |
|
||||
SM(R92C_TXAGC_MCS10, power[RTWN_RIDX_MCS(10)]) |
|
||||
SM(R92C_TXAGC_MCS11, power[RTWN_RIDX_MCS(11)]));
|
||||
rtwn_bb_write(sc, R92C_TXAGC_MCS15_MCS12(chain),
|
||||
SM(R92C_TXAGC_MCS12, power[RTWN_RIDX_MCS(12)]) |
|
||||
SM(R92C_TXAGC_MCS13, power[RTWN_RIDX_MCS(13)]) |
|
||||
SM(R92C_TXAGC_MCS14, power[RTWN_RIDX_MCS(14)]) |
|
||||
SM(R92C_TXAGC_MCS15, power[RTWN_RIDX_MCS(15)]));
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
r92e_set_txpower(struct rtwn_softc *sc, struct ieee80211_channel *c)
|
||||
{
|
||||
uint8_t power[RTWN_RIDX_COUNT];
|
||||
int i;
|
||||
|
||||
for (i = 0; i < sc->ntxchains; i++) {
|
||||
memset(power, 0, sizeof(power));
|
||||
/* Compute per-rate Tx power values. */
|
||||
r92e_get_txpower(sc, i, c, power);
|
||||
/* Write per-rate Tx power values to hardware. */
|
||||
r92e_write_txpower(sc, i, power);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
r92e_set_bw40(struct rtwn_softc *sc, uint8_t chan, int prichlo)
|
||||
{
|
||||
int i;
|
||||
|
||||
rtwn_setbits_2(sc, R92C_WMAC_TRXPTCL_CTL, 0x100, 0x80);
|
||||
rtwn_write_1(sc, R12A_DATA_SEC,
|
||||
prichlo ? R12A_DATA_SEC_PRIM_DOWN_20 : R12A_DATA_SEC_PRIM_UP_20);
|
||||
|
||||
rtwn_bb_setbits(sc, R92C_FPGA0_RFMOD, 0, R92C_RFMOD_40MHZ);
|
||||
rtwn_bb_setbits(sc, R92C_FPGA1_RFMOD, 0, R92C_RFMOD_40MHZ);
|
||||
|
||||
/* Select 40MHz bandwidth. */
|
||||
for (i = 0; i < sc->nrxchains; i++)
|
||||
rtwn_rf_setbits(sc, i, R92C_RF_CHNLBW,
|
||||
R88E_RF_CHNLBW_BW20, 0x400);
|
||||
|
||||
/* Set CCK side band. */
|
||||
rtwn_bb_setbits(sc, R92C_CCK0_SYSTEM,
|
||||
R92C_CCK0_SYSTEM_CCK_SIDEBAND, (prichlo ? 0 : 1) << 4);
|
||||
|
||||
rtwn_bb_setbits(sc, R92C_OFDM1_LSTF, 0x0c00, (prichlo ? 1 : 2) << 10);
|
||||
|
||||
rtwn_bb_setbits(sc, R92C_FPGA0_ANAPARAM2,
|
||||
R92C_FPGA0_ANAPARAM2_CBW20, 0);
|
||||
|
||||
rtwn_bb_setbits(sc, 0x818, 0x0c000000, (prichlo ? 2 : 1) << 26);
|
||||
}
|
||||
|
||||
static void
|
||||
r92e_set_bw20(struct rtwn_softc *sc, uint8_t chan)
|
||||
{
|
||||
int i;
|
||||
|
||||
rtwn_setbits_2(sc, R92C_WMAC_TRXPTCL_CTL, 0x180, 0);
|
||||
rtwn_write_1(sc, R12A_DATA_SEC, R12A_DATA_SEC_NO_EXT);
|
||||
|
||||
rtwn_bb_setbits(sc, R92C_FPGA0_RFMOD, R92C_RFMOD_40MHZ, 0);
|
||||
rtwn_bb_setbits(sc, R92C_FPGA1_RFMOD, R92C_RFMOD_40MHZ, 0);
|
||||
|
||||
/* Select 20MHz bandwidth. */
|
||||
for (i = 0; i < sc->nrxchains; i++)
|
||||
rtwn_rf_setbits(sc, i, R92C_RF_CHNLBW,
|
||||
R88E_RF_CHNLBW_BW20, 0xc00);
|
||||
|
||||
rtwn_bb_setbits(sc, R92C_OFDM0_TXPSEUDONOISEWGT, 0xc0000000, 0);
|
||||
}
|
||||
|
||||
void
|
||||
r92e_set_chan(struct rtwn_softc *sc, struct ieee80211_channel *c)
|
||||
{
|
||||
struct r92e_softc *rs = sc->sc_priv;
|
||||
u_int chan;
|
||||
int i;
|
||||
|
||||
chan = rtwn_chan2centieee(c);
|
||||
|
||||
for (i = 0; i < sc->nrxchains; i++) {
|
||||
rtwn_rf_write(sc, i, R92C_RF_CHNLBW,
|
||||
RW(rs->rf_chnlbw[0], R92C_RF_CHNLBW_CHNL, chan));
|
||||
}
|
||||
|
||||
if (IEEE80211_IS_CHAN_HT40(c))
|
||||
r92e_set_bw40(sc, chan, IEEE80211_IS_CHAN_HT40U(c));
|
||||
else
|
||||
r92e_set_bw20(sc, chan);
|
||||
|
||||
/* Set Tx power for this new channel. */
|
||||
r92e_set_txpower(sc, c);
|
||||
}
|
137
sys/dev/rtwn/rtl8192e/r92e_fw.c
Normal file
137
sys/dev/rtwn/rtl8192e/r92e_fw.c
Normal file
@ -0,0 +1,137 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwn_debug.h>
|
||||
|
||||
#include <dev/rtwn/rtl8188e/r88e.h>
|
||||
#include <dev/rtwn/rtl8188e/r88e_reg.h>
|
||||
|
||||
#include <dev/rtwn/rtl8812a/r12a_fw_cmd.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e.h>
|
||||
|
||||
#ifndef RTWN_WITHOUT_UCODE
|
||||
void
|
||||
r92e_fw_reset(struct rtwn_softc *sc, int reason)
|
||||
{
|
||||
/* Reset MCU IO wrapper. */
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0x01, 0);
|
||||
|
||||
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
|
||||
R92C_SYS_FUNC_EN_CPUEN, 0, 1);
|
||||
|
||||
/* Enable MCU IO wrapper. */
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0, 0x01);
|
||||
|
||||
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
|
||||
0, R92C_SYS_FUNC_EN_CPUEN, 1);
|
||||
}
|
||||
|
||||
void
|
||||
r92e_set_media_status(struct rtwn_softc *sc, int macid)
|
||||
{
|
||||
struct r88e_fw_cmd_msrrpt status;
|
||||
|
||||
if (macid & RTWN_MACID_VALID)
|
||||
status.msrb0 = R88E_MSRRPT_B0_ASSOC;
|
||||
else
|
||||
status.msrb0 = R88E_MSRRPT_B0_DISASSOC;
|
||||
status.macid = (macid & ~RTWN_MACID_VALID);
|
||||
|
||||
if (r88e_fw_cmd(sc, R88E_CMD_MSR_RPT, &status, sizeof(status)) != 0) {
|
||||
device_printf(sc->sc_dev, "%s: cannot change media status!\n",
|
||||
__func__);
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
r92e_set_pwrmode(struct rtwn_softc *sc, struct ieee80211vap *vap, int off)
|
||||
{
|
||||
struct r12a_fw_cmd_pwrmode mode;
|
||||
int error;
|
||||
|
||||
if (off && vap->iv_state == IEEE80211_S_RUN &&
|
||||
(vap->iv_flags & IEEE80211_F_PMGTON)) {
|
||||
mode.mode = R88E_PWRMODE_LEG;
|
||||
/*
|
||||
* TODO: switch to RFOFF state
|
||||
* (something is missing here - Rx stops with it).
|
||||
*/
|
||||
#ifdef RTWN_TODO
|
||||
mode.pwr_state = R88E_PWRMODE_STATE_RFOFF;
|
||||
#else
|
||||
mode.pwr_state = R88E_PWRMODE_STATE_RFON;
|
||||
#endif
|
||||
} else {
|
||||
mode.mode = R88E_PWRMODE_CAM;
|
||||
mode.pwr_state = R88E_PWRMODE_STATE_ALLON;
|
||||
}
|
||||
mode.pwrb1 =
|
||||
SM(R88E_PWRMODE_B1_SMART_PS, R88E_PWRMODE_B1_LEG_NULLDATA) |
|
||||
SM(R88E_PWRMODE_B1_RLBM, R88E_PWRMODE_B1_MODE_MIN);
|
||||
/* XXX ignored */
|
||||
mode.bcn_pass = 0;
|
||||
mode.queue_uapsd = 0;
|
||||
mode.pwrb5 = 0;
|
||||
error = r88e_fw_cmd(sc, R88E_CMD_SET_PWRMODE, &mode, sizeof(mode));
|
||||
if (error != 0) {
|
||||
device_printf(sc->sc_dev,
|
||||
"%s: CMD_SET_PWRMODE was not sent, error %d\n",
|
||||
__func__, error);
|
||||
}
|
||||
|
||||
return (error);
|
||||
}
|
||||
#endif
|
385
sys/dev/rtwn/rtl8192e/r92e_init.c
Normal file
385
sys/dev/rtwn/rtl8192e/r92e_init.c
Normal file
@ -0,0 +1,385 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwn_debug.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192c/r92c.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_reg.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_priv.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_var.h>
|
||||
|
||||
int
|
||||
r92e_llt_init(struct rtwn_softc *sc)
|
||||
{
|
||||
int ntries, error;
|
||||
|
||||
error = rtwn_setbits_4(sc, R92C_AUTO_LLT, 0, R92C_AUTO_LLT_INIT);
|
||||
if (error != 0)
|
||||
return (error);
|
||||
for (ntries = 0; ntries < 1000; ntries++) {
|
||||
if (!(rtwn_read_4(sc, R92C_AUTO_LLT) & R92C_AUTO_LLT_INIT))
|
||||
return (0);
|
||||
rtwn_delay(sc, 1);
|
||||
}
|
||||
return (ETIMEDOUT);
|
||||
}
|
||||
|
||||
static void
|
||||
r92e_crystalcap_write(struct rtwn_softc *sc)
|
||||
{
|
||||
struct r92e_softc *rs = sc->sc_priv;
|
||||
uint32_t reg;
|
||||
uint8_t val;
|
||||
|
||||
val = rs->crystalcap & 0x3f;
|
||||
reg = rtwn_bb_read(sc, R92E_AFE_XTAL_CTRL);
|
||||
rtwn_bb_write(sc, R92E_AFE_XTAL_CTRL,
|
||||
RW(reg, R92E_AFE_XTAL_CTRL_ADDR, val | val << 6));
|
||||
rtwn_bb_write(sc, R92C_AFE_XTAL_CTRL, 0x000f81fb);
|
||||
}
|
||||
|
||||
void
|
||||
r92e_init_bb(struct rtwn_softc *sc)
|
||||
{
|
||||
int i, j;
|
||||
|
||||
rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
|
||||
R92C_SYS_FUNC_EN_USBA | R92C_SYS_FUNC_EN_USBD);
|
||||
|
||||
/* Enable BB and RF. */
|
||||
rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
|
||||
R92C_SYS_FUNC_EN_BBRSTB | R92C_SYS_FUNC_EN_BB_GLB_RST |
|
||||
R92C_SYS_FUNC_EN_DIO_RF);
|
||||
|
||||
/* PathA RF Power On. */
|
||||
rtwn_write_1(sc, R92C_RF_CTRL,
|
||||
R92C_RF_CTRL_EN | R92C_RF_CTRL_RSTB | R92C_RF_CTRL_SDMRSTB);
|
||||
|
||||
/* Write BB initialization values. */
|
||||
for (i = 0; i < sc->bb_size; i++) {
|
||||
const struct rtwn_bb_prog *bb_prog = &sc->bb_prog[i];
|
||||
|
||||
while (!rtwn_check_condition(sc, bb_prog->cond)) {
|
||||
KASSERT(bb_prog->next != NULL,
|
||||
("%s: wrong condition value (i %d)\n",
|
||||
__func__, i));
|
||||
bb_prog = bb_prog->next;
|
||||
}
|
||||
|
||||
for (j = 0; j < bb_prog->count; j++) {
|
||||
RTWN_DPRINTF(sc, RTWN_DEBUG_RESET,
|
||||
"BB: reg 0x%03x, val 0x%08x\n",
|
||||
bb_prog->reg[j], bb_prog->val[j]);
|
||||
|
||||
rtwn_bb_write(sc, bb_prog->reg[j], bb_prog->val[j]);
|
||||
rtwn_delay(sc, 1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Write AGC values. */
|
||||
for (i = 0; i < sc->agc_size; i++) {
|
||||
const struct rtwn_agc_prog *agc_prog = &sc->agc_prog[i];
|
||||
|
||||
while (!rtwn_check_condition(sc, agc_prog->cond)) {
|
||||
KASSERT(agc_prog->next != NULL,
|
||||
("%s: wrong condition value (2) (i %d)\n",
|
||||
__func__, i));
|
||||
agc_prog = agc_prog->next;
|
||||
}
|
||||
|
||||
for (j = 0; j < agc_prog->count; j++) {
|
||||
RTWN_DPRINTF(sc, RTWN_DEBUG_RESET,
|
||||
"AGC: val 0x%08x\n", agc_prog->val[j]);
|
||||
|
||||
rtwn_bb_write(sc, R92C_OFDM0_AGCRSSITABLE,
|
||||
agc_prog->val[j]);
|
||||
rtwn_delay(sc, 1);
|
||||
}
|
||||
}
|
||||
|
||||
if (rtwn_bb_read(sc, R92C_HSSI_PARAM2(0)) & R92C_HSSI_PARAM2_CCK_HIPWR)
|
||||
sc->sc_flags |= RTWN_FLAG_CCK_HIPWR;
|
||||
|
||||
rtwn_bb_write(sc, R92C_OFDM0_AGCCORE1(0), 0x00040022);
|
||||
rtwn_delay(sc, 1);
|
||||
rtwn_bb_write(sc, R92C_OFDM0_AGCCORE1(0), 0x00040020);
|
||||
rtwn_delay(sc, 1);
|
||||
|
||||
r92e_crystalcap_write(sc);
|
||||
}
|
||||
|
||||
void
|
||||
r92e_init_rf(struct rtwn_softc *sc)
|
||||
{
|
||||
struct r92e_softc *rs = sc->sc_priv;
|
||||
uint32_t reg, type;
|
||||
int i, chain, idx, off;
|
||||
|
||||
for (chain = 0, i = 0; chain < sc->nrxchains; chain++, i++) {
|
||||
/* Save RF_ENV control type. */
|
||||
idx = chain / 2;
|
||||
off = (chain % 2) * 16;
|
||||
reg = rtwn_bb_read(sc, R92C_FPGA0_RFIFACESW(idx));
|
||||
type = (reg >> off) & 0x10;
|
||||
|
||||
/* Set RF_ENV enable. */
|
||||
rtwn_bb_setbits(sc, R92C_FPGA0_RFIFACEOE(chain),
|
||||
0, 0x100000);
|
||||
rtwn_delay(sc, 1);
|
||||
/* Set RF_ENV output high. */
|
||||
rtwn_bb_setbits(sc, R92C_FPGA0_RFIFACEOE(chain),
|
||||
0, 0x10);
|
||||
rtwn_delay(sc, 1);
|
||||
/* Set address and data lengths of RF registers. */
|
||||
rtwn_bb_setbits(sc, R92C_HSSI_PARAM2(chain),
|
||||
R92C_HSSI_PARAM2_ADDR_LENGTH, 0);
|
||||
rtwn_delay(sc, 1);
|
||||
rtwn_bb_setbits(sc, R92C_HSSI_PARAM2(chain),
|
||||
R92C_HSSI_PARAM2_DATA_LENGTH, 0);
|
||||
rtwn_delay(sc, 1);
|
||||
|
||||
/* Write RF initialization values for this chain. */
|
||||
i += r92c_init_rf_chain(sc, &sc->rf_prog[i], chain);
|
||||
|
||||
/* Cache RF register CHNLBW. */
|
||||
rs->rf_chnlbw[chain] = rtwn_rf_read(sc, chain, R92C_RF_CHNLBW);
|
||||
}
|
||||
|
||||
/* Turn CCK and OFDM blocks on. */
|
||||
rtwn_bb_setbits(sc, R92C_FPGA0_RFMOD, 0, R92C_RFMOD_CCK_EN);
|
||||
rtwn_bb_setbits(sc, R92C_FPGA0_RFMOD, 0, R92C_RFMOD_OFDM_EN);
|
||||
}
|
||||
|
||||
static void
|
||||
r92e_adj_crystal(struct rtwn_softc *sc)
|
||||
{
|
||||
|
||||
rtwn_setbits_1(sc, R92C_AFE_PLL_CTRL, R92C_AFE_PLL_CTRL_FREF_SEL, 0);
|
||||
rtwn_setbits_4(sc, R92E_APE_PLL_CTRL_EXT, 0x00000380, 0);
|
||||
rtwn_setbits_1(sc, R92C_AFE_PLL_CTRL, 0x40, 0);
|
||||
rtwn_setbits_4(sc, R92E_APE_PLL_CTRL_EXT, 0x00200000, 0);
|
||||
}
|
||||
|
||||
int
|
||||
r92e_power_on(struct rtwn_softc *sc)
|
||||
{
|
||||
#define RTWN_CHK(res) do { \
|
||||
if (res != 0) \
|
||||
return (EIO); \
|
||||
} while(0)
|
||||
int ntries;
|
||||
|
||||
if (rtwn_read_4(sc, R92C_SYS_CFG) & R92C_SYS_CFG_TRP_BT_EN)
|
||||
RTWN_CHK(rtwn_write_1(sc, R92C_LDO_SWR_CTRL, 0xc3));
|
||||
else {
|
||||
RTWN_CHK(rtwn_setbits_4(sc, R92E_LDOV12_CTRL, 0x00100000,
|
||||
0x00500000));
|
||||
RTWN_CHK(rtwn_write_1(sc, R92C_LDO_SWR_CTRL, 0x83));
|
||||
}
|
||||
|
||||
r92e_adj_crystal(sc);
|
||||
|
||||
/* Enable WL suspend. */
|
||||
RTWN_CHK(rtwn_setbits_1_shift(sc, R92C_APS_FSMCO,
|
||||
R92C_APS_FSMCO_AFSM_HSUS | R92C_APS_FSMCO_AFSM_PCIE, 0, 1));
|
||||
|
||||
/* Disable HWPDN, SW LPS and WL suspend. */
|
||||
RTWN_CHK(rtwn_setbits_1_shift(sc, R92C_APS_FSMCO,
|
||||
R92C_APS_FSMCO_APFM_RSM | R92C_APS_FSMCO_AFSM_HSUS |
|
||||
R92C_APS_FSMCO_AFSM_PCIE | R92C_APS_FSMCO_APDM_HPDN, 0, 1));
|
||||
|
||||
/* Wait for power ready bit. */
|
||||
for (ntries = 0; ntries < 5000; ntries++) {
|
||||
if (rtwn_read_4(sc, R92C_APS_FSMCO) & R92C_APS_FSMCO_SUS_HOST)
|
||||
break;
|
||||
rtwn_delay(sc, 10);
|
||||
}
|
||||
if (ntries == 5000) {
|
||||
device_printf(sc->sc_dev,
|
||||
"timeout waiting for chip power up\n");
|
||||
return (ETIMEDOUT);
|
||||
}
|
||||
|
||||
/* Release WLON reset. */
|
||||
RTWN_CHK(rtwn_setbits_1_shift(sc, R92C_APS_FSMCO, 0,
|
||||
R92C_APS_FSMCO_RDY_MACON, 2));
|
||||
|
||||
RTWN_CHK(rtwn_setbits_1_shift(sc, R92C_APS_FSMCO, 0,
|
||||
R92C_APS_FSMCO_APFM_ONMAC, 1));
|
||||
for (ntries = 0; ntries < 5000; ntries++) {
|
||||
if (!(rtwn_read_2(sc, R92C_APS_FSMCO) &
|
||||
R92C_APS_FSMCO_APFM_ONMAC))
|
||||
break;
|
||||
rtwn_delay(sc, 10);
|
||||
}
|
||||
if (ntries == 5000)
|
||||
return (ETIMEDOUT);
|
||||
|
||||
/* Enable MAC DMA/WMAC/SCHEDULE/SEC blocks. */
|
||||
RTWN_CHK(rtwn_write_2(sc, R92C_CR, 0));
|
||||
RTWN_CHK(rtwn_setbits_2(sc, R92C_CR, 0,
|
||||
R92C_CR_HCI_TXDMA_EN | R92C_CR_TXDMA_EN |
|
||||
R92C_CR_HCI_RXDMA_EN | R92C_CR_RXDMA_EN |
|
||||
R92C_CR_PROTOCOL_EN | R92C_CR_SCHEDULE_EN |
|
||||
((sc->sc_hwcrypto != RTWN_CRYPTO_SW) ? R92C_CR_ENSEC : 0) |
|
||||
R92C_CR_CALTMR_EN));
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
void
|
||||
r92e_power_off(struct rtwn_softc *sc)
|
||||
{
|
||||
int error, ntries;
|
||||
|
||||
/* Stop Rx. */
|
||||
error = rtwn_write_1(sc, R92C_CR, 0);
|
||||
if (error == ENXIO) /* hardware gone */
|
||||
return;
|
||||
|
||||
/* Move card to Low Power state. */
|
||||
/* Block all Tx queues. */
|
||||
rtwn_write_1(sc, R92C_TXPAUSE, R92C_TX_QUEUE_ALL);
|
||||
|
||||
for (ntries = 0; ntries < 5000; ntries++) {
|
||||
/* Should be zero if no packet is transmitting. */
|
||||
if (rtwn_read_4(sc, R88E_SCH_TXCMD) == 0)
|
||||
break;
|
||||
|
||||
rtwn_delay(sc, 10);
|
||||
}
|
||||
if (ntries == 5000) {
|
||||
device_printf(sc->sc_dev, "%s: failed to block Tx queues\n",
|
||||
__func__);
|
||||
return;
|
||||
}
|
||||
|
||||
/* CCK and OFDM are disabled, and clock are gated. */
|
||||
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0);
|
||||
|
||||
rtwn_delay(sc, 1);
|
||||
|
||||
/* Reset whole BB. */
|
||||
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0);
|
||||
|
||||
/* Reset MAC TRX. */
|
||||
rtwn_write_1(sc, R92C_CR,
|
||||
R92C_CR_HCI_TXDMA_EN | R92C_CR_HCI_RXDMA_EN);
|
||||
|
||||
/* Check if removed later. */
|
||||
rtwn_setbits_1_shift(sc, R92C_CR, R92C_CR_ENSEC, 0, 1);
|
||||
|
||||
/* Respond TxOK to scheduler */
|
||||
rtwn_setbits_1(sc, R92C_DUAL_TSF_RST, 0, R92C_DUAL_TSF_RST_TXOK);
|
||||
|
||||
/* Reset MCU. */
|
||||
rtwn_write_1(sc, R92C_MCUFWDL, 0);
|
||||
|
||||
#ifndef RTWN_WITHOUT_UCODE
|
||||
/* Reset MCU IO wrapper. */
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0x01, 0);
|
||||
|
||||
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
|
||||
R92C_SYS_FUNC_EN_CPUEN, 0, 1);
|
||||
|
||||
/* Enable MCU IO wrapper. */
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0, 0x01);
|
||||
#endif
|
||||
|
||||
/* Move card to Disabled state. */
|
||||
/* Turn off RF. */
|
||||
rtwn_write_1(sc, R92C_RF_CTRL, 0);
|
||||
|
||||
/* Switch DPDT_SEL_P output. */
|
||||
rtwn_setbits_1(sc, R92C_LEDCFG2, 0x80, 0);
|
||||
|
||||
/* Turn off MAC by HW state machine */
|
||||
rtwn_setbits_1_shift(sc, R92C_APS_FSMCO, 0, R92C_APS_FSMCO_APFM_OFF,
|
||||
1);
|
||||
|
||||
for (ntries = 0; ntries < 5000; ntries++) {
|
||||
/* Wait until it will be disabled. */
|
||||
if ((rtwn_read_2(sc, R92C_APS_FSMCO) &
|
||||
R92C_APS_FSMCO_APFM_OFF) == 0)
|
||||
break;
|
||||
|
||||
rtwn_delay(sc, 10);
|
||||
}
|
||||
if (ntries == 5000) {
|
||||
device_printf(sc->sc_dev, "%s: could not turn off MAC\n",
|
||||
__func__);
|
||||
return;
|
||||
}
|
||||
|
||||
/* SOP option to disable BG/MB. */
|
||||
rtwn_setbits_1_shift(sc, R92C_APS_FSMCO, 0xff,
|
||||
R92C_APS_FSMCO_SOP_RCK, 3);
|
||||
|
||||
/* Unlock small LDO Register. */
|
||||
rtwn_setbits_1(sc, 0xcc, 0, 0x4);
|
||||
|
||||
/* Disable small LDO. */
|
||||
rtwn_setbits_1(sc, R92C_SPS0_CTRL, 0x1, 0);
|
||||
|
||||
/* Enable WL suspend. */
|
||||
rtwn_setbits_1_shift(sc, R92C_APS_FSMCO, R92C_APS_FSMCO_AFSM_PCIE,
|
||||
R92C_APS_FSMCO_AFSM_HSUS, 1);
|
||||
|
||||
/* Enable SW LPS. */
|
||||
rtwn_setbits_1_shift(sc, R92C_APS_FSMCO, 0,
|
||||
R92C_APS_FSMCO_APFM_RSM, 1);
|
||||
}
|
69
sys/dev/rtwn/rtl8192e/r92e_led.c
Normal file
69
sys/dev/rtwn/rtl8192e/r92e_led.c
Normal file
@ -0,0 +1,69 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_reg.h>
|
||||
|
||||
void
|
||||
r92e_set_led(struct rtwn_softc *sc, int led, int on)
|
||||
{
|
||||
|
||||
if (led == RTWN_LED_LINK) {
|
||||
if (!on)
|
||||
rtwn_setbits_1(sc, R92C_LEDCFG1, 0, R92C_LEDCFG1_DIS);
|
||||
else
|
||||
rtwn_setbits_1(sc, R92C_LEDCFG1, R92C_LEDCFG1_DIS, 0);
|
||||
sc->ledlink = on; /* Save LED state. */
|
||||
}
|
||||
}
|
262
sys/dev/rtwn/rtl8192e/r92e_priv.h
Normal file
262
sys/dev/rtwn/rtl8192e/r92e_priv.h
Normal file
@ -0,0 +1,262 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef R92E_PRIV_H
|
||||
#define R92E_PRIV_H
|
||||
|
||||
/*
|
||||
* MAC initialization values.
|
||||
*/
|
||||
static const struct rtwn_mac_prog rtl8192eu_mac[] = {
|
||||
{ 0x011, 0xeb }, { 0x012, 0x07 }, { 0x014, 0x75 }, { 0x303, 0xa7 },
|
||||
{ 0x428, 0x0a }, { 0x429, 0x10 }, { 0x430, 0x00 }, { 0x431, 0x00 },
|
||||
{ 0x432, 0x00 }, { 0x433, 0x01 }, { 0x434, 0x04 }, { 0x435, 0x05 },
|
||||
{ 0x436, 0x07 }, { 0x437, 0x08 }, { 0x43c, 0x04 }, { 0x43d, 0x05 },
|
||||
{ 0x43e, 0x07 }, { 0x43f, 0x08 }, { 0x440, 0x5d }, { 0x441, 0x01 },
|
||||
{ 0x442, 0x00 }, { 0x444, 0x10 }, { 0x445, 0x00 }, { 0x446, 0x00 },
|
||||
{ 0x447, 0x00 }, { 0x448, 0x00 }, { 0x449, 0xf0 }, { 0x44a, 0x0f },
|
||||
{ 0x44b, 0x3e }, { 0x44c, 0x10 }, { 0x44d, 0x00 }, { 0x44e, 0x00 },
|
||||
{ 0x44f, 0x00 }, { 0x450, 0x00 }, { 0x451, 0xf0 }, { 0x452, 0x0f },
|
||||
{ 0x453, 0x00 }, { 0x456, 0x5e }, { 0x460, 0x66 }, { 0x461, 0x66 },
|
||||
{ 0x4c8, 0xff }, { 0x4c9, 0x08 }, { 0x4cc, 0xff }, { 0x4cd, 0xff },
|
||||
{ 0x4ce, 0x01 }, { 0x500, 0x26 }, { 0x501, 0xa2 }, { 0x502, 0x2f },
|
||||
{ 0x503, 0x00 }, { 0x504, 0x28 }, { 0x505, 0xa3 }, { 0x506, 0x5e },
|
||||
{ 0x507, 0x00 }, { 0x508, 0x2b }, { 0x509, 0xa4 }, { 0x50a, 0x5e },
|
||||
{ 0x50b, 0x00 }, { 0x50c, 0x4f }, { 0x50d, 0xa4 }, { 0x50e, 0x00 },
|
||||
{ 0x50f, 0x00 }, { 0x512, 0x1c }, { 0x514, 0x0a }, { 0x516, 0x0a },
|
||||
{ 0x525, 0x4f }, { 0x540, 0x12 }, { 0x541, 0x64 }, { 0x550, 0x10 },
|
||||
{ 0x551, 0x10 }, { 0x559, 0x02 }, { 0x55c, 0x50 }, { 0x55d, 0xff },
|
||||
{ 0x605, 0x30 }, { 0x608, 0x0e }, { 0x609, 0x2a }, { 0x620, 0xff },
|
||||
{ 0x621, 0xff }, { 0x622, 0xff }, { 0x623, 0xff }, { 0x624, 0xff },
|
||||
{ 0x625, 0xff }, { 0x626, 0xff }, { 0x627, 0xff }, { 0x638, 0x50 },
|
||||
{ 0x63c, 0x0a }, { 0x63d, 0x0a }, { 0x63e, 0x0e }, { 0x63f, 0x0e },
|
||||
{ 0x640, 0x40 }, { 0x642, 0x40 }, { 0x643, 0x00 }, { 0x652, 0xc8 },
|
||||
{ 0x66e, 0x05 }, { 0x700, 0x21 }, { 0x701, 0x43 }, { 0x702, 0x65 },
|
||||
{ 0x703, 0x87 }, { 0x708, 0x21 }, { 0x709, 0x43 }, { 0x70a, 0x65 },
|
||||
{ 0x70b, 0x87 }
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* Baseband initialization values.
|
||||
*/
|
||||
static const uint16_t rtl8192eu_bb_regs[] = {
|
||||
0x800, 0x804, 0x808, 0x80c, 0x810, 0x814, 0x818, 0x81c, 0x820,
|
||||
0x824, 0x828, 0x82c, 0x830, 0x834, 0x838, 0x83c, 0x840, 0x844,
|
||||
0x848, 0x84c, 0x850, 0x854, 0x858, 0x85c, 0x860, 0x864, 0x868,
|
||||
0x86c, 0x870, 0x874, 0x878, 0x87c, 0x880, 0x884, 0x888, 0x88c,
|
||||
0x890, 0x894, 0x898, 0x900, 0x904, 0x908, 0x90c, 0x910, 0x914,
|
||||
0x918, 0x91c, 0x924, 0x928, 0x92c, 0x930, 0x934, 0x938, 0x93c,
|
||||
0x940, 0x944, 0x94c, 0xa00, 0xa04, 0xa08, 0xa0c, 0xa10, 0xa14,
|
||||
0xa18, 0xa1c, 0xa20, 0xa24, 0xa28, 0xa2c, 0xa70, 0xa74, 0xa78,
|
||||
0xa7c, 0xa80, 0xb38, 0xc00, 0xc04, 0xc08, 0xc0c, 0xc10, 0xc14,
|
||||
0xc18, 0xc1c, 0xc20, 0xc24, 0xc28, 0xc2c, 0xc30, 0xc34, 0xc38,
|
||||
0xc3c, 0xc40, 0xc44, 0xc48, 0xc4c, 0xc50, 0xc54, 0xc58, 0xc5c,
|
||||
0xc60, 0xc64, 0xc68, 0xc6c, 0xc70, 0xc74, 0xc78, 0xc7c, 0xc80,
|
||||
0xc84, 0xc88, 0xc8c, 0xc90, 0xc94, 0xc98, 0xc9c, 0xca0, 0xca4,
|
||||
0xca8, 0xcac, 0xcb0, 0xcb4, 0xcb8, 0xcbc, 0xcc0, 0xcc4, 0xcc8,
|
||||
0xccc, 0xcd0, 0xcd4, 0xcd8, 0xcdc, 0xce0, 0xce4, 0xce8, 0xcec,
|
||||
0xd00, 0xd04, 0xd08, 0xd0c, 0xd10, 0xd14, 0xd18, 0xd1c, 0xd2c,
|
||||
0xd30, 0xd34, 0xd38, 0xd3c, 0xd40, 0xd44, 0xd48, 0xd4c, 0xd50,
|
||||
0xd54, 0xd58, 0xd5c, 0xd60, 0xd64, 0xd68, 0xd6c, 0xd70, 0xd74,
|
||||
0xd78, 0xd80, 0xd84, 0xd88, 0xe00, 0xe04, 0xe08, 0xe10, 0xe14,
|
||||
0xe18, 0xe1c, 0xe28, 0xe30, 0xe34, 0xe38, 0xe3c, 0xe40, 0xe44,
|
||||
0xe48, 0xe4c, 0xe50, 0xe54, 0xe58, 0xe5c, 0xe60, 0xe68, 0xe6c,
|
||||
0xe70, 0xe74, 0xe78, 0xe7c, 0xe80, 0xe84, 0xe88, 0xe8c, 0xed0,
|
||||
0xed4, 0xed8, 0xedc, 0xee0, 0xeec, 0xee4, 0xee8, 0xf14, 0xf4c,
|
||||
0xf00
|
||||
};
|
||||
|
||||
static const uint32_t rtl8192eu_bb_vals[] = {
|
||||
0x80040000, 0x00000003, 0x0000fc00, 0x0000000a, 0x10001331,
|
||||
0x020c3d10, 0x02220385, 0x00000000, 0x01000100, 0x00390204,
|
||||
0x01000100, 0x00390204, 0x32323232, 0x30303030, 0x30303030,
|
||||
0x30303030, 0x00010000, 0x00010000, 0x28282828, 0x28282828,
|
||||
0x00000000, 0x00000000, 0x009a009a, 0x01000014, 0x66f60000,
|
||||
0x061f0000, 0x30303030, 0x30303030, 0x00000000, 0x55004200,
|
||||
0x08080808, 0x00000000, 0xb0000c1c, 0x00000001, 0x00000000,
|
||||
0xcc0000c0, 0x00000800, 0xfffffffe, 0x40302010, 0x00000000,
|
||||
0x00000023, 0x00000000, 0x81121313, 0x806c0001, 0x00000001,
|
||||
0x00000000, 0x00010000, 0x00000001, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000008, 0x00d0c7c8, 0x81ff000c, 0x8c838300,
|
||||
0x2e68120f, 0x95009b78, 0x1114d028, 0x00881117, 0x89140f00,
|
||||
0x1a1b0000, 0x090e1317, 0x00000204, 0x00d30000, 0x101fff00,
|
||||
0x00000007, 0x00000900, 0x225b0606, 0x218075b1, 0x00000000,
|
||||
0x48071d40, 0x03a05633, 0x000000e4, 0x6c6c6c6c, 0x08800000,
|
||||
0x40000100, 0x08800000, 0x40000100, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x69e9ac47, 0x469652af, 0x49795994,
|
||||
0x0a97971c, 0x1f7c403f, 0x000100b7, 0xec020107, 0x007f037f,
|
||||
0x00340020, 0x0080801f, 0x00000020, 0x00248492, 0x00000000,
|
||||
0x7112848b, 0x47c00bff, 0x00000036, 0x00000600, 0x02013169,
|
||||
0x0000001f, 0x00b91612, 0x40000100, 0x21f60000, 0x40000100,
|
||||
0xa0e40000, 0x00121820, 0x00000000, 0x00121820, 0x00007f7f,
|
||||
0x00000000, 0x000300a0, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x28000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x64b22427,
|
||||
0x00766932, 0x00222222, 0x00040000, 0x77644302, 0x2f97d40c,
|
||||
0x00080740, 0x00020403, 0x0000907f, 0x20010201, 0xa0633333,
|
||||
0x3333bc43, 0x7a8f5b6b, 0x0000007f, 0xcc979975, 0x00000000,
|
||||
0x80608000, 0x00000000, 0x00127353, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x6437140a, 0x00000000, 0x00000282,
|
||||
0x30032064, 0x4653de68, 0x04518a3c, 0x00002101, 0x2a201c16,
|
||||
0x1812362e, 0x322c2220, 0x000e3c24, 0x01081008, 0x00000800,
|
||||
0xf0b50000, 0x30303030, 0x30303030, 0x03903030, 0x30303030,
|
||||
0x30303030, 0x30303030, 0x30303030, 0x00000000, 0x1000dc1f,
|
||||
0x10008c1f, 0x02140102, 0x681604c2, 0x01007c00, 0x01004800,
|
||||
0xfb000000, 0x000028d1, 0x1000dc1f, 0x10008c1f, 0x02140102,
|
||||
0x28160d05, 0x00000008, 0x0fc05656, 0x03c09696, 0x03c09696,
|
||||
0x0c005656, 0x0c005656, 0x0c005656, 0x0c005656, 0x03c09696,
|
||||
0x0c005656, 0x03c09696, 0x03c09696, 0x03c09696, 0x03c09696,
|
||||
0x0000d6d6, 0x0000d6d6, 0x0fc01616, 0xb0000c1c, 0x00000001,
|
||||
0x00000003, 0x00000000, 0x00000300
|
||||
};
|
||||
|
||||
static const struct rtwn_bb_prog rtl8192eu_bb[] = {
|
||||
{
|
||||
nitems(rtl8192eu_bb_regs),
|
||||
rtl8192eu_bb_regs,
|
||||
rtl8192eu_bb_vals,
|
||||
{ 0 },
|
||||
NULL
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
static const uint32_t rtl8192eu_agc_vals[] = {
|
||||
0xfb000001, 0xfb010001, 0xfb020001, 0xfb030001, 0xfb040001,
|
||||
0xfb050001, 0xfa060001, 0xf9070001, 0xf8080001, 0xf7090001,
|
||||
0xf60a0001, 0xf50b0001, 0xf40c0001, 0xf30d0001, 0xf20e0001,
|
||||
0xf10f0001, 0xf0100001, 0xef110001, 0xee120001, 0xed130001,
|
||||
0xec140001, 0xeb150001, 0xea160001, 0xe9170001, 0xe8180001,
|
||||
0xe7190001, 0xc81a0001, 0xc71b0001, 0xc61c0001, 0x071d0001,
|
||||
0x061e0001, 0x051f0001, 0x04200001, 0x03210001, 0xaa220001,
|
||||
0xa9230001, 0xa8240001, 0xa7250001, 0xa6260001, 0x85270001,
|
||||
0x84280001, 0x83290001, 0x252a0001, 0x242b0001, 0x232c0001,
|
||||
0x222d0001, 0x672e0001, 0x662f0001, 0x65300001, 0x64310001,
|
||||
0x63320001, 0x62330001, 0x61340001, 0x45350001, 0x44360001,
|
||||
0x43370001, 0x42380001, 0x41390001, 0x403a0001, 0x403b0001,
|
||||
0x403c0001, 0x403d0001, 0x403e0001, 0x403f0001, 0xfb400001,
|
||||
0xfb410001, 0xfb420001, 0xfb430001, 0xfb440001, 0xfb450001,
|
||||
0xfa460001, 0xf9470001, 0xf8480001, 0xf7490001, 0xf64a0001,
|
||||
0xf54b0001, 0xf44c0001, 0xf34d0001, 0xf24e0001, 0xf14f0001,
|
||||
0xf0500001, 0xef510001, 0xee520001, 0xed530001, 0xec540001,
|
||||
0xeb550001, 0xea560001, 0xe9570001, 0xe8580001, 0xe7590001,
|
||||
0xe65a0001, 0xe55b0001, 0xe45c0001, 0xe35d0001, 0xe25e0001,
|
||||
0xe15f0001, 0x8a600001, 0x89610001, 0x88620001, 0x87630001,
|
||||
0x86640001, 0x85650001, 0x84660001, 0x83670001, 0x82680001,
|
||||
0x6b690001, 0x6a6a0001, 0x696b0001, 0x686c0001, 0x676d0001,
|
||||
0x666e0001, 0x656f0001, 0x64700001, 0x63710001, 0x62720001,
|
||||
0x61730001, 0x49740001, 0x48750001, 0x47760001, 0x46770001,
|
||||
0x45780001, 0x44790001, 0x437a0001, 0x427b0001, 0x417c0001,
|
||||
0x407d0001, 0x407e0001, 0x407f0001
|
||||
};
|
||||
|
||||
static const struct rtwn_agc_prog rtl8192eu_agc[] = {
|
||||
{
|
||||
nitems(rtl8192eu_agc_vals),
|
||||
rtl8192eu_agc_vals,
|
||||
{ 0 },
|
||||
NULL
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
* RF initialization values.
|
||||
*/
|
||||
static const uint8_t rtl8192eu_rf0_regs[] = {
|
||||
0x7f, 0x81, 0x00, 0x08, 0x18, 0x19, 0x1b, 0x1e, 0x1f, 0x2f, 0x3f,
|
||||
0x42, 0x57, 0x58, 0x67, 0x83, 0xb0, 0xb1, 0xb2, 0xb4, 0xb5, 0xb6,
|
||||
0xb7, 0xb8, 0xb9, 0xba, 0xbb, 0xbf, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6,
|
||||
0xc7, 0xc8, 0xc9, 0xca, 0xdf, 0xef, 0x51, 0x52, 0x53, 0x56, 0x35,
|
||||
0x35, 0x35, 0x36, 0x36, 0x36, 0x36, 0x18, 0x5a, 0x19, 0x34, 0x34,
|
||||
0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x00, 0x84,
|
||||
0x86, 0x87, 0x8e, 0x8f, 0xef, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b,
|
||||
0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0xef,
|
||||
0x18, 0x1e, 0x1f, 0x00
|
||||
}, rtl8192eu_rf1_regs[] = {
|
||||
0x7f, 0x81, 0x00, 0x08, 0x18, 0x19, 0x1b, 0x1e, 0x1f, 0x2f, 0x3f,
|
||||
0x42, 0x57, 0x58, 0x67, 0x7f, 0x81, 0x83, 0xdf, 0xef, 0x51, 0x52,
|
||||
0x53, 0x56, 0x35, 0x35, 0x35, 0x36, 0x36, 0x36, 0x36, 0x18, 0x5a,
|
||||
0x19, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34,
|
||||
0x34, 0x00, 0x84, 0x86, 0x87, 0x8e, 0x8f, 0xef, 0x3b, 0x3b, 0x3b,
|
||||
0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b,
|
||||
0x3b, 0x3b, 0xef, 0x00, 0x1e, 0x1f, 0x00
|
||||
};
|
||||
|
||||
static const uint32_t rtl8192eu_rf0_vals[] = {
|
||||
0x00082, 0x3fc00, 0x30000, 0x08400, 0x00407, 0x00012, 0x00064,
|
||||
0x80009, 0x00880, 0x1a060, 0x00000, 0x060c0, 0xd0000, 0xbe180,
|
||||
0x01552, 0x00000, 0xff9f1, 0x55418, 0x8cc00, 0x43083, 0x08166,
|
||||
0x0803e, 0x1c69f, 0x0407f, 0x80001, 0x40001, 0x00400, 0xc0000,
|
||||
0x02400, 0x00009, 0x40c91, 0x99999, 0x000a3, 0x88820, 0x76c06,
|
||||
0x00000, 0x80000, 0x00180, 0x001a0, 0x69545, 0x7e45e, 0x00071,
|
||||
0x51ff3, 0x000a8, 0x001e2, 0x002a8, 0x01c24, 0x09c24, 0x11c24,
|
||||
0x19c24, 0x00c07, 0x48000, 0x739d0, 0x0add7, 0x09dd4, 0x08dd1,
|
||||
0x07dce, 0x06dcb, 0x05dc8, 0x04dc5, 0x034cc, 0x0244f, 0x0144c,
|
||||
0x00014, 0x30159, 0x68180, 0x0014e, 0x48e00, 0x65540, 0x88000,
|
||||
0x020a0, 0xf02b0, 0xef7b0, 0xd4fb0, 0xcf060, 0xb0090, 0xa0080,
|
||||
0x90080, 0x8f780, 0x78730, 0x60fb0, 0x5ffa0, 0x40620, 0x37090,
|
||||
0x20080, 0x1f060, 0x0ffb0, 0x000a0, 0x0fc07, 0x00001, 0x80000,
|
||||
0x33e70
|
||||
}, rtl8192eu_rf1_vals[] = {
|
||||
0x00082, 0x3fc00, 0x30000, 0x08400, 0x00407, 0x00012, 0x00064,
|
||||
0x80009, 0x00880, 0x1a060, 0x00000, 0x060c0, 0xd0000, 0xbe180,
|
||||
0x01552, 0x00082, 0x3f000, 0x00000, 0x00180, 0x001a0, 0x69545,
|
||||
0x7e42e, 0x00071, 0x51ff3, 0x000a8, 0x001e0, 0x002a8, 0x01ca8,
|
||||
0x09c24, 0x11c24, 0x19c24, 0x00c07, 0x48000, 0x739d0, 0x0add7,
|
||||
0x09dd4, 0x08dd1, 0x07dce, 0x06dcb, 0x05dc8, 0x04dc5, 0x034cc,
|
||||
0x0244f, 0x0144c, 0x00014, 0x30159, 0x68180, 0x000ce, 0x48a00,
|
||||
0x65540, 0x88000, 0x020a0, 0xf02b0, 0xef7b0, 0xd4fb0, 0xcf060,
|
||||
0xb0090, 0xa0080, 0x90080, 0x8f780, 0x78730, 0x60fb0, 0x5ffa0,
|
||||
0x40620, 0x37090, 0x20080, 0x1f060, 0x0ffb0, 0x000a0, 0x10159,
|
||||
0x00001, 0x80000, 0x33e70
|
||||
};
|
||||
|
||||
static const struct rtwn_rf_prog rtl8192eu_rf[] = {
|
||||
/* RF chain 0. */
|
||||
{
|
||||
nitems(rtl8192eu_rf0_regs),
|
||||
rtl8192eu_rf0_regs,
|
||||
rtl8192eu_rf0_vals,
|
||||
{ 0 },
|
||||
NULL
|
||||
},
|
||||
{ 0, NULL, NULL, { 0 }, NULL },
|
||||
/* RF chain 1. */
|
||||
{
|
||||
nitems(rtl8192eu_rf1_regs),
|
||||
rtl8192eu_rf1_regs,
|
||||
rtl8192eu_rf1_vals,
|
||||
{ 0 },
|
||||
NULL
|
||||
},
|
||||
{ 0, NULL, NULL, { 0 }, NULL }
|
||||
};
|
||||
|
||||
#endif /* R92E_PRIV_H */
|
47
sys/dev/rtwn/rtl8192e/r92e_reg.h
Normal file
47
sys/dev/rtwn/rtl8192e/r92e_reg.h
Normal file
@ -0,0 +1,47 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef R92E_REG_H
|
||||
#define R92E_REG_H
|
||||
|
||||
#include <dev/rtwn/rtl8188e/r88e_reg.h>
|
||||
#include <dev/rtwn/rtl8812a/r12a_reg.h>
|
||||
|
||||
/*
|
||||
* MAC registers.
|
||||
*/
|
||||
/* System Configuration. */
|
||||
#define R92E_LDOV12_CTRL 0x014
|
||||
#define R92E_AFE_XTAL_CTRL 0x02c
|
||||
#define R92E_APE_PLL_CTRL_EXT 0x078
|
||||
|
||||
/* Bits for R92E_AFE_XTAL_CTRL. */
|
||||
#define R92E_AFE_XTAL_CTRL_ADDR_M 0x00fff000
|
||||
#define R92E_AFE_XTAL_CTRL_ADDR_S 12
|
||||
|
||||
#endif /* R92E_REG_H */
|
88
sys/dev/rtwn/rtl8192e/r92e_rf.c
Normal file
88
sys/dev/rtwn/rtl8192e/r92e_rf.c
Normal file
@ -0,0 +1,88 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_reg.h>
|
||||
|
||||
uint32_t
|
||||
r92e_rf_read(struct rtwn_softc *sc, int chain, uint8_t addr)
|
||||
{
|
||||
uint32_t val;
|
||||
|
||||
val = rtwn_bb_read(sc, R92C_HSSI_PARAM2(chain));
|
||||
rtwn_bb_write(sc, R92C_HSSI_PARAM2(chain),
|
||||
RW(val, R92C_HSSI_PARAM2_READ_ADDR, addr) &
|
||||
~R92C_HSSI_PARAM2_READ_EDGE);
|
||||
|
||||
rtwn_bb_setbits(sc, R92C_HSSI_PARAM2(0), R92C_HSSI_PARAM2_READ_EDGE, 0);
|
||||
rtwn_bb_setbits(sc, R92C_HSSI_PARAM2(0), 0, R92C_HSSI_PARAM2_READ_EDGE);
|
||||
rtwn_delay(sc, 20);
|
||||
|
||||
if (rtwn_bb_read(sc, R92C_HSSI_PARAM1(chain)) & R92C_HSSI_PARAM1_PI)
|
||||
val = rtwn_bb_read(sc, R92C_HSPI_READBACK(chain));
|
||||
else
|
||||
val = rtwn_bb_read(sc, R92C_LSSI_READBACK(chain));
|
||||
return (MS(val, R92C_LSSI_READBACK_DATA));
|
||||
}
|
||||
|
||||
void
|
||||
r92e_rf_write(struct rtwn_softc *sc, int chain, uint8_t addr, uint32_t val)
|
||||
{
|
||||
|
||||
rtwn_bb_setbits(sc, 0x818, 0x20000, 0);
|
||||
rtwn_bb_write(sc, R92C_LSSI_PARAM(chain),
|
||||
SM(R88E_LSSI_PARAM_ADDR, addr) | SM(R92C_LSSI_PARAM_DATA, val));
|
||||
rtwn_bb_setbits(sc, 0x818, 0, 0x20000);
|
||||
}
|
144
sys/dev/rtwn/rtl8192e/r92e_rom.c
Normal file
144
sys/dev/rtwn/rtl8192e/r92e_rom.c
Normal file
@ -0,0 +1,144 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwn_debug.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_var.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_rom_image.h>
|
||||
|
||||
void
|
||||
r92e_parse_rom(struct rtwn_softc *sc, uint8_t *buf)
|
||||
{
|
||||
struct r92e_softc *rs = sc->sc_priv;
|
||||
struct r92e_rom *rom = (struct r92e_rom *)buf;
|
||||
uint8_t pwr_diff;
|
||||
int i, j, k;
|
||||
|
||||
sc->thermal_meter = rom->thermal_meter;
|
||||
rs->crystalcap = RTWN_GET_ROM_VAR(rom->crystalcap,
|
||||
R92E_ROM_CRYSTALCAP_DEF);
|
||||
|
||||
for (i = 0; i < sc->ntxchains; i++) {
|
||||
struct r92e_tx_pwr_2g *pwr_2g = &rom->tx_pwr[i].pwr_2g;
|
||||
struct r92e_tx_pwr_diff_2g *pwr_diff_2g =
|
||||
&rom->tx_pwr[i].pwr_diff_2g;
|
||||
|
||||
for (j = 0; j < R92E_GROUP_2G - 1; j++) {
|
||||
rs->cck_tx_pwr[i][j] =
|
||||
RTWN_GET_ROM_VAR(pwr_2g->cck[j],
|
||||
R92E_DEF_TX_PWR_2G);
|
||||
rs->ht40_tx_pwr_2g[i][j] =
|
||||
RTWN_GET_ROM_VAR(pwr_2g->ht40[j],
|
||||
R92E_DEF_TX_PWR_2G);
|
||||
}
|
||||
rs->cck_tx_pwr[i][j] = RTWN_GET_ROM_VAR(pwr_2g->cck[j],
|
||||
R92E_DEF_TX_PWR_2G);
|
||||
|
||||
rs->cck_tx_pwr_diff_2g[i][0] = 0;
|
||||
rs->ofdm_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8(
|
||||
MS(pwr_diff_2g->ht20_ofdm, LOW_PART));
|
||||
rs->bw20_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8(
|
||||
MS(pwr_diff_2g->ht20_ofdm, HIGH_PART));
|
||||
rs->bw40_tx_pwr_diff_2g[i][0] = 0;
|
||||
pwr_diff = RTWN_GET_ROM_VAR(pwr_diff_2g->ht20_ofdm,
|
||||
R92E_DEF_TX_PWR_HT20_DIFF);
|
||||
if (pwr_diff != R92E_DEF_TX_PWR_HT20_DIFF) {
|
||||
rs->ofdm_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8(
|
||||
MS(pwr_diff_2g->ht20_ofdm, LOW_PART));
|
||||
rs->bw20_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8(
|
||||
MS(pwr_diff_2g->ht20_ofdm, HIGH_PART));
|
||||
} else {
|
||||
rs->ofdm_tx_pwr_diff_2g[i][0] =
|
||||
rs->bw20_tx_pwr_diff_2g[i][0] = pwr_diff;
|
||||
}
|
||||
|
||||
for (j = 1, k = 0; k < nitems(pwr_diff_2g->diff123); j++, k++) {
|
||||
pwr_diff = RTWN_GET_ROM_VAR(
|
||||
pwr_diff_2g->diff123[k].ofdm_cck,
|
||||
R92E_DEF_TX_PWR_DIFF);
|
||||
if (pwr_diff != R92E_DEF_TX_PWR_DIFF) {
|
||||
rs->cck_tx_pwr_diff_2g[i][j] = RTWN_SIGN4TO8(
|
||||
MS(pwr_diff_2g->diff123[k].ofdm_cck,
|
||||
LOW_PART));
|
||||
rs->ofdm_tx_pwr_diff_2g[i][j] = RTWN_SIGN4TO8(
|
||||
MS(pwr_diff_2g->diff123[k].ofdm_cck,
|
||||
HIGH_PART));
|
||||
} else {
|
||||
rs->cck_tx_pwr_diff_2g[i][j] =
|
||||
rs->ofdm_tx_pwr_diff_2g[i][j] = pwr_diff;
|
||||
}
|
||||
pwr_diff = RTWN_GET_ROM_VAR(
|
||||
pwr_diff_2g->diff123[k].ht40_ht20,
|
||||
R92E_DEF_TX_PWR_DIFF);
|
||||
if (pwr_diff != R92E_DEF_TX_PWR_DIFF) {
|
||||
rs->bw20_tx_pwr_diff_2g[i][j] = RTWN_SIGN4TO8(
|
||||
MS(pwr_diff_2g->diff123[k].ht40_ht20,
|
||||
LOW_PART));
|
||||
rs->bw40_tx_pwr_diff_2g[i][j] = RTWN_SIGN4TO8(
|
||||
MS(pwr_diff_2g->diff123[k].ht40_ht20,
|
||||
HIGH_PART));
|
||||
} else {
|
||||
rs->bw20_tx_pwr_diff_2g[i][j] =
|
||||
rs->bw40_tx_pwr_diff_2g[i][j] = pwr_diff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rs->regulatory = MS(rom->rf_board_opt, R92C_ROM_RF1_REGULATORY);
|
||||
|
||||
/* Read MAC address. */
|
||||
IEEE80211_ADDR_COPY(sc->sc_ic.ic_macaddr, rom->macaddr);
|
||||
}
|
42
sys/dev/rtwn/rtl8192e/r92e_rom_defs.h
Normal file
42
sys/dev/rtwn/rtl8192e/r92e_rom_defs.h
Normal file
@ -0,0 +1,42 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef R92E_ROM_DEFS_H
|
||||
#define R92E_ROM_DEFS_H
|
||||
|
||||
#include <dev/rtwn/rtl8192c/r92c_rom_defs.h>
|
||||
|
||||
#define R92E_GROUP_2G 6
|
||||
|
||||
#define R92E_MAX_TX_COUNT 4
|
||||
#define R92E_MAX_RF_PATH 4
|
||||
|
||||
#define R92E_EFUSE_MAX_LEN 512
|
||||
#define R92E_EFUSE_MAP_LEN 512
|
||||
|
||||
#endif /* R92E_ROM_DEFS_H */
|
87
sys/dev/rtwn/rtl8192e/r92e_rom_image.h
Normal file
87
sys/dev/rtwn/rtl8192e/r92e_rom_image.h
Normal file
@ -0,0 +1,87 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef R92E_ROM_IMAGE_H
|
||||
#define R92E_ROM_IMAGE_H
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e_rom_defs.h>
|
||||
|
||||
#define R92E_DEF_TX_PWR_2G 0x2d
|
||||
#define R92E_DEF_TX_PWR_HT20_DIFF 0x02
|
||||
#define R92E_DEF_TX_PWR_DIFF 0xfe
|
||||
|
||||
struct r92e_tx_pwr_2g {
|
||||
uint8_t cck[R92E_GROUP_2G];
|
||||
uint8_t ht40[R92E_GROUP_2G - 1];
|
||||
} __packed;
|
||||
|
||||
struct r92e_tx_pwr_diff_2g {
|
||||
uint8_t ht20_ofdm;
|
||||
struct {
|
||||
uint8_t ht40_ht20;
|
||||
uint8_t ofdm_cck;
|
||||
} __packed diff123[R92E_MAX_TX_COUNT - 1];
|
||||
} __packed;
|
||||
|
||||
struct r92e_tx_pwr {
|
||||
struct r92e_tx_pwr_2g pwr_2g;
|
||||
struct r92e_tx_pwr_diff_2g pwr_diff_2g;
|
||||
uint8_t reserved[24];
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* RTL8192EU ROM image.
|
||||
*/
|
||||
struct r92e_rom {
|
||||
uint8_t reserved1[16];
|
||||
struct r92e_tx_pwr tx_pwr[R92E_MAX_RF_PATH];
|
||||
uint8_t channel_plan;
|
||||
uint8_t crystalcap;
|
||||
#define R92E_ROM_CRYSTALCAP_DEF 0x20
|
||||
|
||||
uint8_t thermal_meter;
|
||||
uint8_t iqk_lck;
|
||||
uint8_t pa_type;
|
||||
uint8_t lna_type_2g;
|
||||
uint8_t reserved2;
|
||||
uint8_t lna_type_5g;
|
||||
uint8_t reserved3;
|
||||
uint8_t rf_board_opt;
|
||||
uint8_t rf_feature_opt;
|
||||
uint8_t rf_bt_opt;
|
||||
uint8_t version;
|
||||
uint8_t customer_id;
|
||||
uint8_t tx_bbswing_2g;
|
||||
uint8_t tx_bbswing_5g;
|
||||
uint8_t tx_pwr_calib_rate;
|
||||
uint8_t rf_ant_opt;
|
||||
uint8_t rfe_option;
|
||||
uint8_t reserved4[5];
|
||||
uint16_t vid;
|
||||
uint16_t pid;
|
||||
uint8_t reserved5[3];
|
||||
uint8_t macaddr[IEEE80211_ADDR_LEN];
|
||||
uint8_t reserved6[2];
|
||||
uint8_t string[7]; /* "Realtek" */
|
||||
uint8_t reserved7[282];
|
||||
} __packed;
|
||||
|
||||
_Static_assert(sizeof(struct r92e_rom) == R92E_EFUSE_MAP_LEN,
|
||||
"R92E_EFUSE_MAP_LEN must be equal to sizeof(struct r92e_rom)!");
|
||||
|
||||
#endif /* R92E_ROM_IMAGE_H */
|
97
sys/dev/rtwn/rtl8192e/r92e_rx.c
Normal file
97
sys/dev/rtwn/rtl8192e/r92e_rx.c
Normal file
@ -0,0 +1,97 @@
|
||||
/*-
|
||||
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
|
||||
* Copyright (c) 2014, 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* Copyright (c) 2015-2016 Andriy Voskoboinyk <avos@FreeBSD.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
#include <net80211/ieee80211_ratectl.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwn_debug.h>
|
||||
#include <dev/rtwn/if_rtwn_ridx.h>
|
||||
|
||||
#include <dev/rtwn/rtl8188e/r88e.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192c/r92c_rx_desc.h>
|
||||
#include <dev/rtwn/rtl8812a/r12a_fw_cmd.h>
|
||||
|
||||
#ifndef RTWN_WITHOUT_UCODE
|
||||
void
|
||||
r92e_handle_c2h_report(struct rtwn_softc *sc, uint8_t *buf, int len)
|
||||
{
|
||||
|
||||
/* Skip Rx descriptor. */
|
||||
buf += sizeof(struct r92c_rx_stat);
|
||||
len -= sizeof(struct r92c_rx_stat);
|
||||
|
||||
if (len < 2) {
|
||||
device_printf(sc->sc_dev, "C2H report too short (len %d)\n",
|
||||
len);
|
||||
return;
|
||||
}
|
||||
len -= 2;
|
||||
|
||||
switch (buf[0]) { /* command id */
|
||||
case R12A_C2H_TX_REPORT:
|
||||
/* NOTREACHED */
|
||||
KASSERT(0, ("use handle_tx_report() instead of %s\n",
|
||||
__func__));
|
||||
break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
void
|
||||
r92e_handle_c2h_report(struct rtwn_softc *sc, uint8_t *buf, int len)
|
||||
{
|
||||
|
||||
/* Should not happen. */
|
||||
device_printf(sc->sc_dev, "%s: called\n", __func__);
|
||||
}
|
||||
#endif
|
||||
|
||||
int8_t
|
||||
r92e_get_rssi_cck(struct rtwn_softc *sc, void *physt)
|
||||
{
|
||||
|
||||
return (10 + r88e_get_rssi_cck(sc, physt));
|
||||
}
|
54
sys/dev/rtwn/rtl8192e/r92e_var.h
Normal file
54
sys/dev/rtwn/rtl8192e/r92e_var.h
Normal file
@ -0,0 +1,54 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef R92E_VAR_H
|
||||
#define R92E_VAR_H
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e_rom_defs.h>
|
||||
|
||||
struct r92e_softc {
|
||||
uint8_t chip;
|
||||
uint8_t rs_flags;
|
||||
|
||||
uint8_t regulatory;
|
||||
uint8_t crystalcap;
|
||||
|
||||
int8_t cck_tx_pwr[R92E_MAX_RF_PATH][R92E_GROUP_2G];
|
||||
int8_t ht40_tx_pwr_2g[R92E_MAX_RF_PATH][R92E_GROUP_2G];
|
||||
|
||||
int8_t cck_tx_pwr_diff_2g[R92E_MAX_RF_PATH][R92E_MAX_TX_COUNT];
|
||||
int8_t ofdm_tx_pwr_diff_2g[R92E_MAX_RF_PATH][R92E_MAX_TX_COUNT];
|
||||
int8_t bw20_tx_pwr_diff_2g[R92E_MAX_RF_PATH][R92E_MAX_TX_COUNT];
|
||||
int8_t bw40_tx_pwr_diff_2g[R92E_MAX_RF_PATH][R92E_MAX_TX_COUNT];
|
||||
|
||||
int ac_usb_dma_size;
|
||||
int ac_usb_dma_time;
|
||||
uint32_t rf_chnlbw[R92E_MAX_RF_PATH];
|
||||
};
|
||||
|
||||
#endif /* R92E_VAR_H */
|
43
sys/dev/rtwn/rtl8192e/usb/r92eu.h
Normal file
43
sys/dev/rtwn/rtl8192e/usb/r92eu.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
|
||||
#ifndef RTL8192EU_H
|
||||
#define RTL8192EU_H
|
||||
|
||||
#include <dev/rtwn/rtl8812a/r12a.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e.h>
|
||||
|
||||
/*
|
||||
* Function declarations.
|
||||
*/
|
||||
/* r92eu_init.c */
|
||||
void r92eu_init_rx_agg(struct rtwn_softc *);
|
||||
void r92eu_post_init(struct rtwn_softc *);
|
||||
|
||||
#endif /* RTL8192EU_H */
|
202
sys/dev/rtwn/rtl8192e/usb/r92eu_attach.c
Normal file
202
sys/dev/rtwn/rtl8192e/usb/r92eu_attach.c
Normal file
@ -0,0 +1,202 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/usb/usb.h>
|
||||
#include <dev/usb/usbdi.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwn_nop.h>
|
||||
|
||||
#include <dev/rtwn/usb/rtwn_usb_var.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192c/usb/r92cu.h>
|
||||
|
||||
#include <dev/rtwn/rtl8188e/r88e.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e_priv.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_reg.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_var.h>
|
||||
#include <dev/rtwn/rtl8192e/usb/r92eu.h>
|
||||
|
||||
#include <dev/rtwn/rtl8812a/usb/r12au.h>
|
||||
#include <dev/rtwn/rtl8812a/usb/r12au_tx_desc.h>
|
||||
#include <dev/rtwn/rtl8821a/usb/r21au.h>
|
||||
|
||||
#include <dev/rtwn/rtl8821a/r21a_reg.h>
|
||||
|
||||
void r92eu_attach(struct rtwn_usb_softc *);
|
||||
|
||||
static void
|
||||
r92eu_attach_private(struct rtwn_softc *sc)
|
||||
{
|
||||
struct r92e_softc *rs;
|
||||
|
||||
rs = malloc(sizeof(struct r92e_softc), M_RTWN_PRIV, M_WAITOK | M_ZERO);
|
||||
|
||||
rs->ac_usb_dma_size = 0x06;
|
||||
rs->ac_usb_dma_time = 0x20;
|
||||
|
||||
sc->sc_priv = rs;
|
||||
}
|
||||
|
||||
void
|
||||
r92e_detach_private(struct rtwn_softc *sc)
|
||||
{
|
||||
struct r92e_softc *rs = sc->sc_priv;
|
||||
|
||||
free(rs, M_RTWN_PRIV);
|
||||
}
|
||||
|
||||
static void
|
||||
r92eu_adj_devcaps(struct rtwn_softc *sc)
|
||||
{
|
||||
/* XXX TODO? */
|
||||
}
|
||||
|
||||
void
|
||||
r92eu_attach(struct rtwn_usb_softc *uc)
|
||||
{
|
||||
struct rtwn_softc *sc = &uc->uc_sc;
|
||||
|
||||
/* USB part. */
|
||||
uc->uc_align_rx = r12au_align_rx;
|
||||
uc->tx_agg_desc_num = 3;
|
||||
|
||||
/* Common part. */
|
||||
sc->sc_flags = RTWN_FLAG_EXT_HDR;
|
||||
|
||||
sc->sc_set_chan = r92e_set_chan;
|
||||
sc->sc_fill_tx_desc = r12a_fill_tx_desc;
|
||||
sc->sc_fill_tx_desc_raw = r12a_fill_tx_desc_raw;
|
||||
sc->sc_fill_tx_desc_null = r12a_fill_tx_desc_null;
|
||||
sc->sc_dump_tx_desc = r12au_dump_tx_desc;
|
||||
sc->sc_tx_radiotap_flags = r12a_tx_radiotap_flags;
|
||||
sc->sc_rx_radiotap_flags = r12a_rx_radiotap_flags;
|
||||
sc->sc_get_rx_stats = r12a_get_rx_stats;
|
||||
sc->sc_get_rssi_cck = r92e_get_rssi_cck;
|
||||
sc->sc_get_rssi_ofdm = r88e_get_rssi_ofdm;
|
||||
sc->sc_classify_intr = r12au_classify_intr;
|
||||
sc->sc_handle_tx_report = r12a_ratectl_tx_complete;
|
||||
sc->sc_handle_c2h_report = r92e_handle_c2h_report;
|
||||
sc->sc_check_frame = rtwn_nop_int_softc_mbuf;
|
||||
sc->sc_rf_read = r92e_rf_read;
|
||||
sc->sc_rf_write = r92e_rf_write;
|
||||
sc->sc_check_condition = r92c_check_condition;
|
||||
sc->sc_efuse_postread = rtwn_nop_softc;
|
||||
sc->sc_parse_rom = r92e_parse_rom;
|
||||
sc->sc_set_led = r92e_set_led;
|
||||
sc->sc_power_on = r92e_power_on;
|
||||
sc->sc_power_off = r92e_power_off;
|
||||
#ifndef RTWN_WITHOUT_UCODE
|
||||
sc->sc_fw_reset = r92e_fw_reset;
|
||||
sc->sc_fw_download_enable = r12a_fw_download_enable;
|
||||
#endif
|
||||
sc->sc_llt_init = r92e_llt_init;
|
||||
sc->sc_set_page_size = rtwn_nop_int_softc;
|
||||
sc->sc_lc_calib = r92c_lc_calib;
|
||||
sc->sc_iq_calib = r88e_iq_calib; /* XXX TODO */
|
||||
sc->sc_read_chipid_vendor = rtwn_nop_softc_uint32;
|
||||
sc->sc_adj_devcaps = r92eu_adj_devcaps;
|
||||
sc->sc_vap_preattach = rtwn_nop_softc_vap;
|
||||
sc->sc_postattach = rtwn_nop_softc;
|
||||
sc->sc_detach_private = r92e_detach_private;
|
||||
sc->sc_set_media_status = r92e_set_media_status;
|
||||
#ifndef RTWN_WITHOUT_UCODE
|
||||
sc->sc_set_rsvd_page = r88e_set_rsvd_page;
|
||||
sc->sc_set_pwrmode = r92e_set_pwrmode;
|
||||
sc->sc_set_rssi = rtwn_nop_softc; /* XXX TODO? */
|
||||
#endif
|
||||
sc->sc_beacon_init = r12a_beacon_init;
|
||||
sc->sc_beacon_enable = r92c_beacon_enable;
|
||||
sc->sc_beacon_set_rate = rtwn_nop_void_int;
|
||||
sc->sc_beacon_select = r21a_beacon_select;
|
||||
sc->sc_temp_measure = r88e_temp_measure;
|
||||
sc->sc_temp_read = r88e_temp_read;
|
||||
sc->sc_init_tx_agg = r21au_init_tx_agg;
|
||||
sc->sc_init_rx_agg = r92eu_init_rx_agg;
|
||||
sc->sc_init_ampdu = rtwn_nop_softc;
|
||||
sc->sc_init_intr = r12a_init_intr;
|
||||
sc->sc_init_edca = r92c_init_edca;
|
||||
sc->sc_init_bb = r92e_init_bb;
|
||||
sc->sc_init_rf = r92e_init_rf;
|
||||
sc->sc_init_antsel = rtwn_nop_softc;
|
||||
sc->sc_post_init = r92eu_post_init;
|
||||
sc->sc_init_bcnq1_boundary = rtwn_nop_int_softc;
|
||||
|
||||
sc->mac_prog = &rtl8192eu_mac[0];
|
||||
sc->mac_size = nitems(rtl8192eu_mac);
|
||||
sc->bb_prog = &rtl8192eu_bb[0];
|
||||
sc->bb_size = nitems(rtl8192eu_bb);
|
||||
sc->agc_prog = &rtl8192eu_agc[0];
|
||||
sc->agc_size = nitems(rtl8192eu_agc);
|
||||
sc->rf_prog = &rtl8192eu_rf[0];
|
||||
|
||||
sc->name = "RTL8192EU";
|
||||
sc->fwname = "rtwn-rtl8192eufw";
|
||||
sc->fwsig = 0x92e;
|
||||
|
||||
sc->page_count = R92E_TX_PAGE_COUNT;
|
||||
sc->pktbuf_count = 0; /* Unused */
|
||||
sc->ackto = 0x40;
|
||||
sc->npubqpages = R92E_PUBQ_NPAGES;
|
||||
sc->page_size = R92E_TX_PAGE_SIZE;
|
||||
sc->txdesc_len = sizeof(struct r12au_tx_desc);
|
||||
sc->efuse_maxlen = R92E_EFUSE_MAX_LEN;
|
||||
sc->efuse_maplen = R92E_EFUSE_MAP_LEN;
|
||||
sc->rx_dma_size = R92E_RX_DMA_BUFFER_SIZE;
|
||||
|
||||
sc->macid_limit = R12A_MACID_MAX + 1;
|
||||
sc->cam_entry_limit = R12A_CAM_ENTRY_COUNT;
|
||||
sc->fwsize_limit = R92E_MAX_FW_SIZE;
|
||||
sc->temp_delta = R88E_CALIB_THRESHOLD;
|
||||
|
||||
sc->bcn_status_reg[0] = R92C_TDECTRL;
|
||||
sc->bcn_status_reg[1] = R21A_DWBCN1_CTRL;
|
||||
sc->rcr = 0;
|
||||
|
||||
sc->ntxchains = 2;
|
||||
sc->nrxchains = 2;
|
||||
|
||||
r92eu_attach_private(sc);
|
||||
}
|
96
sys/dev/rtwn/rtl8192e/usb/r92eu_init.c
Normal file
96
sys/dev/rtwn/rtl8192e/usb/r92eu_init.c
Normal file
@ -0,0 +1,96 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/taskqueue.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/endian.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_media.h>
|
||||
|
||||
#include <net80211/ieee80211_var.h>
|
||||
#include <net80211/ieee80211_radiotap.h>
|
||||
|
||||
#include <dev/rtwn/if_rtwnreg.h>
|
||||
#include <dev/rtwn/if_rtwnvar.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/r92e_var.h>
|
||||
|
||||
#include <dev/rtwn/rtl8192e/usb/r92eu.h>
|
||||
#include <dev/rtwn/rtl8192e/usb/r92eu_reg.h>
|
||||
|
||||
void
|
||||
r92eu_init_rx_agg(struct rtwn_softc *sc)
|
||||
{
|
||||
struct r92e_softc *rs = sc->sc_priv;
|
||||
|
||||
/* Rx aggregation (USB). */
|
||||
rtwn_setbits_1(sc, R12A_RXDMA_PRO, 0x20, 0x1e);
|
||||
rtwn_write_4(sc, R92C_RXDMA_AGG_PG_TH,
|
||||
rs->ac_usb_dma_size | (rs->ac_usb_dma_time << 8));
|
||||
rtwn_setbits_1(sc, R92C_TRXDMA_CTRL, 0,
|
||||
R92C_TRXDMA_CTRL_RXDMA_AGG_EN);
|
||||
}
|
||||
|
||||
void
|
||||
r92eu_post_init(struct rtwn_softc *sc)
|
||||
{
|
||||
|
||||
/* Setup RTS BW (equal to data BW). */
|
||||
rtwn_setbits_1(sc, R92C_QUEUE_CTRL, 0x08, 0);
|
||||
|
||||
/* Reset USB mode switch setting. */
|
||||
rtwn_write_1(sc, R92C_ACLK_MON, 0);
|
||||
|
||||
rtwn_write_1(sc, R92C_USB_HRPWM, 0);
|
||||
|
||||
#ifndef RTWN_WITHOUT_UCODE
|
||||
if (sc->sc_flags & RTWN_FW_LOADED) {
|
||||
if (sc->sc_ratectl_sysctl == RTWN_RATECTL_FW) {
|
||||
/* TODO: implement */
|
||||
sc->sc_ratectl = RTWN_RATECTL_NET80211;
|
||||
} else
|
||||
sc->sc_ratectl = sc->sc_ratectl_sysctl;
|
||||
} else
|
||||
#endif
|
||||
sc->sc_ratectl = RTWN_RATECTL_NONE;
|
||||
}
|
36
sys/dev/rtwn/rtl8192e/usb/r92eu_reg.h
Normal file
36
sys/dev/rtwn/rtl8192e/usb/r92eu_reg.h
Normal file
@ -0,0 +1,36 @@
|
||||
/*-
|
||||
* Copyright (c) 2017 Kevin Lo <kevlo@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef R92EU_REG_H
|
||||
#define R92EU_REG_H
|
||||
|
||||
#include <dev/rtwn/rtl8188e/usb/r88eu_reg.h>
|
||||
#include <dev/rtwn/rtl8192e/r92e_reg.h>
|
||||
#include <dev/rtwn/rtl8812a/r12a_reg.h>
|
||||
|
||||
#endif /* R92EU_REG_H */
|
@ -77,6 +77,8 @@ r12a_beacon_init(struct rtwn_softc *sc, void *buf, int id)
|
||||
txd->txdw3 = htole32(R12A_TXDW3_DRVRATE);
|
||||
txd->txdw3 |= htole32(SM(R12A_TXDW3_SEQ_SEL, id));
|
||||
|
||||
txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, RTWN_RIDX_CCK1));
|
||||
|
||||
txd->txdw6 = htole32(SM(R21A_TXDW6_MBSSID, id));
|
||||
}
|
||||
|
||||
|
@ -68,14 +68,14 @@ void
|
||||
r12a_fw_reset(struct rtwn_softc *sc, int reason)
|
||||
{
|
||||
/* Reset MCU IO wrapper. */
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL, 0x02, 0);
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL, R92C_RSV_CTRL_WLOCK_00, 0);
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0x08, 0);
|
||||
|
||||
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
|
||||
R92C_SYS_FUNC_EN_CPUEN, 0, 1);
|
||||
|
||||
/* Enable MCU IO wrapper. */
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL, 0x02, 0);
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL, R92C_RSV_CTRL_WLOCK_00, 0);
|
||||
rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0, 0x08);
|
||||
|
||||
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
|
||||
|
@ -215,6 +215,7 @@ r12au_attach(struct rtwn_usb_softc *uc)
|
||||
sc->sc_fw_reset = r12a_fw_reset;
|
||||
sc->sc_fw_download_enable = r12a_fw_download_enable;
|
||||
#endif
|
||||
sc->sc_llt_init = r92c_llt_init;
|
||||
sc->sc_set_page_size = r12a_set_page_size;
|
||||
sc->sc_lc_calib = r12a_lc_calib;
|
||||
sc->sc_iq_calib = r12a_iq_calib;
|
||||
|
@ -174,7 +174,7 @@ r21a_power_on(struct rtwn_softc *sc)
|
||||
R92C_CR_CALTMR_EN));
|
||||
|
||||
if (rtwn_read_4(sc, R92C_SYS_CFG) & R92C_SYS_CFG_TRP_BT_EN)
|
||||
RTWN_CHK(rtwn_setbits_1(sc, 0x07C, 0, 0x40));
|
||||
RTWN_CHK(rtwn_setbits_1(sc, R92C_LDO_SWR_CTRL, 0, 0x40));
|
||||
|
||||
return (0);
|
||||
#undef RTWN_CHK
|
||||
|
@ -201,6 +201,7 @@ r21au_attach(struct rtwn_usb_softc *uc)
|
||||
sc->sc_fw_reset = r21a_fw_reset;
|
||||
sc->sc_fw_download_enable = r12a_fw_download_enable;
|
||||
#endif
|
||||
sc->sc_llt_init = r92c_llt_init;
|
||||
sc->sc_set_page_size = rtwn_nop_int_softc;
|
||||
sc->sc_lc_calib = rtwn_nop_softc; /* XXX not used */
|
||||
sc->sc_iq_calib = r12a_iq_calib;
|
||||
|
@ -21,12 +21,14 @@
|
||||
*/
|
||||
|
||||
void r92cu_attach(struct rtwn_usb_softc *);
|
||||
void r92eu_attach(struct rtwn_usb_softc *);
|
||||
void r88eu_attach(struct rtwn_usb_softc *);
|
||||
void r12au_attach(struct rtwn_usb_softc *);
|
||||
void r21au_attach(struct rtwn_usb_softc *);
|
||||
|
||||
enum {
|
||||
RTWN_CHIP_RTL8192CU,
|
||||
RTWN_CHIP_RTL8192EU,
|
||||
RTWN_CHIP_RTL8188EU,
|
||||
RTWN_CHIP_RTL8812AU,
|
||||
RTWN_CHIP_RTL8821AU,
|
||||
@ -101,6 +103,15 @@ static const STRUCT_USB_HOST_ID rtwn_devs[] = {
|
||||
RTWN_RTL8192CU_DEV(ZYXEL, RTL8192CU),
|
||||
#undef RTWN_RTL8192CU_DEV
|
||||
|
||||
/* RTL8192EU */
|
||||
#define RTWN_RTL8192EU_DEV(v,p) \
|
||||
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8192EU) }
|
||||
RTWN_RTL8192EU_DEV(DLINK, DWA131E1),
|
||||
RTWN_RTL8192EU_DEV(REALTEK, RTL8192EU),
|
||||
RTWN_RTL8192EU_DEV(TPLINK, WN822NV4),
|
||||
RTWN_RTL8192EU_DEV(TPLINK, WN823NV2),
|
||||
#undef RTWN_RTL8192EU_DEV
|
||||
|
||||
/* RTL8188EU */
|
||||
#define RTWN_RTL8188EU_DEV(v,p) \
|
||||
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8188EU) }
|
||||
@ -148,6 +159,7 @@ typedef void (*chip_usb_attach)(struct rtwn_usb_softc *);
|
||||
|
||||
static const chip_usb_attach rtwn_chip_usb_attach[RTWN_CHIP_MAX_USB] = {
|
||||
[RTWN_CHIP_RTL8192CU] = r92cu_attach,
|
||||
[RTWN_CHIP_RTL8192EU] = r92eu_attach,
|
||||
[RTWN_CHIP_RTL8188EU] = r88eu_attach,
|
||||
[RTWN_CHIP_RTL8812AU] = r12au_attach,
|
||||
[RTWN_CHIP_RTL8821AU] = r21au_attach
|
||||
|
@ -3815,6 +3815,7 @@ product REALTEK DUMMY 0x0000 Dummy product
|
||||
product REALTEK USB20CRW 0x0158 USB20CRW Card Reader
|
||||
product REALTEK RTL8188ETV 0x0179 RTL8188ETV
|
||||
product REALTEK RTL8188CTV 0x018a RTL8188CTV
|
||||
product REALTEK RTL8188RU_2 0x317f RTL8188RU
|
||||
product REALTEK USBKR100 0x8150 USBKR100 USB Ethernet
|
||||
product REALTEK RTL8152 0x8152 RTL8152 USB Ethernet
|
||||
product REALTEK RTL8153 0x8153 RTL8153 USB Ethernet
|
||||
@ -3831,6 +3832,7 @@ product REALTEK RTL8188CU_1 0x817a RTL8188CU
|
||||
product REALTEK RTL8188CU_2 0x817b RTL8188CU
|
||||
product REALTEK RTL8187 0x8187 RTL8187 Wireless Adapter
|
||||
product REALTEK RTL8187B_0 0x8189 RTL8187B Wireless Adapter
|
||||
product REALTEK RTL8192EU 0x818b RTL8192EU
|
||||
product REALTEK RTL8188CU_3 0x8191 RTL8188CU
|
||||
product REALTEK RTL8196EU 0x8196 RTL8196EU
|
||||
product REALTEK RTL8187B_1 0x8197 RTL8187B Wireless Adapter
|
||||
@ -3844,7 +3846,7 @@ product REALTEK RTL8188RU_1 0x817d RTL8188RU
|
||||
product REALTEK RTL8188RU_3 0x817f RTL8188RU
|
||||
product REALTEK RTL8712 0x8712 RTL8712
|
||||
product REALTEK RTL8713 0x8712 RTL8713
|
||||
product REALTEK RTL8188RU_2 0x317f RTL8188RU
|
||||
product REALTEK RTL8723BU 0xb720 RTL8723BU
|
||||
product REALTEK RTL8192SU 0xc512 RTL8192SU
|
||||
|
||||
/* RedOctane products */
|
||||
@ -4484,6 +4486,7 @@ product TOSHIBA TRANSMEMORY 0x6545 USB ThumbDrive
|
||||
|
||||
/* TP-Link products */
|
||||
product TPLINK T4U 0x0101 Archer T4U
|
||||
product TPLINK WN822NV4 0x0108 TL-WN822N v4
|
||||
product TPLINK WN823NV2 0x0109 TL-WN823N v2
|
||||
|
||||
/* Trek Technology products */
|
||||
|
@ -16,7 +16,7 @@ SRCS = if_rtwn.c if_rtwn_tx.c if_rtwn_rx.c if_rtwn_beacon.c \
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/rtwn/rtl8192c
|
||||
SRCS += r92c_attach.c r92c_beacon.c r92c_calib.c r92c_chan.c r92c_fw.c \
|
||||
r92c_init.c r92c_rf.c r92c_rom.c r92c_rx.c r92c_tx.c \
|
||||
r92c_init.c r92c_llt.c r92c_rf.c r92c_rom.c r92c_rx.c r92c_tx.c \
|
||||
r92c.h r92c_priv.h r92c_reg.h r92c_var.h r92c_rom_defs.h \
|
||||
r92c_rom_image.h r92c_fw_cmd.h r92c_rx_desc.h r92c_tx_desc.h
|
||||
|
||||
@ -26,6 +26,11 @@ SRCS += r88e_beacon.c r88e_calib.c r88e_chan.c r88e_fw.c r88e_init.c \
|
||||
r88e_priv.h r88e_reg.h r88e_rom_defs.h r88e_rom_image.h \
|
||||
r88e_fw_cmd.h r88e_rx_desc.h r88e_tx_desc.h
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/rtwn/rtl8192e
|
||||
SRCS += r92e_chan.c r92e_fw.c r92e_init.c r92e_led.c r92e_rf.c \
|
||||
r92e_rom.c r92e_rx.c r92e.h r92e_priv.h r92e_reg.h \
|
||||
r92e_rom_image.h r92e_rom_defs.h
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/rtwn/rtl8812a
|
||||
SRCS += r12a_beacon.c r12a_calib.c r12a_caps.c r12a_chan.c r12a_fw.c \
|
||||
r12a_init.c r12a_led.c r12a_rf.c r12a_rom.c r12a_rx.c r12a_tx.c \
|
||||
|
@ -20,6 +20,9 @@ SRCS += r88eu_attach.c r88eu_init.c r88eu_rx.c \
|
||||
SRCS += r92cu_attach.c r92cu_init.c r92cu_led.c r92cu_rx.c r92cu_tx.c \
|
||||
r92cu.h r92cu_priv.h r92cu_reg.h r92cu_tx_desc.h
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/rtwn/rtl8192e/usb
|
||||
SRCS += r92eu_attach.c r92eu_init.c r92eu.h r92eu_reg.h
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/rtwn/rtl8812a/usb
|
||||
SRCS += r12au_attach.c r12au_init.c r12au_rx.c r12au_tx.c \
|
||||
r12au.h r12au_reg.h r12au_tx_desc.h
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR= rtwnrtl8188eu rtwnrtl8192cT rtwnrtl8192cU rtwnrtl8812au rtwnrtl8821au \
|
||||
rtwnrtl8192cE rtwnrtl8192cEB
|
||||
SUBDIR= rtwnrtl8188eu rtwnrtl8192cT rtwnrtl8192cU rtwnrtl8192eu rtwnrtl8812au \
|
||||
rtwnrtl8821au rtwnrtl8192cE rtwnrtl8192cEB
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
6
sys/modules/rtwnfw/rtwnrtl8192eu/Makefile
Normal file
6
sys/modules/rtwnfw/rtwnrtl8192eu/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
KMOD= rtwn-rtl8192eufw
|
||||
IMG= rtwn-rtl8192eufw
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user