TDLS: Decline Setup Request with status code 37 if BSSID does not match
authorSunil Dutt <usdutt@qti.qualcomm.com>
Tue, 2 Sep 2014 13:13:54 +0000 (18:43 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 2 Sep 2014 15:06:58 +0000 (18:06 +0300)
commite47abdb9dbd039986f87241808bb43883dd76e0f
tree69b2334c2e174b065097413dbdf4633510e12f1c
parentce2002accad2e7bafba6ac84faa8a29c32261f57
TDLS: Decline Setup Request with status code 37 if BSSID does not match

TDLS Setup Request frame has to be rejected with status code 37 ("The
request has been declined"), if the BSSID in the received Link
Identifier does not match the current BSSID per IEEE Std 802.11-2012,
10.22.4 ('TDLS direct-link establishment') step (b). The previously used
status code 7 ('Not in same BSS') is described to used only when
processing TPK Handshake Message 2 in TDLS Setup Response frame.

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