Lines Matching defs:ifName
39 int32_t HostapdRegisterEventCallback(OnReceiveFunc onRecFunc, uint32_t eventType, const char *ifName)
44 if (onRecFunc == NULL || ifName == NULL) {
50 if (g_hostapdCallbackEventMap[i] != NULL && (strcmp(g_hostapdCallbackEventMap[i]->ifName, ifName) == 0)
64 if (strcpy_s(callbackEvent->ifName, IFNAMSIZ, ifName) != 0) {
66 HDF_LOGE("%s: ifName strcpy_s fail", __FUNCTION__);
86 int32_t HostapdUnregisterEventCallback(OnReceiveFunc onRecFunc, uint32_t eventType, const char *ifName)
90 if (onRecFunc == NULL || ifName == NULL) {
97 (strcmp(g_hostapdCallbackEventMap[i]->ifName, ifName) == 0) &&
110 void HostapdEventReport(const char *ifName, uint32_t event, void *data)
117 if (g_hostapdCallbackEventMap[i] != NULL && (strcmp(g_hostapdCallbackEventMap[i]->ifName, ifName) == 0) &&
119 HDF_LOGI("%s: send event = %u, ifName = %s", __FUNCTION__, event, ifName);
126 HDF_LOGI("%s: call event = %u, ifName = %s", __FUNCTION__, event, ifName);
127 callbackEventMap[i](event, data, ifName);