Skip to content
Open

Sync #21

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c746091
RDK-61444 : Network Manager Plugin to support Scan Specific SSID (#306)
jincysam87 May 28, 2026
927fbfb
RDKEMW-18247 : Panel is listing as a PLATCO device in Router client l…
cmuhammedrafi May 28, 2026
21e2ad7
Release of 3.0.0
karuna2git May 28, 2026
88c9b22
RDK-61440: Implementation of handling PowerMode Change in NM plugin …
Anand73-n Jun 4, 2026
225a47a
RDK-61247: IP caching and refresh logic (#310)
tukken-comcast Jun 8, 2026
94f4f43
RDK-61247: Updated the documentation (#314)
tukken-comcast Jun 9, 2026
fcaa5a2
RDKEMW-19267: WPEFramework crash observed with VSS increase (#315)
gururaajar Jun 12, 2026
5a125cb
Release of 3.3.0
karuna2git Jun 12, 2026
7decf26
RDKEMW-20574 : Fix the notification locks in networkmanager plugin (#…
jincysam87 Jul 1, 2026
5227c35
RDKEMW-20973: reconnect failure on deepsleep wakeup (#321)
Anand73-n Jul 6, 2026
a2ffa86
RDKEMW-21453: LegacyNetworkAPIs logs are not printed under wpeframewo…
gururaajar Jul 17, 2026
9da3967
RDKEMW-21513: Added telemetry T2 event posting for IPv6 public IP (#325)
gururaajar Jul 17, 2026
4ca6e48
RDKEMW-20646 : Using dedicated Eventing thread to send the events (#322)
karuna2git Jul 17, 2026
32131d6
Release of 3.4.0
karuna2git Jul 17, 2026
3c2c421
RDKEMW-22276: Coverity integration for networkmanager plugin (#331)
gururaajar Jul 30, 2026
96eb081
RDKEMW-22632: Order service start after PowerManager (#327)
Anand73-n Jul 31, 2026
9919e6f
Release of 3.5.0
karuna2git Aug 2, 2026
6c74d8e
RDKEMW-23357 : Failed to Connect to Hidden SSID (#333)
jincysam87 Aug 11, 2026
27345cb
Release of 3.6.0
karuna2git Aug 11, 2026
146b3ac
RDK-62042: Improve performance of GetAvailableInterfaces and GetInter…
tukken-comcast Aug 22, 2026
b70b39b
Release of 3.7.0
karuna2git Aug 22, 2026
36c1c5b
RDKEMW-21048: Mutex to access m_lastConnectedSSID in NMPlugin (#339)
me-ha-p Aug 25, 2026
ef82854
RDK-61898: Internet Status Publishing in Deep Sleep Scenarios (#340)
cmuhammedrafi Aug 31, 2026
d605591
RDKEMW-22842: onWiFiStateChange Event to Include Wi-Fi Profile Info (…
me-ha-p Sep 1, 2026
e051d8a
RDK-61724: Update Network Manager to publish a new event for route ch…
gururaajar Sep 2, 2026
57281a7
Release of 4.0.0
karuna2git Sep 3, 2026
974c0ae
RDKEMW-24853: Remove rescan request upon wake-up(NSM-ON) (#350)
DevikaJaladi Sep 10, 2026
ecff51c
Release of 4.1.0
karuna2git Sep 10, 2026
10584af
RDKEMW-23908: Reduce default ping count from 3 to 1 and timeout from …
tukken-comcast Sep 11, 2026
b51acd6
Release of 4.2.0
karuna2git Sep 11, 2026
4368c3c
RDKEMW-24199: GetKnownSSIDs must return appropriate response (#353)
karuna2git Sep 15, 2026
f409fd1
Release of 4.3.0
karuna2git Sep 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/gdbus_proxy_L1_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ jobs:
&&
cmake --build build/ThunderInterfaces --target install -j8

- name: Install IPowerManager header
run: |
IFACE_DIR=$(find ${{github.workspace}}/install/usr/include -maxdepth 2 -name "interfaces" -type d | head -1)
cp ${{github.workspace}}/networkmanager/tests/mocks/thunder/IPowerManager.h "$IFACE_DIR/"

- name: Install IConnectivityCheck header
run: |
IFACE_DIR=$(find ${{github.workspace}}/install/usr/include -maxdepth 2 -name "interfaces" -type d | head -1)
CPC_IFACE_DIR="$(dirname "$IFACE_DIR")/interfaces_cpc/interfaces"
mkdir -p "$CPC_IFACE_DIR"
cp ${{github.workspace}}/networkmanager/tests/mocks/thunder/IConnectivityCheck.h "$CPC_IFACE_DIR/"

- name: Build networkmanager with Gnome GDBUS Proxy
run: >
cmake
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/legacy_L1_L2_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ jobs:
&&
cmake --build build/ThunderInterfaces --target install -j8

- name: Install IPowerManager header
run: |
IFACE_DIR=$(find ${{github.workspace}}/install/usr/include -maxdepth 2 -name "interfaces" -type d | head -1)
cp ${{github.workspace}}/networkmanager/tests/mocks/thunder/IPowerManager.h "$IFACE_DIR/"

- name: Install IConnectivityCheck header
run: |
IFACE_DIR=$(find ${{github.workspace}}/install/usr/include -maxdepth 2 -name "interfaces" -type d | head -1)
CPC_IFACE_DIR="$(dirname "$IFACE_DIR")/interfaces_cpc/interfaces"
mkdir -p "$CPC_IFACE_DIR"
cp ${{github.workspace}}/networkmanager/tests/mocks/thunder/IConnectivityCheck.h "$CPC_IFACE_DIR/"

- name: Generate IARM headers
run: |
touch install/usr/lib/libIARMBus.so
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/libnm_proxy_L1_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ env:
jobs:
L1-tests:
name: Build and run unit tests
runs-on: ubuntu-22.04
# Note: Ubuntu 24.04 is required for libnm 1.46 which is needed for NetworkManagerPowerClient support
runs-on: ubuntu-24.04

steps:
# Set up Thunder cache
Expand Down Expand Up @@ -107,11 +108,23 @@ jobs:
&&
cmake --build build/ThunderInterfaces --target install -j8

- name: Install IPowerManager header
run: |
IFACE_DIR=$(find ${{github.workspace}}/install/usr/include -maxdepth 2 -name "interfaces" -type d | head -1)
cp ${{github.workspace}}/networkmanager/tests/mocks/thunder/IPowerManager.h "$IFACE_DIR/"

- name: Install IConnectivityCheck header
run: |
IFACE_DIR=$(find ${{github.workspace}}/install/usr/include -maxdepth 2 -name "interfaces" -type d | head -1)
CPC_IFACE_DIR="$(dirname "$IFACE_DIR")/interfaces_cpc/interfaces"
mkdir -p "$CPC_IFACE_DIR"
cp ${{github.workspace}}/networkmanager/tests/mocks/thunder/IConnectivityCheck.h "$CPC_IFACE_DIR/"

- name: Generate dependency files
run: |
sudo bash -c 'echo "ETHERNET_INTERFACE=eth0
WIFI_INTERFACE=wlan0
DEVICE_NAME=rdk_test_device " > /etc/device.properties'
DEFAULT_HOSTNAME=rdk_test_device " > /etc/device.properties'

- name: Generate IARM headers
run: |
Expand Down Expand Up @@ -160,7 +173,7 @@ jobs:

- name: Generate coverage
run: |
lcov -c -o coverage.info -d build/networkmanager_libnm/
lcov --rc geninfo_unexecuted_blocks=1 -c -o coverage.info -d build/networkmanager_libnm/ --ignore-errors mismatch
lcov -e coverage.info '*/networkmanager/plugin/gnome/*' -o filtered_coverage.info

- name: Generate the html report
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/native_full_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build Component in Native Environment

on:
push:
branches: [ main, develop, 'support/**', 'hotfix/**', 'topic/**' ]
pull_request:
branches: [ main, develop, 'support/**', 'hotfix/**', 'topic/**' ]

permissions:
contents: read

jobs:
build-networkmanager:
name: Build networkmanager component in github rdkcentral
# Ubuntu 24.04 provides libnm 1.46, closer to the version used in RDK(1.43.7).
runs-on: ubuntu-24.04

steps:

- name: Checkout code
uses: actions/checkout@v3

- name: native build
run: |
sh -x build_dependencies.sh
sh -x cov_build.sh
12 changes: 12 additions & 0 deletions .github/workflows/rdk_proxy_L1_L2_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ jobs:
&&
cmake --build build/ThunderInterfaces --target install -j8

- name: Install IPowerManager header
run: |
IFACE_DIR=$(find ${{github.workspace}}/install/usr/include -maxdepth 2 -name "interfaces" -type d | head -1)
cp ${{github.workspace}}/networkmanager/tests/mocks/thunder/IPowerManager.h "$IFACE_DIR/"

- name: Install IConnectivityCheck header
run: |
IFACE_DIR=$(find ${{github.workspace}}/install/usr/include -maxdepth 2 -name "interfaces" -type d | head -1)
CPC_IFACE_DIR="$(dirname "$IFACE_DIR")/interfaces_cpc/interfaces"
mkdir -p "$CPC_IFACE_DIR"
cp ${{github.workspace}}/networkmanager/tests/mocks/thunder/IConnectivityCheck.h "$CPC_IFACE_DIR/"

- name: Generate IARM headers
run: |
touch install/usr/lib/libIARMBus.so
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate_pr_desc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
# Define valid ticket IDs
VALID_TICKET_IDS=("RDKEMW")
VALID_TICKET_IDS=("RDKEMW" "RDK")

# Function to validate ticket format and ID
validate_ticket() {
Expand Down
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,67 @@ All notable changes to this RDK Service will be documented in this file.

* Changes in CHANGELOG should be updated when commits are added to the main or release branches. There should be one CHANGELOG entry per JIRA Ticket. This is not enforced on sprint branches since there could be multiple changes for the same JIRA ticket during development.

## [4.3.0] - 2026-09-15
### Fixed
- GetKnownSSIDs method is fixed to return empty when no saved profile found

## [4.2.0] - 2026-09-11
### Changed
- Changed the default values for the number of ping request sent, the timeout and also the interval between the ping packets.
- Moving Ping and Trace methods as ASYNC is being designed

## [4.1.0] - 2026-09-10
### Changed
- Removed the explicit ReScan upon Wake-Up from DeepSleep because the Gnome NW sends SCAN requests with "AllowRoam" false which leads supplicant to Not to connect to WiFi; it ends-up scan-only

## [4.0.0] - 2026-09-03
### Added
- Implemented a new `onRouteChange` event notify availability of IP Route either from WiFi or Ethernet
- Integrated new InternetConnectivityManager external component to identify the internet availability without having 204 endpoint
- Publishing onInternetStatusChange event upon wake-up
- Added mutex protection before accessing lastConnectedSSID
- Changed the onWiFiStateChange event to include SSID name
- Updated documentation for events and method descriptions.

## [3.7.0] - 2026-08-21
### Changed
- Implemented a caching logic about the status of the interface & update based on events

## [3.6.0] - 2026-08-11
### Fixed
- Fixed the issue with connecting to a SSID that is not present in scan list

## [3.5.0] - 2026-08-02
### Added
- Added Coverity WorkFlow
- Added PowerManager boot dependency

## [3.4.0] - 2026-07-17
### Fixed
- Fixed the logging failure within the inprogress plugins
- Added mutex before accessing the scan filters
- Added t2 event for IPv6 Public IP
- Added thread to publish the events without blocking the caller notification thread

## [3.3.0] - 2026-06-12
### Fixed
- Fixed the memory leak that caused by the persistent m_nmClient and m_nmContext.

## [3.2.0] - 2026-06-09
### Added
- Implemented IP Caching logic to avoid multiple hard fetches from Gnome & invalidating the cache on change.

## [3.1.0] - 2026-06-08
### Changed
- Handled Power State changes within NetworkManager as below,
- Transition to DeepSleep will disconnect when NSM is OFF
- Transition from DeepSleep will Renew IP when NSM is ON

## [3.0.0] - 2026-05-28
### Changed
- The device hostname header that used to retrive has changed as "DEFAULT_HOSTNAME"
- Updated the WiFiStartScan to scan for specific SSID and also updated to take array of freq band as input instead of single freq

## [2.3.0] - 2026-05-21
### Fixed
- Fixed the issue which leads Enabling and Disabling of interfaces are taking longer
Expand Down
28 changes: 27 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (NOT WPEFramework_FOUND AND NOT Thunder_FOUND)
endif()

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
set(VERSION_MAJOR 2)
set(VERSION_MAJOR 4)
set(VERSION_MINOR 3)
set(VERSION_PATCH 0)

Expand All @@ -55,13 +55,39 @@ option(ENABLE_LEGACY_PLUGINS "Enable Legacy Plugins" ON)
option(USE_RDK_LOGGER "Enable RDK Logger for logging" OFF )
option(ENABLE_UNIT_TESTING "Enable unit tests" OFF)
option(USE_TELEMETRY "Enable Telemetry T2 support" OFF)
option(USE_CONNECTIVITYCHECKMGR "Enable ConnectivityCheckMgr delegation (compiles the delegation client and reads the TR-181 RFC feature flag via rfcapi)" OFF)
option(ENABLE_ETHERNET_CONNECTION_HANDLING
"Enable pre-sleep Ethernet deactivation" OFF)

if(ENABLE_ETHERNET_CONNECTION_HANDLING)
add_definitions(-DENABLE_ETHERNET_CONNECTION_HANDLING)
message(STATUS "Ethernet connection handling: enabled")
endif()

# Backend identity macros are consumed by shared headers; define them globally
# so all targets (plugin, tests, tools) compile against the same API surface.
if(ENABLE_GNOME_NETWORKMANAGER AND ENABLE_GNOME_GDBUS)
add_compile_definitions(NM_BACKEND_GDBUS=1)
elseif(NOT ENABLE_GNOME_NETWORKMANAGER)
add_compile_definitions(NM_BACKEND_RDK=1)
endif()

if (USE_TELEMETRY)
find_package(T2 REQUIRED)
add_compile_definitions(USE_TELEMETRY=1)
message("Telemetry support enabled")
endif(USE_TELEMETRY)

# Optional ConnectivityCheckMgr delegation. Compiles the delegation client and pulls
# in the rfcapi library used to read the TR-181 RFC feature flag at runtime, e.g.
# Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.ConnectivityCheckMgr.Enable.
if (USE_CONNECTIVITYCHECKMGR)
find_library(RFCAPI_LIBRARY rfcapi REQUIRED)
find_path(RFCAPI_INCLUDE_DIR rfcapi.h)
add_compile_definitions(USE_CONNECTIVITYCHECKMGR=1)
message(STATUS "ConnectivityCheckMgr delegation enabled (rfcapi lib=${RFCAPI_LIBRARY}, include=${RFCAPI_INCLUDE_DIR})")
endif(USE_CONNECTIVITYCHECKMGR)

add_subdirectory(interface)
add_subdirectory(definition)
add_subdirectory(plugin)
Expand Down
Loading
Loading