mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
lf_tx_power.py : separate out 5g similiar to 6g
ct_9136_tx_power_tests.json : Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
committed by
shivam
parent
533ebdbf1e
commit
e9b67baa43
@@ -1120,7 +1120,8 @@ def main():
|
|||||||
cs.ap_dot11_dual_band_5ghz_shutdown()
|
cs.ap_dot11_dual_band_5ghz_shutdown()
|
||||||
elif args.band == "6g":
|
elif args.band == "6g":
|
||||||
cs.ap_dot11_6ghz_shutdown()
|
cs.ap_dot11_6ghz_shutdown()
|
||||||
cs.ap_dot11_5ghz_shutdown()
|
elif args.band == "5g":
|
||||||
|
cs.ap_dot11_5ghz_shutdown()
|
||||||
cs.ap_dot11_24ghz_shutdown()
|
cs.ap_dot11_24ghz_shutdown()
|
||||||
|
|
||||||
|
|
||||||
@@ -1134,8 +1135,8 @@ def main():
|
|||||||
cs.ap_dot11_dual_band_5ghz_shutdown()
|
cs.ap_dot11_dual_band_5ghz_shutdown()
|
||||||
elif args.band == '6g':
|
elif args.band == '6g':
|
||||||
cs.ap_dot11_6ghz_shutdown()
|
cs.ap_dot11_6ghz_shutdown()
|
||||||
|
elif args.band == '5g':
|
||||||
cs.ap_dot11_5ghz_shutdown()
|
cs.ap_dot11_5ghz_shutdown()
|
||||||
cs.ap_dot11_24ghz_shutdown()
|
cs.ap_dot11_24ghz_shutdown()
|
||||||
|
|
||||||
# manual
|
# manual
|
||||||
@@ -1145,8 +1146,8 @@ def main():
|
|||||||
cs.ap_dot11_dual_band_5ghz_radio_role_manual_client_serving()
|
cs.ap_dot11_dual_band_5ghz_radio_role_manual_client_serving()
|
||||||
elif args.band == '6g':
|
elif args.band == '6g':
|
||||||
cs.ap_dot11_6ghz_radio_role_manual_client_serving()
|
cs.ap_dot11_6ghz_radio_role_manual_client_serving()
|
||||||
|
elif args.band == '5g':
|
||||||
cs.ap_dot11_5ghz_radio_role_manual_client_serving()
|
cs.ap_dot11_5ghz_radio_role_manual_client_serving()
|
||||||
cs.ap_dot11_24ghz_radio_role_manual_client_serving()
|
cs.ap_dot11_24ghz_radio_role_manual_client_serving()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
@@ -1273,7 +1274,7 @@ def main():
|
|||||||
pss = cs.config_no_ap_dot11_dual_band_6ghz_shutdown()
|
pss = cs.config_no_ap_dot11_dual_band_6ghz_shutdown()
|
||||||
logg.info(pss)
|
logg.info(pss)
|
||||||
# enable 6g operation status
|
# enable 6g operation status
|
||||||
pss = cs.config_ap_no_dot11_6ghz_shutdown()
|
pss = cs.config_ap_no_dot11_dual_band_6ghz_shutdown()
|
||||||
logg.info(pss)
|
logg.info(pss)
|
||||||
# enable 5g wlan to show scans
|
# enable 5g wlan to show scans
|
||||||
pss = cs.config_no_ap_dot11_5ghz_shutdown()
|
pss = cs.config_no_ap_dot11_5ghz_shutdown()
|
||||||
@@ -1287,7 +1288,7 @@ def main():
|
|||||||
pss = cs.config_no_ap_dot11_dual_band_5ghz_shutdown()
|
pss = cs.config_no_ap_dot11_dual_band_5ghz_shutdown()
|
||||||
logg.info(pss)
|
logg.info(pss)
|
||||||
# enable 5g operation status
|
# enable 5g operation status
|
||||||
pss = cs.config_ap_no_dot11_5ghz_shutdown()
|
pss = cs.config_ap_no_dot11_dual_band_5ghz_shutdown()
|
||||||
logg.info(pss)
|
logg.info(pss)
|
||||||
elif args.band == '6g':
|
elif args.band == '6g':
|
||||||
# enable 6g wlan
|
# enable 6g wlan
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
"Batch nss : 1 2 ",
|
"Batch nss : 1 2 ",
|
||||||
"Batch tx power (optional, can run all passed in on command line) : 1 2 3 4 5 6 7 8 ",
|
"Batch tx power (optional, can run all passed in on command line) : 1 2 3 4 5 6 7 8 ",
|
||||||
"sample command from tools directory:",
|
"sample command from tools directory:",
|
||||||
" ./lf_check.py --json_rig ./ct_rig_json/ct_9136_WLC1_lanforge.json --json_dut ./ct_dut_json/ct_9136_dut.json",
|
" ./lf_check.py --json_rig ./ct_rig_json/ct_9136_WLC1_lanforge.json --json_dut ./ct_dut_json/ct_9136_dut.json --json_test ./ct_tests_json/ct_9136_tx_power_tests.json --suite suite_tx_power --path '/home/lanforge/html-reports/ct-us-9136"
|
||||||
" --json_test ./ct_tests_json/ct_9136_tx_power_tests.json --suite suite_tx_power --path '/home/lanforge/html-reports/ct-us-9136"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"test_suites":{
|
"test_suites":{
|
||||||
@@ -49,13 +48,8 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"tx_power_batch_override_24g_AX210":{
|
"tx_power_batch_override_24g_AX210":{
|
||||||
"NOTE":["Basic script 24g use existing station, ",
|
"NOTE":["Basic script 24g use existing station"],
|
||||||
"Batches are ignored if values entered on command line",
|
"enabled":"TRUE",
|
||||||
"USE_BATCH_CHANNEL for channel batch",
|
|
||||||
"USE_BATCH_NSS for nss batch",
|
|
||||||
"USE_BATCH_BANDWIDTH for bandwidth batch",
|
|
||||||
"USE_BATCH_TX_POWER for tx_power batch"],
|
|
||||||
"enabled":"FALSE",
|
|
||||||
"load_db":"skip",
|
"load_db":"skip",
|
||||||
"timeout":"180",
|
"timeout":"180",
|
||||||
"command":"lf_tx_power.py",
|
"command":"lf_tx_power.py",
|
||||||
@@ -63,17 +57,17 @@
|
|||||||
"args_list":[
|
"args_list":[
|
||||||
" --scheme ssh --dest localhost --port 8887",
|
" --scheme ssh --dest localhost --port 8887",
|
||||||
" --user admin --passwd Cisco123 --prompt WLC1",
|
" --user admin --passwd Cisco123 --prompt WLC1",
|
||||||
" --series 9800 --band 6g --module cc_module_9800_3504",
|
" --series 9800 --band 24g --module cc_module_9800_3504",
|
||||||
" --timeout 3 --ap USE_DUT_NAME --ap_band_slot_24g 0",
|
" --timeout 3 --ap USE_DUT_NAME --ap_band_slot_24g 0",
|
||||||
" use_ssid_idx=0 --wlan SSID_USED --wlan_id 3 --wlan_ssid SSID_USED",
|
" use_ssid_idx=0 --wlan SSID_USED --wlan_id 3 --wlan_ssid SSID_USED",
|
||||||
" --tag_policy RM204-TB1-AP5 --policy_profile default-policy-profile",
|
" --tag_policy RM204-TB1-AP5 --policy_profile default-policy-profile",
|
||||||
" --create_station",
|
" --pathloss 59 --antenna_gain 0 --lfmgr LF_MGR_IP",
|
||||||
" use_ssid_idx=0 --radio wiphy3 --station sta0002 --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
|
" --upstream_port UPSTREAM_ALIAS --lfresource 1",
|
||||||
" --pathloss 59 --antenna_gain 0",
|
" use_ssid_idx=0 --radio wiphy3 --create_station --station sta0002 --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
|
||||||
" --lfmgr LF_MGR_IP --upstream_port eth2 --lfresource 1",
|
" --vht160 --ieee80211w optional",
|
||||||
" --vht160 --ieee80211w optional --wifi_mode auto",
|
" --channel '5' --nss '2' --bandwidth '20' --txpower '6'",
|
||||||
" --channel '5' --nss '5' --bandwidth '20' --txpower '6'",
|
" --outfile tx_power_override --no_cleanup_station --no_cleanup",
|
||||||
" --outfile tx_power_override_24g_2B24 --no_cleanup_station --no_cleanup --testbed_id Cisco-WLC1-AP5 --testbed_location RM204-TB1-AP5",
|
" --testbed_id Cisco-WLC1-AP5 --testbed_location RM204-TB1-AP5",
|
||||||
" --local_lf_report_dir REPORT_PATH"
|
" --local_lf_report_dir REPORT_PATH"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -112,12 +106,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"tx_power_batch_override_5g_AX210":{
|
"tx_power_batch_override_5g_AX210":{
|
||||||
"NOTE":["Basic script 5g use existing station, ",
|
"NOTE":["Basic script 5g use existing station"],
|
||||||
"Batches are ignored if values entered on command line",
|
|
||||||
"USE_BATCH_CHANNEL for channel batch",
|
|
||||||
"USE_BATCH_NSS for nss batch",
|
|
||||||
"USE_BATCH_BANDWIDTH for bandwidth batch",
|
|
||||||
"USE_BATCH_TX_POWER for tx_power batch"],
|
|
||||||
"enabled":"FALSE",
|
"enabled":"FALSE",
|
||||||
"load_db":"skip",
|
"load_db":"skip",
|
||||||
"timeout":"180",
|
"timeout":"180",
|
||||||
@@ -135,7 +124,7 @@
|
|||||||
" --pathloss 59 --antenna_gain 0",
|
" --pathloss 59 --antenna_gain 0",
|
||||||
" --lfmgr LF_MGR_IP --upstream_port eth2 --lfresource 1",
|
" --lfmgr LF_MGR_IP --upstream_port eth2 --lfresource 1",
|
||||||
" --vht160 --ieee80211w optional --wifi_mode auto",
|
" --vht160 --ieee80211w optional --wifi_mode auto",
|
||||||
" --channel '36 100' --nss '1 2' --bandwidth '40 160' --txpower '4 8'",
|
" --channel '100' --nss '2' --bandwidth '40' --txpower '4'",
|
||||||
" --outfile tx_power_5g_2B24 --no_cleanup_station --no_cleanup",
|
" --outfile tx_power_5g_2B24 --no_cleanup_station --no_cleanup",
|
||||||
" --testbed_id Cisco-WLC1-AP5 --testbed_location RM204-TB1-AP5",
|
" --testbed_id Cisco-WLC1-AP5 --testbed_location RM204-TB1-AP5",
|
||||||
" --local_lf_report_dir REPORT_PATH"
|
" --local_lf_report_dir REPORT_PATH"
|
||||||
@@ -177,13 +166,8 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"tx_power_batch_override_6g_AX210":{
|
"tx_power_batch_override_6g_AX210":{
|
||||||
"NOTE":["Basic script 6g use existing station, ",
|
"NOTE":["Basic script 6g use existing station"],
|
||||||
"Batches are ignored if values entered on command line",
|
"enabled":"FALSE",
|
||||||
"USE_BATCH_CHANNEL for channel batch",
|
|
||||||
"USE_BATCH_NSS for nss batch",
|
|
||||||
"USE_BATCH_BANDWIDTH for bandwidth batch",
|
|
||||||
"USE_BATCH_TX_POWER for tx_power batch"],
|
|
||||||
"enabled":"TRUE",
|
|
||||||
"load_db":"skip",
|
"load_db":"skip",
|
||||||
"timeout":"180",
|
"timeout":"180",
|
||||||
"command":"lf_tx_power.py",
|
"command":"lf_tx_power.py",
|
||||||
|
|||||||
Reference in New Issue
Block a user