mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-29 10:02:26 +00:00
Added logic to setup_configuration_data() to support for multi-band combinations
Signed-off-by: tarun-candela <tarunkumar.madabathula@candelatech.com>
This commit is contained in:
@@ -165,10 +165,16 @@ class tip_2x:
|
|||||||
for i in base_dict:
|
for i in base_dict:
|
||||||
base_dict[i] = []
|
base_dict[i] = []
|
||||||
for i in requested_combination:
|
for i in requested_combination:
|
||||||
if i[0] in self.supported_bands:
|
if len(i) == 3:
|
||||||
base_dict[i[0]].append(self.tip_2x_specific_encryption_translation[i[1]])
|
if i[0] in self.supported_bands:
|
||||||
if i[1] in self.supported_bands:
|
base_dict[i[0]].append(self.tip_2x_specific_encryption_translation[i[2]])
|
||||||
base_dict[i[1]].append((self.tip_2x_specific_encryption_translation[i[0]]))
|
if i[1] in self.supported_bands:
|
||||||
|
base_dict[i[1]].append((self.tip_2x_specific_encryption_translation[i[2]]))
|
||||||
|
elif len(i) == 2:
|
||||||
|
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 = []
|
temp = []
|
||||||
for i in list(base_dict.values()):
|
for i in list(base_dict.values()):
|
||||||
for j in i:
|
for j in i:
|
||||||
|
|||||||
Reference in New Issue
Block a user