[PATCH 3/3] Enable the WEP encrypted WiFi.

Sichen Zhao 1473996754 at qq.com
Mon Jul 31 06:42:06 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 fe53862..618b9ab 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++ b/rtemsbsd/include/bsp/nexus-devices.h
@@ -63,6 +63,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);
 
 #elif defined(LIBBSP_ARM_LPC32XX_BSP_H)
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