/test/vts/utils/python/controllers/attenuator_lib/aeroflex/ |
telnet.py | 16 Class for Telnet control of Aeroflex 832X and 833X Series Attenuator Modules 18 This class provides a wrapper to the Aeroflex attenuator modules for purposes 26 from vts.utils.python.controllers import attenuator 30 class AttenuatorInstrument(attenuator.AttenuatorInstrument): 45 host : A valid hostname (IP address or DNS-resolvable name) to an MC-DAT attenuator 80 This should be called as part of any teardown procedure prior to the attenuator 87 r"""This function sets the attenuation of an attenuator given its index in the instrument. 91 idx : This zero-based index is the identifier for a particular attenuator in an 100 If the index of the attenuator is greater than the maximum index of the underlying 108 raise attenuator.InvalidOperationError("Connection not open!" [all...] |
/test/vts/utils/python/controllers/attenuator_lib/minicircuits/ |
telnet.py | 18 This class provides a wrapper to the MC-RCDAT attenuator modules for purposes 26 from vts.utils.python.controllers import attenuator 30 class AttenuatorInstrument(attenuator.AttenuatorInstrument): 55 host : A valid hostname (IP address or DNS-resolvable name) to an MC-DAT attenuator 89 This should be called as part of any teardown procedure prior to the attenuator 96 r"""This function sets the attenuation of an attenuator given its index in the instrument. 100 idx : This zero-based index is the identifier for a particular attenuator in an 109 If the index of the attenuator is greater than the maximum index of the underlying 117 raise attenuator.InvalidOperationError("Connection not open!") 120 raise IndexError("Attenuator index out of range!", self.num_atten [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/aeroflex/ |
telnet.py | 18 Class for Telnet control of Aeroflex 832X and 833X Series Attenuator Modules 20 This class provides a wrapper to the Aeroflex attenuator modules for purposes 29 from acts.controllers import attenuator 33 class AttenuatorInstrument(attenuator.AttenuatorInstrument): 49 host : A valid hostname (IP address or DNS-resolvable name) to an MC-DAT attenuator 84 This should be called as part of any teardown procedure prior to the attenuator 91 r"""This function sets the attenuation of an attenuator given its index in the instrument. 95 idx : This zero-based index is the identifier for a particular attenuator in an 104 If the index of the attenuator is greater than the maximum index of the underlying 113 raise attenuator.InvalidOperationError("Connection not open!" [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/ |
telnet.py | 20 This class provides a wrapper to the MC-RCDAT attenuator modules for purposes 28 from acts.controllers import attenuator 32 class AttenuatorInstrument(attenuator.AttenuatorInstrument): 57 host : A valid hostname (IP address or DNS-resolvable name) to an MC-DAT attenuator 90 This should be called as part of any teardown procedure prior to the attenuator 97 r"""This function sets the attenuation of an attenuator given its index in the instrument. 101 idx : This zero-based index is the identifier for a particular attenuator in an 110 If the index of the attenuator is greater than the maximum index of the underlying 118 raise attenuator.InvalidOperationError("Connection not open!") 121 raise IndexError("Attenuator index out of range!", self.num_atten, idx [all...] |
/test/vts/utils/python/controllers/attenuator_lib/ |
_tnhelper.py | 22 from vts.utils.python.controllers import attenuator 64 raise attenuator.InvalidOperationError( 78 raise attenuator.InvalidDataError(
|
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/ |
_tnhelper.py | 25 from acts.controllers import attenuator 47 logging.debug("Attenuator IP = %s" % host) 64 raise attenuator.InvalidOperationError("Telnet connection not open for commands") 77 raise attenuator.InvalidDataError("Telnet command failed to return valid data")
|
/external/autotest/server/cros/network/ |
attenuator_controller.py | 49 # to form the inputs to a given variable attenuator. These inputs spell 56 # four groups of bits, one group per attenuator. 58 # Note that there is also a fixed amount of loss generated by the attenuator 114 # attenuator hostname -> attenuator number -> frequency -> loss in dB. 116 'chromeos1-grover-host1-attenuator': { 121 'chromeos1-grover-host2-attenuator': { 126 'chromeos1-grover-host3-attenuator': { 131 'chromeos1-grover-host4-attenuator': { 136 'chromeos1-grover-host5-attenuator': [all...] |
wifi_test_context_manager.py | 37 def attenuator(self): member in class:WiFiTestContextManager 38 """@return attenuator object (e.g. a BeagleBone).""" 40 raise error.TestNAError('No attenuator available in this setup.') 203 # The attenuator host gives us the ability to attenuate particular
|
/external/autotest/server/site_tests/network_WiFi_VerifyAttenuator/ |
network_WiFi_VerifyAttenuator.py | 21 """Contains debug information about an attenuator.""" 49 """Returns True if the attenuator looks good; False otherwise.""" 106 current attenuator 134 'attenuator may be stuck or broken. ' 144 @param attenuator_num: int attenuator num controlling one antenna on 150 logging.info('Verifying attenuator functionality') 155 self.context.attenuator.set_variable_attenuation( 157 logging.info('Removing variable attenuation for attenuator=%d', 160 self.context.attenuator.set_variable_attenuation( 171 logging.error('Failed to connect to AP %d on attenuator %d' [all...] |
/external/autotest/server/site_tests/network_WiFi_SSIDMultiSwitchBack/ |
network_WiFi_SSIDMultiSwitchBack.py | 30 | attenuator.cros [Port0]-[attenuator] | 31 | [Port1]----- | ----[attenuator] 51 This arrangement ensures that the attenuator port numbers are assigned to 91 self.context.attenuator.set_variable_attenuation_on_port( 93 site_attenuator.Attenuator.MAX_VARIABLE_ATTENUATION)
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
arduino_test_utils.py | 27 from acts.controllers import attenuator
|
/test/vts/utils/python/controllers/ |
attenuator.py | 20 VTS_CONTROLLER_CONFIG_NAME = "Attenuator" 41 attn = Attenuator(attn_inst, idx=i) 46 logger.error("No path specified for attenuator %d." % i) 65 r"""This is the Exception class defined for all errors generated by Attenuator-related modules. 74 When this exception is seen, closing an re-opening the link to the attenuator instrument is 89 r"""This is a base class that defines the primitive behavior of all attenuator 93 accessing any step attenuator instrument comprised of one or more attenuators and a 102 r"""This is the Constructor for Attenuator Instrument. 130 r"""This function sets the attenuation of an attenuator given its index in the instrument. 134 idx : This zero-based index is the identifier for a particular attenuator in a [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/ |
attenuator.py | 23 ACTS_CONTROLLER_CONFIG_NAME = "Attenuator" 45 logging.error('Attempt %s to open connection to attenuator ' 51 logging.error('Unable to ping attenuator at %s' % 54 logging.error('Able to ping attenuator at %s' % 58 attn = Attenuator(attn_inst, idx=i) 63 logging.error("No path specified for attenuator %d.", i) 83 r"""This is the Exception class defined for all errors generated by Attenuator-related modules. 92 When this exception is seen, closing an re-opening the link to the attenuator instrument is 107 r"""This is a base class that defines the primitive behavior of all attenuator 111 accessing any step attenuator instrument comprised of one or more attenuators and [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
wifi_test_utils.py | 27 from acts.controllers import attenuator [all...] |
WifiBaseTest.py | 41 for attenuator in self.attenuators: 42 attenuator.set_atten(0)
|
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiNetworkSelectorTest.py | 25 from acts.controllers import attenuator 66 for attenuator in self.attenuators: 67 attenuator.set_atten(ATTENUATOR_INITIAL_SETTING) 115 #wait for the attenuator to stablize 205 #TODO: control open network attenuator
|
/external/autotest/server/site_tests/network_WiFi_AttenuatedPerf/ |
network_WiFi_AttenuatedPerf.py | 82 start_atten = self.context.attenuator.get_minimal_total_attenuation() 86 self.context.attenuator.set_total_attenuation(
|
/external/autotest/client/cros/networking/ |
android_xmlrpc_server.py | 24 from acts.controllers import attenuator 188 # Even if we find one attenuator assume the rig has attenuators for now. 189 # With the single IP attenuator, this will be a easy check. 193 atten_addr = test_station+'-attenuator-'+'%d' %i 199 atten = attenuator.create([{"Address":test_station+'-attenuator-1', 203 "Paths":["Attenuator-1"]}, 204 {"Address":test_station+'-attenuator-2', 208 "Paths":["Attenuator-2"]}, 209 {"Address":test_station+'-attenuator-3' [all...] |
/external/autotest/server/site_tests/network_WiFi_RoamOnLowPower/ |
network_WiFi_RoamOnLowPower.py | 201 | attenuator.cros [Port0]-[attenuator] | 202 | [Port1]----- | ----[attenuator] 222 This arrangement ensures that the attenuator port numbers are assigned to 365 # Adds a clear margin to attenuator levels to make sure that we 429 # Keep attenuation values below the attenuator's maximum. 430 if attenuation_db > (site_attenuator.Attenuator. 432 attenuation_db = (site_attenuator.Attenuator. 435 self.context.attenuator.set_variable_attenuation_on_port( 437 if attenuation_db >= (site_attenuator.Attenuator [all...] |