Lines Matching refs:wps_method
97 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method)
99 switch (wps_method) {
112 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method)
114 switch (wps_method) {
175 p2p_build_wps_ie(p2p, buf, p2p_wps_method_pw_id(peer->wps_method), 0);
195 if (dev->wps_method == WPS_PIN_DISPLAY)
197 else if (dev->wps_method == WPS_PIN_KEYPAD)
199 else if (dev->wps_method == WPS_PBC)
311 p2p_wps_method_pw_id(peer ? peer->wps_method :
601 } else if (dev == NULL || dev->wps_method == WPS_NOT_READY) {
662 if (dev->wps_method != WPS_PIN_KEYPAD) {
663 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
664 p2p_wps_method_str(dev->wps_method));
671 if (dev->wps_method != WPS_PIN_DISPLAY) {
672 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
673 p2p_wps_method_str(dev->wps_method));
680 if (dev->wps_method != WPS_PBC) {
681 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
682 p2p_wps_method_str(dev->wps_method));
844 if (dev == NULL || dev->wps_method == WPS_NOT_READY ||
987 if (dev->wps_method != WPS_PIN_KEYPAD) {
988 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
989 p2p_wps_method_str(dev->wps_method));
996 if (dev->wps_method != WPS_PIN_DISPLAY) {
997 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
998 p2p_wps_method_str(dev->wps_method));
1005 if (dev->wps_method != WPS_PBC) {
1006 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1007 p2p_wps_method_str(dev->wps_method));
1066 if (dev == NULL || dev->wps_method == WPS_NOT_READY ||