mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-25 14:34:52 +00:00
wifi_ctl_9800_3504.py: debug wireless mac <mac_address>
This commit is contained in:
@@ -176,7 +176,7 @@ def main():
|
|||||||
"config_dual_band_mode","dual_band_no_mode_shutdown","dual_band_mode_shutdown",
|
"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",
|
"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",
|
"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")
|
parser.add_argument("--value", type=str, help="set value")
|
||||||
# logging configuration
|
# logging configuration
|
||||||
@@ -1095,6 +1095,12 @@ def main():
|
|||||||
if args.series == "9800":
|
if args.series == "9800":
|
||||||
command = "show wireless client mac-address %s detail" % (args.value)
|
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))):
|
if ((args.action == "auto_rf") and ((args.ap is None))):
|
||||||
raise Exception("auto_rf requires AP name")
|
raise Exception("auto_rf requires AP name")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user