Home
last modified time | relevance | path

Searched refs:bandwidth (Results 1 – 25 of 54) sorted by relevance

123

/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/
DLteSimulation.py646 bandwidth = bts_config.bandwidth
648 if bandwidth == 100: # This assumes 273 RBs. TODO: b/229163022
650 elif bandwidth == 20: # 100 RBs
652 elif bandwidth == 15: # 75 RBs
654 elif bandwidth == 10: # 50 RBs
656 elif bandwidth == 5: # 25 RBs
658 elif bandwidth == 3: # 15 RBs
660 elif bandwidth == 1.4: # 6 RBs
700 bandwidth = bts_config.bandwidth
701 rb_ratio = bts_config.dl_rbs / TOTAL_RBS_DICTIONARY[bandwidth]
[all …]
DLteCellConfig.py96 self.bandwidth = None
183 self.bandwidth = bw
284 if self.dl_256_qam_enabled and self.bandwidth == 1.4:
287 and self.bandwidth != 1.4):
423 max_rbs = lte_sim.TOTAL_RBS_DICTIONARY[self.bandwidth]
424 min_dl_rbs = lte_sim.MIN_DL_RBS_DICTIONARY[self.bandwidth]
425 min_ul_rbs = lte_sim.MIN_UL_RBS_DICTIONARY[self.bandwidth]
459 desired_dl_rbs / lte_sim.RBG_DICTIONARY[self.bandwidth]) *
460 lte_sim.RBG_DICTIONARY[self.bandwidth])
/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)
52 bandwidth)
62 bandwidth)
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)
152 bandwidth)
[all …]
Dcmw500_handover_simulator.py48 def lte_handover(self, band, channel, bandwidth, source_technology): argument
60 bandwidth = cmw500.BandwidthFromFloat(bandwidth)
65 bandwidth)
261 def configure_incoming_handover_lte(self, mode, band, channel, bandwidth): argument
271 self.configure_handover(mode, band, channel, bandwidth)
277 bts.bandwidth = bandwidth
287 def configure_handover(self, mode, band, channel, bandwidth, emit='NS01'): argument
297 if not isinstance(bandwidth, cmw500.LteBandwidth):
304 mode.value, band, channel, bandwidth.value, emit))
Dcmw500_cellular_simulator.py318 def set_bandwidth(self, bts_index, bandwidth): argument
327 if bandwidth == 20:
328 bts.bandwidth = cmw500.LteBandwidth.BANDWIDTH_20MHz
329 elif bandwidth == 15:
330 bts.bandwidth = cmw500.LteBandwidth.BANDWIDTH_15MHz
331 elif bandwidth == 10:
332 bts.bandwidth = cmw500.LteBandwidth.BANDWIDTH_10MHz
333 elif bandwidth == 5:
334 bts.bandwidth = cmw500.LteBandwidth.BANDWIDTH_5MHz
335 elif bandwidth == 3:
[all …]
Dcmw500.py106 raise ValueError('Bandwidth {} MHz is not valid for LTE'.format(bandwidth))
911 def bandwidth(self): member in BaseStation
916 @bandwidth.setter
917 def bandwidth(self, bandwidth): member in BaseStation
923 if not isinstance(bandwidth, LteBandwidth):
927 self._bts, bandwidth.value)
1173 bandwidth = self.bandwidth
1175 if bandwidth == LteBandwidth.BANDWIDTH_1MHz.value:
1179 elif bandwidth == LteBandwidth.BANDWIDTH_3MHz.value:
1183 elif bandwidth == LteBandwidth.BANDWIDTH_5MHz.value:
[all …]
Dcmx500.py900 def bandwidth(self): member in LteBaseStation
924 def _to_rb_bandwidth(self, bandwidth): argument
926 if bandwidth < LTE_MHZ_UPPER_BOUND_TO_RB[idx][0]:
936 def set_bandwidth(self, bandwidth): argument
942 self._cell.set_bandwidth(self._to_rb_bandwidth(bandwidth))
1348 def _bandwidth_to_carrier_bandwidth(self, bandwidth): argument
1373 if bandwidth > 100:
1374 return CarrierBandwidth(12 + bandwidth // 200)
1375 elif bandwidth > 30:
1376 return CarrierBandwidth(2 + bandwidth // 10)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/
Dnetgear_rax120.py179 bandwidth=None):
194 if bandwidth is None:
197 if 'bw' in bandwidth:
198 bandwidth = bandwidth.replace('bw',
200 if bandwidth not in self.capabilities['modes'][network]:
202 bandwidth, network))
203 setting_to_update[network]['bandwidth'] = str(bandwidth)
204 setting_to_update['enable_ax'] = int('HE' in bandwidth)
206 requested_mode = 'HE' if 'HE' in bandwidth else 'VHT'
225 def set_bandwidth(self, network, bandwidth): argument
[all …]
Dnetgear_rax200.py187 bandwidth=None):
202 if bandwidth is None:
205 if 'bw' in bandwidth:
206 bandwidth = bandwidth.replace('bw',
208 if bandwidth not in self.capabilities['modes'][network]:
210 bandwidth, network))
211 setting_to_update[network]['bandwidth'] = str(bandwidth)
212 setting_to_update['enable_ax'] = int('HE' in bandwidth)
214 requested_mode = 'HE' if 'HE' in bandwidth else 'VHT'
233 def set_bandwidth(self, network, bandwidth): argument
[all …]
Dnetgear_rs700.py157 bandwidth=None):
175 if bandwidth is None:
178 if 'bw' in bandwidth:
179 bandwidth = bandwidth.replace('bw',
181 if bandwidth not in self.capabilities['modes'][network]:
183 bandwidth, network))
184 setting_to_update[network]['bandwidth'] = str(bandwidth)
187 def set_bandwidth(self, network, bandwidth): argument
196 network, bandwidth=bandwidth)
210 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument
[all …]
Dnetgear_raxe500.py188 bandwidth=None):
206 if bandwidth is None:
209 if 'bw' in bandwidth:
210 bandwidth = bandwidth.replace('bw',
212 if bandwidth not in self.capabilities['modes'][network]:
214 bandwidth, network))
215 setting_to_update[network]['bandwidth'] = str(bandwidth)
216 setting_to_update['enable_ax'] = int('HE' in bandwidth)
218 requested_mode = 'HE' if 'HE' in bandwidth else 'VHT'
237 def set_bandwidth(self, network, bandwidth): argument
[all …]
D__init__.py502 def set_bandwidth(self, network, bandwidth): argument
509 if 'bw' in bandwidth:
510 bandwidth = bandwidth.replace('bw',
512 elif isinstance(bandwidth, int):
513 bandwidth = str(bandwidth) + self.capabilities['default_mode']
514 if bandwidth not in self.capabilities['modes'][network]:
516 bandwidth, network))
517 setting_to_update = {network: {'bandwidth': bandwidth}}
520 def set_channel_and_bandwidth(self, network, channel, bandwidth): argument
528 if 'bw' in bandwidth:
[all …]
Dbrcm_ref.py145 def _get_channel_str(self, interface, channel, bandwidth): argument
146 bandwidth = int(''.join([x for x in bandwidth if x.isdigit()]))
147 if bandwidth == 20:
149 elif bandwidth in [80, 160]:
150 channel_str = str(channel) + '/' + str(bandwidth)
151 elif interface == '6G' and bandwidth == 40:
152 channel_str = str(channel) + '/' + str(bandwidth)
153 elif interface == '2G_5G' and bandwidth == 40:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dwmm_transceiver.py227 (receiver, access_category, bandwidth,
245 bandwidth=bandwidth,
263 (receiver, access_category, bandwidth,
277 'bandwidth': bandwidth,
300 bandwidth = pending_stream_config['bandwidth']
313 'bandwidth': bandwidth,
395 bandwidth=None, argument
436 if bandwidth:
437 bandwidth_flag = ' -u -b %sM' % bandwidth
447 bandwidth if bandwidth else 'Unlimited'))
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475_cellular_simulator.py397 def set_bandwidth(self, bts_index, bandwidth): argument
406 if bandwidth == 20:
407 bts.bandwidth = md8475a.BtsBandwidth.LTE_BANDWIDTH_20MHz
408 elif bandwidth == 15:
409 bts.bandwidth = md8475a.BtsBandwidth.LTE_BANDWIDTH_15MHz
410 elif bandwidth == 10:
411 bts.bandwidth = md8475a.BtsBandwidth.LTE_BANDWIDTH_10MHz
412 elif bandwidth == 5:
413 bts.bandwidth = md8475a.BtsBandwidth.LTE_BANDWIDTH_5MHz
414 elif bandwidth == 3:
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerWiFiBaseTest.py132 bandwidth=80, argument
155 bandwidth=bandwidth,
159 ap, network, bandwidth=bandwidth, dtim_period=dtim_period)
DIperfHelper.py40 self.bandwidth = config['bandwidth']
42 self.bandwidth = None
56 if self.bandwidth is not None:
57 iperf_args = iperf_args + ' -b {}M'.format(self.bandwidth)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRvrTest.py742 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
743 if channel not in allowed_configs[bandwidth]:
750 bandwidth=bandwidth,
876 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
877 if channel not in allowed_configs[bandwidth]:
884 bandwidth=bandwidth,
1066 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
1067 if channel not in allowed_configs[bandwidth]:
1073 bandwidth=bandwidth,
1164 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
[all …]
DWifiThroughputStabilityTest.py88 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
89 if channel not in allowed_configs[bandwidth]:
94 bandwidth=bandwidth,
662 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
663 if channel not in allowed_configs[bandwidth]:
668 bandwidth=bandwidth,
/tools/test/connectivity/acts/framework/acts/controllers/
Dhandover_simulator.py31 def nr5g_sa_handover(self, band, channel, bandwidth, source_technology): argument
42 def nr5g_nsa_handover(self, band, channel, bandwidth, secondary_band, argument
62 def lte_handover(self, band, channel, bandwidth, source_technology): argument
Dcellular_simulator.py149 if config.bandwidth:
150 self.set_bandwidth(bts_index, config.bandwidth)
254 if config.bandwidth:
255 self.set_bandwidth(bts_index, config.bandwidth)
332 def set_bandwidth(self, bts_index, bandwidth): argument
Dpacket_capture.py212 def configure_monitor_mode(self, band, channel, bandwidth=20): argument
231 if bandwidth == 20:
236 for i, j in CENTER_CHANNEL_MAP[VHT_CHANNEL[bandwidth]]["channels"]:
244 (iface, FREQUENCY_MAP[channel], bandwidth, center_freq),
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dota_sniffer.py500 self.bandwidth = None
546 if chan == self.channel and bw == self.bandwidth:
550 self.bandwidth = bw
624 self.bandwidth = None
671 if chan == self.channel and bw == self.bandwidth:
675 self.bandwidth = bw
/tools/test/connectivity/acts_tests/tests/google/coex/hotspot_tests/
DHotspotWiFiChannelTest.py164 self.bts.bandwidth = cmw500.LteBandwidth.BANDWIDTH_5MHz
169 self.bts.bandwidth,
238 bandwidth = match.group(0).strip('MHz')
239 return bandwidth
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_traffic_power_test.py321 bandwidth=self.bandwidth_limit_dl))
332 bandwidth=self.bandwidth_limit_ul))
345 bandwidth=0, argument
377 if bandwidth > 0:
378 config['bandwidth'] = bandwidth

123