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

Compare with Current View Page History

« Previous Version 10 Next »

 
Yocto Build steps


Build steps
$ mkdir <workspace dir>
$ cd <workspace dir>
$ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml
$ repo sync -j`nproc` --no-clone-bundle

     Please cherry-pick the below changes,

Wi-Fi Hal 3.0
cd ~/rdkb/components/opensource/ccsp/CcspWifiAgent
       git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspWifiAgent refs/changes/60/67760/3 && git cherry-pick FETCH_HEAD 
       git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspWifiAgent refs/changes/94/68094/1 && git cherry-pick FETCH_HEAD
cd ~/rdkb/components/opensource/ccsp/CcspPandM
       git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspPandM refs/changes/95/68095/1 && git cherry-pick FETCH_HEAD
cd ~/rdkb/components/opensource/ccsp/Utopia
       git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia refs/changes/50/67650/2 && git cherry-pick FETCH_HEAD
cd ~/rdkb/components/opensource/ccsp/RdkWanManager
       git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/RdkWanManager refs/changes/51/67651/1 && git cherry-pick FETCH_HEAD

Note : The above bug fixes changes are temporary given as instructions. This is not required once the change is gets merged into the appropriate repo.

Below is the path to enable the DISTRO Feature to support the Wi-Fi Hal 3.0 Feature,


DISTRO - Wi-Fi Hal 3.0
cd ~/meta-cmf-raspberrypi/conf/machine
vi raspberrypi4-rdk-broadband.conf
# Append the below line to enable wifi hal 3.0 feature support in rpi4
DISTRO_FEATURES_append = " halVersion3 "
Image Generation
$ MACHINE=raspberrypi4-rdk-broadband source meta-cmf-raspberrypi/setup-environment
$ bitbake rdk-generic-broadband-image

Wi-Fi Hal 3.0 Api's  Implemented

                  Below are the list of new api's, are implemented in rpi platform to support the wifi hal 3.0 feature. 

Wi-Fi Hal 3.0 api's
wifi_getRadioOperatingParameters
wifi_setRadioOperatingParameters 
wifi_createVAP
wifi_getRadioVapInfoMap
wifi_getHalCapability 
wifi_getApAssociatedDevice 
wifi_getApSecurity 
wifi_updateApSecurity
wifi_setApSecurity 
wifi_setApWpsConfiguration
wifi_getApWpsConfiguration

Enabling CFLAGS - WIFI_HAL_VERSION_3 

                     Below are the recipe's to enable the cflag to support the Wi-Fi Hal Version 3 Feature.

S.NoRecipeCFLAG
1.ccsp-wifi-agent.bbappend CFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'halVersion3', ' -DWIFI_HAL_VERSION_3 ', '', d)}"
                                      
2.harvester_git.bbappend   
3.hal-wifi-generic_git.bbappend
4.halinterface.bbappend

Validated Functionalities


No

Feature

Supported

1WAN Connected Devices-Wi-Fi 2G(tick)
2WAN Connected Devices-Wi-Fi 5G(tick)
3WPS(tick)
4Bridge Mode(tick)
5Factory Reset(tick)
6Captive Portal(tick)
            72.4 GHz Band Support                               (tick)
            85 GHz Band Support                               (tick)
            9In WebUI , Gateway > Connection > Wi-Fi                                (tick)
           10TR-181 Wi-Fi DM parameters are loaded properly during boot-up                               (tick)
           11Internet and WebUI launch on Associated connected wireless clients                               (tick)
           12SSID, pwd ,security mode, enable , disable etc are validated with dmcli as well as webui                               (tick)
          13WebPA                               (tick)
  • No labels