]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Add retry mechanism for GO Negotiation Confirmation
authorNirav Shah <nnshah@qti.qualcomm.com>
Mon, 7 Apr 2014 22:12:19 +0000 (03:42 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 11 Apr 2014 08:57:05 +0000 (11:57 +0300)
commit0e0e1e564f3dd8d2a6b645d079b46eba0acc7f83
treedb1a4aae7a6106e66775f2f38421051252beb057
parent8235f89f3f7302a930ab8c2bc1c140a64b6b04f2
P2P: Add retry mechanism for GO Negotiation Confirmation

wpa_supplicant now retries for P2P_GO_NEG_CNF_MAX_RETRY_COUNT times if
it doesn't receive acknowledgement for GO Negotiation Confirmation
frame. Currently, P2P_GO_NEG_CNF_MAX_RETRY_COUNT is set to 1.

While this is not strictly speaking following the P2P specification,
this can improve robustness of GO Negotiation in environments with
interference and also with peer devices that do not behave properly
(e.g., by not remaining awake on the negotiation channel through the
full GO Negotiation).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c
src/p2p/p2p_go_neg.c
src/p2p/p2p_i.h