}
-#ifdef CONFIG_TESTING_OPTIONS
-
void p2p_set_bootstrapmethods(struct p2p_data *p2p, int bootstrap_methods)
{
p2p_dbg(p2p, "Bootstraping methods: 0x%x", bootstrap_methods);
p2p->cfg->inv_op_channel = channel;
}
-#endif /* CONFIG_TESTING_OPTIONS */
-
int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
u8 *op_channel,
*/
bool chan_switch_req_enable;
-#ifdef CONFIG_TESTING_OPTIONS
/**
* Operating class for own operational channel in Invitation Response
*/
* inv_op_channel - Own operational channel in Invitation Response
*/
u8 inv_op_channel;
-#endif /* CONFIG_TESTING_OPTIONS */
/**
* cb_ctx - Context to use with callback functions
return 0;
}
-#ifdef CONFIG_TESTING_OPTIONS
if (os_strcmp(cmd, "supported_bootstrapmethods") == 0) {
p2p_set_bootstrapmethods(wpa_s->global->p2p, atoi(param));
return 0;
p2p_set_invitation_op_freq(wpa_s->global->p2p, atoi(param));
return 0;
}
-#endif /* CONFIG_TESTING_OPTIONS */
wpa_printf(MSG_DEBUG, "CTRL_IFACE: Unknown P2P_SET field value '%s'",
cmd);