mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-22 18:15:32 +08:00
Port rtl8188eu driver to RTEMS.
Now USB dongle rtl8188eu can work as wlan client device. It can scan wifi, connect unencrypted wifi.
This commit is contained in:
parent
6e328c38b1
commit
47169ea21a
@ -33,6 +33,7 @@ GENERATED += $(LOCAL_SRC)/mmcbr_if.c
|
|||||||
GENERATED += $(LOCAL_INC)/mmcbus_if.h
|
GENERATED += $(LOCAL_INC)/mmcbus_if.h
|
||||||
GENERATED += $(LOCAL_SRC)/mmcbus_if.c
|
GENERATED += $(LOCAL_SRC)/mmcbus_if.c
|
||||||
GENERATED += $(LOCAL_SRC)/rtwn-rtl8192cfwT.c
|
GENERATED += $(LOCAL_SRC)/rtwn-rtl8192cfwT.c
|
||||||
|
GENERATED += $(LOCAL_SRC)/rtwn-rtl8188eufw.c
|
||||||
GENERATED += $(LOCAL_SRC)/runfw.c
|
GENERATED += $(LOCAL_SRC)/runfw.c
|
||||||
GENERATED += rtemsbsd/include/machine/rtems-bsd-regdomain.h
|
GENERATED += rtemsbsd/include/machine/rtems-bsd-regdomain.h
|
||||||
GENERATED += rtemsbsd/rtems/rtems-bsd-regdomain.c
|
GENERATED += rtemsbsd/rtems/rtems-bsd-regdomain.c
|
||||||
@ -160,6 +161,11 @@ $(LOCAL_SRC)/rtwn-rtl8192cfwT.c: $(FREEBSD_SRC)/sys/contrib/dev/rtwn/rtwn-rtl819
|
|||||||
-l "$(FREEBSD_SRC)/sys/contrib/dev/rtwn/LICENSE" \
|
-l "$(FREEBSD_SRC)/sys/contrib/dev/rtwn/LICENSE" \
|
||||||
rtwn-rtl8192cfwT - $@
|
rtwn-rtl8192cfwT - $@
|
||||||
|
|
||||||
|
$(LOCAL_SRC)/rtwn-rtl8188eufw.c: $(FREEBSD_SRC)/sys/contrib/dev/rtwn/rtwn-rtl8188eufw.fw.uu
|
||||||
|
uudecode -o /dev/stdout $< | python firmware-gen.py \
|
||||||
|
-l "$(FREEBSD_SRC)/sys/contrib/dev/rtwn/LICENSE" \
|
||||||
|
rtwn-rtl8188eufw - $@
|
||||||
|
|
||||||
$(LOCAL_SRC)/runfw.c: $(FREEBSD_SRC)/sys/contrib/dev/run/rt2870.fw.uu
|
$(LOCAL_SRC)/runfw.c: $(FREEBSD_SRC)/sys/contrib/dev/run/rt2870.fw.uu
|
||||||
uudecode -o /dev/stdout $< | python firmware-gen.py \
|
uudecode -o /dev/stdout $< | python firmware-gen.py \
|
||||||
-l "$(FREEBSD_SRC)/sys/contrib/dev/run/LICENSE" \
|
-l "$(FREEBSD_SRC)/sys/contrib/dev/run/LICENSE" \
|
||||||
|
@ -1080,6 +1080,7 @@ def dev_wlan_rtwn(mm):
|
|||||||
mod.addRTEMSSourceFiles(
|
mod.addRTEMSSourceFiles(
|
||||||
[
|
[
|
||||||
'local/rtwn-rtl8192cfwT.c',
|
'local/rtwn-rtl8192cfwT.c',
|
||||||
|
'local/rtwn-rtl8188eufw.c',
|
||||||
],
|
],
|
||||||
mm.generator['source']()
|
mm.generator['source']()
|
||||||
)
|
)
|
||||||
|
@ -1304,6 +1304,7 @@ def build(bld):
|
|||||||
'rtemsbsd/local/ofw_if.c',
|
'rtemsbsd/local/ofw_if.c',
|
||||||
'rtemsbsd/local/pci_if.c',
|
'rtemsbsd/local/pci_if.c',
|
||||||
'rtemsbsd/local/pcib_if.c',
|
'rtemsbsd/local/pcib_if.c',
|
||||||
|
'rtemsbsd/local/rtwn-rtl8188eufw.c',
|
||||||
'rtemsbsd/local/rtwn-rtl8192cfwT.c',
|
'rtemsbsd/local/rtwn-rtl8192cfwT.c',
|
||||||
'rtemsbsd/local/runfw.c',
|
'rtemsbsd/local/runfw.c',
|
||||||
'rtemsbsd/local/usb_if.c',
|
'rtemsbsd/local/usb_if.c',
|
||||||
|
@ -56,6 +56,11 @@ SYSINIT_DRIVER_REFERENCE(ti_scm, simplebus);
|
|||||||
SYSINIT_DRIVER_REFERENCE(am335x_prcm, simplebus);
|
SYSINIT_DRIVER_REFERENCE(am335x_prcm, simplebus);
|
||||||
SYSINIT_DRIVER_REFERENCE(usbss, simplebus);
|
SYSINIT_DRIVER_REFERENCE(usbss, simplebus);
|
||||||
SYSINIT_DRIVER_REFERENCE(musbotg, usbss);
|
SYSINIT_DRIVER_REFERENCE(musbotg, usbss);
|
||||||
|
SYSINIT_DRIVER_REFERENCE(rtwn_usb, uhub);
|
||||||
|
SYSINIT_MODULE_REFERENCE(wlan_ratectl_none);
|
||||||
|
SYSINIT_MODULE_REFERENCE(wlan_sta);
|
||||||
|
SYSINIT_MODULE_REFERENCE(wlan_amrr);
|
||||||
|
SYSINIT_REFERENCE(rtwn_rtl8188eufw);
|
||||||
|
|
||||||
RTEMS_BSD_DRIVER_USB;
|
RTEMS_BSD_DRIVER_USB;
|
||||||
RTEMS_BSD_DRIVER_USB_MASS;
|
RTEMS_BSD_DRIVER_USB_MASS;
|
||||||
|
1221
rtemsbsd/local/rtwn-rtl8188eufw.c
Normal file
1221
rtemsbsd/local/rtwn-rtl8188eufw.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user