Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 76) sorted by relevance

1234

/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/
DWlanSecurityComplianceABGTest.py204 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
217 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
230 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
243 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
256 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
269 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
282 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
295 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
308 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
320 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
[all …]
DWlanPhyComplianceABGTest.py135 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
144 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
153 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
162 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
171 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
180 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
189 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
199 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
209 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
219 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
[all …]
DVapeInteropTest.py87 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
95 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
105 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
113 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
123 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
131 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
141 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
149 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
159 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
167 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
[all …]
DChannelSweepTest.py201 def setup_ap(self, channel, channel_bandwidth, security_profile=None): argument
215 if channel > MAX_2_4_CHANNEL:
226 if hostapd_config.ht40_plus_allowed(channel):
228 elif hostapd_config.ht40_minus_allowed(channel):
231 raise ValueError('Invalid Channel: %s' % channel)
239 channel=channel,
250 'Error: %s' % (channel, channel_bandwidth, err))
254 % (ssid, channel, channel_bandwidth))
258 def get_and_verify_iperf_address(self, channel, device, interface=None): argument
275 if channel <= MAX_2_4_CHANNEL:
[all …]
DWlanRvrTest.py574 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
594 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
614 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
634 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
656 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
680 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
704 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
728 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
750 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
770 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
[all …]
DWlanPhyCompliance11NTest.py146 channel = 1
148 channel = 36
155 channel = 11
157 channel = 60
163 if hostapd_config.ht40_plus_allowed(channel):
165 elif hostapd_config.ht40_minus_allowed(channel):
168 raise ValueError('Invalid channel: %s' % channel)
182 channel=channel,
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_ap_preset.py46 channel=None, argument
100 if channel:
101 frequency = hostapd_config.get_frequency_for_channel(channel)
103 channel = hostapd_config.get_channel_for_frequency(frequency)
146 if hostapd_config.ht40_plus_allowed(channel):
148 elif hostapd_config.ht40_minus_allowed(channel):
151 if channel == 165:
210 channel=channel,
232 channel=channel,
299 if hostapd_config.ht40_plus_allowed(channel):
[all …]
Dhostapd_config.py24 def ht40_plus_allowed(channel): argument
26 channel_supported = (channel in hostapd_constants.HT40_ALLOW_MAP[
31 def ht40_minus_allowed(channel): argument
33 channel_supported = (channel in hostapd_constants.HT40_ALLOW_MAP[
38 def get_frequency_for_channel(channel): argument
50 if channel == channel_iter:
53 raise ValueError('Unknown channel value: %r.' % channel)
74 def _get_11ac_center_channel_from_channel(self, channel): argument
78 channel = int(channel)
85 if lower_channel_bound <= channel <= upper_channel_bound:
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiSensitivityTest.py222 channel = testcase_params['channel']
223 if channel not in channels_tested:
224 channels_tested.append(channel)
226 testclass_results_dict[test_id][channel] = result[
229 testclass_results_dict[test_id][channel] = ''
235 for channel in testclass_results_dict[test_id].keys():
236 metric_tag = collections.OrderedDict(test_id, channel=channel)
240 sensitivity_result = testclass_results_dict[test_id][channel]
254 for channel in channels_tested:
255 csv_header.append('Ch. ' + str(channel))
[all …]
DWifiRssiTest.py796 for channel, mode, traffic_mode, test_type in itertools.product(
798 if channel not in allowed_configs[mode]:
801 channel, mode, traffic_mode)
803 channel=channel,
898 channel = current_params['channel']
900 channel,
919 for channel, channel_data in testclass_data.items():
922 channel, rssi_metric)
937 for channel, channel_data in testclass_data.items():
939 title='Channel {} - Rssi vs. Position'.format(channel),
[all …]
DWifiThroughputStabilityTest.py77 for channel, mode, signal_level, traffic_type, traffic_direction in itertools.product(
84 if channel not in allowed_configs[mode]:
87 channel=channel,
95 channel, mode))
496 for channel, channel_data in testclass_data.items():
501 test_id_dict['traffic_direction'], channel,
514 for channel, channel_data in testclass_data.items():
516 title='Channel {} - Rate vs. Position'.format(channel),
562 … for channel, mode, position, traffic_type, signal_level, traffic_direction in itertools.product(
565 if channel not in allowed_configs[mode]:
[all …]
DWifiPingTest.py525 for channel, mode, chain, test_type in itertools.product(
527 if channel not in allowed_configs[mode]:
529 testcase_name = '{}_ch{}_{}_ch{}'.format(test_type, channel, mode,
533 channel=channel,
640 for channel, channel_data in range_vs_angle.items():
644 legend='Channel {}'.format(channel))
648 channel, average_range))
649 metric_name = 'ota_summary_ch{}.avg_range'.format(channel)
722 for channel, mode, position in itertools.product(
724 if channel not in allowed_configs[mode]:
[all …]
DWifiScannerTests.config4 …"radio0": {"settings": {"channel": 1}, "wifi-iface" : [{"ssid": "Test_1", "key": "hahahaha", "encr…
6 …"radio1": {"settings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "en…
10 …"radio0": {"settings": {"channel": 6}, "wifi-iface" : [{"ssid": "Test_6", "key": "hahahaha", "encr…
12 …"radio1": {"settings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "en…
16 …"radio0": {"settings": {"channel": 10}, "wifi-iface" : [{"ssid": "Test_10", "key": "hahahaha", "en…
18 …"radio1": {"settings": {"channel": 44}, "wifi-iface" : [{"ssid": "Test_44", "key": "hahahaha", "en…
22 …"radio0": {"settings": {"channel": 11}, "wifi-iface" : [{"ssid": "Test_11", "key": "hahahaha", "en…
24 …"radio1": {"settings": {"channel": 149}, "wifi-iface" : [{"ssid": "Test_149", "key": "hahahaha", "…
DWifiRvrTest.py593 for channel, mode, traffic_type, traffic_direction in itertools.product(
595 if channel not in allowed_configs[mode]:
598 traffic_type, traffic_direction, channel, mode)
600 channel=channel,
812 for channel, mode, angle, traffic_type, direction in itertools.product(
814 if channel not in allowed_configs[mode]:
817 traffic_type, direction, channel, mode, angle)
818 test_params = collections.OrderedDict(channel=channel,
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/
Dasus.py24 channel=None, argument
109 if channel <= 11:
134 channel=channel,
153 channel=None, argument
203 if channel <= 11:
233 channel=channel,
249 channel=None, argument
325 if channel <= 11:
357 channel=channel,
375 channel=None, argument
[all …]
Dtplink.py24 channel=None, argument
106 if channel <= 11:
138 channel=channel,
156 channel=None, argument
214 if channel <= 11:
242 if hostapd_config.ht40_plus_allowed(channel):
244 elif hostapd_config.ht40_minus_allowed(channel):
264 channel=channel,
283 channel=None, argument
352 if channel <= 11:
[all …]
Dlinksys.py24 channel=None, argument
88 if channel <= 11:
105 channel=channel,
123 channel=None, argument
168 if channel <= 11:
183 channel=channel,
198 channel=None, argument
273 if channel <= 11:
297 channel=channel,
Dactiontec.py23 channel=None, argument
43 if channel > 11:
47 'Invalid channel (%s)' % channel)
69 channel=channel,
84 channel=None, argument
109 if channel > 11:
111 'Invalid channel (%s)' % channel)
142 channel=channel,
Dnetgear.py24 channel=None, argument
117 if channel <= 11:
133 if hostapd_config.ht40_plus_allowed(channel):
135 elif hostapd_config.ht40_minus_allowed(channel):
156 channel=channel,
175 channel=None, argument
241 if channel <= 11:
259 channel=channel,
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
Dcalibration.py36 def add(self, channel, origin, granularity, value): argument
61 def get(self, channel, origin, granularity): argument
83 def add(self, channel, origin, granularity, value): argument
92 window = self._calibrations[(channel, origin, granularity)]
100 def get(self, channel, origin, granularity): argument
101 window = self._calibrations[(channel, origin, granularity)]
104 (channel, origin, granularity)))
121 def add(self, channel, origin, granularity, value): argument
133 self._calibrations[(channel, origin, granularity)] = value
135 def get(self, channel, origin, granularity): argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dcalibrations.py70 channel = i >> 1
71 self.add(channel, origin, granularity,
72 sample[channel, granularity])
103 def build_status_packet_attribute_name(channel, origin, granularity): argument
122 if channel == Channel.MAIN:
123 channel = 'main'
124 elif channel == Channel.USB:
125 channel = 'usb'
126 elif channel == Channel.AUX:
127 channel = 'aux'
[all …]
Dtransformers.py428 for channel in Channel.values:
430 scale = self.cal_constants.get(channel, Origin.SCALE,
432 zero_offset = self.cal_constants.get(channel, Origin.ZERO,
434 cal_ref = calibration_data.get(channel, Origin.REFERENCE,
436 cal_zero = calibration_data.get(channel, Origin.ZERO,
446 index = HvpmMeasurement.get_index(channel, granularity)
451 channel, Granularity.FINE)
452 readings[:, channel] = np.where(
/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/
DBtChameleonTest.py61 channel, audio_to_play): argument
91 channel=channel,
150 channel = audio_channel_mode_8
160 channel=channel,
211 channel = audio_channel_mode_8
220 channel=channel,
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
Dstock_transformers.py352 for channel in Channel.values:
353 fine_zero = calibration_data.get(channel, Origin.ZERO,
355 fine_scale = calibration_data.get(channel, Origin.SCALE,
357 coarse_zero = calibration_data.get(channel, Origin.ZERO,
359 coarse_scale = calibration_data.get(channel, Origin.SCALE,
368 readings[:, channel] = np.where(
369 measurements[:, channel] & 1,
370 ((measurements[:, channel] & ~1) - coarse_zero) * coarse_scale,
371 (measurements[:, channel] - fine_zero) * fine_scale)
Dcalibrations.py74 for channel in Channel.values:
75 self.add(channel, origin, granularity, sample[channel])
89 for channel, granularity in pairs:
96 self._calibrations[(channel, Origin.REFERENCE, granularity)] -
97 self._calibrations[(channel, Origin.ZERO, granularity)])
102 self._calibrations[(channel, Origin.SCALE,

1234