j at w1.fi
Sat Oct 1 13:46:24 EDT 2011
On Fri, Sep 30, 2011 at 12:45:05PM +0300, Marek.Kwaczynski at tieto.com wrote:
> I would like to ask about p2p_peers command and P2P_PEER_EXPIRATION_AGE time. Is it correct behaviour that all p2p_devices are removed from list of peers although they are send Probe Requests all time?
No, that does not sound intended.
> The filed last_seen from p2p_device structure isn't updated because this device is known. From my point of view if the device is active every time this field should be updated. I attached patch with small change that fixes this issue. Maybe you decide that it is useful.
> When two devices are connected (the first one is GO and the second one is p2p_client) they don't send Probe Requests/Responses beetwen each other and it is a root cause that they are removed from list of peers. Is it correct? Maybe these devices should be kept on the list during connection?
It would sound reasonable to maintain the entries through the connection
and P2P_PEER_EXPIRATION_AGE seconds after the connection has been lost.
Jouni Malinen PGP id EFC895FA
More information about the HostAP