mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-30 02:22:44 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user