mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-03 20:38:05 +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):
|
def set_radio_config(self, radio_config=None, DFS = False, channel=None, bw=None):
|
||||||
if DFS:
|
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({
|
self.base_profile_config["radios"].append({
|
||||||
"band": "5G",
|
"band": "5G",
|
||||||
"country": "US",
|
"country": "CA",
|
||||||
# "channel-mode": "HE",
|
"channel-mode": "VHT",
|
||||||
"channel-width": bw,
|
"channel-width": bw,
|
||||||
"channel": channel
|
"channel": channel
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user