tests: RADIUS Class attribute

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-03-10 11:16:29 +02:00 committed by Jouni Malinen
parent 18b92c6cfe
commit 4056b0c747
2 changed files with 7 additions and 0 deletions

View File

@ -18,8 +18,12 @@ radius_accept_attr=64:d:13
radius_accept_attr=65:d:6
radius_accept_attr=81:s:2
"test-class" PAX 0123456789abcdef0123456789abcdef
radius_accept_attr=25:x:00112233445566778899
"gpsk-cui" GPSK "abcdefghijklmnop0123456789abcdef"
radius_accept_attr=89:s:gpsk-chargeable-user-identity
radius_accept_attr=25:x:00112233445566778899aa
"0"* AKA
"1"* SIM

View File

@ -68,6 +68,9 @@ def test_radius_acct(dev, apdev):
hostapd.add_ap(apdev[0]['ifname'], params)
hapd = hostapd.Hostapd(apdev[0]['ifname'])
connect(dev[0], "radius-acct")
dev[1].connect("radius-acct", key_mgmt="WPA-EAP", scan_freq="2412",
eap="PAX", identity="test-class",
password_hex="0123456789abcdef0123456789abcdef")
logger.info("Checking for RADIUS counters")
count = 0
while True: