From: Chanwoo Choi Date: Mon, 25 Nov 2024 09:29:18 +0000 (+0900) Subject: hal-common: Add new HAL_MODULE_DA_WOW module X-Git-Tag: accepted/tizen/unified/20241202.132940~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F320906%2F4;p=platform%2Fhal%2Fapi%2Fcommon.git hal-common: Add new HAL_MODULE_DA_WOW module HAL_MODULE_DA_WOW is supporting WOW (Wake On Wlan) functionality with Wifi Chip. For using HAL_MODULE_DA_WOW, wifi chip have to support the keepalive featuer on CPU suspend status and then Wifi chip should filter the specific packet according to hal-api-wow user request. When receiving the specific packet, Wifi chip will make the event to wakup CPU from suspend and then hal-api-wow get the raised the kind of event. [Details description of newly added HAL_MODULE_DA_WOW module] - hal module : HAL_MODULE_DA_WOW - group : HAL_GROUP_SYSTEM, - module : HAL_MODULE_DA_WOW, - license : HAL_LICENSE_APACHE_2_0, - gbm_group : HAL_GBM_GROUP_DA, - module_name : "HAL_MODULE_DA_WOW", - backend_module_name : "da-wow", - library_name : "/hal/lib/libhal-backend-da-wow.so", - library_name_64bit : "/hal/lib64/libhal-backend-da-wow.so", - symbol_name : "hal_backend_da_wow_data", - manifest : "/etc/hal/hal-api-da-wow-manifest.xml", - hal_api : true, Change-Id: Iac845235eef4c2871f560016b900c7328babf7d6 Signed-off-by: Chanwoo Choi --- diff --git a/include/hal-common.h b/include/hal-common.h index 11f0fe0..057bc0b 100644 --- a/include/hal-common.h +++ b/include/hal-common.h @@ -77,10 +77,7 @@ enum hal_module { HAL_MODULE_DEVICE_INPUT, HAL_MODULE_DEVICE_POWER, - /* - * TODO: If need to add new module, have to add it below - * without modifying already defined module id. - */ + HAL_MODULE_DA_WOW, /* HAL_GBM_GROUP_DA & HAL_GROUP_SYSTEM*/ HAL_MODULE_END, }; diff --git a/packaging/hal-api-common.spec b/packaging/hal-api-common.spec index 75b198b..4b9e75f 100644 --- a/packaging/hal-api-common.spec +++ b/packaging/hal-api-common.spec @@ -10,7 +10,7 @@ ### main package ######### Name: %{name} Summary: %{name} interface -Version: 1.0.0 +Version: 1.0.1 Release: 1 Group: Development/Libraries License: Apache-2.0 diff --git a/src/hal-api-list.h b/src/hal-api-list.h index e2042f6..73da01f 100644 --- a/src/hal-api-list.h +++ b/src/hal-api-list.h @@ -514,6 +514,21 @@ static struct __hal_module_info g_hal_module_info[] = { .manifest = "/etc/hal/hal-api-device-manifest.xml", .hal_api = true, }, + + [HAL_MODULE_DA_WOW] = { + .group = HAL_GROUP_SYSTEM, + .module = HAL_MODULE_DA_WOW, + .license = HAL_LICENSE_APACHE_2_0, + .gbm_group = HAL_GBM_GROUP_DA, + .module_name = "HAL_MODULE_DA_WOW", + .backend_module_name = "da-wow", + .library_name = "/hal/lib/libhal-backend-da-wow.so", + .library_name_64bit = "/hal/lib64/libhal-backend-da-wow.so", + .symbol_name = "hal_backend_da_wow_data", + .manifest = "/etc/hal/hal-api-da-wow-manifest.xml", + .hal_api = true, + }, + }; #endif /* __HAL_API_LIST_H__ */