Lines Matching defs:ifName
39 int32_t WpaRegisterEventCallback(OnReceiveFunc onRecFunc, uint32_t eventType, const char *ifName)
44 if (onRecFunc == NULL || ifName == NULL) {
50 if (g_wpaCallbackEventMap[i] != NULL &&(strcmp(g_wpaCallbackEventMap[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 WpaUnregisterEventCallback(OnReceiveFunc onRecFunc, uint32_t eventType, const char *ifName)
90 if (onRecFunc == NULL || ifName == NULL) {
97 (strcmp(g_wpaCallbackEventMap[i]->ifName, ifName) == 0) &&
124 void WpaEventReport(const char *ifName, uint32_t event, void *data)
131 if (g_wpaCallbackEventMap[i] != NULL && ((strstr(ifName, g_wpaCallbackEventMap[i]->ifName))
132 || (strcmp(g_wpaCallbackEventMap[i]->ifName, ifName) == 0)) &&
134 HDF_LOGI("%s: send event = %u, ifName = %s", __FUNCTION__, event, ifName);
140 HDF_LOGI("%s: call event = %u, ifName = %s", __FUNCTION__, event, ifName);
141 callbackEventMap[i](event, data, ifName);