Lines Matching full:reject
572 enum p2p_status_code reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req() local
644 "PD request for unknown P2P Group ID - reject"); in p2p_process_prov_disc_req()
657 reject = P2P_SC_FAIL_INVALID_PARAMS; in p2p_process_prov_disc_req()
684 * TODO: since we don't support multiple PD, reject PD request in p2p_process_prov_disc_req()
719 reject = P2P_SC_SUCCESS; in p2p_process_prov_disc_req()
736 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
743 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
768 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
776 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
779 reject = P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE; in p2p_process_prov_disc_req()
782 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
836 if (auto_accept || reject != P2P_SC_SUCCESS) { in p2p_process_prov_disc_req()
842 reject = P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE; in p2p_process_prov_disc_req()
857 if (reject != P2P_SC_SUCCESS) in p2p_process_prov_disc_req()
867 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
874 reject = P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE; in p2p_process_prov_disc_req()
878 reject = P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE; in p2p_process_prov_disc_req()
879 tmp->status = reject; in p2p_process_prov_disc_req()
887 reject = *msg.status; in p2p_process_prov_disc_req()
935 * Reject this "Deferred Accept* in p2p_process_prov_disc_req()
938 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
942 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
951 reject = P2P_SC_FAIL_NO_COMMON_CHANNELS; in p2p_process_prov_disc_req()
953 reject = P2P_SC_SUCCESS; in p2p_process_prov_disc_req()
957 if (reject == P2P_SC_SUCCESS || reject == P2P_SC_SUCCESS_DEFERRED) { in p2p_process_prov_disc_req()
967 reject = P2P_SC_FAIL_NO_COMMON_CHANNELS; in p2p_process_prov_disc_req()
970 p2p->p2ps_prov->status = reject; in p2p_process_prov_disc_req()
974 if (reject == P2P_SC_SUCCESS || in p2p_process_prov_disc_req()
975 reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE) in p2p_process_prov_disc_req()
986 reject, config_methods, adv_id, in p2p_process_prov_disc_req()
1026 if (reject == P2P_SC_SUCCESS && conncap == P2PS_SETUP_GROUP_OWNER) { in p2p_process_prov_disc_req()
1037 reject = *msg.status; in p2p_process_prov_disc_req()
1038 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1047 p2p->p2ps_prov->status = reject; in p2p_process_prov_disc_req()
1050 if (reject != P2P_SC_SUCCESS) in p2p_process_prov_disc_req()
1051 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1084 } else if (auto_accept && reject == P2P_SC_SUCCESS) { in p2p_process_prov_disc_req()
1098 } else if (reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE && in p2p_process_prov_disc_req()
1111 } else if (reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE) { in p2p_process_prov_disc_req()
1153 ((reject == P2P_SC_SUCCESS && !msg.adv_id) || in p2p_process_prov_disc_req()
1155 (reject == P2P_SC_SUCCESS || in p2p_process_prov_disc_req()
1156 reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE) && in p2p_process_prov_disc_req()
1159 reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE && in p2p_process_prov_disc_req()
1161 (reject == P2P_SC_SUCCESS && in p2p_process_prov_disc_req()
1178 if (reject != P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE) in p2p_process_prov_disc_req()
1181 if (reject == P2P_SC_SUCCESS) { in p2p_process_prov_disc_req()