[PATCH v2 2/2] Enable the WEP encrypted WiFi.
Sichen Zhao
1473996754 at qq.com
Tue Aug 1 07:21:32 UTC 2017
Now rtems can connnect WiFi via WEP on rtl8188eu chip.
---
rtemsbsd/include/bsp/nexus-devices.h | 1 +
rtemsbsd/rtems/rtems-kernel-init.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h
index c3e5336..65c183c 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++ b/rtemsbsd/include/bsp/nexus-devices.h
@@ -60,6 +60,7 @@ SYSINIT_DRIVER_REFERENCE(rtwn_usb, uhub);
SYSINIT_MODULE_REFERENCE(wlan_ratectl_none);
SYSINIT_MODULE_REFERENCE(wlan_sta);
SYSINIT_MODULE_REFERENCE(wlan_amrr);
+SYSINIT_MODULE_REFERENCE(wlan_wep);
SYSINIT_REFERENCE(rtwn_rtl8188eufw);
RTEMS_BSD_DRIVER_USB;
diff --git a/rtemsbsd/rtems/rtems-kernel-init.c b/rtemsbsd/rtems/rtems-kernel-init.c
index 594e1ba..4138bc1 100644
--- a/rtemsbsd/rtems/rtems-kernel-init.c
+++ b/rtemsbsd/rtems/rtems-kernel-init.c
@@ -72,6 +72,8 @@ typedef void (*ratectl_modevent)(int);
RTEMS_BSD_DEFINE_SET(ratectl_set, ratectl_modevent);
typedef void (*scanner_modevent)(int);
RTEMS_BSD_DEFINE_SET(scanner_set, scanner_modevent);
+typedef void (*crypto_modevent)(int);
+RTEMS_BSD_DEFINE_SET(crypto_set, crypto_modevent);
RTEMS_BSD_DEFINE_SET(sysctl_set, struct sysctl_oid *);
RTEMS_BSD_DEFINE_RWSET(sysinit_set, struct sysinit *);
--
2.7.4
More information about the devel
mailing list