Skip to content

Commit d8c3622

Browse files
kapbhfabiobaltieri
authored andcommitted
net: wifi_shell: Add example of scan option
Add an example of the scan's -c parameter to help with understanding. Signed-off-by: Kapil Bhatt <[email protected]>
1 parent baf8c47 commit d8c3622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/l2/wifi/wifi_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(wifi_commands,
18271827
"[-p, --dwell_time_passive <val_in_ms>] : Passive scan dwell time (in ms) on a channel. Range 10 ms to 1000 ms\n"
18281828
"[-s, --ssid] : SSID to scan for. Can be provided multiple times\n"
18291829
"[-m, --max_bss <val>] : Maximum BSSes to scan for. Range 1 - 65535\n"
1830-
"[-c, --chans <Comma separated list of channel ranges>] : Channels to be scanned. The channels must be specified in the form band1:chan1,chan2_band2:chan3,..etc. band1, band2 must be valid band values and chan1, chan2, chan3 must be specified as a list of comma separated values where each value is either a single channel or a channel range specified as chan_start-chan_end. Each band channel set has to be separated by a _. For example, a valid channel specification can be 2:1,6_5:36\n"
1830+
"[-c, --chans <Comma separated list of channel ranges>] : Channels to be scanned. The channels must be specified in the form band1:chan1,chan2_band2:chan3,..etc. band1, band2 must be valid band values and chan1, chan2, chan3 must be specified as a list of comma separated values where each value is either a single channel or a channel range specified as chan_start-chan_end. Each band channel set has to be separated by a _. For example, a valid channel specification can be 2:1,6_5:36 or 2:1,6-11,14_5:36,163-177,52\n"
18311831
"[-h, --help] : Print out the help for the scan command.\n",
18321832
cmd_wifi_scan,
18331833
1, 8),

0 commit comments

Comments
 (0)