commit 8cf9734d2b4af050e1f6161fae9d13f52b492e58 parent d70fbade446972161726bd7a7c315572273378a4 Author: James Prestwood <prestwoj@gmail.com> Date: Thu, 13 Feb 2025 12:18:12 -0800 netdev: don't set CQM thresholds for fullmac cards Since roaming is handled by the firmware setting CQM thresholds for roaming is pointless. Diffstat:
| M | src/netdev.c | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/netdev.c b/src/netdev.c @@ -3825,6 +3825,15 @@ static void netdev_cmd_set_cqm_cb(struct l_genl_msg *msg, void *user_data) static int netdev_cqm_rssi_update(struct netdev *netdev) { struct l_genl_msg *msg; + struct netdev_handshake_state *nhs = l_container_of(netdev->handshake, + struct netdev_handshake_state, super); + + /* + * Fullmac cards handle roaming in firmware, there is no need to set + * CQM thresholds + */ + if (nhs->type == CONNECTION_TYPE_FULLMAC) + return 0; l_debug("");