Lines Matching refs:reject
560 enum p2p_status_code reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req() local
645 reject = P2P_SC_FAIL_INVALID_PARAMS; in p2p_process_prov_disc_req()
707 reject = P2P_SC_SUCCESS; in p2p_process_prov_disc_req()
724 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
731 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
756 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
764 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
767 reject = P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE; in p2p_process_prov_disc_req()
770 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
824 if (auto_accept || reject != P2P_SC_SUCCESS) { in p2p_process_prov_disc_req()
830 reject = P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE; in p2p_process_prov_disc_req()
845 if (reject != P2P_SC_SUCCESS) in p2p_process_prov_disc_req()
855 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
862 reject = P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE; in p2p_process_prov_disc_req()
866 reject = P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE; in p2p_process_prov_disc_req()
867 tmp->status = reject; in p2p_process_prov_disc_req()
875 reject = *msg.status; in p2p_process_prov_disc_req()
926 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
930 reject = P2P_SC_FAIL_INCOMPATIBLE_PARAMS; in p2p_process_prov_disc_req()
939 reject = P2P_SC_FAIL_NO_COMMON_CHANNELS; in p2p_process_prov_disc_req()
941 reject = P2P_SC_SUCCESS; in p2p_process_prov_disc_req()
945 if (reject == P2P_SC_SUCCESS || reject == P2P_SC_SUCCESS_DEFERRED) { in p2p_process_prov_disc_req()
955 reject = P2P_SC_FAIL_NO_COMMON_CHANNELS; in p2p_process_prov_disc_req()
958 p2p->p2ps_prov->status = reject; in p2p_process_prov_disc_req()
962 if (reject == P2P_SC_SUCCESS || in p2p_process_prov_disc_req()
963 reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE) in p2p_process_prov_disc_req()
974 reject, config_methods, adv_id, in p2p_process_prov_disc_req()
1014 if (reject == P2P_SC_SUCCESS && conncap == P2PS_SETUP_GROUP_OWNER) { in p2p_process_prov_disc_req()
1025 reject = *msg.status; in p2p_process_prov_disc_req()
1026 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1035 p2p->p2ps_prov->status = reject; in p2p_process_prov_disc_req()
1038 if (reject != P2P_SC_SUCCESS) in p2p_process_prov_disc_req()
1039 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1072 } else if (auto_accept && reject == P2P_SC_SUCCESS) { in p2p_process_prov_disc_req()
1086 } else if (reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE && in p2p_process_prov_disc_req()
1099 } else if (reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE) { in p2p_process_prov_disc_req()
1141 ((reject == P2P_SC_SUCCESS && !msg.adv_id) || in p2p_process_prov_disc_req()
1143 (reject == P2P_SC_SUCCESS || in p2p_process_prov_disc_req()
1144 reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE) && in p2p_process_prov_disc_req()
1147 reject == P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE && in p2p_process_prov_disc_req()
1149 (reject == P2P_SC_SUCCESS && in p2p_process_prov_disc_req()
1166 if (reject == P2P_SC_SUCCESS) { in p2p_process_prov_disc_req()