Lines Matching refs:chan

78             chan = self.test_name.split('_')[-1]
79 if chan.isnumeric():
80 band = '2G' if self.chan_map[int(chan)] < 5000 else '5G'
81 self.packet_capture[0].configure_monitor_mode(band, int(chan))
211 def verify_acs_channel(self, chan, avoid_chan): argument
224 if chan == avoid_chan or chan == avoid_chan2:
226 "AP was beaconing on. Channel = %d" % chan)
233 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
234 if not chan in range(1, 12):
236 "band" % chan)
242 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
243 if not chan in range(36, 166):
246 "band" % chan)
252 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_AUTO)
253 if not chan in range(36, 166):
256 "band" % chan)
263 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
265 self.verify_acs_channel(chan, avoid_chan)
272 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
274 self.verify_acs_channel(chan, avoid_chan)
281 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
283 self.verify_acs_channel(chan, avoid_chan)
290 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
292 self.verify_acs_channel(chan, avoid_chan)
299 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
301 self.verify_acs_channel(chan, avoid_chan)
308 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
310 self.verify_acs_channel(chan, avoid_chan)
317 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
319 self.verify_acs_channel(chan, avoid_chan)
326 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
328 self.verify_acs_channel(chan, avoid_chan)
335 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
337 self.verify_acs_channel(chan, avoid_chan)
344 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
346 self.verify_acs_channel(chan, avoid_chan)
353 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
355 self.verify_acs_channel(chan, avoid_chan)
362 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
364 self.verify_acs_channel(chan, avoid_chan)
371 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
373 self.verify_acs_channel(chan, avoid_chan)
380 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
382 self.verify_acs_channel(chan, avoid_chan)
389 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
391 self.verify_acs_channel(chan, avoid_chan)
398 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
400 self.verify_acs_channel(chan, avoid_chan)
407 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
409 self.verify_acs_channel(chan, avoid_chan)
416 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
418 self.verify_acs_channel(chan, avoid_chan)
425 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
427 self.verify_acs_channel(chan, avoid_chan)
434 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
436 self.verify_acs_channel(chan, avoid_chan)
443 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
445 self.verify_acs_channel(chan, avoid_chan)
452 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
454 self.verify_acs_channel(chan, avoid_chan)
461 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
463 self.verify_acs_channel(chan, avoid_chan)
470 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
472 self.verify_acs_channel(chan, avoid_chan)
479 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
481 self.verify_acs_channel(chan, avoid_chan)
488 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
490 self.verify_acs_channel(chan, avoid_chan)
497 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
499 self.verify_acs_channel(chan, avoid_chan)
506 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
508 self.verify_acs_channel(chan, avoid_chan)
515 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
517 self.verify_acs_channel(chan, avoid_chan)
524 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
526 self.verify_acs_channel(chan, avoid_chan)
533 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
535 self.verify_acs_channel(chan, avoid_chan)
542 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
544 self.verify_acs_channel(chan, avoid_chan)
551 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
553 self.verify_acs_channel(chan, avoid_chan)
560 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
562 self.verify_acs_channel(chan, avoid_chan)
569 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
571 self.verify_acs_channel(chan, avoid_chan)
578 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
580 self.verify_acs_channel(chan, avoid_chan)
587 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
589 self.verify_acs_channel(chan, avoid_chan)
596 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
598 self.verify_acs_channel(chan, avoid_chan)
605 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_2G)
607 self.verify_acs_channel(chan, avoid_chan)
614 chan = self.start_traffic_and_softap(network, WIFI_CONFIG_APBAND_5G)
616 self.verify_acs_channel(chan, avoid_chan)