Lines Matching defs:pin
30 int type; /* 0 - not set, 1 - pin, 2 - pbc */
32 char *pin;
85 if (os_strcmp(val, "pin") == 0)
140 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong Pin type, "
143 "Pin must be a string");
146 dbus_message_iter_get_basic(&variant_iter, ¶ms->pin);
165 else if (os_strcmp(key, "Pin") == 0)
183 * (pin or push button) and optionally pin and bssid. Returned message
184 * has a dictionary argument which may contain newly generated pin (optional).
223 } else if (params.role == 2 && params.pin == NULL) {
224 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Pin required for "
227 message, "Pin required for registrar role.");
231 ret = wpas_wps_start_reg(wpa_s, params.bssid, params.pin,
234 ret = wpas_wps_start_pin(wpa_s, params.bssid, params.pin, 0,
246 (params.type == 1 ? "pin" : "pbc")));
265 if (!wpa_dbus_dict_append_string(&dict_iter, "Pin", npin)) {