[rtems-libbsd commit] Enable the WEP encrypted WiFi.

Sebastian Huber sebh at rtems.org
Wed Aug 2 06:32:03 UTC 2017


Module:    rtems-libbsd
Branch:    master
Commit:    097ccba6b0926f0615622769e5d269e359307065
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=097ccba6b0926f0615622769e5d269e359307065

Author:    Sichen Zhao <1473996754 at qq.com>
Date:      Tue Aug  1 15:21:32 2017 +0800

Enable the WEP encrypted WiFi.

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 *);



More information about the vc mailing list