What are the -i and -o options of wlconf for?

The name of the pictureThe name of the pictureThe name of the pictureClash 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.










share|improve this question



















  • 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






  • 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














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.










share|improve this question



















  • 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






  • 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












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.










share|improve this question















 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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




    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




    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




    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










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.






share|improve this answer



























    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.





    share








    New contributor




    Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      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






























      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.






      share|improve this answer
























        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.






        share|improve this answer






















          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.






          share|improve this answer












          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 3 '16 at 17:43









          kam654

          112




          112






















              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.





              share








              New contributor




              Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                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.





                share








                New contributor




                Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



















                  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.





                  share








                  New contributor




                  Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  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.






                  share








                  New contributor




                  Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  share


                  share






                  New contributor




                  Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 2 mins ago









                  Michael Lamb

                  1




                  1




                  New contributor




                  Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Michael Lamb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      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













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Displaying single band from multi-band raster using QGIS

                      How many registers does an x86_64 CPU actually have?