[pkg-wpa-devel] Bug#690536: Bug#690536: wpasupplicant does not enable AP mode at compile time

Kel Modderman kel at otaku42.de
Sat Oct 20 06:23:48 UTC 2012


Hi Patrik,

> 
> Package: wpasupplicant
> Version: 1.0-3
> 
> wpa_supplicant doesn't enable Access Point mode compile-time
> configuration option anymore. The debian/changelog file says AP mode was
> enabled in version 0.7.3-1, but doesn't mention the feature being
> intentionally disabled after that.
> 
> Access point mode is needed by ConnMan to enable tethering over WiFi. It
> is also needed by any other network management software, e.g.
> NetworkManager, which intends to support tethering over WiFi. Thus it
> would be nice to have it enabled by default.

It looks like we mucked up here when updating from 0.7 -> 1.0 the build
configuration was overhauled. I think that the fact that upstream defconfig
omits CONFIG_AP tricked us into leaving it out.

This creates an untimely problem though, this may not be a category of bug
which qualifies for release team exception at this very late time in the
release cycle.

> 
> Here is a patch to re-enable AP mode:
> 
> 
> diff -ru a/debian/config/wpasupplicant/kfreebsd b/debian/config/wpasupplicant/kfreebsd
> --- wpa-1.0_old/debian/config/wpasupplicant/kfreebsd	2012-10-08 19:32:27.000000000 +0300
> +++ wpa-1.0_new/debian/config/wpasupplicant/kfreebsd	2012-10-15 12:51:21.735613929 +0300
> @@ -469,3 +469,6 @@
>  
>  # XXX: Debian #650834
>  CONFIG_BGSCAN_SIMPLE=y
> +
> +# Enable access point mode
> +CONFIG_AP=Y
> diff -ru a/debian/config/wpasupplicant/linux b/debian/config/wpasupplicant/linux
> --- wpa-1.0_old/debian/config/wpasupplicant/linux	2012-10-08 19:32:27.000000000 +0300
> +++ wpa-1.0_new/debian/config/wpasupplicant/linux	2012-10-15 12:50:44.977185881 +0300
> @@ -468,3 +468,6 @@
>  
>  # XXX: Debian #650834
>  CONFIG_BGSCAN_SIMPLE=y
> +
> +# Enable access point mode
> +CONFIG_AP=Y
> 
> 
> With the above configuration change, AP mode support is restored. I
> don't know whether the same configuration switch is to be applied for
> the udebs or not.

No they should not, not a feature that the installer would be interested in.

Thanks, Kel



More information about the Pkg-wpa-devel mailing list