mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-01 03:17:54 +00:00
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>
This commit is contained in:
@@ -468,7 +468,7 @@ class UProfileUtility:
|
||||
ssid_info.append(temp)
|
||||
return ssid_info
|
||||
|
||||
def set_radio_config(self, radio_config={}, DFS=False, channel=None, bw=None):
|
||||
def set_radio_config(self, radio_config={}):
|
||||
base_radio_config_2g = {
|
||||
"band": "2G",
|
||||
"country": "CA",
|
||||
@@ -493,17 +493,9 @@ class UProfileUtility:
|
||||
# for keys in radio_config[band]:
|
||||
# base_radio_config_6g[keys] = radio_config[band][keys]
|
||||
|
||||
if DFS:
|
||||
self.base_profile_config["radios"].append({
|
||||
"band": "5G",
|
||||
"country": "CA",
|
||||
"channel-mode": "VHT",
|
||||
"channel-width": bw,
|
||||
"channel": channel
|
||||
})
|
||||
else:
|
||||
self.base_profile_config["radios"].append(base_radio_config_2g)
|
||||
self.base_profile_config["radios"].append(base_radio_config_5g)
|
||||
|
||||
self.base_profile_config["radios"].append(base_radio_config_2g)
|
||||
self.base_profile_config["radios"].append(base_radio_config_5g)
|
||||
print(self.base_profile_config)
|
||||
self.vlan_section["ssids"] = []
|
||||
self.vlan_ids = []
|
||||
|
||||
Reference in New Issue
Block a user