Synchronous wi-fi hotspot disabling function.
Synchronous wi-fi hotspot add/remove station from the black List.
Must be called only when the AP is enabled through the m2m_wifi_enable_ap function. Otherwise the call to this function will not be useful.
Functions | |
NMI_API sint8 | m2m_wifi_ap_add_black_list (uint8 bAddNewEntry, uint8 *mac_addr) |
NMI_API sint8 | m2m_wifi_disable_ap (void) |
[in] | bAddNewEntry | Boolean value if 1 then the given mac address would be added to the black list if zero the given mac address would be removed from the black list mac_addr MAC address of the station to be added/removed from the black list Note to remove all stations from the black list use all FF's in the mac address and set bAddNewEntry to zero |
References hif_send(), m2m_memcpy(), M2M_REQ_GRP_WIFI, M2M_SUCCESS, M2M_WIFI_REQ_AP_BLACK_LIST, and NULL.
References hif_send(), M2M_REQ_GRP_WIFI, M2M_SUCCESS, M2M_WIFI_REQ_DISABLE_AP, and NULL.
Referenced by m2m_wifi_disable_ap_ex(), and os_m2m_wifi_disable_ap().