Patch "wifi: cfg80211: Remove the Medium Synchronization Delay validity check" has been added to the 6.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    wifi: cfg80211: Remove the Medium Synchronization Delay validity check

to the 6.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     wifi-cfg80211-remove-the-medium-synchronization-dela.patch
and it can be found in the queue-6.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 0a8cbbf885c009c525145a316c3d892913123d01
Author: Lingbo Kong <quic_lingbok@xxxxxxxxxxx>
Date:   Thu Oct 31 21:42:23 2024 +0800

    wifi: cfg80211: Remove the Medium Synchronization Delay validity check
    
    [ Upstream commit b4ebb58cb9a4b1b5cb5278b09d6afdcd71b2a6b4 ]
    
    Currently, when the driver attempts to connect to an AP MLD with multiple
    APs, the cfg80211_mlme_check_mlo_compat() function requires the Medium
    Synchronization Delay values from different APs of the same AP MLD to be
    equal, which may result in connection failures.
    
    This is because when the driver receives a multi-link probe response from
    an AP MLD with multiple APs, cfg80211 updates the Elements for each AP
    based on the multi-link probe response. If the Medium Synchronization Delay
    is set in the multi-link probe response, the Elements for each AP belonging
    to the same AP MLD will have the Medium Synchronization Delay set
    simultaneously. If non-multi-link probe responses are received from
    different APs of the same MLD AP, cfg80211 will still update the Elements
    based on the non-multi-link probe response. Since the non-multi-link probe
    response does not set the Medium Synchronization Delay
    (IEEE 802.11be-2024-35.3.4.4), if the Elements from a non-multi-link probe
    response overwrite those from a multi-link probe response that has set the
    Medium Synchronization Delay, the Medium Synchronization Delay values for
    APs belonging to the same AP MLD will not be equal. This discrepancy causes
    the cfg80211_mlme_check_mlo_compat() function to fail, leading to
    connection failures. Commit ccb964b4ab16
    ("wifi: cfg80211: validate MLO connections better") did not take this into
    account.
    
    To address this issue, remove this validity check.
    
    Fixes: ccb964b4ab16 ("wifi: cfg80211: validate MLO connections better")
    Signed-off-by: Lingbo Kong <quic_lingbok@xxxxxxxxxxx>
    Link: https://patch.msgid.link/20241031134223.970-1-quic_lingbok@xxxxxxxxxxx
    Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c
index 4052041a19ead..98637ded58a68 100644
--- a/net/wireless/mlme.c
+++ b/net/wireless/mlme.c
@@ -340,12 +340,6 @@ cfg80211_mlme_check_mlo_compat(const struct ieee80211_multi_link_elem *mle_a,
 		return -EINVAL;
 	}
 
-	if (ieee80211_mle_get_eml_med_sync_delay((const u8 *)mle_a) !=
-	    ieee80211_mle_get_eml_med_sync_delay((const u8 *)mle_b)) {
-		NL_SET_ERR_MSG(extack, "link EML medium sync delay mismatch");
-		return -EINVAL;
-	}
-
 	if (ieee80211_mle_get_eml_cap((const u8 *)mle_a) !=
 	    ieee80211_mle_get_eml_cap((const u8 *)mle_b)) {
 		NL_SET_ERR_MSG(extack, "link EML capabilities mismatch");




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux