Commit 7eb0aa04 authored by Vivekananda Uppunda's avatar Vivekananda Uppunda Committed by Anas Nashif
Browse files

net: wifi_shell: Remove TX-Injection and Promiscuous mode from Wi-Fi mode

Remove TX-Injection and Promiscuous mode setting from Wi-Fi mode shell
command. These commands are being moved to ethernet l2 layer

Signed-off-by: default avatarVivekananda Uppunda <vivekananda.uppunda@nordicsemi.no>
parent db4bf8d4
Loading
Loading
Loading
Loading
+0 −10
Changes for subsys/net/l2/wifi/wifi_shell.c: 0 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -1519,8 +1519,6 @@ void parse_mode_args_to_params(const struct shell *sh, int argc,
	static struct option long_options[] = {{"if-index", optional_argument, 0, 'i'},
					       {"sta", no_argument, 0, 's'},
					       {"monitor", no_argument, 0, 'm'},
					       {"tx-injection", no_argument, 0, 't'},
					       {"promiscuous", no_argument, 0, 'p'},
					       {"ap", no_argument, 0, 'a'},
					       {"softap", no_argument, 0, 'k'},
					       {"get", no_argument, 0, 'g'},
@@ -1535,12 +1533,6 @@ void parse_mode_args_to_params(const struct shell *sh, int argc,
		case 'm':
			mode->mode |= WIFI_MONITOR_MODE;
			break;
		case 't':
			mode->mode |= WIFI_TX_INJECTION_MODE;
			break;
		case 'p':
			mode->mode |= WIFI_PROMISCUOUS_MODE;
			break;
		case 'a':
			mode->mode |= WIFI_AP_MODE;
			break;
@@ -1938,8 +1930,6 @@ SHELL_STATIC_SUBCMD_SET_CREATE(wifi_commands,
		"[-i, --if-index <idx>] : Interface index\n"
		"[-s, --sta] : Station mode\n"
		"[-m, --monitor] : Monitor mode\n"
		"[-p, --promiscuous] : Promiscuous mode\n"
		"[-t, --tx-injection] : TX-Injection mode\n"
		"[-a, --ap] : AP mode\n"
		"[-k, --softap] : Softap mode\n"
		"[-h, --help] : Help\n"