Whats the version you are running?
I usually stay away from EEA MIUI versions, Global has worked fine for me
dchard
February 14, 2022, 4:54pm
5906
MIUI Global 12.5.8 stable (RKOEUXM)
If its RKOEUXM then thats EEA version
Global is currently and usually much newer then EEA
dchard
February 14, 2022, 4:55pm
5908
What would you recommend to try? I dont think there are any settings to change, so I need to swap ROMs.
I would recommend switching to a global release, that's the easiest to try
Baden
February 14, 2022, 5:01pm
5910
I still had issues with 5 GHZ 160 MHz with the Laptop. I could connect to the WLAN but had no connection to the interenet (I Use the AX 3600 as stupid AP without Routing, all Interfaces are placed in the LAN). Aftzer Starting the wireless Interface new and switching back to 80 MHz the connection was successful. Now i changed to 160 Mhz again and all workes fine.
For me is happening the same in both bands (with all releases i've tried). If you put the router in AP mode (no dhcp, static lan ip, firewall off, wlan only), there is no internet the second time you reconnect to the ap.
If you reboot the router and connect, first time everything is ok, when you disconnect and reconnect (in my case I connected to other ap I have, and then reconnect), there is no internet.
One thing I realized is, If I disconnect LAN cable and reconnect, wifi is ok for that time until second reconnection. I do the same another time, and it reconnects first time. Other thing I realized is that If I change the mac of the phone or pc, it reconnects, so maybe is something related to hostapd or broken arp table or dhcpd (system log is clean)
I had to put AX6 in router mode to solve this problem, because it's happening in Coolsnowwolf, robiemarko and Boos releases, 5.10 and 5.15
I'm having exactly the same problem... with ax3600
Can you link those?
I saw the BSS coloring for Hostapd but that has been shot down before, a possible solution is to set it randomly from OpenWrt if its not already set
psi-c
February 14, 2022, 6:28pm
5915
It sounds like the old problem of MAC addresses not getting flushed (known issue). See this post for a workaround.
So some observations, and consolidation of info from across this thread that seems to be going well for me that this point, on my AX3600, running the latest (as of Jan 29th) Robi K5.15.15 codebase. It is acting as the main router against a Cable Modem which is bridged:
Memory seems to be behaving much better now with the 512MB patch in place.at 13 hours uptime, the device is sitting at 128MB free out of 407.75MB total.
I was having the issue where some wireless clients couldn't connect/transi…
These are probably the ones shot downHere they are:
BSS coloring in hostapd:
From: John Crispin <john@phrozen.org>
Subject: [PATCH V4 3/6] bss coloring: disable BSS color during CCA
Date: Wed, 26 Aug 2020 08:22:13 +0200
While we are doing CCA the bss color disable bit inside the he oper field
needs to be set.
Signed-off-by: John Crispin <john@phrozen.org>
---
src/ap/ieee802_11_he.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/ap/ieee802_11_he.c
+++ b/src/ap/ieee802_11_he.c
@@ -198,7 +198,7 @@ u8 * hostapd_eid_he_operation(struct hos
params |= (hapd->iface->conf->he_op.he_rts_threshold <<
HE_OPERATION_RTS_THRESHOLD_OFFSET);
- if (hapd->iface->conf->he_op.he_bss_color_disabled)
This file has been truncated. show original
From 2113291e2fb20d82ac9f9740fed13abea2193a35 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Tue, 3 Nov 2020 20:15:08 -0800
Subject: [PATCH V4 4/6] bss coloring: add the switch_color handler to the
nl80211 driver
In order to start the CCA process we need to send NL80211_CMD_COLOR_CHANGE
to the kernel. This patch adds the required code.
Signed-off-by: John Crispin <john@phrozen.org>
---
src/drivers/driver_nl80211.c | 79 ++++++++++++++++++++++++++++++++++++
src/drivers/nl80211_copy.h | 18 +++++++-
2 files changed, 95 insertions(+), 2 deletions(-)
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -10031,6 +10031,82 @@ error:
}
This file has been truncated. show original
From: John Crispin <john@phrozen.org>
Subject: [PATCH V4 5/6] bss coloring: handle the collision and CCA events
coming from the kernel
Date: Wed, 26 Aug 2020 08:22:15 +0200
This patch activates the functionality of the previous patches by handling
the actual events that will trigger the CCA process.
Signed-off-by: John Crispin <john@phrozen.org>
---
src/ap/drv_callbacks.c | 45 ++++++++++++++++++++-
src/drivers/driver.h | 27 +++++++++++++
src/drivers/driver_common.c | 4 ++
src/drivers/driver_nl80211_event.c | 64 +++++++++++++++++++++++++++++-
4 files changed, 138 insertions(+), 2 deletions(-)
--- a/src/ap/drv_callbacks.c
+++ b/src/ap/drv_callbacks.c
@@ -44,7 +44,6 @@
This file has been truncated. show original
From: John Crispin <john@phrozen.org>
Subject: [PATCH V4 6/6] bss_coloring: allow using a random starting color
Date: Wed, 26 Aug 2020 08:22:16 +0200
Enhance the possible values for he_bss_color. Anything greater than 63 will
make hostapd choose a random color.
Signed-off-by: John Crispin <john@phrozen.org>
---
hostapd/config_file.c | 7 +++++--
hostapd/hostapd.conf | 5 ++++-
2 files changed, 9 insertions(+), 3 deletions(-)
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3367,8 +3367,11 @@ static int hostapd_config_fill(struct ho
} else if (os_strcmp(buf, "he_ul_mumimo") == 0) {
conf->he_phy_capab.he_ul_mumimo = atoi(pos);
} else if (os_strcmp(buf, "he_bss_color") == 0) {
This file has been truncated. show original
From d0d7cc4647ecad26b7bf04e39a4e9403cab68a48 Mon Sep 17 00:00:00 2001
From: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Date: Sat, 15 Aug 2020 18:47:26 +0530
Subject: [PATCH] hostapd: Add intelligence color choose in CCA
Gather color information of the neighbor APs and choose available
free color after go through the neighbor colors to minimise the color collision
Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
---
src/ap/ap_list.c | 29 +++++++++++++++++++++++++
src/ap/ap_list.h | 7 ++++++
src/ap/hostapd.c | 66 +++++++++++++++++++++++++++++---------------------------
3 files changed, 70 insertions(+), 32 deletions(-)
--- a/src/ap/ap_list.c
+++ b/src/ap/ap_list.c
@@ -174,6 +174,7 @@ void ap_list_process_beacon(struct hosta
struct ap_info *ap;
int new_ap = 0;
This file has been truncated. show original
Index: hostapd-2021-02-20-59e9794c/hostapd/ctrl_iface.c
===================================================================
--- hostapd-2021-02-20-59e9794c.orig/hostapd/ctrl_iface.c
+++ hostapd-2021-02-20-59e9794c/hostapd/ctrl_iface.c
@@ -2673,6 +2673,59 @@ static int hostapd_ctrl_check_freq_param
}
#endif /* NEED_AP_MLME */
+static int hostapd_ctrl_iface_color_change(struct hostapd_iface *iface,
+ char *pos)
+{
+#ifdef NEED_AP_MLME
+ struct cca_settings settings;
+ struct hostapd_data *hapd = iface->bss[0];
+ int ret, color;
+ unsigned int i;
+ char *end;
+
+ os_memset(&settings, 0, sizeof(settings));
+ color = strtol(pos, &end, 10);
This file has been truncated. show original
From f2cc86f874e09b0b1d1247de98f1720aa51080d8 Mon Sep 17 00:00:00 2001
From: Lavanya Suresh <lavaks@codeaurora.org>
Date: Tue, 6 Oct 2020 21:37:04 +0530
Subject: [PATCH] hostapd: Add BCCA IE with countdown zero
During BCCA, BCCA IE with countdown zero has to be added
in the beacon in which new color is updated. Remove BCCA
IE in the beacon template after color change is
completed.
Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
---
src/ap/drv_callbacks.c | 6 ++++++
src/ap/hostapd.c | 10 ++++++++--
src/ap/hostapd.h | 1 +
src/ap/ieee802_11_he.c | 2 +-
4 files changed, 16 insertions(+), 3 deletions(-)
--- a/src/ap/drv_callbacks.c
+++ b/src/ap/drv_callbacks.c
This file has been truncated. show original
From 7c0383bf8883e2bad9c7beb47712105be38b5427 Mon Sep 17 00:00:00 2001
From: Lavanya Suresh <lavaks@codeaurora.org>
Date: Wed, 7 Oct 2020 13:29:03 +0530
Subject: [PATCH] hostapd: Check free colors periodically if no new color is
available
In case of collision, if all the colors are in use, start dot11APcollision
timer(50s) and check for new color after timeout.
Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
---
src/ap/hostapd.c | 20 +++++++++++++++++---
src/ap/hostapd.h | 1 +
2 files changed, 18 insertions(+), 3 deletions(-)
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
@@ -3781,11 +3781,12 @@ hostapd_switch_color_timeout_handler(voi
return;
This file has been truncated. show original
BSS coloring in mac80211:
From a2dbe60b46b44d3f742452f02946c78534fdee50 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Tue, 10 Nov 2020 10:03:35 -0800
Subject: [PATCH] nl80211: add support for BSS coloring
This patch adds support for BSS color collisions to the wireless subsystem.
Add the required functionality to nl80211 that will notify about color
collisions, triggering the color change and notifying when it is completed.
Signed-off-by: John Crispin <john@phrozen.org>
---
include/net/cfg80211.h | 96 +++++++++++++++++++++++++
include/uapi/linux/nl80211.h | 46 ++++++++++++
net/wireless/nl80211.c | 135 +++++++++++++++++++++++++++++++++++
net/wireless/rdev-ops.h | 12 ++++
net/wireless/trace.h | 48 +++++++++++++
5 files changed, 337 insertions(+)
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
This file has been truncated. show original
From f9df2611ffdd0b236dc136e7a8534929b1c8bed2 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Tue, 3 Nov 2020 20:27:54 -0800
Subject: [PATCH] mac80211: add support for BSS coloring
The color change (color change announcement) is very similar to how CSA works where
we have an IE that includes a counter. When the counter hits 0, the new
color is applied via an updated beacon.
This patch makes the CSA counter functionality reusable, rather than
implementing it again. This also allows for future reuse incase support
for other counter IEs gets added.
Signed-off-by: John Crispin <john@phrozen.org>
---
include/net/mac80211.h | 29 +++++
net/mac80211/cfg.c | 228 +++++++++++++++++++++++++++++++++++--
net/mac80211/ieee80211_i.h | 12 ++
net/mac80211/iface.c | 3 +
net/mac80211/tx.c | 24 ++--
This file has been truncated. show original
From: John Crispin <john@phrozen.org>
Date: Wed, 26 Aug 2020 07:56:50 +0200
Subject: [PATCH] ath11k: add support for BSS coloring
Whenever the MAC detects a color collision or any of its associated station
detects one the FW will send out an event. Add the code to parse and handle
this event. and pass the data up to mac80211.
The FW does not provide an offload feature such as the one used for CSA. The
color change process is hence triggered via the beacon offload tx completion events
sent out by the FW.
Signed-off-by: John Crispin <john@phrozen.org>
---
drivers/net/wireless/ath/ath11k/mac.c | 37 +++++++++++++++++++++-----
drivers/net/wireless/ath/ath11k/wmi.c | 49 ++++++++++++++++++++++++++++++++++-
drivers/net/wireless/ath/ath11k/wmi.h | 14 ++++++++++
3 files changed, 93 insertions(+), 7 deletions(-)
--- a/drivers/net/wireless/ath/ath11k/mac.c
This file has been truncated. show original
From: John Crispin <john@phrozen.org>
Date: Sat, 22 Aug 2020 16:40:48 +0200
Subject: [PATCH] ath11k: dont enable bss color collision detection on
non-transmitting BSS
A none transmitting BSS color collision detection should not be enabled.
This patch depends on the BSS coloring and multiple bssid series.
Signed-off-by: John Crispin <john@phrozen.org>
Reported-by: kernel test robot <lkp@intel.com>
---
drivers/net/wireless/ath/ath11k/mac.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -3137,7 +3137,8 @@ static void ath11k_mac_op_bss_info_chang
ret = ath11k_wmi_send_obss_color_collision_cfg_cmd(
ar, arvif->vdev_id, info->he_bss_color.color,
This file has been truncated. show original
From: John Crispin <john@phrozen.org>
Date: Sat, 22 Aug 2020 17:39:02 +0200
Subject: [PATCH] mac80211: notify non-transmitting BSS of color changes
When a transmitting multiple bssid BSS changes its bss color, we need to
also notify the non transmitting BSSs of the new bss color.
This patch depends on the multiple bssid and bss coloring series.
Signed-off-by: John Crispin <john@phrozen.org>
---
net/mac80211/cfg.c | 42 ++++++++++++++++++++++++++++++------------
1 file changed, 30 insertions(+), 12 deletions(-)
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -4279,6 +4279,32 @@ static int ieee80211_set_color_change_be
return 0;
}
This file has been truncated. show original
From ee8c401bdfa08c6b98fb5b016841db5603ba4059 Mon Sep 17 00:00:00 2001
From: Lavanya Suresh <lavaks@codeaurora.org>
Date: Wed, 23 Sep 2020 21:54:34 +0530
Subject: [PATCH] ath11k: add support to enable/disable bss color collision
detection
Added module param to enable or disable bss color collision detection.
By default, it is disabled. This config should be changed before VAP
bringup only.
Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
---
drivers/net/wireless/ath/ath11k/mac.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -48,6 +48,10 @@ extern unsigned int ath11k_frame_mode;
.max_power = 30, \
This file has been truncated. show original
From daee9cd4e460d23cfb56c61424fefbd298c5948f Mon Sep 17 00:00:00 2001
From: Lavanya Suresh <lavaks@codeaurora.org>
Date: Tue, 6 Oct 2020 21:23:48 +0530
Subject: [PATCH] ath11k: Add BCCA IE with countdown zero
During BCCA, BCCA IE with countdown zero has to be added
in the beacon in which new color is updated.
Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
---
drivers/net/wireless/ath/ath11k/core.h | 2 ++
drivers/net/wireless/ath/ath11k/mac.c | 21 ++++++++++++++++-----
drivers/net/wireless/ath/ath11k/wmi.c | 10 ++++++++--
3 files changed, 26 insertions(+), 7 deletions(-)
--- a/drivers/net/wireless/ath/ath11k/core.h
+++ b/drivers/net/wireless/ath/ath11k/core.h
@@ -264,6 +264,8 @@ struct ath11k_vif {
int txpower;
bool rsnie_present;
This file has been truncated. show original
From eb1ad9bd9d72ca6fd8810890bf10def06fdcf632 Mon Sep 17 00:00:00 2001
From: Lavanya Suresh <lavaks@codeaurora.org>
Date: Wed, 7 Oct 2020 13:45:16 +0530
Subject: [PATCH] mac80211: disable color collision detection in case of no
free colors
Send disable event in wmi collision detection cfg command to FW,
when there are no free colors available to select.
It can be reenabled once new color is available. Send wmi collision
cfg command only if any value is changed.
Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
---
include/linux/ieee80211.h | 1 +
include/net/cfg80211.h | 1 +
net/mac80211/cfg.c | 33 ++++++++++++++++++++++++++++++---
net/wireless/nl80211.c | 5 +++++
4 files changed, 37 insertions(+), 3 deletions(-)
This file has been truncated. show original
MU-EDCA in hostapd:
--- a/src/ap/drv_callbacks.c
+++ b/src/ap/drv_callbacks.c
@@ -1775,6 +1775,39 @@ static void hostapd_event_wds_sta_interf
ifname, MAC2STR(addr));
}
+static void hostapd_event_update_muedca_params(struct hostapd_data *hapd,
+ struct update_muedca *params)
+{
+ int i;
+ u8 updated_count;
+
+ /* Update current MU-EDCA parameters */
+ for (i = 0; i < 3; i++) {
+ hapd->iface->conf->he_mu_edca.he_mu_ac_be_param[i] =
+ params->he_mu_ac_be_param[i];
+ hapd->iface->conf->he_mu_edca.he_mu_ac_bk_param[i] =
+ params->he_mu_ac_bk_param[i];
+ hapd->iface->conf->he_mu_edca.he_mu_ac_vo_param[i] =
+ params->he_mu_ac_vo_param[i];
This file has been truncated. show original
MU-EDCA in mac80211:
From ed838800bb8f4c59b320395066ac356f74528a50 Mon Sep 17 00:00:00 2001
From: Muna Sinada <msinada@codeaurora.org>
Date: Wed, 29 Jul 2020 00:11:30 -0700
Subject: [PATCH] 203-mac80211-ath11k-fw-dynamic-muedca.patch
mac80211/ath11k:FW Initiated Dynamic MU-EDCA
Implementing the updating of firmware initiated dynamic MU-EDCA
parameters in Beacon IE. Firmware routinely checks its clients and
updates its MU-EDCA values every 3 seconds. Firmware is tuning
MU-EDCA parameters to improve performance. As part of this process,
the firmware informs host about new MU-EDCA values utilizing
WMI_MUEDCA_PARAMS_CONFIG_EVENTID. FW expectation is that host will
update MU-EDCA parameters in the Beacon IE.
Implementation consists of:
(1) Receiving updated parameters through event in ATH11k
(2) Passing updated parameters ATH11k -> mac80211 -> cfg80211
(3) Passing updated parameters to user space.
Signed-off-by: Muna Sinada <msinada@codeaurora.org>
This file has been truncated. show original
Also I seem to be doing some progress on the failsafe part. It seems that only the preinit section is ran, do we need something to start at boot to have the ethernet ports available? cause that seems to be the issue
1 Like
Thanks, is the qca-ssdk-shell added in your build @robimarko ? Maybe it's interesting to add it by default in the builds and the script, because it's a common fault when in AP mode
Thanks @psi-c will try it or rebuild if not included that package, it was broking my head this week trying a lot of releases for AX6, but definitely the one with 5.15 is the most performance in terms of low ram usage and speed
cjom
February 14, 2022, 7:55pm
5918
My experience in AX3600 as wireless AP connected by lan cable: I connect my PC with cable, run "wifi down" only and then sysupgrade works 1rst try.
No, it's not included by default.
This is something that should probably be sorted out differently.
Hm, this looks like it's trying to do something that should solve duplicate FDB entries:
https://source.codeaurora.org/quic/cc-qrdk/oss/lklm/qca-ssdk/commit/?h=NHSS.QSDK.12.1.r2&id=f6a154d5fc7e393a87b3700cf6bf77f0af0732ff
Edrikk
February 14, 2022, 8:14pm
5920
I hope i haven't put the trail together incorrectly, but here's some info:
I believe hostapd was updated to version 2.10 as part of this commit .
Within openwrt, looking here , it looks like coloring was added upstream if not defined in config.
Oh great, I was following that commit as part of Johns original BSS coloring patches and they had merged all except for the random BSS color one.
So, they merged a different one as Jouni is author of this one.
This would explain why I am getting really good performance even without defining BSS coloring, this is good as its one less thing to worry as we are already using Hostapd 2.10.
That's already been committed for some time and I have seen it, but this doesn't fix the problem. That commit leaves us with a random bss color, yes, but the "BSS Color Disabled" is set to 1 (Yes) which disables bss colouring
But what's the purpose of random BSS color then?
Cause I don't see an on/off switch type option for hostapd config at all, it's just the BSS color 1-63 you want.
But you are right, it broadcasts the BSS color, in my case it chose 0xa aka 10 but BSS Color Disabled is set to True.
Ok, so they are setting it cause clients are crap and require BSS color despite it being disabled.
So, adding random setting in OpenWrt is still required.
Right now hostapd's behaviour is, if a number is set in he_bss_color= then that number is broadcasted allong with the flag "BSS Color Disabled" to zero, otherwise, this flag is set to 1 and a random number is broadcasted
What we need is a option to make it auto, and for it to detect and act up on color collisions, that's what those patches add. Why they have been rejected by the hostapd team is beyond me but they implement one of the core features of ax
Adding a random option in openwrt's script won't work as it will not be dynamic, and can interfere with local stations that might be already using that color, and if by some chance they are openwrt they will colide, over and over causing performance losses.
As for the MU-EDCA patches they should help provide better WMM(QoS) dynamically with the required needs.
Well, I assume that they weren't generic enough.
John sent something originally back in 2020, I see that in September of 2021 they sent new versions.
Also, v2 was sent in November, its still pending.
Even if they are merged they still need to add CCA and rest of the stuff to the kernel so that it all happens automatically.
ath11k looks to already know if there is a collision and propagates that to mac80211
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/drivers/net/wireless/ath/ath11k?h=ath-next&id=886433a984254c6d2c2074688dc8f48c40b1c070