Re: [PATCH v2] wifi: support ap-mode with wpa_supplicant



On Mon, 2012-09-24 at 11:16 -0500, Dan Williams wrote:
> On Mon, 2012-09-24 at 12:21 +0200, Jan Lübbe wrote:
> > On Mon, 2012-09-24 at 12:10 +0200, Jan Lübbe wrote:
> > > I noticed that for checking if wpa_supplicants supports AP mode, NM
> > > needs a wpa_supplicant build from their master branch (not 1.0).
> > > 
> > > When using it with this wpa_supplicant, AP mode still works for me.
> > 
> > If I revert 6d726622069338652326d9a0057b07b100d4f79a (wifi: detect
> > whether supplicant supports AP mode or not), it also works with
> > wpa_supplicant 1.0.
> 
> Darn, I'd hoped 1.0 would indicate its capabilities, but I unfortunately
> didn't check.  I suppose what we do here instead is use the "has_apmode"
> variable to fine-tune the error message, but still allow AP connections
> to be attempted even if we don't know for sure that the supplicant
> supports them.  If it doesn't, we just can't return a more specific
> error, but I guess that's the best we can do.

I've seen your patches on the hostap list (dbus: add global capabilities
property, supplicant: set state to DISCONNECTED on AP creation errors).
If you have a matching NM patch for the capabilities property, I could
test it here with an updated wpa_supplicant 1.0.

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]