[PATCH] Remove P2P Group Client virtual interface on getting a Deauth Event.

Jouni Malinen j
Sun Dec 18 12:27:59 PST 2011

On Mon, Oct 31, 2011 at 03:08:34AM -0700, Jithu Jance wrote:
> Your suggestion of using "p2p_group_idle" seems to be more beneficial. This will allow the framework/upper application to decide whether the Group needs to be removed or not. For applications that wants to disconnect P2P client on deauth can set "p2p_group_idle". This will give more flexibility to the upper framework.

After some more thought on this, I ended up adding a hardcoded 10 second
idle timeout for P2P client role since I cannot really come up with a
good use case for P2P client continuing reconnection attempts for long
period. In other words, the P2P client role group will now be terminated
automatically. This doesn't happen immediately on reception of
Deauthentication/Disassociate frame to avoid potential problems with
temporary disconnection. However, the timeout is short enough to make
this happen pretty quickly in the case the GO is indeed tearing down the

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list