Searched refs:wps_state (Results 1 - 25 of 65) sorted by relevance

123

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_attr_parse.h34 const u8 *wps_state; /* 1 octet */ member in struct:wps_parse_attr
H A Dwps_er.h44 u8 wps_state; member in struct:wps_er_ap
H A Dwps_validate.c440 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) argument
442 if (wps_state == NULL) {
450 if (*wps_state != WPS_STATE_NOT_CONFIGURED &&
451 *wps_state != WPS_STATE_CONFIGURED) {
453 "Setup State attribute value 0x%x", *wps_state);
1102 wps_validate_wps_state(attr.wps_state, 1) ||
1142 wps_validate_wps_state(attr.wps_state, 1) ||
1311 wps_validate_wps_state(attr.wps_state, 1) ||
H A Dwps.c558 if (attr.wps_state) {
559 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED)
561 "wps_state=unconfigured\n");
562 else if (*attr.wps_state == WPS_STATE_CONFIGURED)
564 "wps_state=configured\n");
H A Dwps.h539 u8 wps_state; member in struct:wps_event_data::wps_event_er_ap
606 * wps_state - Current WPS state
608 enum wps_state wps_state; member in struct:wps_context
H A Dwps_defs.h267 enum wps_state { enum
/external/wpa_supplicant_8/src/wps/
H A Dwps_attr_parse.h34 const u8 *wps_state; /* 1 octet */ member in struct:wps_parse_attr
H A Dwps_er.h44 u8 wps_state; member in struct:wps_er_ap
H A Dwps_validate.c440 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) argument
442 if (wps_state == NULL) {
450 if (*wps_state != WPS_STATE_NOT_CONFIGURED &&
451 *wps_state != WPS_STATE_CONFIGURED) {
453 "Setup State attribute value 0x%x", *wps_state);
1102 wps_validate_wps_state(attr.wps_state, 1) ||
1142 wps_validate_wps_state(attr.wps_state, 1) ||
1311 wps_validate_wps_state(attr.wps_state, 1) ||
H A Dwps.c558 if (attr.wps_state) {
559 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED)
561 "wps_state=unconfigured\n");
562 else if (*attr.wps_state == WPS_STATE_CONFIGURED)
564 "wps_state=configured\n");
H A Dwps.h539 u8 wps_state; member in struct:wps_event_data::wps_event_er_ap
606 * wps_state - Current WPS state
608 enum wps_state wps_state; member in struct:wps_context
H A Dwps_defs.h267 enum wps_state { enum
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_attr_parse.h34 const u8 *wps_state; /* 1 octet */ member in struct:wps_parse_attr
H A Dwps_er.h44 u8 wps_state; member in struct:wps_er_ap
H A Dwps_validate.c440 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) argument
442 if (wps_state == NULL) {
450 if (*wps_state != WPS_STATE_NOT_CONFIGURED &&
451 *wps_state != WPS_STATE_CONFIGURED) {
453 "Setup State attribute value 0x%x", *wps_state);
1102 wps_validate_wps_state(attr.wps_state, 1) ||
1142 wps_validate_wps_state(attr.wps_state, 1) ||
1311 wps_validate_wps_state(attr.wps_state, 1) ||
H A Dwps.c558 if (attr.wps_state) {
559 if (*attr.wps_state == WPS_STATE_NOT_CONFIGURED)
561 "wps_state=unconfigured\n");
562 else if (*attr.wps_state == WPS_STATE_CONFIGURED)
564 "wps_state=configured\n");
H A Dwps.h539 u8 wps_state; member in struct:wps_event_data::wps_event_er_ap
606 * wps_state - Current WPS state
608 enum wps_state wps_state; member in struct:wps_context
H A Dwps_defs.h267 enum wps_state { enum
/external/wpa_supplicant_8/hostapd/src/ap/
H A Deap_user_db.c231 if (conf->wps_state && identity_len == WSC_ID_ENROLLEE_LEN &&
240 if (conf->wps_state && identity_len == WSC_ID_REGISTRAR_LEN &&
H A Dap_config.c842 if (full_config && bss->wps_state && bss->ignore_broadcast_ssid) {
845 bss->wps_state = 0;
848 if (full_config && bss->wps_state &&
852 bss->wps_state = 0;
855 if (full_config && bss->wps_state && bss->wpa &&
860 bss->wps_state = 0;
H A Dwps_hostapd.c326 bss->wps_state = 2;
474 hapd->wps->wps_state = WPS_STATE_CONFIGURED;
503 fprintf(nconf, "wps_state=2\n");
593 str_starts(buf, "wps_state=") ||
985 if (conf->wps_state == 0) {
1000 wps->wps_state = hapd->conf->wps_state;
1132 if (conf->wps_state == WPS_STATE_NOT_CONFIGURED) {
1261 if (hapd->conf->wps_state)
/external/wpa_supplicant_8/src/ap/
H A Deap_user_db.c231 if (conf->wps_state && identity_len == WSC_ID_ENROLLEE_LEN &&
240 if (conf->wps_state && identity_len == WSC_ID_REGISTRAR_LEN &&
H A Dap_config.c842 if (full_config && bss->wps_state && bss->ignore_broadcast_ssid) {
845 bss->wps_state = 0;
848 if (full_config && bss->wps_state &&
852 bss->wps_state = 0;
855 if (full_config && bss->wps_state && bss->wpa &&
860 bss->wps_state = 0;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Deap_user_db.c231 if (conf->wps_state && identity_len == WSC_ID_ENROLLEE_LEN &&
240 if (conf->wps_state && identity_len == WSC_ID_REGISTRAR_LEN &&
H A Dap_config.c842 if (full_config && bss->wps_state && bss->ignore_broadcast_ssid) {
845 bss->wps_state = 0;
848 if (full_config && bss->wps_state &&
852 bss->wps_state = 0;
855 if (full_config && bss->wps_state && bss->wpa &&
860 bss->wps_state = 0;

Completed in 96 milliseconds

123