[PATCH] P2P return a successful response for p2p presence request if driver has return noa_len greater than 0

Jouni Malinen j at w1.fi
Sun Dec 18 13:29:57 EST 2011


On Sun, Dec 11, 2011 at 11:43:14PM -0800, Neeraj Kumar Garg wrote:
> I think my 2 below proposals somehow got un-notices. I think handling presence request should still be done in supplicant. Otherwise driver has to parse all action frames and then if received presence request, need to take an action.

While I'm not necessarily against actually processing the Action frame
itself in wpa_supplicant, please note that the Presence Request frame is
a P2P Action frame and not P2P Public Action frame. The P2P Action
frames are much more specific to a group operation and I don't see any
problems in drivers handling them since they are more specific to exact
timing and parameters of the group and require synchronization with
low-level operations that are way below wpa_supplicant in the stack.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list