mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-01 03:17:54 +00:00
modified set_radio_config method
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
@@ -434,17 +434,10 @@ class UProfileUtility:
|
||||
|
||||
def set_radio_config(self, radio_config=None, DFS = False, channel=None, bw=None):
|
||||
if DFS:
|
||||
self.base_profile_config["radios"].append({
|
||||
"band": "2G",
|
||||
"country": "US",
|
||||
# "channel-mode": "HE",
|
||||
"channel-width": 40,
|
||||
# "channel": 11
|
||||
})
|
||||
self.base_profile_config["radios"].append({
|
||||
"band": "5G",
|
||||
"country": "US",
|
||||
# "channel-mode": "HE",
|
||||
"country": "CA",
|
||||
"channel-mode": "VHT",
|
||||
"channel-width": bw,
|
||||
"channel": channel
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user