High Packet Loss

I have flashed Openwrt on my TP Link Archer C6 v3. Its running OpenWrt 23.05.2. With ethernet cable, I don't get any packet loss at all but over Wifi, the packet loss is quite a lot


I am using Archer C6 in access point mode and it is connected to my main router using lan cable

I'd start by choosing another chan.

Currently its set at 36 (5180 Mhz) which must be default since I haven't changed anything. Am i supposed to try each of them from here 1 by 1 ?

What does the "1.54 KB/s" mean in the top bar of your packet loss screenshot? Is that the current traffic throughput or the channel capacity? In the latter case the packet loss would not be all that surprising.
With your trsting phone cnnected what do the following two commands return:

iwinfo wlan0 assoclist
iwinfo wlan1 assoclist

(actually just getting the data from the phone would be enough, ideally while running a speed test on the phone itself to see what is possible).

Also in the GUI of the router, navigate to "Status -> Channel Analysis" and select the correct radio and wait a bit for the plot to get populated (your radio needs to scan all channels which might take a while) and then post screenshots of the results here, please.

That "1.54 KB/s" in the top bar of my screenshot is just the current traffic throughput. i am also attaching the channel analysis screenshot as you have asked.


Sorry but where exactly do i run those two commands that you have mentioned, not really that familiar with Openwrt yet

Edit - It says no such wireless device when i run it after ssh:ing into the router

root@OpenWrt:~# iwinfo wlan0 assoclist
No such wireless device: wlan0
root@OpenWrt:~# iwinfo wlan1 assoclist
No such wireless device: wlan1

by ssh:ing into the router.

let's agree on chan 36 and 161 aren't any good choices.

I tried to set it to channel 132 but got the following popup, is this normal ?

I haven't been able to resolve this issue yet. Moreover can't seem to change the wifi channel without getting error mentioned above

Well, the issue I guess is that you connect via WiFi on the same radio you want to change the channel... Try hooking up a computer via ethernet then you should be able to change channels... or click "Apply unchecked" (but see the next paragraph for how long to wait before expecting the AP to appear again o a given channel).

Also some 5GHz channels require your AP to first check for ~1 minute IIRC to scan whether the same channel might be used by a radar, the channel will only be usable after that mandatory scan time...

Regarding the iwinfo problems, what do you get if you just run iwinfo?

i changed the wifi channel to 132 using my desktop with LAN and didn't got the error from above but for some reason, it has got disabled as you can see here.


Channel 40,44 worked fine but i still get packet loss on both of them

Regarding the iwinfo, here's the whole output

-----------------------------------------------------
 OpenWrt 23.05.2, r23630-842932a63d
 -----------------------------------------------------
root@OpenWrt:~# iwinfo wlan0 assoclist
No station connected
root@OpenWrt:~# iwinfo
phy1-ap0  ESSID: "OpenWrt"
          Access Point: 60:A4:B7:E2:58:1D
          Mode: Master  Channel: 36 (5.180 GHz)  HT Mode: VHT80
          Center Channel 1: 42 2: unknown
          Tx-Power: 20 dBm  Link Quality: 70/70
          Signal: -39 dBm  Noise: -92 dBm
          Bit Rate: 866.7 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11ac/n
          Hardware: 14C3:7663 14C3:7663 [MediaTek MT7613BE]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

wlan0     ESSID: unknown
          Access Point: 60:A4:B7:E2:58:1C
          Mode: Client  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 22 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: 14C3:7603 14C3:7603 [MediaTek MT7603E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

Ah, could you please try (with your end device active)
iwinfo phy1-ap0 assoclist

If you look at your channel analysis plot you notice that the first set of SSIDs use all channels from 36 to 48 (for an 80 MHz wide channel). But:

your selected center channel still sits with in that 80 MHz band that is already in use, you need to select a channel that gets your AP to use a non-overlapping channel*. According to https://en.wikipedia.org/wiki/List_of_WLAN_channels maybe try 58...

*) Using partially overlapping channels is worse than using fully overlapping channels in the first case the different band users see each other only as interference in the second case they see each other's packets and can at least coordinate somewhat...