Hello Sichen,
the second version of the patches looks good to me. They apply fine and
the WEP encrypted WiFi works.
Just if someone wants to try it and wonders how to set the network up: I
used the following line for my network:
ifconfig wlan0 ssid test authmode shared wepmode on weptxkey 1
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