Home
last modified time | relevance | path

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

123456

/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_ap_preset.py49 channel=None, argument
107 if channel:
108 frequency = hostapd_config.get_frequency_for_channel(channel)
110 channel = hostapd_config.get_channel_for_frequency(frequency)
155 if hostapd_config.ht40_plus_allowed(channel):
157 elif hostapd_config.ht40_minus_allowed(channel):
160 if channel == 165:
220 channel=channel,
244 channel=channel,
315 if hostapd_config.ht40_plus_allowed(channel):
[all …]
Dhostapd_config.py22 def ht40_plus_allowed(channel): argument
24 channel_supported = (channel in hostapd_constants.HT40_ALLOW_MAP[
29 def ht40_minus_allowed(channel): argument
31 channel_supported = (channel in hostapd_constants.HT40_ALLOW_MAP[
36 def get_frequency_for_channel(channel): argument
48 if channel == channel_iter:
51 raise ValueError('Unknown channel value: %r.' % channel)
73 def _get_11ac_center_channel_from_channel(self, channel): argument
77 channel = int(channel)
84 if lower_channel_bound <= channel <= upper_channel_bound:
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/compliance/
DWlanPhyComplianceABGTest.py134 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
143 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
152 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
161 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
170 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
179 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
188 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
198 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
208 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
219 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
[all …]
DVapeInteropTest.py86 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
94 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
107 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
115 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
128 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
136 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
149 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
157 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
170 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
178 channel=hostapd_constants.AP_DEFAULT_CHANNEL_2G,
[all …]
DWlanSecurityComplianceABGTest.py215 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
232 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
249 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
266 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
283 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
300 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
317 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
334 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
351 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
367 channel=hostapd_constants.AP_DEFAULT_CHANNEL_5G,
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcmx500_handover_simulator.py33 def lte_handover(self, band, channel, bandwidth, source_technology): argument
42 new_primary = self._get_free_lte_cell(band, channel, bandwidth)
51 self._configure_cell(self.cmx.primary_lte_cell, band, channel,
61 self._configure_cell(self.cmx.primary_lte_cell, band, channel,
70 def nr5g_nsa_handover(self, band, channel, bandwidth, secondary_band, argument
88 new_primary = self._get_free_lte_cell(band, channel, bandwidth)
115 channel, bandwidth)
130 def nr5g_sa_handover(self, band, channel, bandwidth, source_technology): argument
139 new_primary = self._get_free_nr_cell(band, channel, bandwidth)
151 self._configure_cell(self.cmx.primary_nr_cell, band, channel,
[all …]
Dcmw500_handover_simulator.py48 def lte_handover(self, band, channel, bandwidth, source_technology): argument
64 self._lte.configure_incoming_handover_lte(mode, band, channel,
68 def wcdma_handover(self, band, channel, source_technology): argument
80 self._wcdma.configure_incoming_handover_wcdma(band, channel)
261 def configure_incoming_handover_lte(self, mode, band, channel, bandwidth): argument
271 self.configure_handover(mode, band, channel, bandwidth)
276 bts.dl_channel = channel
287 def configure_handover(self, mode, band, channel, bandwidth, emit='NS01'): argument
304 mode.value, band, channel, bandwidth.value, emit))
353 def _dl_channel(self, channel): argument
[all …]
/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_tests/tests/google/fuchsia/wlan/performance/
DChannelSweepTest.py229 def setup_ap(self, channel, channel_bandwidth, security_profile=None): argument
243 if channel > MAX_2_4_CHANNEL:
254 if hostapd_config.ht40_plus_allowed(channel):
256 elif hostapd_config.ht40_minus_allowed(channel):
259 raise ValueError('Invalid Channel: %s' % channel)
267 channel=channel,
278 'Error: %s' % (channel, channel_bandwidth, err))
282 % (ssid, channel, channel_bandwidth))
286 def get_and_verify_iperf_address(self, channel, device, interface=None): argument
303 if channel <= MAX_2_4_CHANNEL:
[all …]
/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 …]
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,
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,
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/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 …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/
Dnetgear_rax120.py178 channel=None,
188 if channel:
189 if channel not in self.capabilities['channels'][network]:
191 channel, network))
192 setting_to_update[network]['channel'] = channel
236 def set_channel(self, network, channel): argument
244 channel=channel)
247 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument
256 network, channel=channel, bandwidth=bandwidth)
351 channel = self.ap_settings[key[0]][key[1]]
[all …]
Dnetgear_rs700.py156 channel=None,
167 if channel:
168 if channel not in self.capabilities['channels'][network]:
170 channel, network))
171 if isinstance(channel, str) and '6g' in channel:
172 channel = int(channel[2:])
173 setting_to_update[network]['channel'] = channel
199 def set_channel(self, network, channel): argument
207 channel=channel)
210 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument
[all …]
Dnetgear_raxe500.py187 channel=None,
198 if channel:
199 if channel not in self.capabilities['channels'][network]:
201 channel, network))
202 if isinstance(channel, str) and '6g' in channel:
203 channel = int(channel[2:])
204 setting_to_update[network]['channel'] = channel
249 def set_channel(self, network, channel): argument
257 channel=channel)
260 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument
[all …]
Dnetgear_rax200.py186 channel=None,
196 if channel:
197 if channel not in self.capabilities['channels'][network]:
199 channel, network))
200 setting_to_update[network]['channel'] = channel
245 def set_channel(self, network, channel): argument
253 channel=channel)
256 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument
265 network, channel=channel, bandwidth=bandwidth)
/tools/test/connectivity/acts/framework/acts/controllers/
Dasus_axe11000_ap.py252 channel = 0
255 channel = key
258 self.ap_settings["2g"]["channel"] = channel
290 channel = 0
293 channel = key
296 self.ap_settings["5g"]["channel"] = channel
318 channel = 0
321 channel = key
324 self.ap_settings["6g"]["channel"] = channel
353 def _set_channel(self, band, channel): argument
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiSensitivityTest.py267 channel = testcase_params['channel']
268 if channel not in channels_tested:
269 channels_tested.append(channel)
271 testclass_results_dict[test_id][channel] = result[
274 testclass_results_dict[test_id][channel] = ''
280 for channel in testclass_results_dict[test_id].keys():
281 metric_tag = collections.OrderedDict(test_id, channel=channel)
285 sensitivity_result = testclass_results_dict[test_id][channel]
299 for channel in channels_tested:
300 csv_header.append('Ch. ' + str(channel))
[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", "…
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
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,
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSources.java63 public static DataSource asDataSource(FileChannel channel) { in asDataSource() argument
64 if (channel == null) { in asDataSource()
67 return new FileChannelDataSource(channel); in asDataSource()
74 public static DataSource asDataSource(FileChannel channel, long offset, long size) { in asDataSource() argument
75 if (channel == null) { in asDataSource()
78 return new FileChannelDataSource(channel, offset, size); in asDataSource()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_data.py66 def __init__(self, binary, channel, sample_format): argument
76 self.channel = channel
77 self.channel_data = [[] for _ in range(self.channel)]
101 n_frames = len(np_array) / self.channel
103 np_array = np_array.reshape(int(n_frames), self.channel)

123456