/external/autotest/server/cros/ap_configurators/ |
ap_spec_unittest.py | 5 """Unit tests for server/cros/ap_configurators/ap_spec.py. 11 ap_spec namespace 14 """Unit test for the ap_spec object.""" 17 """Test building a default ap_spec object.""" 18 spec = ap_spec.APSpec() 20 self.assertEquals(spec.security, ap_spec.DEFAULT_SECURITY_TYPE) 21 self.assertEquals(spec.band, ap_spec.DEFAULT_BAND) 22 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE) 23 self.assertEquals(spec.channel, ap_spec.DEFAULT_2GHZ_CHANNEL) 29 spec = ap_spec.APSpec(band=ap_spec.BAND_2GHZ [all...] |
edimax6475nd_ap_configurator.py | 5 import ap_spec namespace 32 if self.current_band == ap_spec.BAND_2GHZ: 49 return [{'band': ap_spec.BAND_2GHZ, 'channels': range(1, 11)}, 50 {'band': ap_spec.BAND_5GHZ, 56 if band == ap_spec.BAND_5GHZ: 57 self.current_band = ap_spec.BAND_5GHZ 58 elif band == ap_spec.BAND_2GHZ: 59 self.current_band = ap_spec.BAND_2GHZ 65 return [{'band': ap_spec.BAND_2GHZ, 66 'modes': [ap_spec.MODE_B [all...] |
linksyswrt54gs2_ap_configurator.py | 5 import ap_spec namespace 14 return [{'band': ap_spec.BAND_2GHZ, 15 'modes': [ap_spec.MODE_B, ap_spec.MODE_G, ap_spec.MODE_M]}] 19 mode_mapping = {ap_spec.MODE_B: 'B-Only', ap_spec.MODE_G: 'G-Only', 20 ap_spec.MODE_M: 'Mixed', 'Disabled' : 'Disabled'}
|
belkinF7D5301_ap_configurator.py | 5 import ap_spec namespace 19 mode_mapping = {ap_spec.MODE_G: '802.11g', 20 ap_spec.MODE_N: '1x1 802.11n', 21 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N:
|
netgearR6200_ap_configurator.py | 7 import ap_spec namespace 46 return [{'band': ap_spec.BAND_2GHZ, 47 'modes': [ap_spec.MODE_B, ap_spec.MODE_G, ap_spec.MODE_N]}, 48 {'band': ap_spec.BAND_5GHZ, 49 'modes': [ap_spec.MODE_G, ap_spec.MODE_A, ap_spec.MODE_N]}] 53 return [{'band': ap_spec.BAND_2GHZ [all...] |
ap_configurator_factory_unittest.py | 20 ap_spec namespace 33 configurator_type=ap_spec.CONFIGURATOR_ANY): 85 def set_using_ap_spec(self, ap_spec): 88 @param ap_spec: APSpec object 90 self.channel = ap_spec.channel 111 """New tests that cover the new ap_spec use case.""" 115 bands_and_channels=[{'band': ap_spec.BAND_2GHZ, 116 'channels': ap_spec.VALID_2GHZ_CHANNELS}], 117 bands_and_modes=[{'band': ap_spec.BAND_2GHZ, 118 'modes': ap_spec.VALID_2GHZ_MODES}] [all...] |
netgear3400_ap_configurator.py | 7 import ap_spec namespace 21 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 22 ap_spec.SECURITY_TYPE_WPAPSK, 23 ap_spec.SECURITY_TYPE_WEP)
|
linksyse2500_ap_configurator.py | 7 import ap_spec namespace 21 return [{'band': ap_spec.BAND_2GHZ, 22 'modes': [ap_spec.MODE_B, ap_spec.MODE_N, ap_spec.MODE_B | 23 ap_spec.MODE_G, ap_spec.MODE_G, ap_spec.MODE_M]}, 24 {'band': ap_spec.BAND_5GHZ, 25 'modes': [ap_spec.MODE_A, ap_spec.MODE_N, ap_spec.MODE_M]} [all...] |
buffaloag300h_ap_configurator.py | 9 import ap_spec namespace 27 return [{'band': ap_spec.BAND_2GHZ, 28 'modes': [ap_spec.MODE_B, ap_spec.MODE_N, ap_spec.MODE_G, 29 ap_spec.MODE_N | ap_spec.MODE_G, ap_spec.MODE_M, 30 ap_spec.MODE_B | ap_spec.MODE_G]} [all...] |
linksyse1000_ap_configurator.py | 7 import ap_spec namespace 16 mode_mapping = {ap_spec.MODE_M:'Mixed', 17 ap_spec.MODE_B | ap_spec.MODE_G:'Wireless-B/G Only', 18 ap_spec.MODE_G:'Wireless-G Only', 19 ap_spec.MODE_B:'Wireless-B Only', 20 ap_spec.MODE_N:'Wireless-N Only', 21 ap_spec.MODE_D:'Disabled'}
|
trendnet692gr_ap_configurator.py | 7 import ap_spec namespace 52 return [{'band': ap_spec.BAND_2GHZ, 54 {'band': ap_spec.BAND_5GHZ, 59 return [{'band': ap_spec.BAND_2GHZ, 60 'modes': [ap_spec.MODE_N, 61 ap_spec.MODE_B | ap_spec.MODE_G, 62 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N]} [all...] |
netgear4500_ap_configurator.py | 8 import ap_spec namespace 17 if mode == ap_spec.MODE_G or mode == ap_spec.MODE_A: 19 elif mode == ap_spec.MODE_N: 24 if self.current_band == ap_spec.BAND_5GHZ:
|
dlink_ap_configurator.py | 10 import ap_spec namespace 58 return [{'band': ap_spec.BAND_2GHZ, 60 {'band': ap_spec.BAND_5GHZ, 65 return [{'band': ap_spec.BAND_2GHZ, 66 'modes': [ap_spec.MODE_B, ap_spec.MODE_G, ap_spec.MODE_N, 67 ap_spec.MODE_B | ap_spec.MODE_G, 68 ap_spec.MODE_G | ap_spec.MODE_N]} [all...] |
linksyse_dual_band_configurator.py | 12 import ap_spec namespace 61 return [{'band': ap_spec.BAND_2GHZ, 63 {'band': ap_spec.BAND_5GHZ, 68 return [{'band': ap_spec.BAND_2GHZ, 69 'modes': [ap_spec.MODE_B, ap_spec.MODE_N, ap_spec.MODE_B | 70 ap_spec.MODE_G, ap_spec.MODE_G]}, 71 {'band': ap_spec.BAND_5GHZ [all...] |
linksyse2000_ap_configurator.py | 10 import ap_spec namespace 32 return [{'band': ap_spec.BAND_2GHZ, 33 'modes': [ap_spec.MODE_M, ap_spec.MODE_B | ap_spec.MODE_G, 34 ap_spec.MODE_G, ap_spec.MODE_B, ap_spec.MODE_N, 35 ap_spec.MODE_D]}, 36 {'band': ap_spec.BAND_5GHZ [all...] |
belkinF7D_ap_configurator.py | 6 import ap_spec namespace 24 mode_mapping = {ap_spec.MODE_G: '802.11g', 25 ap_spec.MODE_N: '1x1 802.11n', 26 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N: 46 if security == ap_spec.SECURITY_TYPE_WPAPSK:
|
linksyse1500_ap_configurator.py | 5 import ap_spec namespace 14 mode_mapping = {ap_spec.MODE_M:'Mixed', 15 ap_spec.MODE_B | ap_spec.MODE_G:'Wireless-B/G Only', 16 ap_spec.MODE_G:'Wireless-G Only', 17 ap_spec.MODE_B:'Wireless-B Only', 18 ap_spec.MODE_N:'Wireless-N Only',
|
/external/autotest/server/site_tests/network_WiFi_ChaosConnectDisconnect/ |
control.wpa2psk | 19 from autotest_lib.server.cros.ap_configurators import ap_spec 25 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 26 band=ap_spec.BAND_2GHZ), 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 28 band=ap_spec.BAND_5GHZ), 30 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 31 band=ap_spec.BAND_5GHZ [all...] |
control.wpapsk | 19 from autotest_lib.server.cros.ap_configurators import ap_spec 25 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPAPSK, 26 band=ap_spec.BAND_2GHZ), 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPAPSK, 28 band=ap_spec.BAND_5GHZ), 30 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPAPSK, 31 band=ap_spec.BAND_5GHZ [all...] |
control.open_n | 19 from autotest_lib.server.cros.ap_configurators import ap_spec 25 ap_specs = [ap_spec.APSpec(mode=ap_spec.MODE_N, 26 security=ap_spec.SECURITY_TYPE_DISABLED, 27 band=ap_spec.BAND_2GHZ), 28 ap_spec.APSpec(mode=ap_spec.MODE_N, 29 security=ap_spec.SECURITY_TYPE_DISABLED, 30 band=ap_spec.BAND_5GHZ)]
|
control.open | 19 from autotest_lib.server.cros.ap_configurators import ap_spec 25 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_DISABLED, 26 band=ap_spec.BAND_2GHZ), 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_DISABLED, 28 band=ap_spec.BAND_5GHZ)]
|
/external/autotest/server/site_tests/network_WiFi_ChaosLongConnect/ |
control.suspend | 18 from autotest_lib.server.cros.ap_configurators import ap_spec 25 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 26 band=ap_spec.BAND_2GHZ), 27 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 28 band=ap_spec.BAND_5GHZ), 30 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 31 band=ap_spec.BAND_5GHZ [all...] |
control.long | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 24 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 25 band=ap_spec.BAND_2GHZ), 26 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 27 band=ap_spec.BAND_5GHZ), 29 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 30 band=ap_spec.BAND_5GHZ [all...] |
control.netperf_udp_downstream | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 26 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 27 band=ap_spec.BAND_2GHZ), 28 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 29 band=ap_spec.BAND_5GHZ), 31 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 32 band=ap_spec.BAND_5GHZ [all...] |
control.netperf_udp_upstream | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 26 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 27 band=ap_spec.BAND_2GHZ), 28 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 29 band=ap_spec.BAND_5GHZ), 31 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 32 band=ap_spec.BAND_5GHZ [all...] |