[PATCH] hostapd: Add wowlan_triggers config param

Jouni Malinen j at w1.fi
Sun Nov 16 12:54:32 EST 2014


On Sat, Sep 13, 2014 at 01:40:17PM -0700, Dmitry Shmidt wrote:
> On some stage (from kernel 3.8 I think) wireless stack calls
> cfg80211_leave_all()
> on suspend if no wowlan triggers were registered - I think logic here was to
> disconnect if system can not wake from packet anyway.
> This logic was expanded to AP mode as well (in case of AP cfg80211_stop_ap()
> will be called). It can also be explained - if you can not wake main cpu on
> packet,
> you can not be "good" AP.
> So in order to be able to work as AP we need to honor wireless stack logic.
> And I think that it is not a kernel bug.

This is not documented very clearly today and some of the existing
parameters do not really make much sense for AP mode (and some other
parameters could be added). Anyway, I applied this now since it did not
look like the configuration interface would be cleaned up in the near
term.

I moved the wpa_common.c changes into driver_common.c which is a more
appropriate place for those functions that do not have anything to do
with WPA and that are using driver.h defined values.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list