wifi_ctl_9800_3504.py: debug wireless mac <mac_address>

This commit is contained in:
Nikita Yadav
2022-05-12 02:01:35 +05:30
committed by shivam
parent 3e974e1918
commit 0df49e66db

View File

@@ -176,7 +176,7 @@ def main():
"config_dual_band_mode","dual_band_no_mode_shutdown","dual_band_mode_shutdown",
"enable_ft_akm_ftsae","enable_ft_wpa3_dot1x","enable_ft_wpa3_dot1x_sha256",
"ap_dot11_dot11ax_mcs_tx_index_spatial_stream", "no_ap_dot11_dot11ax_mcs_tx_index_spatial_stream",
"show_wireless_client_sumry", 'show_client_macadd_detail',
"show_wireless_client_sumry", 'show_client_macadd_detail','debug_wieless_mac'
])
parser.add_argument("--value", type=str, help="set value")
# logging configuration
@@ -1095,6 +1095,12 @@ def main():
if args.series == "9800":
command = "show wireless client mac-address %s detail" % (args.value)
if (args.action == 'debug_wieless_mac'):
print("args.value", args.value)
if args.series == "9800":
command = "debug wireless mac %s" % (args.value)
if ((args.action == "auto_rf") and ((args.ap is None))):
raise Exception("auto_rf requires AP name")