Skip to content

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

Open
aprasad-97 wants to merge 1 commit into
rdkcentral: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 1 commit into
rdkcentral:developfrom
aprasad-97:RDKBDEV-3338

Conversation

@aprasad-97
Copy link
Copy Markdown

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
Copy Markdown

github-actions Bot commented Feb 5, 2026

All contributors have signed the CLA ✍️ ✅
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)
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

Copy link
Copy Markdown
Contributor

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

@AkhilaReddyK7 AkhilaReddyK7 added the community-contribution Contribution from community label Mar 17, 2026
@pradeeptakdas
Copy link
Copy Markdown

Hi @aprasad-97
Can you please fix the review comments?

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>
@pradeeptakdas
Copy link
Copy Markdown

Hi @aprasad-97

Please let us know if there is any update?

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

Labels

community-contribution Contribution from community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants