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.
-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 03 '16 at 17:25-i
indicates which binary file to use as input. I don't know what the-o
means. – Nick Weinberg May 03 '16 at 17:25