Thx for the link. From a quick review you confirmed my fear. In the
link the channel width is indirectly parsed by checking specific value
from the wifi (upper or lower channel presence) (vht band for 5ghz). I
think that the best way to implement this is using ubus. Since
changing mac80211 code for
Using iw scan?
We've done this in the spectrum analyser plugin in Gargoyle [1].
It's not what i would call reliable though as iw itself specifically
says not to screen scrape the data. That being said, it has worked for
several years now.
[1] -
https://github.com/ericpaulbishop/gargoyle/blob/mast
Sorry if this is the wrong place to ask this. I'm trying to implement
a wifi channel graph to diagnose wifi quality directly from luci using
the wifi scan data. Problem is that I can't really find a way to get
the channel width of the nearby stations. I modified rpcd to export
the channel width fro