Commit Graph

606 Commits

Author SHA1 Message Date
jitendracandela
a0746ba876 Wifi 7435 (#439)
* removed dfs key and added radio config in rf

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* removed dfs logic

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* changed setup_params_general numbers

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-03-24 19:03:23 +05:30
Anil Kumar Tegala
8d86ef8c56 Wifi 6849 (#432)
* downlink mu-mimo test for Bridge-Open added

* mu-mimo test cases for other security modes are added

* Country code with channel division: 2Ghz,20Mhz, US and channel 1

* change in testcase execution

* created country_code-US, with channel_width-20Mhz, channel_no-1 for 2G band

* missed git_configuration param

* checking from setup_params_general 'rf' to set radio config

* added country_code_channel_division funtion

* added radio config using radio_config

* corrected allure report

* marker name changes for security modes in mu-mimo test case

* changed function name

* check allure report

* Added comment

* allure report corrected

* Created testcase for channel 2 in 2G band

* checking allure report

* added channel mode VHT in AP configuration which is common for both wifi-5 and wifi-6 AP, without channel-mode always getting channel mode HE

* checking allure report

* corrected json_get url

* testcase for channel-2 in 20Mhz, US, 2G

* file name changes in mu-mimo and sniff method added for pcap

* corrected channel overwritten on second testcase

* testcases for channels from 3 to 13 with US, 20Mhz, 2G

* packet sniffing methods moved from lf_tools to lf_pcap

* US have 2G channels from 1 to 11

* added print statement to verify IP and channel no

* marker names and security key changed for all security modes

* Checking again if client not assigned with IP

* Testcases: US, 40Mhz, 2G, channels 1-11

* Testcases: US, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* removed wrong testcases

* Testcases: IN, (20Mhz, 40Mhz), 2G, channels 1-11

* Testcases: IN, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* Testcases: CA, 20Mhz,40Mhz, 2G,5G, channels (1-11) (36,44,52,60,100,108,132,140)

* Testcases: CA, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* twog test cases added for mu-mimo for all security modes

* radio assignment changed in raw line config

* Testcases: CA, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: IN, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: US, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: CA, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Testcases: IN, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Testcases: US, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Added rf config improvements

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* twog and fiveg markers removed from module level markers

* added rf channel configuration to bridge mode

Signed-off-by: anil-tegala <anil.tegala@candelatech.com>

* allow-dfs disabled in 5G rf configuration

Signed-off-by: anil-tegala <anil.tegala@candelatech.com>

* channels changed in rf setup profiles

Signed-off-by: anil-tegala <anil.tegala@candelatech.com>

* pcap capture thread disabled from execution

Signed-off-by: anil-tegala <anil.tegala@candelatech.com>

* pcap capture thread disabled from execution

Signed-off-by: anil-tegala <anil.tegala@candelatech.com>

* ssid name changes in setup profiles

Signed-off-by: anil-tegala <anil.tegala@candelatech.com>

Co-authored-by: karthikaeyetea <karthika.subramani@candelatech.com>
Co-authored-by: karthika <78941121+karthikaeyetea@users.noreply.github.com>
Co-authored-by: shivam <shivam.thakur@candelatech.com>
2022-03-21 18:54:57 +05:30
shivam
9ca2432a16 Changed the name for report to pull_report for pcaps and fixed indentation error from previous merge
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-21 18:45:10 +05:30
jitendracandela
e06dcb316d removed self of upstream_port in dataplane (#434)
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-03-21 17:34:07 +05:30
jitendracandela
74806e0969 Added self for fix UnboundLocalError (#433) 2022-03-18 11:14:20 +05:30
Shivam Thakur
7692f17623 fixed the self from sself typo error 2022-03-17 18:49:46 +05:30
Haricharan Jaka
33b2901d98 Wifi 6922 (#410)
* Added return upload download speed function in Ios Library

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Multi Psk testcases in Ios

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Rate Limtining tescases in Ios

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed Unnecessary Marker

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-03-17 15:51:45 +05:30
shivam
1a10a2783f fixed the error due to rf data being None
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-14 23:18:29 +05:30
jitendracandela
c6549f2761 Wifi 7234 (#428)
* Added scan_ssid method

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* modified code for testing scan_ssid method

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added scan_ssid method and called that method in Client_Connectivity, Client_Connect, EAP_Connect

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* added libs for creating tables

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* added tabulate module

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

Co-authored-by: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com>
2022-03-14 23:15:19 +05:30
karthika
2d277bfeb7 Wifi 6938 (#404)
* Country code with channel division: 2Ghz,20Mhz, US and channel 1

* change in testcase execution

* created country_code-US, with channel_width-20Mhz, channel_no-1 for 2G band

* missed git_configuration param

* checking from setup_params_general 'rf' to set radio config

* added country_code_channel_division funtion

* added radio config using radio_config

* corrected allure report

* changed function name

* check allure report

* Added comment

* allure report corrected

* Created testcase for channel 2 in 2G band

* checking allure report

* added channel mode VHT in AP configuration which is common for both wifi-5 and wifi-6 AP, without channel-mode always getting channel mode HE

* checking allure report

* corrected json_get url

* testcase for channel-2 in 20Mhz, US, 2G

* corrected channel overwritten on second testcase

* testcases for channels from 3 to 13 with US, 20Mhz, 2G

* US have 2G channels from 1 to 11

* added print statement to verify IP and channel no

* Checking again if client not assigned with IP

* Testcases: US, 40Mhz, 2G, channels 1-11

* Testcases: US, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* removed wrong testcases

* Testcases: IN, (20Mhz, 40Mhz), 2G, channels 1-11

* Testcases: IN, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* Testcases: CA, 20Mhz,40Mhz, 2G,5G, channels (1-11) (36,44,52,60,100,108,132,140)

* Testcases: CA, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* Testcases: CA, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: IN, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: US, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: CA, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Testcases: IN, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Testcases: US, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Added rf config improvements

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* Testcases: JP, 20Mhz, 40Mhz (2G+5G), 80Mhz (5G)

* Testcases: JP, 20Mhz, 40Mhz (2G+5G), 80Mhz (5G)

* Called json_post to change country of lanforge-radio

* Edited print message

* corrected cli command

* Testcases:GB(united kingdom) 20Mhz, 40Mhz, 80Mhz

* added cleanup to clear station before creating next station

* corrected radio-bands

* Added US country code to change lanforge-radio country

* Added IN country code to change lanforge-radio country

* corrected radio-bands

* Added US country code to change lanforge-radio country

Co-authored-by: shivam <shivam.thakur@candelatech.com>
Co-authored-by: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com>
2022-03-14 23:11:37 +05:30
karthika
0735f1b538 Wifi 6731 (#421)
* Created a local variable for upstream_port to prevent appending of vlan_id to previous upstream_port

* corrected vlan_id
2022-03-14 22:46:45 +05:30
Haricharan Jaka
24e3d76aad Wifi 6921 (#408)
* Added Rerutn Upload and Download speed function in Android lib

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Multi psk wpa2 testcase with upto 16 vlans in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Rate limiting testcase in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added random string to ssid names in Rate limiting testcase in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added random string attached ssids in multi_psk testcase in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-03-07 11:55:58 +05:30
Shivam Thakur
a0b4a32a9e Wifi 7226 query max clients from ap and run wifi capacity in that (#419)
* Added improvement around lf_tools add stations

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* removed ax stations in wifi capacity for a while

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* Added wifi_capacity in regular sanity tests and added nat mode wifi capacity in performance

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* removed get_vif_state from test cases

Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-05 14:16:52 +05:30
ᴀᴍʀɪᴛ ʀᴀᴊ
8d891a93bd Added tls test-cases in bridge_mode nat_mode and vlan_mode (#391)
* Added tls test-cases in bridge_mode nat_mode and vlan_mode

* added new encryption support

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* Added more ttls test cases to sanity

Signed-off-by: shivam <shivam.thakur@candelatech.com>

Co-authored-by: shivam <shivam.thakur@candelatech.com>
Co-authored-by: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com>
2022-03-05 14:15:47 +05:30
Haricharan Jaka
19d5c80309 Wifi 7173 (#398)
* changed scroll_up_pixel function to scroll_up in Android lib

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed names of functions for Client Reconnect in Android lib

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added pixel code in all of Pixel functions related to Scroll up patch

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed names of functions for Client Reconnect in Ios lib

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed Client reconnect functions name in Test cases of Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed Client reconnect functions name in Test cases of iOS

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Pixel Sanity patch by adding extra scroll up if needed

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-03-02 21:40:18 +05:30
shivam
bc0dda62f1 fixed the json decoder error : True -> true
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-02 11:47:09 +05:30
Shivam Thakur
8f25d1b72e Added allow dfs option in radio config in 5G Band 2022-03-02 10:32:28 +05:30
Sushant Bawiskar
925687ba79 - Added library code to help run automation on new s20 ui upgrade (#400)
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-02-25 14:23:49 +05:30
Haricharan Jaka
381850ccf0 Wifi 7187 (#407)
* Added Pixel sanity patch for selecting ssids that are not appended in list

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added required intendation for the conditional statement

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added scroll up with available ssid list if at first ssid is not avavilable

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-02-25 14:23:32 +05:30
Shivam Thakur
572236aa71 Wifi 6934 (#403)
* Added test cases for Ax

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added test cases for Ax

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added module level marker and jira number to test cases

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added  AX nat mode test cases

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added  AX vlan mode test cases

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added split to radio in ax

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added tcp upload and udp upload for dual band

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Fixed the get max statiosn from radio using api command, added radio split

Signed-off-by: shivam <shivam.thakur@candelatech.com>

Co-authored-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-02-23 20:14:14 +05:30
Shivam Thakur
ebae23b16d updated max stations on ac as 64 for performance runs 2022-02-22 14:36:07 +05:30
AjaydeepGrewal
93684153b3 WIFI-6919: Scroll up if unable to verify Pixel WIFI connection (#394)
* Scroll up if unable to verigy Pixel WIFI connection

Signed-off-by: Ajaydeep Grewal <grewal19in@gmail.com>

* Added patch for the Pixel failures in Android library

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed scrollup parameters for Pixel

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed scrollup while checking ssids and Added scrollup while verifying

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added one more scrollup

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed close app when ssid verifying

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed xpath string when ssid verifying

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

Co-authored-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-02-21 11:31:34 +05:30
Shivam Thakur
4920d34e19 Wifi 6052 (#378)
* WIFI-6052: Initial commit to allow use to run test cases from static ssid configured in AP mentioned in configuration.py

Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>

* WIFI-6052 Adjusted the test cases to run with lf only

Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>

* Added the error fix happened due to merge conflict resolution

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* fixed advanced tests to support lf only

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* added run_lf to create lanforge chamberview dut

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added run_lf to setup profiles

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* removed chamber view dut from all function

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* changed bps to Mbps in lf_tools function - read_csv_individual_station_throughput

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added test procedure and pass fail to report

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added attach station data to allure function

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added Non-mesh functionality

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added 2g roam test

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added definition, procedure and pass fail criteria for all test cases

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* attach_station data to allure and wait for ip

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* station data query and non mesh configuration

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* comments to all testcases

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* adding attenuator data to allure attach

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added 5g test case

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* resolved merge conflicts

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added run-lf to lf_test fixture

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove xy file

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove reg marker

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

Co-authored-by: Nikita Yadav <nikita.yadav@candelatech.com>
Co-authored-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-02-13 19:12:29 +05:30
Shivam Thakur
1b9b442abc Added Bridge mode Capacity test support for ax clients (#385)
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-02-10 17:07:47 +05:30
Shivam Thakur
a32ac996c7 Merge pull request #380 from Telecominfraproject/WIFI-6814-interop-pixel-4-is-not-showing-the-ssids-that-are-displayed-in-the-device
WIFI-6814: Adding logic to continue retrieving SSID's incase a cached ID is encountered which is no longer present in the DOM
2022-02-09 17:10:39 +05:30
shivam
4c6f1b02fc added lanforge radio reset before each test to avoid the condition to create stations on a radio that is down
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-02-09 08:49:24 +05:30
shivam
d0848812ed Fixed the supplicant log wrong at non eap tests
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-02-07 23:07:21 +05:30
Shivam Thakur
cc19b567c7 Merge pull request #379 from Telecominfraproject/WIFI-6758
Wifi 6758
2022-02-04 10:34:53 +05:30
Ajaydeep Grewal
e317a8e93a WIFI-6814: Adding logic to continue retrieving SSID's incase a cached ID is encountered which is no longer present in the DOM
Signed-off-by: Ajaydeep Grewal <grewal19in@gmail.com>
2022-02-03 12:55:36 -05:00
haricharan-jaka
6e71759931 Changed scrolling condition while looking for ssids in ios 2022-02-03 11:59:39 +05:30
shivam
750ce7599c Added Firmware Version reporting to allure fixed
Added ap logs and reporting to allure if ap is disconnected from gateway
Added Improvements in Connectivity check logs
2022-02-03 11:37:51 +05:30
haricharan-jaka
7b87eedc2c Merge remote-tracking branch 'origin/WIFI-6758-scrolling-api-is-not-working-with-iphone-7' into WIFI-6758 2022-02-03 11:34:53 +05:30
sushant
fd89fe313d - added patch to check if ssid is visible in sanity
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-02-02 12:57:40 +05:30
yadavnikita
b871c7a9c0 Merge branch 'master' into wifi-3229 2022-02-01 12:27:48 +05:30
Shivam Thakur
0b85cd0578 Merge pull request #369 from Telecominfraproject/WIFI-6400
Wifi 6400
2022-01-31 16:52:28 +05:30
sushant
02e3145cd8 - added patch to check if ssid is visible in sanity
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-01-31 13:45:33 +05:30
Shivam Thakur
acf6a91101 Merge pull request #374 from Telecominfraproject/WIFI-6838
Wifi 6838
2022-01-31 10:23:45 +05:30
jitendracandela
565c7f7fbc modified admin_up_down method
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-01-31 09:35:24 +05:30
Ajaydeep Grewal
f0e508af4a Merge branch 'master' of https://github.com/Telecominfraproject/wlan-testing into WIFI-6758-scrolling-api-is-not-working-with-iphone-7 2022-01-28 17:38:22 -05:00
Ajaydeep Grewal
1786faa9fb WIFI-6758: Make sure that the ssid is visible on the page before clicking it. 2022-01-28 17:02:20 -05:00
shivam
285439f316 Added Timestamp while sending Configure Command
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-01-29 00:33:35 +05:30
Shivam Thakur
9fb3e07559 Merge pull request #368 from Telecominfraproject/WIFI-6822
added patch for wait in ios lib
2022-01-28 23:02:49 +05:30
jitendracandela
d074cd3a08 changed get_station_list method
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-01-28 15:48:53 +05:30
Shivam Thakur
6cf66ae2c2 Added exception fix around fetching supplicant logs
Sometimes, error comes when pulling supplicant logs from lanforge, that breaks test. adding try except to fix this
2022-01-28 12:16:34 +05:30
goyalsaurabh06
d81e02a3a7 added patch for wait in ios lib
Signed-off-by: goyalsaurabh06 <saurabh.goyal@candelatech.com>
2022-01-28 10:25:54 +05:30
Shivam Thakur
697672477d Merge pull request #365 from Telecominfraproject/WIFI-6822
removed Webdriver wait in IOS library
2022-01-28 00:16:13 +05:30
goyalsaurabh06
22565a69ed patch for adding fixtures in ip address
Signed-off-by: goyalsaurabh06 <saurabh.goyal@candelatech.com>
2022-01-27 23:18:08 +05:30
goyalsaurabh06
70f3d2a170 patch for adding fixtures in ip address
Signed-off-by: goyalsaurabh06 <saurabh.goyal@candelatech.com>
2022-01-27 23:08:44 +05:30
goyalsaurabh06
ed7a1db53c patch for adding break
Signed-off-by: goyalsaurabh06 <saurabh.goyal@candelatech.com>
2022-01-27 22:22:14 +05:30
Shivam Thakur
42086b227c Merge pull request #364 from Telecominfraproject/WIFI-6531
Wifi 6531
2022-01-27 22:06:10 +05:30