3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-04-03 18:07:50 +02:00

netdev: don't set CQM thresholds for fullmac cards

Since roaming is handled by the firmware setting CQM thresholds for
roaming is pointless.
This commit is contained in:
James Prestwood 2025-02-13 12:18:12 -08:00 committed by Denis Kenzior
parent d70fbade44
commit 8cf9734d2b

View File

@ -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("");