Some quick notes on command discovery when playing with the GL iNet OpenWrt GL-BE3600.
iwinfo
iwinfo wlan0 info
iwconfig wlan0
iw dev wlan0 info
iw phy phy1 info
iw phy phy2 info
wlanconfig wlan0 list
ifconfig wlan1 down
ifconfig wlan1 up
ps | grep -E "hostapd|wpa_supplicant"
cat /etc/glversion
opkg list-installed | grep -E "ath"
opkg list-installed | grep -E "wifi"
athstats
athdiag
uci set wireless.wifi0.supported_rates='12 24 48 54'
uci set wireless.wifi1.supported_rates='12 24 48 54'
uci commit wireless
wifi reload
log read
logread | grep -i rate
uci show wireless
uci show wireless | grep -i rate
rm -f /var/run/wpa_supplicant-*.lock
rm -f /var/run/hostapd-*.lock
killall -9 hostapd
killall -9 wpa_supplicant
echo "supported_rates=120 240 360 480 540" >> /var/run/hostapd-wlan1.conf
echo "basic_rates=120 240" >> /var/run/hostapd-wlan1.conf
ip link set wlan1 up
hostapd -dd /var/run/hostapd-wlan1.conf