HomeSort by relevance Sort by last modified time
    Searched refs:attenuator (Results 1 - 10 of 10) sorted by null

  /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
29 from acts.controllers import attenuator
33 class AttenuatorInstrument(attenuator.AttenuatorInstrument):
58 host : A valid hostname (IP address or DNS-resolvable name) to an MC-DAT attenuator
91 This should be called as part of any teardown procedure prior to the attenuator
98 r"""This function sets the attenuation of an attenuator given its index in the instrument.
102 idx : This zero-based index is the identifier for a particular attenuator in an
111 If the index of the attenuator is greater than the maximum index of the underlying
119 raise attenuator.InvalidOperationError("Connection not open!")
122 raise IndexError("Attenuator index out of range!", self.num_atten, idx
    [all...]
  /tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
_tnhelper.py 25 from acts.controllers import attenuator
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 36 def attenuator(self): member in class:WiFiTestContextManager
37 """@return attenuator object (e.g. a BeagleBone)."""
39 raise error.TestNAError('No attenuator available in this setup.')
182 # 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/controllers/
attenuator.py 21 ACTS_CONTROLLER_CONFIG_NAME = "Attenuator"
41 attn = Attenuator(attn_inst, idx=i)
46 logger.error("No path specified for attenuator %d." % i)
63 r"""This is the Exception class defined for all errors generated by Attenuator-related modules.
72 When this exception is seen, closing an re-opening the link to the attenuator instrument is
87 r"""This is a base class that defines the primitive behavior of all attenuator
91 accessing any step attenuator instrument comprised of one or more attenuators and a
100 r"""This is the Constructor for Attenuator Instrument.
127 r"""This function sets the attenuation of an attenuator given its index in the instrument.
131 idx : This zero-based index is the identifier for a particular attenuator in a
    [all...]
  /external/autotest/server/site_tests/network_WiFi_AttenuatedPerf/
network_WiFi_AttenuatedPerf.py 80 start_atten = self.context.attenuator.get_minimal_total_attenuation()
85 self.context.attenuator.set_total_attenuation(
  /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...]

Completed in 180 milliseconds