hardware:ax3600

This is an old revision of the document!


Xiaomi AX3600 wifi 6

https://openwrt.org/toh/xiaomi/ax3600 https://openwrt.admincomps.ru/nss-wifi/

Interesting :!:
google bbr
luci-app-sqm
nlbwmon
btop

banip (77K+) adblock-fast (100K+) nginx (replaced uhttpd) unbound (medium mem) collectd

[03/13/24 18:14:55] macbook@Macbook-Pro-M1 ~ 14s
> gdd if=/dev/urandom bs=1MB count=500 2> /dev/null | ssh -o 'Compression no' -c chacha20-poly1305@openssh.com root@r 'pv -f > /dev/null' 
 476MiB 0:00:13 [36.2MiB/s] []
 
[03/13/24 18:15:14] magbook@Macbook-Pro-M1 ~ 13s
> gdd if=/dev/urandom bs=1MB count=500 2> /dev/null | ssh -o 'Compression no' -c aes256-ctr root@r 'pv -f > /dev/null'
 476MiB 0:00:30 [15.7MiB/s] [ ]
 
[03/13/24 18:16:04] macbook@Macbook-Pro-M1 ~ 30s
> gdd if=/dev/urandom bs=1MB count=500 2> /dev/null | ssh -o 'Compression no' -c aes128-ctr root@r 'pv -f > /dev/null'
 476MiB 0:00:26 [18.3MiB/s] [ ] ]
date version Comment
20240212 OpenWrt SNAPSHOT r22827-6d9aab3e4e / LuCI Master git-23.118.79121-6fb185f stable
20240214 OpenWrt SNAPSHOT r25109-4a3522b9e1 / LuCI Master git-24.031.09542-8a0ee66 https://openwrt.admincomps.ru/nss-wifi/20240201/ working
#I've disabled sw/hw offload and packet steering 
#and added options mac80211 nss_redirect=1 to /etc/modules.conf. Other experiments:
 
root@ax3600:~# cat /sys/kernel/debug/qca-nss-drv/stats/cpu_load_ubi
CPU Utilization:
Note: Averaged over 1 second
 
Core 0:
Min     Avg     Max
 3%      3%      52%
 
 
root@ax3600:~# for a in /sys/m*/ath11k/p*/*; do echo "${a##*/}=$(cat $a)"; done
cold_boot_cal=Y
crypto_mode=0
debug_mask=0
frame_mode=2
ftm_mode=N
 
# !!! monitor IRQs in a poor man's htop.
#For Busybox version of watch the flags will be (remove -d and -x)
watch -n .5 -t awk -F'[: ]+' '
    NR==1 {print; next}
    $2==18 || ($2 > 37 && $0 !~ /IPI/) {
        sum1 += $3; sum2 += $4; sum3 += $5; sum4 += $6;
        if ($3 + $4 + $5 + $6 != 0) {
            print $0
        }
    }
    END {
        printf "TOTAL: %-10s %-10s %-10s %-10s\n", sum1, sum2, sum3, sum4
    }
' /proc/interrupts
 
 
#Otherwise for procps-ng
watch -n .5 -d -t -x awk -F'[: ]+' '
    NR==1 {print; next}
    $2==18 || ($2 > 37 && $0 !~ /IPI/) {
        sum1 += $3; sum2 += $4; sum3 += $5; sum4 += $6;
        if ($3 + $4 + $5 + $6 != 0) {
            print $0
        }
    }
    END {
        printf "TOTAL: %-10s %-10s %-10s %-10s\n", sum1, sum2, sum3, sum4
    }
' /proc/interrupts
iw list # info about adapters
iw dev # about devices
iw dev phy1-ap0 station dump # about assoc station
 
 
# reload config of wifi without reboot
$ vi /etc/config/wireless
Add those options under config wifi-device 'radio1'
$ wifi reload radio1 #reload that radio without reboot
 
# public test speed
$ iperf3 -c speedtest.fra1.de.leaseweb.net -p 5201-5210 -R -i 1

btop

#!/bin/bash
 
#remove old folder 
rm -rf openwrt
 
#get the sources
git clone https://github.com/bitthief/openwrt.git
 
#copy the config 
cp config_dynalink_dl-wrx36 openwrt/.config
 
cd openwrt 
# delete the patches that cause the boot loop on the dynalink
rm target/linux/ipq807x/patches-5.15/0100-*
 
#update and install the feeds
./scripts/feeds update -a
./scripts/feeds install -a
 
#build
make defconfig
make download
make -j5
Sources:

https://github.com/AgustinLorenzo/openwrt 5
https://github.com/AgustinLorenzo/nss-packages 1
BUILDING (UPDATED): https://github.com/AgustinLorenzo/openwrt/actions/runs/4790246215/jobs/8519106488 1

BUILDED: https://github.com/AgustinLorenzo/openwrt/releases/tag/ipq807x-2023-04-24-2213 5

Regards, Agustin

Получить логи и системную информацию:
http://192.168.31.1/cgi-bin/luci/;stok= 22<YOU_STOK> /api/xqsystem/init_info
http://192.168.31.1/cgi-bin/luci/;stok= 22<YOU_STOK> /api/misystem/sys_log

запросить Последнюю версии прошивки
http://api.miwifi.com/upgrade/log/list?typeList=R3600STA

open

Xiaomi wifi 4a

  • hardware/ax3600.1713592875.txt.gz
  • Last modified: 2024/04/20 06:01
  • by admin