]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove registration for Vendor Specific Protected action frames
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 5 Nov 2024 17:01:34 +0000 (19:01 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2024 17:02:31 +0000 (19:02 +0200)
This additional registration is not needed anymore since hostapd
registers for these frames internally. In fact, this additional
registration is now failing.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_dscp.py

index 7e75e56e37c459980b8e19be918771ba8015c7e5..14ab7abee01d26b1e6b81b48afbbb77ec91b920a 100644 (file)
@@ -14,12 +14,6 @@ import hostapd
 from wpasupplicant import WpaSupplicant
 from utils import *
 
-def register_dscp_req(hapd):
-    type = 0x00d0
-    match = "7e506f9a1a"
-    if "OK" not in hapd.request("REGISTER_FRAME %04x %s" % (type, match)):
-        raise Exception("Could not register frame reception for Vendor specific protected type")
-
 def send_dscp_req(hapd, da, oui_subtype, dialog_token, req_control, qos_ie,
                   truncate=False):
     type = 0
@@ -116,7 +110,6 @@ def ap_sta_connectivity(dev, apdev, params):
     p["ieee80211w"] = "1"
     p.update(params)
     hapd = hostapd.add_ap(apdev[0], p)
-    register_dscp_req(hapd)
 
     dev[0].request("SET enable_dscp_policy_capa 1")
     dev[0].connect("dscp", psk="12345678", ieee80211w="1",