Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,20 @@ 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.3.5](https://github.com/rdkcentral/tr69hostif/compare/1.3.4...1.3.5)

- RDKEMW-14726: Implement Chrony runtime selection for Time Sync [`#385`](https://github.com/rdkcentral/tr69hostif/pull/385)
- Add the datamodel entries in generic [`#384`](https://github.com/rdkcentral/tr69hostif/pull/384)
- RDKEMW-14685 : Implement Product Class Data Model Parameter for RDKE [`#373`](https://github.com/rdkcentral/tr69hostif/pull/373)
- Merge tag '1.3.4' into develop [`600330e`](https://github.com/rdkcentral/tr69hostif/commit/600330e89cfdb20e35a188cd31ef260b76de21c5)

#### [1.3.4](https://github.com/rdkcentral/tr69hostif/compare/1.3.3...1.3.4)

> 3 March 2026

- RDKEMW-14761 - Add RFC to control wifi-optimizer [`#371`](https://github.com/rdkcentral/tr69hostif/pull/371)
- RDK-60924 : Addition of RFC parameter for Stage video devices [`#367`](https://github.com/rdkcentral/tr69hostif/pull/367)
- tr69hostif 1.3.4 release changelog updates [`ab04119`](https://github.com/rdkcentral/tr69hostif/commit/ab04119c9521f7aa4cbed1b40a875e5ccf33c615)
- Merge tag '1.3.3' into develop [`d4a740b`](https://github.com/rdkcentral/tr69hostif/commit/d4a740b7b59527c3b744271da7e10fd3864b8ae9)

#### [1.3.3](https://github.com/rdkcentral/tr69hostif/compare/1.3.2...1.3.3)
Expand Down
62 changes: 62 additions & 0 deletions src/hostif/handlers/src/hostIf_TimeClient_ReqHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,37 @@ int TimeClientReqHandler::handleSetMsg(HOSTIF_MsgData_t *stMsgData)
{
ret = pIface->set_Device_Time_Enable(stMsgData);
}
else if (strcasecmp(stMsgData->paramName,"Device.Time.ChronyEnable") == 0)
{
ret = pIface->set_Device_Time_Chrony_Enable(stMsgData);
}

else if (strcasecmp(stMsgData->paramName,"Device.Time.NTPMinpoll") == 0)
{
ret = pIface->set_Device_Time_NTPMinpoll(stMsgData);
}
else if (strcasecmp(stMsgData->paramName,"Device.Time.NTPMaxpoll") == 0)
{
ret = pIface->set_Device_Time_NTPMaxpoll(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer1Directive") == 0) {
ret = pIface->set_Device_Time_NTPServer1Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer2Directive") == 0) {
ret = pIface->set_Device_Time_NTPServer2Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer3Directive") == 0) {
ret = pIface->set_Device_Time_NTPServer3Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer4Directive") == 0) {
ret = pIface->set_Device_Time_NTPServer4Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer5Directive") == 0) {
ret = pIface->set_Device_Time_NTPServer5Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName,"Device.Time.NTPMaxstep") == 0) {
ret = pIface->set_Device_Time_NTPMaxstep(stMsgData);
}
else
{
RDK_LOG(RDK_LOG_TRACE1,LOG_TR69HOSTIF,"[%s:%s:%d] parameter : \'%s\' Not handled \n", __FUNCTION__, __FILE__, __LINE__, stMsgData->paramName);
Expand Down Expand Up @@ -230,7 +261,38 @@ int TimeClientReqHandler::handleGetMsg(HOSTIF_MsgData_t *stMsgData)
else if (strcasecmp(stMsgData->paramName, "Device.Time.X_RDK_CurrentUTCTime") == 0)
{
ret = pIface->get_Device_Time_CurrentUTCTime(stMsgData);
}
else if (strcasecmp(stMsgData->paramName,"Device.Time.ChronyEnable") == 0)
{
ret = pIface->get_Device_Time_Chrony_Enable(stMsgData);
}

else if (strcasecmp(stMsgData->paramName,"Device.Time.NTPMinpoll") == 0)
{
ret = pIface->get_Device_Time_NTPMinpoll(stMsgData);
}
else if (strcasecmp(stMsgData->paramName,"Device.Time.NTPMaxpoll") == 0)
{
ret = pIface->get_Device_Time_NTPMaxpoll(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer1Directive") == 0) {
ret = pIface->get_Device_Time_NTPServer1Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer2Directive") == 0) {
ret = pIface->get_Device_Time_NTPServer2Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer3Directive") == 0) {
ret = pIface->get_Device_Time_NTPServer3Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer4Directive") == 0) {
ret = pIface->get_Device_Time_NTPServer4Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName, "Device.Time.NTPServer5Directive") == 0) {
ret = pIface->get_Device_Time_NTPServer5Directive(stMsgData);
}
else if (strcasecmp(stMsgData->paramName,"Device.Time.NTPMaxstep") == 0) {
ret = pIface->get_Device_Time_NTPMaxstep(stMsgData);
}
else
{
RDK_LOG(RDK_LOG_ERROR,LOG_TR69HOSTIF,"[%s:%s:%d] parameter : \'%s\' Not handled \n", __FUNCTION__, __FILE__, __LINE__, stMsgData->paramName);
Expand Down
39 changes: 38 additions & 1 deletion src/hostif/handlers/src/hostIf_WiFi_ReqHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ int WiFiReqHandler::handleGetMsg(HOSTIF_MsgData_t *stMsgData)
const char *pSetting;
const int maxSSID_Instances = 1;
int instanceNum = 0;
int radioIndex = 1;
#ifdef RDKV_TR69
const int maxRadioInstances = 1;
int radioIndex = 1;
if (strcasecmp(stMsgData->paramName,"Device.WiFi.RadioNumberOfEntries") == 0)
{
stMsgData->instanceNum = maxRadioInstances;
Expand Down Expand Up @@ -327,6 +327,43 @@ int WiFiReqHandler::handleGetMsg(HOSTIF_MsgData_t *stMsgData)
}
ret = pIface->get_Device_WiFi_EnableWiFi(stMsgData);
}
#ifndef RDKV_TR69
else if (matchComponent(stMsgData->paramName, "Device.WiFi.Radio", &pSetting, instanceNum))
{
if (instanceNum != 1)
{
return NOK;
}

stMsgData->instanceNum = instanceNum;
hostIf_WiFi_Radio *pWifiRadio = hostIf_WiFi_Radio::getInstance(stMsgData->instanceNum);
hostIf_WiFi_Radio_Stats *pWifiRadioStats = hostIf_WiFi_Radio_Stats::getInstance(stMsgData->instanceNum);

if ((!pWifiRadio) || (!pWifiRadioStats))
{
return NOK;
}

if (strcasecmp(pSetting,"OperatingChannelBandwidth") == 0)
{
ret = pWifiRadio->get_Device_WiFi_Radio_OperatingChannelBandwidth(stMsgData,radioIndex);
}
else if (strcasecmp(pSetting,"Stats.PacketsReceived") == 0)
{
ret = pWifiRadioStats->get_Device_WiFi_Radio_Stats_PacketsReceived(stMsgData,radioIndex);
}
else if (strcasecmp(pSetting,"Stats.Noise") == 0)
{
ret = pWifiRadioStats->get_Device_WiFi_Radio_Stats_NoiseFloor(stMsgData,radioIndex);
}
else
{
RDK_LOG(RDK_LOG_ERROR,LOG_TR69HOSTIF,"[%s:%d] Parameter : \'%s\' is Not Supported \n", __FUNCTION__, __LINE__, stMsgData->paramName);
stMsgData->faultCode = fcInvalidParameterName;
ret = NOK;
}
}
#endif
#ifdef RDKV_TR69
else if (matchComponent(stMsgData->paramName, "Device.WiFi.Radio", &pSetting, instanceNum))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,25 @@
</syntax>
</parameter>
</object>
<object base="Device.WiFi.Radio.{i}." access="readOnly" minEntries="0" maxEntries="unbounded" >
<parameter base="OperatingChannelBandwidth" access="readOnly" notification="0" maxNotification="2" >
<syntax>
<string/>
</syntax>
</parameter>
</object>
<object base="Device.WiFi.Radio.{i}.Stats." access="readOnly" minEntries="1" maxEntries="1" >
<parameter base="PacketsReceived" access="readOnly" notification="0" maxNotification="2" >
<syntax>
<unsignedLong/>
</syntax>
</parameter>
<parameter base="Noise" access="readOnly" notification="0" maxNotification="2" >
<syntax>
<int/>
</syntax>
</parameter>
</object>
<object base="Device.DeviceInfo.X_RDKCENTRAL-COM_xBlueTooth.DiscoveredDevice.{i}." access="readOnly" minEntries="0" maxEntries="unbounded" >
<parameter base="Name" access="readOnly" notification="0" maxNotification="2" >
<syntax>
Expand Down
55 changes: 55 additions & 0 deletions src/hostif/parodusClient/waldb/data-model/data-model-stb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,61 @@
<string/>
</syntax>
</parameter>
<parameter base="ChronyEnable" access="readWrite" notification="0" maxNotification="2" >
<syntax>
<boolean/>
<default type="factory" value="false"/>
</syntax>
</parameter>
<parameter base="NTPMinpoll" access="readWrite" notification="0" maxNotification="2" >
<syntax>
<unsignedInt/>
<default type="factory" value="10"/>
</syntax>
</parameter>
<parameter base="NTPMaxpoll" access="readWrite" notification="0" maxNotification="2" >
<syntax>
<unsignedInt/>
<default type="factory" value="12"/>
</syntax>
</parameter>
<parameter base="NTPServer1Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPServer2Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPServer3Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPServer4Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPServer5Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPMaxstep" access="readWrite" notification="0" maxNotification="2" >
<syntax>
<string/>
<default type="factory" value="1.0,3"/>
</syntax>
<!-- Format: "threshold,updateCount" (threshold: float in seconds, updateCount: unsignedInt) -->
</parameter>
</object>
<object base="Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.DAB." access="readOnly" minEntries="0" maxEntries="1" >
<parameter base="Enable" access="readWrite" notification="0" maxNotification="2" >
Expand Down
55 changes: 55 additions & 0 deletions src/hostif/parodusClient/waldb/data-model/data-model-tv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,61 @@
<string/>
</syntax>
</parameter>
<parameter base="ChronyEnable" access="readWrite" notification="0" maxNotification="2" >
<syntax>
<boolean/>
<default type="factory" value="false"/>
</syntax>
</parameter>
<parameter base="NTPMinpoll" access="readWrite" notification="0" maxNotification="2" >
<syntax>
<unsignedInt/>
<default type="factory" value="10"/>
</syntax>
</parameter>
<parameter base="NTPMaxpoll" access="readWrite" notification="0" maxNotification="2" >
<syntax>
<unsignedInt/>
<default type="factory" value="12"/>
</syntax>
</parameter>
<parameter base="NTPServer1Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPServer2Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPServer3Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPServer4Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPServer5Directive" access="readWrite" notification="0" maxNotification="2">
<syntax>
<string/>
<default type="factory" value="server"/>
</syntax>
</parameter>
<parameter base="NTPMaxstep" access="readWrite" notification="0" maxNotification="2" >
<syntax>
<string/>
<default type="factory" value="1.0,3"/>
</syntax>
<!-- Format: "threshold,updateCount" (threshold: float in seconds, updateCount: unsignedInt) -->
</parameter>
</object>
<object base="Device.Services.STBService.1.Capabilities.VideoDecoder.X_RDKCENTRAL-COM_MPEGHPart2." access="readOnly" minEntries="1" maxEntries="1" >
<parameter base="AudioStandards" access="readOnly" notification="0" maxNotification="2" >
Expand Down
Loading
Loading