From 042bd1c03d3e2540de9a50307afb701335ac9846 Mon Sep 17 00:00:00 2001 From: biju-vi <151033276+biju-vi@users.noreply.github.com> Date: Wed, 27 Dec 2023 19:12:01 +0000 Subject: [PATCH 1/4] RDKBDEV-2326 Updating platform_hal.h file to add API for Eco Mode status --- include/platform_hal.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/include/platform_hal.h b/include/platform_hal.h index c71d280..ede6dd8 100644 --- a/include/platform_hal.h +++ b/include/platform_hal.h @@ -1060,6 +1060,26 @@ INT platform_hal_getInputPower(INT *pValue); */ INT platform_hal_getRadioTemperature(INT radioIndex, INT *pValue); + +/** + * @brief Get the ECO mode status for a specific radio module. + * + * This function retrieves the ECO mode status of radio module identified by `radioIndex` + * + * @param[in] radioIndex - Index of the radio module to query. + * \n Possible values are 0, 1. + * \n value 0 means 2.4GHz WiFi radio, value 1 means 5GHz WiFi radio. + * @param[out] pValue - Pointer to an integer variable to store the ECO mode status . + * \n Possible values are 0, 1. + * \n value 0 means ECO mode is disabled, value 1 means ECO mode is enabled. + * + * @return The status of the operation. + * @retval RETURN_OK if the ECO mode is successfully retrieved. + * @retval RETURN_ERR if an error is encountered during the operation. + * + */ +INT platform_hal_getEcoModeStatus(INT radioIndex, INT *pValue); + #endif /** From 41106271f311b56dd9b4adfb9c4beea4fb036577 Mon Sep 17 00:00:00 2001 From: K Sanjay Nayak Date: Tue, 9 Jul 2024 11:52:56 +0000 Subject: [PATCH 2/4] RDKBDEV-2733: Update platform_hal.h with PPP username and password APIs. Reason for change: Added platform_hal_GetPppUserName and platform_hal_GetPppPassword APIS. Test Procedure: Sanity test. Risks: None. Signed-off-by: K Sanjay Nayak --- include/platform_hal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/platform_hal.h b/include/platform_hal.h index ede6dd8..3bb3332 100644 --- a/include/platform_hal.h +++ b/include/platform_hal.h @@ -1397,6 +1397,9 @@ INTF_STATS, *PINTF_STATS; */ INT platform_hal_GetInterfaceStats(const char *ifname,PINTF_STATS pIntfStats); +INT platform_hal_GetPppUserName(CHAR* pUserName, ULONG maxSize); +INT platform_hal_GetPppPassword(CHAR* pPassword, ULONG maxSize); + #ifdef __cplusplus } #endif From 9a372eec00f6eef9dfe83306cf27d20ed1063ce1 Mon Sep 17 00:00:00 2001 From: GoutamD2905 <140494857+GoutamD2905@users.noreply.github.com> Date: Thu, 21 Nov 2024 22:18:39 +0530 Subject: [PATCH 3/4] Update platform_hal.h --- include/platform_hal.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/include/platform_hal.h b/include/platform_hal.h index 3bb3332..a559799 100644 --- a/include/platform_hal.h +++ b/include/platform_hal.h @@ -1397,7 +1397,34 @@ INTF_STATS, *PINTF_STATS; */ INT platform_hal_GetInterfaceStats(const char *ifname,PINTF_STATS pIntfStats); +/** + * @brief Get the PPP username. + * + * This function retrieves the PPP username and stores it in the buffer + * pointed to by `pUserName`. + * + * @param[out] pUserName Pointer to a buffer to store the PPP username. + * @param[in] maxSize The maximum size of the `pUserName` buffer. + * + * @returns The status of the operation. + * - RETURN_OK if the username is successfully retrieved. + * - RETURN_ERR if an error is encountered during the operation. + */ INT platform_hal_GetPppUserName(CHAR* pUserName, ULONG maxSize); + +/** + * @brief Get the PPP password. + * + * This function retrieves the PPP password and stores it in the buffer + * pointed to by `pPassword`. + * + * @param[out] pPassword Pointer to a buffer to store the PPP password. + * @param[in] maxSize The maximum size of the `pPassword` buffer. + * + * @returns The status of the operation. + * - RETURN_OK if the password is successfully retrieved. + * - RETURN_ERR if an error is encountered during the operation. + */ INT platform_hal_GetPppPassword(CHAR* pPassword, ULONG maxSize); #ifdef __cplusplus From ad17e09c074110b3b0ffbae67606e3b3d8014217 Mon Sep 17 00:00:00 2001 From: GoutamD2905 <140494857+GoutamD2905@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:10:01 +0530 Subject: [PATCH 4/4] Changelog added --- CHANGELOG.md | 41 +++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f32ad16..ea16113 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,25 +4,42 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). -#### [1.1.0](https://github.com/rdkcentral/rdkb-platform-hal/compare/1.0.1...1.1.0) +#### [1.2.1](https://github.com/rdkcentral/rdkb-halif-platform/compare/1.2.0...1.2.1) -- Extended the DHCP defines to support extended options. [`#6`](https://github.com/rdkcentral/rdkb-platform-hal/pull/6) -- RDKB-52640 : updating platform_hal.h file for Unify Wan Manager [`eeae9ca`](https://github.com/rdkcentral/rdkb-platform-hal/commit/eeae9cafb27a2e6b0321c8767aa7c6a22c265e97) -- Merge tag '1.0.1' into develop [`15f94af`](https://github.com/rdkcentral/rdkb-platform-hal/commit/15f94af6a22709f33ee941c9a661e03f9066db30) +- Rdkb test release kirkstone [`#15`](https://github.com/rdkcentral/rdkb-halif-platform/pull/15) +- Update platform_hal.h [`9a372ee`](https://github.com/rdkcentral/rdkb-halif-platform/commit/9a372eec00f6eef9dfe83306cf27d20ed1063ce1) +- RDKBDEV-2326 Updating platform_hal.h file to add API for Eco Mode status [`042bd1c`](https://github.com/rdkcentral/rdkb-halif-platform/commit/042bd1c03d3e2540de9a50307afb701335ac9846) +- RDKBDEV-2733: Update platform_hal.h with PPP username and password APIs. [`4110627`](https://github.com/rdkcentral/rdkb-halif-platform/commit/41106271f311b56dd9b4adfb9c4beea4fb036577) -#### [1.0.1](https://github.com/rdkcentral/rdkb-platform-hal/compare/1.0.0...1.0.1) +#### [1.2.0](https://github.com/rdkcentral/rdkb-halif-platform/compare/1.1.0...1.2.0) + +> 28 December 2023 + +- Merge pull request #7 from biju-vi/main [`47e8c9d`](https://github.com/rdkcentral/rdkb-halif-platform/commit/47e8c9d9e2e126d563b4e2d74a590e6526391685) +- RDKBDEV-2326 Updating platform_hal.h file to add API for Eco Mode status [`b886d3f`](https://github.com/rdkcentral/rdkb-halif-platform/commit/b886d3f15bf827fc37f318879fd42851e77d5e27) + +#### [1.1.0](https://github.com/rdkcentral/rdkb-halif-platform/compare/1.0.1...1.1.0) + +> 20 November 2023 + +- Extended the DHCP defines to support extended options. [`#6`](https://github.com/rdkcentral/rdkb-halif-platform/pull/6) +- RDKB-52640 : updating platform_hal.h file for Unify Wan Manager [`eeae9ca`](https://github.com/rdkcentral/rdkb-halif-platform/commit/eeae9cafb27a2e6b0321c8767aa7c6a22c265e97) +- bumped CHANGELOG.md [`a1b3cf9`](https://github.com/rdkcentral/rdkb-halif-platform/commit/a1b3cf9f49f3f8e42e2d024f82384c3d8af157ce) +- Merge tag '1.0.1' into develop [`15f94af`](https://github.com/rdkcentral/rdkb-halif-platform/commit/15f94af6a22709f33ee941c9a661e03f9066db30) + +#### [1.0.1](https://github.com/rdkcentral/rdkb-halif-platform/compare/1.0.0...1.0.1) > 13 November 2023 -- Removed .vscode dir and added to gitignore [`077d4b6`](https://github.com/rdkcentral/rdkb-platform-hal/commit/077d4b6b6da66fbf70eec58b6ec62fff6af8475b) -- Bumped CHANGELOG.md - 1.0.1 [`ffbe5f1`](https://github.com/rdkcentral/rdkb-platform-hal/commit/ffbe5f1f01cbaa45b76e9d5ad070c14c0e220b8d) -- Merge tag '1.0.0' into develop [`c156aa3`](https://github.com/rdkcentral/rdkb-platform-hal/commit/c156aa35db694726f75c01b01d7b439f7130597a) +- Removed .vscode dir and added to gitignore [`077d4b6`](https://github.com/rdkcentral/rdkb-halif-platform/commit/077d4b6b6da66fbf70eec58b6ec62fff6af8475b) +- Bumped CHANGELOG.md - 1.0.1 [`ffbe5f1`](https://github.com/rdkcentral/rdkb-halif-platform/commit/ffbe5f1f01cbaa45b76e9d5ad070c14c0e220b8d) +- Merge tag '1.0.0' into develop [`c156aa3`](https://github.com/rdkcentral/rdkb-halif-platform/commit/c156aa35db694726f75c01b01d7b439f7130597a) #### 1.0.0 > 8 November 2023 -- Feature/RDKB-52300 [`#3`](https://github.com/rdkcentral/rdkb-platform-hal/pull/3) -- RDKB-50692 : Platform HAL Header file on new rdkb-platform-hal [`76539f1`](https://github.com/rdkcentral/rdkb-platform-hal/commit/76539f1a1cb03fa2f720aa8f7b4214606204f47c) -- updating last review code changes [`833d36b`](https://github.com/rdkcentral/rdkb-platform-hal/commit/833d36bcb7d99f458971dce0ef1ccef4c2e7c7f9) -- review updated, check #TODO [`551edcd`](https://github.com/rdkcentral/rdkb-platform-hal/commit/551edcdffa317854f94d2deac2056be6e1808c4f) +- Feature/RDKB-52300 [`#3`](https://github.com/rdkcentral/rdkb-halif-platform/pull/3) +- RDKB-50692 : Platform HAL Header file on new rdkb-platform-hal [`76539f1`](https://github.com/rdkcentral/rdkb-halif-platform/commit/76539f1a1cb03fa2f720aa8f7b4214606204f47c) +- updating last review code changes [`833d36b`](https://github.com/rdkcentral/rdkb-halif-platform/commit/833d36bcb7d99f458971dce0ef1ccef4c2e7c7f9) +- review updated, check #TODO [`551edcd`](https://github.com/rdkcentral/rdkb-halif-platform/commit/551edcdffa317854f94d2deac2056be6e1808c4f)