]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
P2P: Add mechanism for timing out idle groups
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 25 Oct 2010 15:24:15 +0000 (18:24 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 25 Oct 2010 15:24:15 +0000 (18:24 +0300)
commit3071e18109502e7504ab6e3d19a2de102e1f7050
treed8b44a31264e0a931fcccf92517fdc8ab56501f5
parent1f4c7b6b2aa19d100179750d310b5a8adc288a77
P2P: Add mechanism for timing out idle groups

A new configuration parameter, p2p_group_idle, can now be used to set
idle timeout value for P2P groups in seconds (0 = no timeout). If set,
this values is used to remove P2P group (both GO and P2P client)
interfaces after the group has been idle (no clients/GO seen) for the
configuration duration.

The P2P-GROUP-REMOVED event is now indicating the reason for group
removal when known. For example:
P2P-GROUP-REMOVED wlan0 GO reason=REQUESTED
P2P-GROUP-REMOVED wlan1 client reason=IDLE
src/p2p/p2p.h
src/p2p/p2p_group.c
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/config_file.c
wpa_supplicant/config_winreg.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h