Lines Matching defs:wps_method

99 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method)
101 switch (wps_method) {
118 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method)
120 switch (wps_method) {
189 pw_id = p2p_wps_method_pw_id(peer->wps_method);
219 if (dev->wps_method == WPS_PIN_DISPLAY)
221 else if (dev->wps_method == WPS_PIN_KEYPAD)
223 else if (dev->wps_method == WPS_PBC)
225 else if (dev->wps_method == WPS_P2PS)
343 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY);
663 (dev->wps_method == WPS_NOT_READY &&
729 if (dev->wps_method != WPS_PIN_KEYPAD) {
730 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
731 p2p_wps_method_str(dev->wps_method));
738 if (dev->wps_method != WPS_PIN_DISPLAY) {
739 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
740 p2p_wps_method_str(dev->wps_method));
747 if (dev->wps_method != WPS_PBC) {
748 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
749 p2p_wps_method_str(dev->wps_method));
756 if (dev->wps_method != WPS_P2PS) {
758 "We have wps_method=%s -> incompatible",
759 p2p_wps_method_str(dev->wps_method));
768 if (dev->wps_method != WPS_NFC) {
769 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
771 dev->wps_method));
782 dev->wps_method = WPS_NFC;
949 if (dev == NULL || dev->wps_method == WPS_NOT_READY ||
1098 if (dev->wps_method != WPS_PIN_KEYPAD) {
1099 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1100 p2p_wps_method_str(dev->wps_method));
1107 if (dev->wps_method != WPS_PIN_DISPLAY) {
1108 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1109 p2p_wps_method_str(dev->wps_method));
1116 if (dev->wps_method != WPS_PBC) {
1117 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1118 p2p_wps_method_str(dev->wps_method));
1125 if (dev->wps_method != WPS_P2PS) {
1126 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1127 p2p_wps_method_str(dev->wps_method));
1136 if (dev->wps_method != WPS_NFC) {
1137 p2p_dbg(p2p, "We have wps_method=%s -> incompatible",
1138 p2p_wps_method_str(dev->wps_method));
1206 if (dev == NULL || dev->wps_method == WPS_NOT_READY ||