From: Jouni Malinen Date: Thu, 26 Dec 2013 09:54:12 +0000 (+0200) Subject: tests: Verify failure status code processing in GAS/ANQP X-Git-Tag: hostap_2_1~383 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe871e48b8d04e6980add2e540978a00273a4d94;p=thirdparty%2Fhostap.git tests: Verify failure status code processing in GAS/ANQP Signed-hostap: Jouni Malinen --- 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('