Skip to content

Comments

RDKCOM-5489: RDKBDEV-3338 Review and fix TR69 interface selection for bridge mode.#9

Open
aprasad-97 wants to merge 2 commits intordkcentral:developfrom
aprasad-97:RDKBDEV-3338
Open

RDKCOM-5489: RDKBDEV-3338 Review and fix TR69 interface selection for bridge mode.#9
aprasad-97 wants to merge 2 commits intordkcentral:developfrom
aprasad-97:RDKBDEV-3338

Conversation

@aprasad-97
Copy link

Reason for change: In pseudo bridge mode, the selected interface for TR069 currently is wan0 instead of “erouter0” and this need to be fixed.
Risks: Low
Signed-off-by: Aiswarya Prasad aprasad@maxlinear.com

Reason for change: In pseudo bridge mode, the selected interface for TR069 currently is wan0 instead of “erouter0” and this need to be fixed.
Risks: Low
Signed-off-by: Aiswarya Prasad <aprasad@maxlinear.com>
@aprasad-97 aprasad-97 requested review from a team as code owners January 7, 2026 09:32
@pradeeptakdas pradeeptakdas changed the title RDKBDEV-3338: Review and fix TR69 interface selection for bridge mode. RDKCOM-5489: RDKBDEV-3338 Review and fix TR69 interface selection for bridge mode. Jan 7, 2026
@github-actions
Copy link

github-actions bot commented Feb 5, 2026


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
✅ (aprasad-97)[https://github.com/aprasad-97]
@tinaelizabeth84
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

return MODE_ERROR;
}
CcspTr069PaTraceInfo(("%s: bridge_mode from sysevent = '%s'\n", __func__, buf));
if (strcmp(buf, "2") != 0)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For router mode it will be zero. this condition will return mode as router for all values other than 2 which may not be proper. please confirm the values

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we checked, the bridge_mode sysevent has a value of 0 in router mode. In bridge mode (both FB and PB modes), it has a value of 2. We haven’t seen any case where this sysevent takes any other value. That is why we added the condition check in this way.
If the suggestion is to explicitly specify and compare against the value 0 for router mode here, we can make that change as well.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FB and PB will have different values. Please make the check explicit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants