Skip to content

RDKBACCL-1209: Need to align the vendor wifi hal for bpi platform#387

Open
ap934 wants to merge 1 commit intordkcentral:developfrom
ap934:align_vendor_hal_onewifi
Open

RDKBACCL-1209: Need to align the vendor wifi hal for bpi platform#387
ap934 wants to merge 1 commit intordkcentral:developfrom
ap934:align_vendor_hal_onewifi

Conversation

@ap934
Copy link
Contributor

@ap934 ap934 commented Jan 9, 2026

Reason for change: Aligning vendor hal for bpi platform by removing onewifi flags and wifiagent references
Test Procedure: Build should pass and Onewifi functionality should work without failure
Risks:Medium

@ap934 ap934 marked this pull request as draft January 9, 2026 12:25
POINTER_CHECK(output_ulong != NULL);
//zqiu:TODO:save config

if (radioIndex == 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think, if condition block is not needed .
you can directly passed radioIndex instaed of apIndex in line no 250

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated by passing radioIndex directly.



//Get the running channel number
INT wifi_getRadioChannel(INT radioIndex,ULONG *output_ulong) //RDKB
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this api needed ? if yes, please add the logic to get the channel value

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes needed, added logic for getting channel

@@ -0,0 +1,975 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Is that validation is done completely for non-em , em and wifi agent builds?

Also ,ensure below functional test cases also works as expected

  1. Associated clients info
  2. Stats of connected, radio and ssid

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All test cases passed and attached in ticket.

@ap934 ap934 force-pushed the align_vendor_hal_onewifi branch from 6f29216 to b92eb79 Compare January 13, 2026 10:39
@ap934 ap934 marked this pull request as ready for review January 21, 2026 07:05
do_install_append(){
install -d ${D}/usr/bin
install -m 777 ${B}/wifihal ${D}/usr/bin/
cp ${WORKDIR}/wifi_hal.c ${S}/wifi_hal.c
Copy link
Contributor

Choose a reason for hiding this comment

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

Use install instead of cp.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently file is not in use

@ap934 ap934 marked this pull request as draft January 28, 2026 12:53
@ap934 ap934 force-pushed the align_vendor_hal_onewifi branch 3 times, most recently from 8eeeba2 to 788360a Compare February 3, 2026 07:26

require conf/distro/include/rdk-bpi.inc
PREFERRED_PROVIDER_hal-wifi_onewifi = "hal-wifi-generic"
PREFERRED_PROVIDER_hal-wifi_onewifi = "rdk-wifi-hal"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think, this line is not needed ..
PREFERRED_PROVIDER_hal-wifi will be set like hal-wifi-generic , hal-wiif-mt76 like that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed

@ap934 ap934 force-pushed the align_vendor_hal_onewifi branch from 788360a to cc8f681 Compare February 12, 2026 06:10
@ap934 ap934 marked this pull request as ready for review February 13, 2026 07:12
@rdkcmf-jenkins
Copy link
Contributor

build-bpi-r4-broadband Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/93b1b7e32d9c632994fc3a33aa1c9f76

@rdkcmf-jenkins
Copy link
Contributor

build-bpi-r4-broadband Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/af6b391e15a4f8c39554f6f8ad1709ef

@rdkcmf-jenkins
Copy link
Contributor

cpokuru
cpokuru previously approved these changes Feb 13, 2026
Copy link
Contributor

@cpokuru cpokuru left a comment

Choose a reason for hiding this comment

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

will take it further once below change merged
rdkcentral/rdk-wifi-hal#547

@rdkcmf-jenkins
Copy link
Contributor

@rdkcmf-jenkins
Copy link
Contributor

build-bpi-r4-broadband Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/8fed16caf22f2ae8e572bb6cca46e552

@rdkcmf-jenkins
Copy link
Contributor

Reason for change: Aligning vendor hal for bpi platform by removing onewifi flags and wifiagent references
Test Procedure: Build should pass and Onewifi functionality should work without failure
Risks:Medium

Signed-off-by: ap934 <ap934@cable.comcast.com>
@ap934 ap934 force-pushed the align_vendor_hal_onewifi branch from e53aeef to 777f48a Compare March 3, 2026 13:59
@rdkcmf-jenkins
Copy link
Contributor

@rdkcmf-jenkins
Copy link
Contributor

build-bpi-r4-broadband Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/21ba8ab6756373b8430e12d2ae606d16

@rdkcmf-jenkins
Copy link
Contributor

@rdkcmf-jenkins
Copy link
Contributor

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.

5 participants