Hi,
On the original firmware of tp link, i used to activate "smart connect" feature so the device will manage the transition smoothly between 2.4 and 5 GHz radios.
I have tried to tune openwrt with different combinations of bss and 802.11r but no success. The steering is no longer as effective as the original firmware!!!
Any idea about the correct configuration that makes the transition smooth as "smart connect" ?
Note: Also, disabling bss using ssh will cause radios to be switched off.
usteer (and luci app thereof) does the band stering, no need for 11R, but you need to remove wpad-basic-mbedtls and install wpad-mbedtls for 11k and 11v support
2 Likes
Let me start from beginning, the router seems connected to 5ghz radio
The router doesn't showing 5ghz AP and i am using the 5ghz interface for STA mode
Wifiman showing the device is not connected to 5ghz!!
See the radio configurations
Hard to me to diagnose where is the issue. I think the interface doesn't support simultaneous AP/STA modes.
Appreciate you help in this regard.
No help, you use AI generated images.
1 Like
Feel free not to offer help. But appreciate if you would tell me hlw the attached screenshots are AI rubbish?
Theres cowpilot logo in the corner, and to prevent band steering 2 aps have different names. Text pasted as blurry images. All in sum exceeding human incompetence by a magnitude.
align AP names and set wifi country code to get any. 5ghz. Without cowpilot help.
2 Likes
Are you serious? Copilot logo is part from edge browser for android. I bet you are joking about not knowing that, aren't you?
For the remainder of the approache, i will set and update here.
Screenshots are impossible to see while viewing the forum on mobile, any chance you could just post code instead.
Any reason why you have not set your country code?
I was not aware about such difficulties since i used to do congratulations with my phone. But a big thank you for such constructive note!
For country code, it's as found. I never played with it.
brada4
May 4, 2025, 10:10pm
12
Clear to me as 2+2 equals fi
ve
The one on channel 161 is the one i am connected to using my 5ghz radio.
Can you clarify more please..
brada4
May 4, 2025, 10:39pm
15
Well, you confidently stated you are not. Maybe sync with your chatbots first?
1 Like
It's quite clear that English is not the OPs first language, I'm quite confused by what they've stated
2 Likes
1- yup, forgive me for language barrier.
2- country code was set to IQ
3- still can not find the iface of 5g radio
4- see the results of cat /etc/config/wireless
cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option band '2g'
option channel '1'
option htmode 'HE20'
option disabled '0'
option cell_density '0'
option country 'IQ'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'sae-mixed'
option key '20001000'
option ocv '0'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
option band '5g'
option channel '161'
option htmode 'VHT80'
option cell_density '0'
option country 'IQ'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'sta'
option network 'wwan'
option ssid 'Israa_5G'
option encryption 'sae-mixed'
option key '19741974'
option ocv '0'
5- see the results of iw dev:
iw dev
phy#1
Interface phy1-sta0
ifindex 9
wdev 0x100000001
addr 30:68:93:dd:d0:b9
ssid Israa_5G
type managed
channel 161 (5805 MHz), width: 80 MHz, center1: 5775 MHz
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcoltx-bytes tx-packets
0 0 0 0 0 0 0 0phy#0
Interface phy0-ap0
ifindex 10
wdev 0x1
addr 30:68:93:dd:d0:ba
ssid OpenWrt
type AP
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcoltx-bytes tx-packets
0 0 1299 0 0 0 1 208334 1301
Sometimes i unintentionally mix up or use some wrong expressions, a mechanical engineer has no solid IT knowledge.
Hence, appreciate your guidance and further follow up for this journey.
Regards.
Gents in this forum,
I see some mistrust from your side which is expected due to language barrier and poor information delivery from my side. Appreciate if you make a constructive comment whenever and wherever you observe a poor behaviour like missing info, poor formatting, AI assisted rubbish, etc..
Hopefully for your understanding.
2 Likes
Name both APs identically.
Set wifi channel to auto. (will be 36)
You can set mode to AX in both bands, it is backwards compatible like 20 years.
Probably inform linux-wireless to set proper radio rules for Iraq https://wireless.docs.kernel.org/en/latest/en/developers/regulatory/wireless-regdb.html#mailing-list-for-regulatory-updates
PS yes, thats pain of interpretative translation that it turns yes to no. Try to keep original text simple that you read translation and understand as original.
1- the ssid Israa_5G is STA, not the ssid of my AP. 5 ghz AP was missing and i created it just now and made it with identical name which is OpenWrt.
2- now both APs have identical names. Channel set to auto and modes xhanged to AX. Changes saved and WiFi reload occurred.
3- country code for radio1: i have selected IQ. But in general setup i see Country: 00
cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option band '2g'
option channel 'auto'
option htmode 'HE20'
option disabled '0'
option cell_density '0'
option country 'IQ'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'sae-mixed'
option key '20001000'
option ocv '0'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
option band '5g'
option channel 'auto'
option htmode 'HE20'
option cell_density '0'
option country 'IQ'
option disabled '0'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'sta'
option network 'wwan'
option ssid 'Israa_5G'
option encryption 'sae-mixed'
option key '19741974'
option ocv '0'
config wifi-iface 'wifinet3'
option device 'radio1'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk-mixed'
option disassoc_low_ack '0'
option key '20001000'
iw dev
phy#1
Interface phy1-ap0
ifindex 19
wdev 0x100000007
addr 30:68:93:dd:d0:b9
ssid OpenWrt
type AP
channel 48 (5240 MHz), width: 40 MHz, center1: 5230 MHz
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcoltx-bytes tx-packets
0 0 1276 0 0 0 0 384664 1425
Interface phy1-sta0
ifindex 17
wdev 0x100000006
addr 32:68:93:dd:d0:b9
ssid Israa_5G
type managed
channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcoltx-bytes tx-packets
0 0 0 0 0 0 0 0phy#0
Interface phy0-ap0
ifindex 18
wdev 0x4
addr 30:68:93:dd:d0:ba
ssid OpenWrt
type AP
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcoltx-bytes tx-packets
0 0 4606 0 0 0 0 468011 4715
Now to verify everything is working, I'll send reboot command to the router and will update you shortly about the status.
Update: reboot was successful. All are working now. Country code mismatch in 5 ghz radio still persistent. it's not appearing in 5g radio section under cat /etc/config/wireless, whill things are mismatched under 5 ghz device configuration:
brada4
May 5, 2025, 12:03pm
21
You need to set country code for each radio, ie two times.
IQ has no regulatory database entry, you have to do regulatory activity, it will be zero zero until then.
Somebody did it in like 1mo for Iran, where government site with laws is firewalled from abroad.
The list maintainers are Your friends.
1 Like
Do i understand that i will be ok with keeping 00? Or need to switch to temporary region?