I am working with a a monitor interface. It is correctly configured and working.
I use a tp-link Archer C6 v2.0 (OpenWrt 19.07.3, r11063-85e04e9f46)
The interface is configured in channel 1.
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path 'platform/ahb/18100000.wmac'
option channel '1'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'monitor'
option ssid 'OpenWrt'
option ifname 'mon0'
root@OpenWrt:~# iw dev mon0 info
Interface mon0
ifindex 20
wdev 0x100000007
addr cc:32:e5:b3:4f:ad
type monitor
wiphy 1
channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
txpower 20.00 dBm
To test the interface I transmit packets with another router tp-link TL-WR940N (OpenWrt 18.06.4, r7808-ef686b7292)
I expected that only packets in channel 1 are received in the monitor interface but when I set the tx router in channel 7 I can see the packets in the monitor interface although it is configured in channel 1.
root@OpenWrt:~# iw dev
phy#0
Interface wlan0
ifindex 8
wdev 0x3
addr 98:da:c4:64:31:a4
ssid Banco_RF
type AP
channel 7 (2442 MHz), width: 20 MHz (no HT), center1: 2442 MHz
txpower 22.00 dBm
Is this posible? Is it a way to fix the channel to get the packets only for the desired channel?