i have it working on 5 and 10 mhz chainbw, but I cannot make work it on channels -1 and -2, any info:
iw phy0 info
Wiphy phy0
max # scan SSIDs: 4
max scan IEs length: 2257 bytes
max # sched scan SSIDs: 0
max # match sets: 0
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports AP-side u-APSD.
Device supports T-DLS.
Available Antennas: TX 0x3 RX 0x3
Configured Antennas: TX 0x3 RX 0x3
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
* outside context of a BSS
Band 1:
Capabilities: 0x11ef
RX LDPC
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-15
Frequencies:
* 2397 MHz [-2] (22.0 dBm)
* 2402 MHz [-1] (22.0 dBm)
* 2412 MHz [1] (22.0 dBm)
* 2417 MHz [2] (22.0 dBm)
* 2422 MHz [3] (22.0 dBm)
* 2427 MHz [4] (22.0 dBm)
* 2432 MHz [5] (22.0 dBm)
* 2437 MHz [6] (22.0 dBm)
* 2442 MHz [7] (22.0 dBm)
* 2447 MHz [8] (22.0 dBm)
* 2452 MHz [9] (22.0 dBm)
* 2457 MHz [10] (22.0 dBm)
* 2462 MHz [11] (22.0 dBm)
* 2467 MHz [12] (22.0 dBm)
* 2472 MHz [13] (22.0 dBm)
* 2484 MHz [14] (22.0 dBm)
valid interface combinations:
* #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }
the log when i set one of this two channels
Fri Oct 16 11:47:35 2020 daemon.notice netifd: radio0 (5255): cat: can't open '/var/run/wifi-phy0.pid': No such file or directory
Fri Oct 16 11:47:35 2020 daemon.notice netifd: radio0 (5255): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process path (/proc/exe)
Fri Oct 16 11:47:35 2020 daemon.notice netifd: radio0 (5255): Command failed: Invalid argument
Fri Oct 16 11:47:35 2020 daemon.notice netifd: radio0 (5255): Device setup failed: HOSTAPD_START_FAILED
channels -1 and -2 does not work at all
it only work in monitor mode is thi a wpad or hostapd problem?
iw dev
phy#0
Interface wlan0
ifindex 14
wdev 0x9
addr xxxxxxxx
type monitor
channel -2 (2397 MHz), width: 20 MHz (no HT), center1: 2397 MHz
txpower 22.00 dBm