Hello,

I would like to know how Luci gets the wifi channels and display them . I mean, what is the directory where lies the functions for getting the channels and displaying it?

I have found in /usr/lib/lua/luci/model/network.lua a function that retreives the channel from the device, but I don't know how or what function assigns the value of the channel to a concrete frequency on the Luci; for instnace, how does the luci know that channel 36 has a frequency of 5180GHz? Does it take from the iw list?

Thanks in advnace!

(Last edited by ndarkness on 5 Apr 2013, 10:21)