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

Patrik Flykt patrik.flykt at linux.intel.com
Mon Oct 15 10:33:03 UTC 2012


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.

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.



More information about the Pkg-wpa-devel mailing list