Please refer below link.
The API is not implemented yet.
So you can add following code in wwd_wifi.c
-----
wiced_result_t wiced_wifi_set_closednet(uint32_t closed) {
wiced_buffer_t buffer;
uint32_t *data = (uint32_t *)wiced_get_iovar_buffer(&buffer, (uint16_t)4, IOVAR_STR_CLOSEDNET);
CHECK_IOCTL_BUFFER(data);
*data = closed;
return wiced_send_iovar(SDPCM_SET, buffer, NULL, SDPCM_AP_INTERFACE);
}