[FS#1356] WiFi Monitor interface is created on wrong channel

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 13 06:30:10 PST 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - Charlemagne Lasse (charlemagnelasse) 

Attached to Project - OpenWrt/LEDE Project
Summary - WiFi Monitor interface is created on wrong channel
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details -  - Device problem occurs on: PC-Engines APU3
 - Software versions of OpenWrt/LEDE release: LEDE 17.01.4

Just created a monitor interface with an WLE200NX:


config wifi-device 'radio0'
        option type 'mac80211'
        option channel '5'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:02.5/0000:04:00.0'
        option htmode 'HT40'
        option disabled '0'

config wifi-iface
        option mode 'monitor'
        option device 'radio0'
        option ifname 'mon0'


And restarted the device. It was expected that the monitor interface is now in HT40 mode (able to receive on HT40) and on channel 5. But in reality, the device was now on channel 1 and used a 20MHz (non-HT) channel setting:

root at LEDE:/# iw dev
phy#0
        Interface mon0
                ifindex 7
                wdev 0x2
                addr 00:11:22:33:44:55
                type monitor
                channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
                txpower 20.00 dBm


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1356



More information about the lede-bugs mailing list