Configured channel mode to EHT for wifi7

This commit is contained in:
bhargavi-mamidipaka
2025-02-06 16:10:23 +05:30
parent 7e46fe64ec
commit 06ce67595f
5 changed files with 13 additions and 7 deletions

View File

@@ -2641,20 +2641,20 @@ class UProfileUtility:
base_radio_config_2g = {
"band": "2G",
"country": "US",
"channel-mode": "HE",
"channel-mode": "EHT",
"channel": "auto"
}
base_radio_config_5g = {
"band": "5G",
"country": "US",
"allow-dfs": False,
"channel-mode": "HE",
"channel-mode": "EHT",
"channel": "auto"
}
base_radio_config_6g = {
"band": "6G",
"country": "US",
"channel-mode": "HE",
"channel-mode": "EHT",
"channel": "auto"
}
for band in radio_config:

View File

@@ -681,11 +681,13 @@ class tip_2x:
else:
band = "6G"
iwinfo_bssid_data[o[i - 1]] = [o[i + 1].replace('"', ''), o[i + 4], band]
logging.info(f"iwinfo_bssid_data:{iwinfo_bssid_data}")
for p in iwinfo_bssid_data:
for q in ssid_info_sdk:
if iwinfo_bssid_data[p][0] == q[0] and iwinfo_bssid_data[p][2] == q[3]:
q.append(iwinfo_bssid_data[p][1])
ssid_info_sdk.append(channel_info)
logging.info(f"ssid_info_sdk:{ssid_info_sdk}")
return ssid_info_sdk
def get_dut_version(self):

View File

@@ -21,7 +21,7 @@ setup_params_general1 = {
"band": "5G",
"country": "US",
"allow-dfs": True,
"channel-mode": "VHT",
"channel-mode": "EHT",
"channel-width": 80,
"channel": 52
}
@@ -78,7 +78,7 @@ setup_params_general2 = {
"band": "5G",
"country": "US",
"allow-dfs": True,
"channel-mode": "VHT",
"channel-mode": "EHT",
"channel-width": 80,
"channel": 100
}
@@ -135,7 +135,7 @@ setup_params_general11 = {
"band": "5G",
"country": "US",
"allow-dfs": True,
"channel-mode": "VHT",
"channel-mode": "EHT",
"channel-width": 80,
"channel": 132
}

View File

@@ -17,6 +17,7 @@ setup_params_general_5G = {
"5G": {
"band": "5G",
"channel-width": 80,
"channel-mode": "HE",
"channel": 36
}
},
@@ -208,6 +209,7 @@ setup_params_general_2G = {
"2G": {
"band": "2G",
"channel-width": 20,
"channel-mode": "HE",
"channel": 6
}
},

View File

@@ -22,7 +22,9 @@ setup_params_general = {
"rf": {
"6G": {
'band': '6G',
'channel-width': 160}
'channel-width': 160,
'channel-mode':'HE'
}
},
"radius": False
}