>> I would like to find whether ( or not since I have seen that the UCI is done using bash) the UCI has some file in which there are the type(int, float, char...) assigned to parameters as frequency, channel and so on...
UCI is just a front-end that displays a bunch of files in /etc/config in a DB-like format. Look at the files in /etc/config, compare their content with "uci show" and you'll see what I mean. The wireless section is then used by the wifi script (/lib/wifi/mac80211.sh); it's up to the script to then process this data. >> uci set wireless.radio0.channel=14 It'll be stored in /etc/config/wireless when you run "uci commit". In the meantime, it'll be stored in a tmp area in RAM. >> because the mac80211 complains If you're trying to set to channel 14, you may have difficulties as this channel is not allowed anywhere but in Japan. Therefore, your driver may detect the mismatch and reject it. 2013/4/24 Francisco Cuesta <[email protected]> > Hello, > > I'm doing some mappings functions for converting from channel to > frequency and vicecersa, but I'm facing some trouble related to them. > I have already changed the LUCI ones (on iwinfo and submitted to the > trunnk version) and it works. However, I have noticed that some > frequencies are not well mapped into a channel because the mac80211 > complains, and I was wondering where are defined the types of the UC > parametersI; I mean, I would like to find whether ( or not since I > have seen that the UCI is done using bash) the UCI has some file in > which there are the type(int, float, char...) assigned to parameters > as frequency, channel and so on... > > > Thanks in advance! > > regars, > > PS: clarifying a bit more, I'm interested on knowing when you type > something like this > > uci set wireless.radio0.channel=14 > > the variable which stores the "14" were is defined and what type of > variable is. > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel >
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
