mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
auto-t: update FT-over-DS test for new behavior
The FT-over-DS procedure now authenticates with multiple BSS's upon connecting. This causes list_sta() to return our address for any authenticated APs. It has now been changed to work with this new behavior, as well as a check that the station fully connected to the expected AP initially.
This commit is contained in:
parent
e5fcc93a9e
commit
8e09c4a6fb
@ -62,8 +62,13 @@ class Test(unittest.TestCase):
|
|||||||
condition = 'obj.state == DeviceState.connected'
|
condition = 'obj.state == DeviceState.connected'
|
||||||
wd.wait_for_object_condition(device, condition)
|
wd.wait_for_object_condition(device, condition)
|
||||||
|
|
||||||
|
self.bss_hostapd[0].wait_for_event('AP-STA-CONNECTED %s' % device.address)
|
||||||
|
|
||||||
|
# list_sta actually reports any authenticated stations. Due to the
|
||||||
|
# nature of FT-over-DS IWD should authenticate to all stations with
|
||||||
|
# the same mobility domain. This means both APs should show our station.
|
||||||
self.assertTrue(self.bss_hostapd[0].list_sta())
|
self.assertTrue(self.bss_hostapd[0].list_sta())
|
||||||
self.assertFalse(self.bss_hostapd[1].list_sta())
|
self.assertTrue(self.bss_hostapd[1].list_sta())
|
||||||
|
|
||||||
wd.unregister_psk_agent(psk_agent)
|
wd.unregister_psk_agent(psk_agent)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user