Lines Matching refs:config
174 def eap_negative_connect_logic(self, config, ad): argument
184 with asserts.assert_raises(signals.TestFailure, extras=config):
185 verdict = wutils.wifi_connect(ad, config)
188 def gen_negative_configs(self, config, neg_params): argument
204 negative_config = dict(config)
211 if config[Ent.EAP] == EAP.TLS and k == Ent.IDENTITY:
213 if k in config:
218 def gen_negative_eap_configs(self, config): argument
239 return self.gen_negative_configs(config, neg_params)
241 def gen_negative_passpoint_configs(self, config): argument
262 return self.gen_negative_configs(config, neg_params)
265 config, argument
280 wutils.wifi_connect(ad, config)
281 wutils.toggle_wifi_and_wait_for_reconnection(ad, config, num_of_tries=5)
325 config = dict(self.config_ttls)
326 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.NONE.value
327 wutils.wifi_connect(self.dut, config)
331 config = dict(self.config_ttls)
332 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.PAP.value
333 wutils.wifi_connect(self.dut, config)
337 config = dict(self.config_ttls)
338 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAP.value
339 wutils.wifi_connect(self.dut, config)
343 config = dict(self.config_ttls)
344 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
345 wutils.wifi_connect(self.dut, config)
349 config = dict(self.config_ttls)
350 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
351 wutils.wifi_connect(self.dut, config)
355 config = dict(self.config_peap0)
356 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
357 wutils.wifi_connect(self.dut, config)
361 config = dict(self.config_peap0)
362 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
363 wutils.wifi_connect(self.dut, config)
367 config = dict(self.config_peap1)
368 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
369 wutils.wifi_connect(self.dut, config)
373 config = dict(self.config_peap1)
374 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
375 wutils.wifi_connect(self.dut, config)
389 config = self.gen_negative_eap_configs(self.config_tls)
390 self.eap_negative_connect_logic(config, self.dut)
394 config = self.gen_negative_eap_configs(self.config_pwd)
395 self.eap_negative_connect_logic(config, self.dut)
399 config = self.gen_negative_eap_configs(self.config_sim)
400 self.eap_negative_connect_logic(config, self.dut)
404 config = self.gen_negative_eap_configs(self.config_aka)
405 self.eap_negative_connect_logic(config, self.dut)
409 config = self.gen_negative_eap_configs(self.config_aka_prime)
410 self.eap_negative_connect_logic(config, self.dut)
414 config = dict(self.config_ttls)
415 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.NONE.value
416 config = self.gen_negative_eap_configs(config)
417 self.eap_negative_connect_logic(config, self.dut)
421 config = dict(self.config_ttls)
422 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.PAP.value
423 config = self.gen_negative_eap_configs(config)
424 self.eap_negative_connect_logic(config, self.dut)
428 config = dict(self.config_ttls)
429 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAP.value
430 config = self.gen_negative_eap_configs(config)
431 self.eap_negative_connect_logic(config, self.dut)
435 config = dict(self.config_ttls)
436 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
437 config = self.gen_negative_eap_configs(config)
438 self.eap_negative_connect_logic(config, self.dut)
442 config = dict(self.config_ttls)
443 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
444 config = self.gen_negative_eap_configs(config)
445 self.eap_negative_connect_logic(config, self.dut)
449 config = dict(self.config_peap0)
450 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
451 config = self.gen_negative_eap_configs(config)
452 self.eap_negative_connect_logic(config, self.dut)
456 config = dict(self.config_peap0)
457 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
458 config = self.gen_negative_eap_configs(config)
459 self.eap_negative_connect_logic(config, self.dut)
463 config = dict(self.config_peap1)
464 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
465 config = self.gen_negative_eap_configs(config)
466 self.eap_negative_connect_logic(config, self.dut)
470 config = dict(self.config_peap1)
471 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
472 config = self.gen_negative_eap_configs(config)
473 self.eap_negative_connect_logic(config, self.dut)
517 config = dict(self.config_ttls)
518 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.NONE.value
519 self.eap_connect_toggle_wifi(config, self.dut)
523 config = dict(self.config_ttls)
524 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.PAP.value
525 self.eap_connect_toggle_wifi(config, self.dut)
529 config = dict(self.config_ttls)
530 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAP.value
531 self.eap_connect_toggle_wifi(config, self.dut)
535 config = dict(self.config_ttls)
536 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
537 self.eap_connect_toggle_wifi(config, self.dut)
541 config = dict(self.config_ttls)
542 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
543 self.eap_connect_toggle_wifi(config, self.dut)
547 config = dict(self.config_peap0)
548 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
549 self.eap_connect_toggle_wifi(config, self.dut)
553 config = dict(self.config_peap0)
554 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
555 self.eap_connect_toggle_wifi(config, self.dut)
559 config = dict(self.config_peap1)
560 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
561 self.eap_connect_toggle_wifi(config, self.dut)
565 config = dict(self.config_peap1)
566 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
567 self.eap_connect_toggle_wifi(config, self.dut)
599 config = dict(self.config_passpoint_ttls)
600 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.NONE.value
601 wutils.wifi_connect(self.dut, config)
607 config = dict(self.config_passpoint_ttls)
608 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.PAP.value
609 wutils.wifi_connect(self.dut, config)
615 config = dict(self.config_passpoint_ttls)
616 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAP.value
617 wutils.wifi_connect(self.dut, config)
623 config = dict(self.config_passpoint_ttls)
624 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
625 wutils.wifi_connect(self.dut, config)
631 config = dict(self.config_passpoint_ttls)
632 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
633 wutils.wifi_connect(self.dut, config)
649 config = self.gen_negative_passpoint_configs(self.config_passpoint_tls)
650 self.eap_negative_connect_logic(config, self.dut)
656 config = dict(self.config_passpoint_ttls)
657 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.NONE.value
658 config = self.gen_negative_passpoint_configs(config)
659 self.eap_negative_connect_logic(config, self.dut)
665 config = dict(self.config_passpoint_ttls)
666 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.PAP.value
667 config = self.gen_negative_passpoint_configs(config)
668 self.eap_negative_connect_logic(config, self.dut)
674 config = dict(self.config_passpoint_ttls)
675 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAP.value
676 config = self.gen_negative_passpoint_configs(config)
677 self.eap_negative_connect_logic(config, self.dut)
683 config = dict(self.config_passpoint_ttls)
684 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
685 config = self.gen_negative_passpoint_configs(config)
686 self.eap_negative_connect_logic(config, self.dut)
692 config = dict(self.config_passpoint_ttls)
693 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
694 config = self.gen_negative_passpoint_configs(config)
695 self.eap_negative_connect_logic(config, self.dut)
726 config = dict(self.config_passpoint_ttls)
727 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.NONE.value
728 self.eap_connect_toggle_wifi(config, self.dut)
734 config = dict(self.config_passpoint_ttls)
735 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.PAP.value
736 self.eap_connect_toggle_wifi(config, self.dut)
742 config = dict(self.config_passpoint_ttls)
743 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAP.value
744 self.eap_connect_toggle_wifi(config, self.dut)
750 config = dict(self.config_passpoint_ttls)
751 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value
752 self.eap_connect_toggle_wifi(config, self.dut)
758 config = dict(self.config_passpoint_ttls)
759 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value
760 self.eap_connect_toggle_wifi(config, self.dut)