TDLS: Handle transmission failures of TPK Handshake messages
authorSunil Dutt <c_duttus@qti.qualcomm.com>
Thu, 1 Aug 2013 07:47:23 +0000 (10:47 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 1 Aug 2013 07:47:23 +0000 (10:47 +0300)
commitf7b4ef220845f700a19149a96e0fad54d905e123
tree04900cfb3765a791fcaa2c4327ce9c2c343ef046
parenta2ea8d64d1caa6b5df9bc06cbfa41a3f70210f77
TDLS: Handle transmission failures of TPK Handshake messages

A transmission failure of the TDLS Setup Request frame (TPK Handshake
M1) results in no further retries and the peer entry being left in state
where all TDLS Setup Request frames from the peer with higher address
would be rejected, thus always resulting in a failure to establish a
TDLS link. Handle the failures in transmission by disabling the link
immediately to ensure the traffic to the peer goes through the AP. This
commit also handles similar transmision failures for TPK Handshake M2
and M3 frames (TDLS Setup Response and Confirm).

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/tdls.c