TDLS: Retry TDLS Setup Response more quickly
authorSunil Dutt <duttus@codeaurora.org>
Mon, 20 May 2013 10:07:24 +0000 (15:37 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 20 May 2013 18:30:27 +0000 (21:30 +0300)
commit2cadc8e1e534b899e732da27f3dec87a579dda5f
tree763f59ba727ab0541defd8d1c824ed8a3a5ed6c6
parentd5b559b6418c2bd09663e0d09e93a6592357fdce
TDLS: Retry TDLS Setup Response more quickly

TDLS responder STA used to retransmit the TDLS Setup Response after 5
seconds if the TDLS Setup Confirm is not received. The initiator would
have enabled the TDLS link and started transmitting the data to the peer
on the TDLS link after transmitting the TDLS Setup Confirm frame. If the
TDLS Setup Confirm frame is not received by the receiver, the
transmissions from the initiator on the direct link would get failed for
the TDLS link not getting enabled on the receiver. This commit reduces
the data delivery failure duration by shortening the retry time of the
TDLS Setup Response frames. The retry limit of the TDLS Response frame
also is increased to ensure that the peer does not miss the frames in
the reduced time period.

Signed-hostap: Sunil Dutt <duttus@codeaurora.org>
src/rsn_supp/tdls.c