I see this function: wlan_set_event_mask(HCI_EVNT_WLAN_KEEPALIVE | HCI_EVNT_WLAN_UNSOL_INIT | HCI_EVNT_WLAN_ASYNC_PING_REPORT); being called in the application files.
1. Is there any reason for those particular events being chosen?
2. What would be the consequence of not masking those events?
3. Is the order in which the function is called, important?