Lines Matching defs:wps_method

100 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method)
102 switch (wps_method) {
119 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method)
121 switch (wps_method) {
209 pw_id = p2p_wps_method_pw_id(peer->wps_method);
239 if (dev->wps_method == WPS_PIN_DISPLAY)
241 else if (dev->wps_method == WPS_PIN_KEYPAD)
243 else if (dev->wps_method == WPS_PBC)
245 else if (dev->wps_method == WPS_P2PS)
388 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY);
923 (dev->wps_method == WPS_NOT_READY &&
997 if (dev->wps_method != WPS_PIN_KEYPAD) {
998 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
999 p2p_wps_method_str(dev->wps_method));
1006 if (dev->wps_method != WPS_PIN_DISPLAY) {
1007 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1008 p2p_wps_method_str(dev->wps_method));
1015 if (dev->wps_method != WPS_PBC) {
1016 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1017 p2p_wps_method_str(dev->wps_method));
1024 if (dev->wps_method != WPS_P2PS) {
1026 "We have wps_method=%s -> incompatible",
1027 p2p_wps_method_str(dev->wps_method));
1036 if (dev->wps_method != WPS_NFC) {
1037 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1039 dev->wps_method));
1050 dev->wps_method = WPS_NFC;
1226 if (dev == NULL || dev->wps_method == WPS_NOT_READY ||
1381 if (dev->wps_method != WPS_PIN_KEYPAD) {
1382 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1383 p2p_wps_method_str(dev->wps_method));
1390 if (dev->wps_method != WPS_PIN_DISPLAY) {
1391 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1392 p2p_wps_method_str(dev->wps_method));
1399 if (dev->wps_method != WPS_PBC) {
1400 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1401 p2p_wps_method_str(dev->wps_method));
1408 if (dev->wps_method != WPS_P2PS) {
1409 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1410 p2p_wps_method_str(dev->wps_method));
1419 if (dev->wps_method != WPS_NFC) {
1420 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1421 p2p_wps_method_str(dev->wps_method));
1496 if (dev == NULL || dev->wps_method == WPS_NOT_READY ||