On Wed, Sep 22, 2021 at 06:12:13PM +0200, Daniel Haid wrote: > Another update:
can you please add this function ontop of /lib/netifd/wireless/mac80211.sh #!/bin/sh iw() { local rc; command iw "$@"; rc=$?; echo "rc:$rc | iw $*" >>/tmp/foo; test $rc -eq 0 || command iw "$@" 2>>/tmp/foo; return $rc; } After booting the file '/tmp/foo' looks like: ### rc:0 | iw dev wlan1 del rc:0 | iw dev wlan0 del rc:0 | iw phy1 info rc:0 | iw phy0 info rc:0 | iw reg get rc:0 | iw reg set US rc:0 | iw reg get rc:0 | iw reg set US rc:0 | iw phy phy1 set antenna 0xffffffff 0xffffffff rc:0 | iw phy phy1 set antenna_gain 0 rc:0 | iw phy phy1 set distance 0 rc:0 | iw phy phy1 set txpower auto rc:0 | iw phy phy1 info rc:134 | iw phy phy0 set antenna 0xffffffff 0xffffffff command failed: Not supported (-122) rc:0 | iw phy phy0 set antenna_gain 0 rc:0 | iw phy phy1 info rc:0 | iw phy phy0 set distance 100 rc:0 | iw phy phy0 set txpower fixed 2300 rc:0 | iw phy phy0 info rc:0 | iw phy phy0 interface add wlan0 type adhoc rc:0 | iw phy phy1 interface add wlan1 type __ap rc:0 | iw phy phy0 interface add wlan0-1 type __ap rc:0 | iw dev wlan0 ibss join ffintern.2GHz 2432 HT20 fixed-freq 02:ca:ff:ee:ba:be beacon-interval 250 basic-rates 6,12,24 mcast-rate 6 ### Please send a good and a bad case, or ignore if the error is deeper. bye, Bastian _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel