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:
tarun-candela
2022-11-24 00:24:26 +05:30
parent 86e5383f89
commit cef8a23315

View File

@@ -165,6 +165,12 @@ class tip_2x:
for i in base_dict:
base_dict[i] = []
for i in requested_combination:
if len(i) == 3:
if i[0] in self.supported_bands:
base_dict[i[0]].append(self.tip_2x_specific_encryption_translation[i[2]])
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: