[PATCH 09/10] libbsd.txt: Describe current state of WLAN.

Chris Johns chrisj at rtems.org
Sat Nov 11 04:14:54 UTC 2017


On 10/11/2017 17:59, Christian Mauderer wrote:
> 
> I took a quick glance to find out the behaviour on FreeBSD: It supports
> hot-plugging. If I for example add a
> 
>   wlans_rtwn0="wlan7"
>   ifconfig_wlan7="DHCP"
> 
> to rc.conf a RTL8188 USB WiFi dongle is created as wlan7. I'll add that
> pice of information to the ticket. I think further investigation is
> necessary which services are involved into that.

This makes sense and thank you.

> But that will have to wait till there is time for that part.

Yes.

> 
> I meant that we could parse the rc.conf on the first pass and then put
> the relevant information (rtwn0 as wlan7) into for example a linked
> list. That list can then be used in the hot-plug-events. With that, it
> wouldn't be necessary to do a lot of string parsing on every device
> detection.

I think the overhead of parsing will be small compared to the act of the device
being added to a system. This sort of code is not time critical. It would be
nice to be able to edit rc.conf reinsert the device and see what happens.

> 
> But that is something that would have to be discussed as soon as someone
> want's to start an implementation.
>

Yes I agree. Do you think hot-plug support is a suitable GSoC project for next year?

Thank you for investigating this.

Chris



More information about the devel mailing list