/external/autotest/server/cros/ap_configurators/ |
D | ap_spec_unittest.py | 11 ap_spec 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) 30 self.assertEquals(spec.channel, ap_spec.DEFAULT_2GHZ_CHANNEL) 31 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE) 36 spec = ap_spec.APSpec(band=ap_spec.BAND_5GHZ) [all …]
|
D | edimax6475nd_ap_configurator.py | 5 import ap_spec 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 …]
|
D | asus_ap_configurator.py | 11 import ap_spec 27 if self.current_band == ap_spec.BAND_5GHZ: 48 return [{'band': ap_spec.BAND_2GHZ, 50 {'band': ap_spec.BAND_5GHZ, 55 return [{'band': ap_spec.BAND_2GHZ, 56 'modes': [ap_spec.MODE_B, ap_spec.MODE_N, ap_spec.MODE_B | 57 ap_spec.MODE_G, ap_spec.MODE_B]}, 58 {'band': ap_spec.BAND_5GHZ, 59 'modes': [ap_spec.MODE_N, ap_spec.MODE_A]}] 71 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, [all …]
|
D | linksyse_dual_band_configurator.py | 12 import ap_spec 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, 72 'modes': [ap_spec.MODE_A, ap_spec.MODE_N]}] 76 if self.current_band == ap_spec.BAND_5GHZ: 77 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, [all …]
|
D | linksyse2000_ap_configurator.py | 10 import ap_spec 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, 37 'modes': [ap_spec.MODE_M, ap_spec.MODE_A, ap_spec.MODE_N, 38 ap_spec.MODE_D]}] 42 return [{'band': ap_spec.BAND_2GHZ, 44 {'band': ap_spec.BAND_5GHZ, [all …]
|
D | dlink_ap_configurator.py | 10 import ap_spec 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]}, 69 {'band': ap_spec.BAND_5GHZ, 70 'modes': [ap_spec.MODE_A, ap_spec.MODE_N, 71 ap_spec.MODE_A | ap_spec.MODE_N]}] [all …]
|
D | linksyse2500_ap_configurator.py | 7 import ap_spec 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]}] 36 if self.current_band == ap_spec.BAND_5GHZ: 37 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 38 ap_spec.SECURITY_TYPE_WPAPSK, 39 ap_spec.SECURITY_TYPE_WPA2PSK) [all …]
|
D | buffaloag300h_ap_configurator.py | 9 import ap_spec 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]}, 31 {'band': ap_spec.BAND_5GHZ, 32 'modes': [ap_spec.MODE_N, ap_spec.MODE_A, ap_spec.MODE_M]}] 36 return [{'band': ap_spec.BAND_2GHZ, 38 {'band': ap_spec.BAND_5GHZ, 44 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, [all …]
|
D | ap_configurator_factory_unittest.py | 20 ap_spec 33 configurator_type=ap_spec.CONFIGURATOR_ANY): 85 def set_using_ap_spec(self, ap_spec): argument 90 self.channel = ap_spec.channel 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}], 119 supported_securities=ap_spec.VALID_SECURITIES, 121 configurator_type=ap_spec.CONFIGURATOR_STATIC [all …]
|
D | westerndigitaln600_ap_configurator.py | 10 import ap_spec 63 return [{'band': ap_spec.BAND_2GHZ, 64 'modes': [ap_spec.MODE_B, ap_spec.MODE_G, ap_spec.MODE_N, 65 ap_spec.MODE_B | ap_spec.MODE_G, 66 ap_spec.MODE_G | ap_spec.MODE_N, 67 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N]}, 68 {'band': ap_spec.BAND_5GHZ, 69 'modes': [ap_spec.MODE_A, ap_spec.MODE_N, 70 ap_spec.MODE_A | ap_spec.MODE_N]}] 74 return [{'band': ap_spec.BAND_2GHZ, [all …]
|
D | trendnet692gr_ap_configurator.py | 7 import ap_spec 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]}, 63 {'band': ap_spec.BAND_5GHZ, 64 'modes': [ap_spec.MODE_A | ap_spec.MODE_N, ap_spec.MODE_A]}] 73 if self.current_band == ap_spec.BAND_2GHZ: [all …]
|
D | netgearR6200_ap_configurator.py | 7 import ap_spec 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_A, ap_spec.MODE_N, 50 ap_spec.MODE_AC]}] 54 return [{'band': ap_spec.BAND_2GHZ, 56 {'band': ap_spec.BAND_5GHZ, 65 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 66 ap_spec.SECURITY_TYPE_WPA2PSK, [all …]
|
D | buffalo_wsr_1166dd_ap_configurator.py | 11 import ap_spec 19 ap_spec.BAND_2GHZ: 'ra0Form', 20 ap_spec.BAND_5GHZ: 'ra00_0Form' 23 ap_spec.BAND_2GHZ: 'ra0aForm', 24 ap_spec.BAND_5GHZ: 'ra00_0aForm' 43 return [{'band': ap_spec.BAND_2GHZ, 44 'modes': [ap_spec.MODE_N, ap_spec.MODE_G]}, 45 {'band': ap_spec.BAND_5GHZ, 46 'modes': [ap_spec.MODE_AC, ap_spec.MODE_N, ap_spec.MODE_A]}] 51 return [{'band': ap_spec.BAND_2GHZ, [all …]
|
D | asus_rtac68u_ap_configurator.py | 9 import ap_spec 40 return [{'band': ap_spec.BAND_2GHZ, 42 {'band': ap_spec.BAND_5GHZ, 48 return [{'band': ap_spec.BAND_2GHZ, 49 'modes': [ap_spec.MODE_N]}, 50 {'band': ap_spec.BAND_5GHZ, 51 'modes': [ap_spec.MODE_N, ap_spec.MODE_N|ap_spec.MODE_AC]}] 61 return {ap_spec.BAND_2GHZ: {ap_spec.MODE_N: [20]}, 62 ap_spec.BAND_5GHZ: {ap_spec.MODE_N: [20], 63 ap_spec.MODE_N|ap_spec.MODE_AC: [20]}} [all …]
|
D | belkinF9K1102_ap_configurator.py | 8 import ap_spec 38 return [{'band': ap_spec.BAND_2GHZ, 40 {'band': ap_spec.BAND_5GHZ, 45 return [{'band': ap_spec.BAND_2GHZ, 46 'modes': [ap_spec.MODE_G, 47 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N]}, 48 {'band': ap_spec.BAND_5GHZ, 49 'modes': [ap_spec.MODE_A, ap_spec.MODE_A | ap_spec.MODE_N]}] 65 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 66 ap_spec.SECURITY_TYPE_WPAPSK, [all …]
|
D | belkinF9K1105_ap_configurator.py | 9 import ap_spec 35 return [{'band': ap_spec.BAND_2GHZ, 37 {'band': ap_spec.BAND_5GHZ, 42 return [{'band': ap_spec.BAND_2GHZ, 43 'modes': [ap_spec.MODE_G, ap_spec.MODE_N, 44 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N]}, 45 {'band': ap_spec.BAND_5GHZ, 46 'modes': [ap_spec.MODE_N, ap_spec.MODE_A, 47 ap_spec.MODE_A | ap_spec.MODE_N]}] 63 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, [all …]
|
D | netgear_WNDR_dual_band_configurator.py | 9 import ap_spec 60 return [{'band': ap_spec.BAND_2GHZ, 62 {'band': ap_spec.BAND_5GHZ, 68 return [{'band': ap_spec.BAND_2GHZ, 69 'modes': [ap_spec.MODE_G, ap_spec.MODE_N]}, 70 {'band': ap_spec.BAND_5GHZ, 71 'modes': [ap_spec.MODE_A, ap_spec.MODE_N]}] 80 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 81 ap_spec.SECURITY_TYPE_WPAPSK, 82 ap_spec.SECURITY_TYPE_WPA2PSK, [all …]
|
D | belkinF9K1103_ap_configurator.py | 7 import ap_spec 56 return [{'band': ap_spec.BAND_2GHZ, 58 {'band': ap_spec.BAND_5GHZ, 63 return [{'band': ap_spec.BAND_2GHZ, 64 'modes': [ap_spec.MODE_G, ap_spec.MODE_N, 65 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N]}, 66 {'band': ap_spec.BAND_5GHZ, 67 'modes': [ap_spec.MODE_A, ap_spec.MODE_N, 68 ap_spec.MODE_A | ap_spec.MODE_N]}] 84 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, [all …]
|
D | linksyswrt600_ap_configurator.py | 7 import ap_spec 31 return [{'band': ap_spec.BAND_2GHZ, 32 'modes': [ap_spec.MODE_B, ap_spec.MODE_N, 33 ap_spec.MODE_G, ap_spec.MODE_M]}, 34 {'band': ap_spec.BAND_5GHZ, 35 'modes': [ap_spec.MODE_A, ap_spec.MODE_N, ap_spec.MODE_M]}] 46 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 47 ap_spec.SECURITY_TYPE_WPAPSK, 48 ap_spec.SECURITY_TYPE_WPA2PSK, 49 ap_spec.SECURITY_TYPE_WEP) [all …]
|
D | dlink_dir655_ap_configurator.py | 12 import ap_spec 69 return [{'band': ap_spec.BAND_2GHZ, 74 return [{'band': ap_spec.BAND_2GHZ, 75 'modes': [ap_spec.MODE_B, ap_spec.MODE_G, ap_spec.MODE_N, 76 ap_spec.MODE_B | ap_spec.MODE_G, 77 ap_spec.MODE_G | ap_spec.MODE_N, 78 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N]}] 90 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 91 ap_spec.SECURITY_TYPE_WEP, 92 ap_spec.SECURITY_TYPE_WPAPSK, [all …]
|
D | trendnet731br_ap_configurator.py | 5 import ap_spec 67 return [{'band': ap_spec.BAND_2GHZ, 68 'modes': [ap_spec.MODE_B, 69 ap_spec.MODE_G, 70 ap_spec.MODE_N, 71 ap_spec.MODE_B | ap_spec.MODE_G, 72 ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N]}] 78 mode_mapping = {ap_spec.MODE_B | ap_spec.MODE_G | ap_spec.MODE_N: 80 ap_spec.MODE_N: '2.4Ghz 802.11n only mode', 81 ap_spec.MODE_B: '2.4Ghz 802.11b only mode', [all …]
|
D | keeboxw150nr_ap_configurator.py | 7 import ap_spec 119 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 120 ap_spec.SECURITY_TYPE_WEP, 121 ap_spec.SECURITY_TYPE_WPAPSK, 122 ap_spec.SECURITY_TYPE_WPA2PSK) 126 return [{'band': ap_spec.BAND_2GHZ, 'channels': range(1, 12)}] 138 return [{'band': ap_spec.BAND_2GHZ, 139 'modes': [ap_spec.MODE_B, 140 ap_spec.MODE_G, 141 ap_spec.MODE_N, [all …]
|
D | linksyswrt610n_ap_configurator.py | 6 import ap_spec 24 return security_mode in (ap_spec.SECURITY_TYPE_DISABLED, 25 ap_spec.SECURITY_TYPE_WPAPSK, 26 ap_spec.SECURITY_TYPE_WPA2PSK, 27 ap_spec.SECURITY_TYPE_WEP) 31 mode_mapping = {ap_spec.MODE_B: 'Wireless-B Only', 32 ap_spec.MODE_G: 'Wireless-G Only', 33 ap_spec.MODE_B | ap_spec.MODE_G: 'Wireless-B/G Only', 34 ap_spec.MODE_N: 'Wireless-N Only', 35 ap_spec.MODE_A: 'Wireless-A Only', [all …]
|
/external/autotest/server/site_tests/network_WiFi_ChaosConnectDisconnect/ |
D | control.static_5Ghz | 16 from autotest_lib.server.cros.ap_configurators import ap_spec 22 ap_specs = [ap_spec.APSpec(band=ap_spec.BAND_5GHZ, 24 configurator_type=ap_spec.CONFIGURATOR_STATIC), 25 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, 27 configurator_type=ap_spec.CONFIGURATOR_STATIC), 28 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, 30 configurator_type=ap_spec.CONFIGURATOR_STATIC), 31 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, 33 configurator_type=ap_spec.CONFIGURATOR_STATIC), 34 ap_spec.APSpec(band=ap_spec.BAND_5GHZ, [all …]
|
D | control.static | 17 from autotest_lib.server.cros.ap_configurators import ap_spec 23 ap_specs = [ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_DISABLED, 24 band=ap_spec.BAND_2GHZ, 25 configurator_type=ap_spec.CONFIGURATOR_STATIC), 26 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_DISABLED, 27 band=ap_spec.BAND_5GHZ, 28 configurator_type=ap_spec.CONFIGURATOR_STATIC), 29 ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPA2PSK, 30 band=ap_spec.BAND_2GHZ, 31 configurator_type=ap_spec.CONFIGURATOR_STATIC), [all …]
|