Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Demo setup

  • draw.io Diagram
    bordertrue
    diagramNameemtecdemo
    simpleViewerfalse
    width
    linksauto
    tbstyletop
    lboxtrue
    diagramWidth891
    height401
    revision5
  • Topologies
  • Daisy chain
  • Star

Backhaul combination for daisy chain

...

  • 5G-5G
    • draw.io Diagram
      bordertrue
      diagramName5g5g
      simpleViewerfalse
      width
      linksauto
      tbstyletop
      lboxtrue
      diagramWidth920
      height2720
      revision2
  • 5G-2G
    • draw.io Diagram
      bordertrue
      diagramName5g2g
      simpleViewerfalse
      width
      linksauto
      tbstyletop
      lboxtrue
      diagramWidth1310
      height2850
      revision3

Key insights to follow

  • Dedicate serial cable for each banana pi device.Never remove serial cable when the device is running
  • Make sure you remove the case when performing EM testing
  • Make sure we connect all antennas
  • Never leave board in Power on condition if you are not there with device or make sure you check the board status through camera.

Validation stages

  • Stage 1 (gateway + colocated Agent)

    • Test results (If any of the test case case fails.then we are not allowed to goto stage 2)
      • stage #Test case #Test case NamePriorityTest case DescriptionStatus
        10
        • Boot the device and wait until all radios are up and running
        • configure DB and mesh configuration in nvram
        • remove wifi db /opt/secure/wifi/*
        • Need to have updated one_wifi_prestart.sh
        • need to have aishwarya Mac address changes
        • restart onewifi
        • wifi reset in DB using cli and update brlan0 mac address in colocated agent
        stage 2 blocker

        11
        • Bringup controller and colocated agent
          • start em controller
          • start em agent
          • restart em controller 
          • restart em agent
        stage 2 blocker

        12
        • Make sure onewifi is up and running
        stage 2 blocker

        13
        • Make sure em_ctrl is up and running
        stage 2 blocker

        14
        • Make sure em_agent
      us up and runningchanges ssid
        • is up and running
        stage 2 blocker

        15
        • All wifi interfaces/VAP's should have standard mac address using aishwarya change
        stage 2 blocker

        16
        • Reboot the device and onewifi/ctrl/agent should be up and running with persistent configuration in EasyMeshconfig.json and InterfaceMap.json & standard serial number
        • No DB crash should observe
        • Cli should not crash 
          • play around with cli without changing any values
            • j,k,q
        stage 2 blocker

        17
        • changes ssid  from cli and check iw dev after 2mins
          • New ssid should reflect in all 3 radios
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        18.1
        • Wait for 3 mins
          • New ssid should persistent in all 3 radios
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        18.2
        • Wait for 3 mins
          • New ssid should persistent in all 3 radios
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        18.3
        • Wait for 3 mins
          • New ssid should persistent in all 3 radios
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        18.4
        • Wait for 3 mins
          • New ssid should persistent in all 3 radios
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        18.5
        • Wait for 3 mins
          • New ssid should persistent in all 3 radios
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        19
        • connect Mobile phone to private ssid's (Try with 2.4Ghz first) 
          • connection should be successful
          • Internet browsing should work
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        110
        • connect Mobile phone to private ssid's (Try with 5Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        111
        • connect Mobile phone to private ssid's (Try with 6Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        112
        • Disconnect all client and keep device idle for 15 mins
        stage 2 blocker

        113
        • Check iw dev after 15 mins and all radios should have the same ssid
        stage 2 blocker

        114
        • Try connecting to 2.4ghz/5ghz/6ghz individually and verify internet connection.
          • connection should be successful
          • Internet browsing should work
          • No crash of controller/agent/Onewifi should happen
          • No kernel panic
        stage 2 blocker

        115
        • Reboot the device & Try test case 14 & No issues should observe
        stage 2 blocker

        116
        • Repeat test case 15 for 15 times with a time interval 
        • Reboot command from terminal.
        • Hard reset
        stage 2 blocker

        117Factory reset the deviceFutureTBD
        118Repeat from test case 7 till test case 16 with passcode change and channel changeFuture







  • Stage 2 - Onboard Remote Agent 1 

    • Prerequisite for stage 2
      • There should not be any issues in stage 1.
    • Test results (If any of the test case case fails.then we are not allowed to goto stage 3)
      • stage #Test case #Test case NamePriorityTest case DescriptionStatus
        20


        • Boot the device and wait until all radios are up and running
        • remove dnsmasq from /usr/bin
        • ifconfig erouter0 down
        • Do mesh configuration in nvram ----- make sure you make colocated mode 0 
        • remove wifi db /opt/secure/wifi/* (till Agent profile is up and running by Akhil P )
        • Need to have updated one_wifi_prestart.sh
        • need to have aishwarya Mac address changes
        • restart onewifi


        stage 3 blocker

        21
        • Make sure onewifi is up and running
        stage 3 blocker

        22validate 
        1. iw dev wifi1.1 info  in Extender 1
        2. iw dev wifi1.1.sta1 info in ctrl
        3. iw dev wifi1.1.sta1 station dump in ctrl

        Agent 1 device should communicate with gateway all the time

        stage 3 blocker

        23
        • Bringup Easymesh agent
        • check iw dev
          • Agent 1 should show all ssid details for all radios
        • set brlan0 with static ip
        • Perform ping test/wget http://10.0.0.1
        stage 3 blocker

        24
        • Disable all private VAP's in gateway side & disable 5Ghz and 6Ghz radio in agent 1 device
        • connect Mobile phone to private ssid's (Try with 2Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 3 blocker

        25
        • Disable all private VAP's in gateway side & disable 2.4Ghz and 6Ghz radio in agent 1 device
        • connect Mobile phone to private ssid's (Try with 5Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 3 blocker

        26
        • Disable all private VAP's in gateway side & disable 2.4Ghz and 5Ghz radio in agent 1 device
        • connect Mobile phone to private ssid's (Try with 6Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 3 blocker

        27Leave the device idle for 5 mins & check Agent 1 connectivity with gateway.there should not be any disconnection over BHstage 3 blocker

        28
        • Reboot the agent 1 & check if agent 1 connect to controller and stable
        • Monitor for 5 mins and see if BH connection is stable
        stage 3 blocker

        29Repeat test case 4,5,6stage 3 blocker

        210Reboot the device and Agent1 should automatically connect to gateway & client connectivity and internet browsing should happen & no kernel crash/EM agent/onewifi crashstage 3 blocker

        211

        Power off the gateway and wait for gateway to up and running and check if Agent 1 onboards to controller via BH without any issues

        stage 3 blocker

        212

        Repeat test case 4,5,6

        Stage 3 blocker

        213

        Change ssid in gateway using cli and wait for 2 to 3 mins and check if same is reflected in agent 1 .if its reflected 

        • Repeat test case 4,5,6


        Stage 3 blocker

  • Stage 3 - Onboard Remote Agent 2 to Remote Agent 1 (Daisy chain)

    • Prerequisite for stage 3
      • There should not be any issues in stage 2.
      • stage #Test case #Test case NamePriorityTest case DescriptionStatus
        30


        • Boot the device and wait until all radios are up and running
        • remove dnsmasq from /usr/bin
        • ifconfig erouter0 down
        • Do mesh configuration in nvram ---------- make sure you make colocated mode 0
        • remove wifi db /opt/secure/wifi/* (till Agent profile is up and running by Akhil P )
        • Need to have updated one_wifi_prestart.sh
        • need to have aishwarya Mac address changes
        • restart onewifi


        stage 4 blocker

        31
        • Make sure onewifi is up and running
        stage 4 blocker

        32validate 
        1. iw dev wifi0.1 info  in Agent 2
        2. iw dev wifi0.1.sta1 info in Agent 1
        3. iw dev wifi0.1.sta1 station dump in Agent 1 

        Agent 2 device should communicate with Agent 1 all the time

        stage 4 blocker

        33
        • Bringup Easymesh agent
        • check iw dev
          • Agent 2 should show all ssid details for all radios which is common across gateway/agent1 and agent2
        • set brlan0 with static ip
        • Perform ping test/wget http://10.0.0.1
        stage 4 blocker

        34
        • Disable all private VAP's in gateway side & Agent 1 & disable 5Ghz and 6Ghz radio in agent 2 device
        • connect Mobile phone to private ssid's (Try with 2Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 4 blocker

        35
        • Disable all private VAP's in gateway side & Agent 1 & disable 2.4Ghz and 6Ghz radio in agent 2 device
        • connect Mobile phone to private ssid's (Try with 5Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 4 blocker

        36
        • Disable all private VAP's in gateway side  & Agent 1 & disable 2.4Ghz and 5Ghz radio in agent 2 device
        • connect Mobile phone to private ssid's (Try with 6Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 4 blocker

        37Leave the device idle for 5 mins & check Agent 2 connectivity with Agent 1.there should not be any disconnection over BHstage 4 blocker

        38
        • Reboot the agent 2 & check if agent 2 connect to Agent 1 and stable
        • Monitor for 5 mins and see if BH connection is stable
        stage 4 blocker

        39Repeat test case 4,5,6stage 4 blocker

        310Reboot the device and Agent2 should automatically connect to Agent 1 & client connectivity and internet browsing should happen & no kernel crash/EM agent/onewifi crashstage 4 blocker

        311

        Power off the agent 1  and wait for agent 1 to up & running and let it onboard to gateway  and check if Agent 2 onboards to Agent 2 via BH without any issues

        stage 4 blocker

        312

        Repeat test case 4,5,6

        Stage 4 blocker

        313

        Change ssid in gateway using cli and wait for 2 to 3 mins and check if same is reflected in agent 2 .if its reflected 

        • Repeat test case 4,5,6


        Stage 4 blocker

  • Stage 4 - Onboard Remote Agent 3 to Gateway(star)

    • Prerequisite for stage 4
      • There should not be any issues in stage 3 .
    • Test results (If any of the test case case fails.then we are not allowed to goto stage 5)
      • stage #Test case #Test case NamePriorityTest case DescriptionStatus
        40


        • Boot the device and wait until all radios are up and running
        • remove dnsmasq from /usr/bin
        • ifconfig erouter0 down
        • Do mesh configuration in nvram ---------- make sure you make colocated mode 0
        • remove wifi db /opt/secure/wifi/* (till Agent profile is up and running by Akhil P )
        • Need to have updated one_wifi_prestart.sh
        • need to have aishwarya Mac address changes
        • restart onewifi


        stage 5 blocker

        41
        • Make sure onewifi is up and running
        stage 5 blocker

        42validate 
        1. iw dev wifi1.1 info  in Extender 3
        2. iw dev wifi1.1.sta2 info in ctrl
        3. iw dev wifi1.1.sta2 station dump in ctrl

        Agent 3 device should communicate with gateway all the time

        stage 5 blocker

        43
        • Bringup Easymesh agent
        • check iw dev
          • Agent 3 should show all ssid details for all radios
        • set brlan0 with static ip
        • Perform ping test/wget http://10.0.0.1
        stage 5 blocker

        44
        • Disable all private VAP's in gateway side & disable 5Ghz and 6Ghz radio in agent 3 device
        • connect Mobile phone to private ssid's (Try with 2Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 5 blocker

        45
        • Disable all private VAP's in gateway side & disable 2.4Ghz and 6Ghz radio in agent 3 device
        • connect Mobile phone to private ssid's (Try with 5Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 5 blocker

        46
        • Disable all private VAP's in gateway side & disable 2.4Ghz and 5Ghz radio in agent 3 device
        • connect Mobile phone to private ssid's (Try with 6Ghz) 
          • connection should be successful
          • Internet browsing should work
          • No crash of agent/Onewifi should happen
          • No kernel panic
        stage 5 blocker

        47Leave the device idle for 5 mins & check Agent 3 connectivity with gateway.there should not be any disconnection over BHstage 5 blocker

        48
        • Reboot the agent 3  & check if agent 3 connect to controller and stable
        • Monitor for 5 mins and see if BH connection is stable
        stage 5 blocker

        49Repeat test case 4,5,6stage 5 blocker

        410Reboot the device and Agent3 should automatically connect to gateway & client connectivity and internet browsing should happen & no kernel crash/EM agent/onewifi crashstage 5 blocker

        411

        Power off the gateway and wait for gateway to up and running and check if Agent 3 onboards to controller via BH without any issues

        stage 5 blocker

        412

        Repeat test case 4,5,6

        Stage 5 blocker

        413

        Change ssid in gateway using cli and wait for 2 to 3 mins and check if same is reflected in agent 3 .if its reflected 

        • Repeat test case 4,5,6


        Stage 5 blocker

  • Stage 5 (For RDK-B Operators,OEM's,SoC vendors and Third party App companies and system integrators)

    • Tag the code base
      • Banana pi Base build
      • unified-wifi-mesh
      • Onewifi
      • rdk-wifi-hal
      • rdk-wifi-libhostap
      • halinterface

Sanity Test cases

Follow the below build steps to generate the ctrl and extender images  ,
https://wiki.rdkcentral.com/display/ASP/EasyMesh%28unified-wifi-mesh%29+Build+instructions+and+Validation+steps+-+Kirkstone

Test cases to be verify,

ctrl:
1. Ensure below processes are running properly.
   systemctl status onewifi
   systemctl status ieee1905_em_ctrl
   systemctl status em_ctrl  
   systemctl status ieee1905_em_agent
   systemctl status em_agent
2. check default db is updated in mariadb or not    
3. no core should be generated in /tmp (with respect to above process) folder
4. EasyMesh and ieee1905 logs files should be generated in /tmp folder   
5. All configured VAPs(fronthaul,backhaul,iot) should be UP and Running - to be confirm by iw dev command
6. VAPs should be broadcasting EasyMesh default SSIDs(eg, private_ssid, mesh_backhaul)
7. Able to connect clients(fronthaul) and get internet as well.
8. mld0 interface should be created - to confirm by iw dev
9. mld0 interface should have link of 5g (as per the current setup)

Ext:
1. Ensure belwo processes are running properly
   systemctl status onewifi
   systemctl status ieee1905_em_agent
   systemctl status em_agent
2. no core should be generated in /tmp (with respect to above process) folder
3. EasyMesh and ieee1905 logs files should be generated in /tmp folder   
4. Ensure mesh backhaul connectivity is established over 5G through wifi1.1 interface.
   iw dev wifi1.3 info
5. Verify mesh backhaul connection in EM-Contrller side as well.
   iw dev wifi1.1.sta<i> info
   iw dev wifi1.1.sta<i> station dump ## This command gives information on connected client ie Extender1.
6. All configured VAPs(fronthaul,backhaul,iot) should be UP and Running - to be confirm by iw dev command
7. VAPs should be broadcasting EasyMesh default SSIDs(eg, private_ssid, mesh_backhaul)
9. Able to connect clients(fronthaul) and get internet as well.
9. mld0 interface should be created - to confirm by iw dev
10.mld0 interface should have link of 5g (as per the current setup) 
11.Test the connectivity to EM-Controller through backhaul
   ping 10.0.0.1 -c 5   
   

Note : Ensure the below steps are made to make the daisy chain , 
1. Extender 1 is running properly with configured vap's of FH ,iot and BH.
2. Make atleast 7 feet distance from Ext1 to Ext2


fynecli:

Build:
1. Follow the below steps to build the fynecli in ubuntu pc,
   i) Sync the unified-easy-mesh to prashant's branch 
   (fork: https://github.com/prashant-singh1/unified-wifi-mesh.git branch: fyecli_topo)
   ii) Just build the fyne cli only in unified-wifi-mesh/build/fynecli  
   
fynecli test cases:
1.Goto unified-wifi-mesh/install/bin and run the cli as ./onewifi_em_cli
2.Once you run that under settings->connection, connect to the controller IP address and port.   
3.Network topology should be displayed under HOME page in cli GUI(based on bpi setup)
4.change any of the ssids(i,e FH,iot) in cli GUI  
5.updated ssids should be impacted in cli, ctrl and extender devices 
6.updated ssids should be broadcasted and able to connect as well
7.connected clients info should be displayed in cli 


Also, need to check multiple reboot scenarios for all bpi connected devices.

Test app for testers


  • https://github.com/cpokuru/testutils-broadband
  • Image Added
  • test results stored in db 
    • View file
      namemesh_validation_20250506182024.db
      height250
  • test summary can be saved in text file
    • View file
      namemesh_report_20250506185754.txt
      height250