What are the -i and -o options of wlconf for?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Version = 1.2
# defaults
binary_name="/lib/firmware/ti-connectivity/wl18xx-conf.bin"
wlconf_path="/usr/sbin/wlconf/"
ini_path="/usr/sbin/wlconf/official_inis"
body of code basically, the user answers questions like "How many antennas are attached and the answer is stored in a variable
# finally write values to binary
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.number_of_assembled_ant2_4=$number_2_4G_antenna
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.number_of_assembled_ant5=$number_5G_antenna
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.high_band_component_type=$high_band_component_type
./wlconf -i $binary_name -o $binary_name -s wl18xx.ht.mode=$ht_mode
My question is simply, what is the function of the "-i" and "-o" commands? The error I keep getting is that "wl18xx.ht.mode" can't be found. I just want to go through and find the exact file it's trying to edit, so that I can better understand what's going on there. I'm very new to linux, so I'm still trying to wrap my head around some things.
options
add a comment |Â
up vote
0
down vote
favorite
Version = 1.2
# defaults
binary_name="/lib/firmware/ti-connectivity/wl18xx-conf.bin"
wlconf_path="/usr/sbin/wlconf/"
ini_path="/usr/sbin/wlconf/official_inis"
body of code basically, the user answers questions like "How many antennas are attached and the answer is stored in a variable
# finally write values to binary
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.number_of_assembled_ant2_4=$number_2_4G_antenna
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.number_of_assembled_ant5=$number_5G_antenna
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.high_band_component_type=$high_band_component_type
./wlconf -i $binary_name -o $binary_name -s wl18xx.ht.mode=$ht_mode
My question is simply, what is the function of the "-i" and "-o" commands? The error I keep getting is that "wl18xx.ht.mode" can't be found. I just want to go through and find the exact file it's trying to edit, so that I can better understand what's going on there. I'm very new to linux, so I'm still trying to wrap my head around some things.
options
1
The things you're referring to --i
and-o
- aren't commands. They are options to thewlconf
command. You need to find / read the man page / documentation for thewlconf
program to find out what those options mean.
â John
May 3 '16 at 17:25
1
According to this page: github.com/TI-OpenLink/18xx-ti-utils/tree/master/wlconf the-i
indicates which binary file to use as input. I don't know what the-o
means.
â Nick Weinberg
May 3 '16 at 17:25
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Version = 1.2
# defaults
binary_name="/lib/firmware/ti-connectivity/wl18xx-conf.bin"
wlconf_path="/usr/sbin/wlconf/"
ini_path="/usr/sbin/wlconf/official_inis"
body of code basically, the user answers questions like "How many antennas are attached and the answer is stored in a variable
# finally write values to binary
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.number_of_assembled_ant2_4=$number_2_4G_antenna
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.number_of_assembled_ant5=$number_5G_antenna
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.high_band_component_type=$high_band_component_type
./wlconf -i $binary_name -o $binary_name -s wl18xx.ht.mode=$ht_mode
My question is simply, what is the function of the "-i" and "-o" commands? The error I keep getting is that "wl18xx.ht.mode" can't be found. I just want to go through and find the exact file it's trying to edit, so that I can better understand what's going on there. I'm very new to linux, so I'm still trying to wrap my head around some things.
options
Version = 1.2
# defaults
binary_name="/lib/firmware/ti-connectivity/wl18xx-conf.bin"
wlconf_path="/usr/sbin/wlconf/"
ini_path="/usr/sbin/wlconf/official_inis"
body of code basically, the user answers questions like "How many antennas are attached and the answer is stored in a variable
# finally write values to binary
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.number_of_assembled_ant2_4=$number_2_4G_antenna
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.number_of_assembled_ant5=$number_5G_antenna
./wlconf -i $binary_name -o $binary_name -s wl18xx.phy.high_band_component_type=$high_band_component_type
./wlconf -i $binary_name -o $binary_name -s wl18xx.ht.mode=$ht_mode
My question is simply, what is the function of the "-i" and "-o" commands? The error I keep getting is that "wl18xx.ht.mode" can't be found. I just want to go through and find the exact file it's trying to edit, so that I can better understand what's going on there. I'm very new to linux, so I'm still trying to wrap my head around some things.
options
options
edited May 3 '16 at 23:44
Gilles
516k12210281557
516k12210281557
asked May 3 '16 at 17:23
kam654
112
112
1
The things you're referring to --i
and-o
- aren't commands. They are options to thewlconf
command. You need to find / read the man page / documentation for thewlconf
program to find out what those options mean.
â John
May 3 '16 at 17:25
1
According to this page: github.com/TI-OpenLink/18xx-ti-utils/tree/master/wlconf the-i
indicates which binary file to use as input. I don't know what the-o
means.
â Nick Weinberg
May 3 '16 at 17:25
add a comment |Â
1
The things you're referring to --i
and-o
- aren't commands. They are options to thewlconf
command. You need to find / read the man page / documentation for thewlconf
program to find out what those options mean.
â John
May 3 '16 at 17:25
1
According to this page: github.com/TI-OpenLink/18xx-ti-utils/tree/master/wlconf the-i
indicates which binary file to use as input. I don't know what the-o
means.
â Nick Weinberg
May 3 '16 at 17:25
1
1
The things you're referring to -
-i
and -o
- aren't commands. They are options to the wlconf
command. You need to find / read the man page / documentation for the wlconf
program to find out what those options mean.â John
May 3 '16 at 17:25
The things you're referring to -
-i
and -o
- aren't commands. They are options to the wlconf
command. You need to find / read the man page / documentation for the wlconf
program to find out what those options mean.â John
May 3 '16 at 17:25
1
1
According to this page: github.com/TI-OpenLink/18xx-ti-utils/tree/master/wlconf the
-i
indicates which binary file to use as input. I don't know what the -o
means.â Nick Weinberg
May 3 '16 at 17:25
According to this page: github.com/TI-OpenLink/18xx-ti-utils/tree/master/wlconf the
-i
indicates which binary file to use as input. I don't know what the -o
means.â Nick Weinberg
May 3 '16 at 17:25
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
They are not commands, they are options as a part of the wlconf program. -i gives the location of the input file, -o gives the location of the output file.
add a comment |Â
up vote
0
down vote
The -i appears to me to be broken and, at least, it's help is incorrect since it prints the exact same message as for -o. Use -I (capital I) and -o if you need to create a new configuration binary.
New contributor
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
They are not commands, they are options as a part of the wlconf program. -i gives the location of the input file, -o gives the location of the output file.
add a comment |Â
up vote
1
down vote
They are not commands, they are options as a part of the wlconf program. -i gives the location of the input file, -o gives the location of the output file.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
They are not commands, they are options as a part of the wlconf program. -i gives the location of the input file, -o gives the location of the output file.
They are not commands, they are options as a part of the wlconf program. -i gives the location of the input file, -o gives the location of the output file.
answered May 3 '16 at 17:43
kam654
112
112
add a comment |Â
add a comment |Â
up vote
0
down vote
The -i appears to me to be broken and, at least, it's help is incorrect since it prints the exact same message as for -o. Use -I (capital I) and -o if you need to create a new configuration binary.
New contributor
add a comment |Â
up vote
0
down vote
The -i appears to me to be broken and, at least, it's help is incorrect since it prints the exact same message as for -o. Use -I (capital I) and -o if you need to create a new configuration binary.
New contributor
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The -i appears to me to be broken and, at least, it's help is incorrect since it prints the exact same message as for -o. Use -I (capital I) and -o if you need to create a new configuration binary.
New contributor
The -i appears to me to be broken and, at least, it's help is incorrect since it prints the exact same message as for -o. Use -I (capital I) and -o if you need to create a new configuration binary.
New contributor
New contributor
answered 2 mins ago
Michael Lamb
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f280857%2fwhat-are-the-i-and-o-options-of-wlconf-for%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
The things you're referring to -
-i
and-o
- aren't commands. They are options to thewlconf
command. You need to find / read the man page / documentation for thewlconf
program to find out what those options mean.â John
May 3 '16 at 17:25
1
According to this page: github.com/TI-OpenLink/18xx-ti-utils/tree/master/wlconf the
-i
indicates which binary file to use as input. I don't know what the-o
means.â Nick Weinberg
May 3 '16 at 17:25