New driver comming up

Jouni Malinen j
Fri Oct 24 07:46:07 PDT 2008


On Fri, Oct 24, 2008 at 03:39:12PM +0200, Jouke Witteveen wrote:

> I am writing a wpa_supplicant driver, specifically for OpenWRT.

What's the need for a new driver interface? Doesn't the driver support
latest WEXT? If not, could that be added instead of modifying
wpa_supplicant?

> Which files should I edit? As far as I can see the following files are
> influenced by the upcoming change:
> src/drivers/driver_roboswitch.c (new)
> src/drivers/drivers.c
> wpa_supplicant/Makefile
> wpa_supplicant/Changelog
> wpa_supplicant/README
> wpa_supplicant/defconfig
> wpa_supplicant/doc/docbook/wpa_supplicant.sgml

That would sound fine.

> wpa_supplicant/config.h
> wpa_supplicant/config_ssid.h
> wpa_supplicant/scan.c
> wpa_supplicant/wpa_supplicant.c
> wpa_supplicant/wpa_supplicant.conf
> wpa_supplicant/doc/docbook/wpa_supplicant.conf.sgml

What would you be changing in these? I would not have expected
driver-specific changes to be needed in these files..

> Where to integrate the new driver? Since it is very much related to
> OpenWRT it sounds reasonable to only have it as a build-patch over
> there.

If you really need a new driver interface (i.e., driver_wext.c or
driver_nl80211.c won't do it for some good reason), I can include it in
the wpa_supplicant distribution, but it would be fine to keep it as an
OpenWRT patch, too.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list