Wifi 12025 - Refactored Dual band performance tests (#772)

* requested combination supper multi-band

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* Refactored dual band performance test-bridge-wpa2

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* Refactored dual band performance test

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* requested combination supper multi-band

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* Refactored dual band performance test-bridge-wpa2

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* Refactored dual band performance test

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* Refactored dual band performance test

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* Added title, suite for dual band performance

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* Added pass/fail dual band performance test

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

* Function name changed dual_band_performance_test

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>

---------

Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>
This commit is contained in:
karthika
2023-02-13 12:18:32 +05:30
committed by GitHub
parent 111a8ce967
commit 17a110747f
13 changed files with 371 additions and 340 deletions

View File

@@ -168,10 +168,16 @@ class tip_2x:
for i in base_dict:
base_dict[i] = []
for i in requested_combination:
if i[0] in self.supported_bands:
base_dict[i[0]].append(self.tip_2x_specific_encryption_translation[i[1]])
if i[1] in self.supported_bands:
base_dict[i[1]].append((self.tip_2x_specific_encryption_translation[i[0]]))
sec_mode = list(set(i) & set(self.tip_2x_specific_encryption_translation))
bands = i.copy()
bands.remove(sec_mode[0])
[base_dict[j].append(self.tip_2x_specific_encryption_translation[sec_mode[0]]) for j in bands]
# for i in requested_combination:
# if i[0] in self.supported_bands:
# base_dict[i[0]].append(self.tip_2x_specific_encryption_translation[i[1]])
# if i[1] in self.supported_bands:
# base_dict[i[1]].append((self.tip_2x_specific_encryption_translation[i[0]]))
temp = []
for i in list(base_dict.values()):
for j in i: