These details will help RDK-B community to port OneWifi on their reference platforms(RPI) with step by step procedure.
Include rdkb2023q2 release on top of SoC SDK.this is the recommended rdkb stable release for OneWifi (rdkb-2023q2-dunfell). NOTE: Documentation hold same for latest kirkstone release.
Integration segments:
Dependencies to build OneWifi
onewifi.service
Onewifi component entry in manifest file (OneWifi) and rdk-wifi-hal component entry in manifest (rdk-wifi-hal)
meta-raspberrypi ( Or )meta-cmf-soc-<soc name> ------- Firmware/drivers/kernel to be available
For proposing a new component,please create a bb file here
meta-cmf-raspberrypi (Or) meta-cmf-<platformname> --------- RDK-B changes to specific to SOC platform
All changes that need to be done for the primary recipe are handled in the form of bbappend
Patches: Patches are recommended if the changes are very specific and tied with SOC platform code.
meta-cmf-broadband ----------- RDK-B changes which are common for all RDK-B community members
All changes that need to be done for the primary recipe are handled in the form of bbappend
Patches: Patches are recommended if the changes are very specific and tied with SOC platform code.
All existing reference patches in Raspberry pi may not be applicable for real targets,Because of hardware limitation & functionality limitation we have added patches.
Bug fixing or feature enhancement done as part of OneWifi which are generic enough should come to OneWifi generic repo
Raspberry Pi has certain limitations on the driver side to support end to end use case of OneWifi and Build dependencies which are specific to comcast.to avoid such issues we have introduced a flag (_PLATFORM_RASPBERRYPI_) to keep it under conditional compilation.for Real targets we dont really need this flags
For Bulk atomic HAL apis for common configuration refer HAL APIs
rdkb-wifi.db
Comcast doesnt have 64 bit support in the current platforms.from RDK team side we have Raspberrypi 4 platform which support 64bit.we have supported Onewifi as part of this platform and fixed lot of alignment issues and warning treated as errors
dmcli eRT setv Device.WiFi.Radio.2.X_CISCO_COM_ApplySetting bool true dmcli eRT setv Device.WiFi.Radio.1.X_CISCO_COM_ApplySetting bool true
#Any dmcli commands specific to SSID and AccessPoint execute the Below Access Point Related apply settings dmcli eRT setv Device.WiFi.ApplyAccessPointSettings bool true #Any dmcli executions specific to Radio level use the below Radio apply settings command dmcli eRT setv Device.WiFi.ApplyRadioSettings bool true
Below are the list of logs present in /rdklogs/logs for Debugging OneWiFi Issues.
For Additional in-depth Debugging one should enable below commands ,
check for the respective logs in /tmp,
tail -f wifiDb &
Initial Headers: https://code.rdkcentral.com/r/plugins/gitiles/rdkb/components/opensource/ccsp/halinterface/+/490e08dc0edc9180a18c60eb4d6d3b0c85a1ebe3
Below things will be supported by Onewifi as part of Wi-Fi 7 which includes changes in onewifi ,rdk-wifi-hal & libhostap(for Wi-Fi 7 we use libhostap 2.11 version )
For more info refer Porting Guide - OneWifi