aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/wpasupplicant.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/wpasupplicant.py')
-rw-r--r--tests/hwsim/wpasupplicant.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py
index 4894fa1..eba1bb0 100644
--- a/tests/hwsim/wpasupplicant.py
+++ b/tests/hwsim/wpasupplicant.py
@@ -1165,6 +1165,17 @@ class WpaSupplicant:
if field != "freq":
raise Exception("Unexpected MGMT-RX event format: " + ev)
msg['freq'] = val
+
+ field,val = items[2].split('=')
+ if field != "datarate":
+ raise Exception("Unexpected MGMT-RX event format: " + ev)
+ msg['datarate'] = val
+
+ field,val = items[3].split('=')
+ if field != "ssi_signal":
+ raise Exception("Unexpected MGMT-RX event format: " + ev)
+ msg['ssi_signal'] = val
+
frame = binascii.unhexlify(items[4])
msg['frame'] = frame