Lines Matching defs:osu
2 * Hotspot 2.0 OSU client
119 * to read files from SP, SP/<fqdn>, Cert and osu-info directories */
762 wpa_printf(MSG_INFO, "Use OSU username '%s'", *user);
769 wpa_printf(MSG_INFO, "Use OSU password");
2019 struct osu_data *osu = NULL, *last = NULL;
2035 if (strncmp(buf, "OSU-PROVIDER ", 13) == 0) {
2036 last = realloc(osu, (osu_count + 1) * sizeof(*osu));
2039 osu = last;
2040 last = &osu[osu_count++];
2188 return osu;
2209 "Enforced OSU SSID matches ANQP info");
2213 "Enforced OSU SSID matches RSN[OSEN] info");
2216 wpa_printf(MSG_INFO, "Enforced OSU SSID did not match");
2217 write_summary(ctx, "Enforced OSU SSID did not match");
2233 os_snprintf(fname, sizeof(fname), "%s/osu-ca.pem", dir);
2260 wpa_printf(MSG_INFO, "Associate with OSU SSID");
2261 write_summary(ctx, "Associate with OSU SSID");
2273 wpa_printf(MSG_INFO, "Could not connect to OSU network");
2274 write_summary(ctx, "Could not connect to OSU network");
2275 wpa_printf(MSG_INFO, "Remove OSU network connection");
2304 wpa_printf(MSG_INFO, "Remove OSU network connection");
2305 write_summary(ctx, "Remove OSU network connection");
2330 struct osu_data *osu = NULL, *last = NULL;
2334 write_summary(ctx, "OSU provider selection");
2341 snprintf(fname, sizeof(fname), "%s/osu-providers.txt", dir);
2342 osu = parse_osu_providers(fname, &osu_count);
2343 if (osu == NULL) {
2344 wpa_printf(MSG_INFO, "Could not find any OSU providers from %s",
2346 write_result(ctx, "No OSU providers available");
2352 last = &osu[i];
2366 free(osu);
2370 wpa_printf(MSG_INFO, "OSU Provider selected based on requested operator friendly name '%s'",
2372 write_summary(ctx, "OSU Provider selected based on requested operator friendly name '%s'",
2378 snprintf(fname, sizeof(fname), "%s/osu-providers.html", dir);
2382 free(osu);
2395 last = &osu[i];
2398 "<a href=\"http://localhost:12345/osu/%d\">"
2402 "<a href=\"osu://%d\">"
2406 fprintf(f, "<img src=\"osu-icon-%d.%s\">\n",
2444 snprintf(fname, sizeof(fname), "file://%s/osu-providers.html", dir);
2445 write_summary(ctx, "Start web browser with OSU provider selection page");
2453 wpa_printf(MSG_INFO, "Selected OSU id=%d", ret);
2454 last = &osu[ret - 1];
2461 write_summary(ctx, "Selected OSU provider id=%d BSSID=%s SSID=%s URL=%s",
2481 os_snprintf(fname, sizeof(fname), "%s/osu-icon-%d.%s",
2511 "No supported OSU provisioning method");
2524 free(osu);
2544 snprintf(fname, sizeof(fname), "%s/osu-info", dir);
2564 wpa_printf(MSG_INFO, "Starting OSU fetch");
2565 write_summary(ctx, "Starting OSU provider information fetch");
2567 wpa_printf(MSG_INFO, "Could not start OSU fetch");
2572 res = get_wpa_cli_event(mon, "OSU provider fetch completed",
2579 wpa_printf(MSG_INFO, "OSU fetch did not complete");
2580 write_summary(ctx, "OSU fetch did not complete");
2583 wpa_printf(MSG_INFO, "OSU provider fetch completed");
3179 f = fopen("hs20-osu-client.workarounds", "r");
3199 printf("usage: hs20-osu-client [-dddqqKtT] [-S<station ifname>] \\\n"
3224 "- osu_select <OSU info directory> [CA cert]\n");
3312 wpa_printf(MSG_DEBUG, "===[hs20-osu-client START - command: %s ]======"
3469 "===[hs20-osu-client END ]======================");