Lines Matching refs:config_methods
785 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
1471 static u16 wps_fix_config_methods(u16 config_methods) in wps_fix_config_methods() argument
1473 if ((config_methods & in wps_fix_config_methods()
1478 config_methods |= WPS_CONFIG_VIRT_DISPLAY; in wps_fix_config_methods()
1480 if ((config_methods & in wps_fix_config_methods()
1485 config_methods |= WPS_CONFIG_VIRT_PUSHBUTTON; in wps_fix_config_methods()
1488 return config_methods; in wps_fix_config_methods()
1564 wps->config_methods = in wpas_wps_init()
1565 wps_config_methods_str2bin(wpa_s->conf->config_methods); in wpas_wps_init()
1566 if ((wps->config_methods & (WPS_CONFIG_DISPLAY | WPS_CONFIG_LABEL)) == in wpas_wps_init()
1573 wps->config_methods = wps_fix_config_methods(wps->config_methods); in wpas_wps_init()
1574 wps->dev.config_methods = wps->config_methods; in wpas_wps_init()
2193 wps->config_methods = wps_config_methods_str2bin( in wpas_wps_update_config()
2194 wpa_s->conf->config_methods); in wpas_wps_update_config()
2195 if ((wps->config_methods & in wpas_wps_update_config()
2201 wps->config_methods &= ~WPS_CONFIG_LABEL; in wpas_wps_update_config()
2204 wps->config_methods = wps_fix_config_methods(wps->config_methods); in wpas_wps_update_config()
2205 wps->dev.config_methods = wps->config_methods; in wpas_wps_update_config()