On 3/4/22 13:59, Alex Deucher wrote:
Hi, is there a way to enumerate wireless adapters in the kernel and determine what their channel and frequency is? I'm looking for a way to determine this from another component in the kernel so as to avoid any potential frequency interface from another device in the kernel.
The command 'iw dev' will list the device name and frequency if the device is connected. There is a bit of extraneous output, but it is not difficult to sort it outwith something like iw dev | egrep "Interface|channel"
Larry