mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
auto-t: set ocv on PSK FT test
This commit is contained in:
parent
141b01f82a
commit
8ce7dc3dbe
@ -100,11 +100,13 @@ class Test(unittest.TestCase):
|
|||||||
|
|
||||||
self.bss_hostapd[0].set_value('wpa_key_mgmt', 'FT-PSK')
|
self.bss_hostapd[0].set_value('wpa_key_mgmt', 'FT-PSK')
|
||||||
self.bss_hostapd[0].set_value('ft_over_ds', '0')
|
self.bss_hostapd[0].set_value('ft_over_ds', '0')
|
||||||
|
self.bss_hostapd[0].set_value('ocv', '1')
|
||||||
self.bss_hostapd[0].reload()
|
self.bss_hostapd[0].reload()
|
||||||
self.bss_hostapd[0].wait_for_event("AP-ENABLED")
|
self.bss_hostapd[0].wait_for_event("AP-ENABLED")
|
||||||
|
|
||||||
self.bss_hostapd[1].set_value('wpa_key_mgmt', 'FT-PSK')
|
self.bss_hostapd[1].set_value('wpa_key_mgmt', 'FT-PSK')
|
||||||
self.bss_hostapd[1].set_value('ft_over_ds', '0')
|
self.bss_hostapd[1].set_value('ft_over_ds', '0')
|
||||||
|
self.bss_hostapd[0].set_value('ocv', '1')
|
||||||
self.bss_hostapd[1].reload()
|
self.bss_hostapd[1].reload()
|
||||||
self.bss_hostapd[1].wait_for_event("AP-ENABLED")
|
self.bss_hostapd[1].wait_for_event("AP-ENABLED")
|
||||||
|
|
||||||
@ -115,11 +117,13 @@ class Test(unittest.TestCase):
|
|||||||
|
|
||||||
self.bss_hostapd[0].set_value('wpa_key_mgmt', 'FT-PSK')
|
self.bss_hostapd[0].set_value('wpa_key_mgmt', 'FT-PSK')
|
||||||
self.bss_hostapd[0].set_value('ft_over_ds', '1')
|
self.bss_hostapd[0].set_value('ft_over_ds', '1')
|
||||||
|
self.bss_hostapd[0].set_value('ocv', '1')
|
||||||
self.bss_hostapd[0].reload()
|
self.bss_hostapd[0].reload()
|
||||||
self.bss_hostapd[0].wait_for_event("AP-ENABLED")
|
self.bss_hostapd[0].wait_for_event("AP-ENABLED")
|
||||||
|
|
||||||
self.bss_hostapd[1].set_value('wpa_key_mgmt', 'FT-PSK')
|
self.bss_hostapd[1].set_value('wpa_key_mgmt', 'FT-PSK')
|
||||||
self.bss_hostapd[1].set_value('ft_over_ds', '1')
|
self.bss_hostapd[1].set_value('ft_over_ds', '1')
|
||||||
|
self.bss_hostapd[1].set_value('ocv', '1')
|
||||||
self.bss_hostapd[1].reload()
|
self.bss_hostapd[1].reload()
|
||||||
self.bss_hostapd[1].wait_for_event("AP-ENABLED")
|
self.bss_hostapd[1].wait_for_event("AP-ENABLED")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user