Changes between Initial Version and Version 6 of Ticket #3223


Ignore:
Timestamp:
02/25/22 18:13:18 (2 years ago)
Author:
Gedare Bloom
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3223

    • Property Keywords SoC large added
    • Property Owner set to Christian Mauderer
    • Property Status changed from new to accepted
  • Ticket #3223 – Description

    initial v6  
    44
    55The rtems-libbsd should have a similar mechanism. One possibility would be to try to make the dhcpcd script hooks usable on RTEMS and start wpa_supplicant from a hook.
     6
     7**Possible Approaches**
     8The DHCP client used in the libbsd (dhcpcd) has a script hook support. That support has been removed in the RTEMS port because there is no script interpreter. One possibility would be to try to make the dhcpcd script hooks usable on RTEMS so that they can call C functions instead of the scripts. Such a hook could then start a wpa_supplicant from a hook.
     9Another solution would be to take a detailed look at the FreeBSD implementation and create something similar.
     10
     11**Additional Problems**
     12Most likely it will be necessary to start more then one instance of wpa_supplicant (for example if two interfaces are connected). Currently that is not possible. The wpa_supplicant should be reviewed whether it can be started multiple times in parallel.
     13
     14**Necessary Hardware**
     15I would recommend some real hardware (like a Beagle Bone Black with a RTL8188 based USB WiFi? dongle) and a hardware debugger (Segger J-Link, Flyswatter 2, something supported by OpenOCD, ...). Real hardware with WiFi? is the most likely later use case.
     16Theoretically WPA should be usable on wired interfaces. So it might be possible to develop this in a simulator too. The advantage of this is that there are no hardware costs and a simple debug integration. If you think about that solution, please discuss it with your (planned) mentor before starting.
     17
     18**Related projects**
     19#3222 will need some WiFi? related rc.conf integration too. Maybe the hot-plug detection of that project could be of some use too.
     20
     21**Skills**
     22C programming and understanding of system configuration/administration.
     23
     24This is a 350-hour project of hard difficulty.