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
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",