From fe871e48b8d04e6980add2e540978a00273a4d94 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 26 Dec 2013 11:54:12 +0200 Subject: [PATCH] tests: Verify failure status code processing in GAS/ANQP Signed-hostap: Jouni Malinen --- tests/hwsim/test_gas.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tests/hwsim/test_gas.py b/tests/hwsim/test_gas.py index f1c5f3bd3..69fd3b2f5 100644 --- a/tests/hwsim/test_gas.py +++ b/tests/hwsim/test_gas.py @@ -254,6 +254,10 @@ GAS_ACTIONS = [ GAS_INITIAL_REQUEST, GAS_INITIAL_RESPONSE, def anqp_adv_proto(): return struct.pack('BBBB', 108, 2, 127, 0) +def anqp_initial_resp(dialog_token, status_code): + return struct.pack('