You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

Page Under Construction


Scope:

              This guide will help RDK-B community to port OneWifi on their platforms


Prerequisites:

TBD

Supported platforms:

  1.       Raspberry Pi4 64 bit
  2.       Raspberry Pi4 32 bit

Supported yocto version:

  1. Dunfell
  2. Kirkstone(supported in rdkb2023q3 kirkstone beta release and planned for rdkb2023q4 official release)

Epic details:

Approach followed:

  • Full Management frame approach(Highly recommended for SoC vendors,OEM's and Operators)
  • Event based approach(Only for Raspberry Pi4,Since there is no much support for full management from broadcom driver side we opted this approach.To continue using this approach,this should be discussed with Operators and RDK-B Architecture Review Board)

Step by step procedure:       

Include rdkb2023q2 release on top of SoC SDK.this is the recommended rdkb stable release for OneWifi (rdkb-2023q2-dunfell)

    

Dependencies to build OneWifi


Systemd Service file:

    •    onewifi.service

Create platform layer for mediatek platform,please consider raspberry pi as reference


           Manifest entries:

    •        Onewifi component entry in manifest file (OneWifi) and rdk-wifi-hal component entry in manifest (rdk-wifi-hal)

         

Layers to consider:

           1.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

           2.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.

           3.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.


           Bug fixing or feature enhancement:

    •             Bug fixing or feature enhancement done as part of OneWifi which are generic enough should come to OneWifi generic repo 

Flags defined in Onewifi:

    •        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

Bulk atomic HAL apis for common configuration


wifi_hal_sendDataFrameNew API introduced
wifi_hal_newApAssociatedDevice_callback_registerNew API introduced
wifi_hal_apDeAuthEvent_callback_registerNew API introduced
wifi_hal_apDisassociatedDevice_callback_registerNew API introduced
wifi_hal_register_frame_hookNew API introduced
wifi_hal_disassocNew API introduced
wifi_hal_send_mgmt_frame_responseNew API introduced
wifi_hal_initAvailable in ccsp too
wifi_hal_getHalCapabilityAvailable in ccsp too
wifi_hal_setRadioOperatingParametersAvailable in ccsp too
wifi_hal_createVAPAvailable in ccsp too
wifi_hal_startScanNew API introduced
wifi_hal_connectNew API introduced
wifi_hal_get_default_country_codeNew API introduced
wifi_hal_get_default_ssidNew API introduced
wifi_hal_get_default_keypassphraseNew API introduced
wifi_hal_get_default_wps_pinNew API introduced
wifi_hal_get_default_ssidNew API introduced
wifi_hal_get_default_radius_keyNew API introduced
wifi_hal_setRadioOperatingParametersAvailable in ccsp too
wifi_hal_staConnectionStatus_callback_registerNew API introduced
wifi_hal_scanResults_callback_registerNew API introduced
wifi_hal_mgmt_frame_callbacks_registerNew API introduced
wifi_hal_getRadioVapInfoMapAvailable in ccsp too
wifi_hal_delApAclDeviceAvailable in ccsp too
wifi_hal_addApAclDeviceAvailable in ccsp too
wifi_hal_kickAssociatedDeviceAvailable in ccsp too
wifi_hal_setApWpsButtonPushAvailable in ccsp too
wifi_hal_setApWpsPinNew API introduced
wifi_hal_disconnectNew API introduced
wifi_hal_getRadioOperatingParametersAvailable in ccsp too
wifi_hal_getScanResultsNew API introduced






  • No labels