From 9e62de1bd4955994ad926f5c4225b06bff79c3b8 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Wed, 2 Aug 2023 20:06:09 +0530 Subject: [PATCH] [nrf fromlist] Fix build errors for DUT These functions are only applicable for the test platform, so, include them only for it to avoid build errors. Upstream-Pr: https://github.com/Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC/pull/5 Signed-off-by: Chaitanya Tata (cherry picked from commit d2f24815e51270be30007aca799b2c4eec2fd7f3) --- indigo_api_callback.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indigo_api_callback.h b/indigo_api_callback.h index 78046f7..498ec37 100644 --- a/indigo_api_callback.h +++ b/indigo_api_callback.h @@ -253,7 +253,9 @@ static int set_ap_parameter_handler(struct packet_wrapper *req, struct packet_wr static int send_ap_btm_handler(struct packet_wrapper *req, struct packet_wrapper *resp); #endif /* End Of CONFIG_WNM */ static int trigger_ap_channel_switch(struct packet_wrapper *req, struct packet_wrapper *resp); +#ifdef _TEST_PLATFORM_ static int send_ap_arp_handler(struct packet_wrapper *req, struct packet_wrapper *resp); +#endif /* End Of _TEST_PLATFORM_ */ #ifdef CONFIG_WPS static int start_wps_ap_handler(struct packet_wrapper *req, struct packet_wrapper *resp); static int configure_ap_wsc_handler(struct packet_wrapper *req, struct packet_wrapper *resp); @@ -276,7 +278,9 @@ static int send_sta_anqp_query_handler(struct packet_wrapper *req, struct packet static int set_sta_hs2_associate_handler(struct packet_wrapper *req, struct packet_wrapper *resp); static int sta_add_credential_handler(struct packet_wrapper *req, struct packet_wrapper *resp); static int set_sta_install_ppsmo_handler(struct packet_wrapper *req, struct packet_wrapper *resp); +#ifdef _TEST_PLATFORM_ static int send_sta_icon_req_handler(struct packet_wrapper *req, struct packet_wrapper *resp); +#endif /* End Of _TEST_PLATFORM_ */ #endif /* End Of CONFIG_HS20 */ #ifdef CONFIG_WPS static int start_wps_sta_handler(struct packet_wrapper *req, struct packet_wrapper *resp);