Lines Matching refs:notification
580 struct ChppWifiScanEventWithHeader *notification = NULL; in chppWifiServiceScanEventCallback() local
585 if (!chppWifiScanEventFromChre(event, ¬ification, ¬ificationLen)) { in chppWifiServiceScanEventCallback()
589 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppWifiServiceScanEventCallback()
590 if (notification == NULL) { in chppWifiServiceScanEventCallback()
597 if (notification != NULL) { in chppWifiServiceScanEventCallback()
598 notification->header.handle = gWifiServiceContext.service.handle; in chppWifiServiceScanEventCallback()
599 notification->header.type = CHPP_MESSAGE_TYPE_SERVICE_NOTIFICATION; in chppWifiServiceScanEventCallback()
600 notification->header.transaction = in chppWifiServiceScanEventCallback()
602 notification->header.error = in chppWifiServiceScanEventCallback()
606 notification->header.command = CHPP_WIFI_REQUEST_SCAN_ASYNC; in chppWifiServiceScanEventCallback()
609 gWifiServiceContext.service.appContext->transportContext, notification, in chppWifiServiceScanEventCallback()
624 struct ChppWifiRangingEventWithHeader *notification = NULL; in chppWifiServiceRangingEventCallback() local
627 if (!chppWifiRangingEventFromChre(event, ¬ification, ¬ificationLen)) { in chppWifiServiceRangingEventCallback()
631 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppWifiServiceRangingEventCallback()
632 if (notification == NULL) { in chppWifiServiceRangingEventCallback()
639 if (notification != NULL) { in chppWifiServiceRangingEventCallback()
640 notification->header.handle = gWifiServiceContext.service.handle; in chppWifiServiceRangingEventCallback()
641 notification->header.type = CHPP_MESSAGE_TYPE_SERVICE_NOTIFICATION; in chppWifiServiceRangingEventCallback()
642 notification->header.transaction = in chppWifiServiceRangingEventCallback()
644 notification->header.error = in chppWifiServiceRangingEventCallback()
648 notification->header.command = CHPP_WIFI_REQUEST_RANGING_ASYNC; in chppWifiServiceRangingEventCallback()
651 notification->header.error = CHPP_APP_ERROR_BEYOND_CHPP; in chppWifiServiceRangingEventCallback()
656 gWifiServiceContext.service.appContext->transportContext, notification, in chppWifiServiceRangingEventCallback()