Patch "wifi: ath12k: use correct flag field for 320 MHz channels" has been added to the 6.6-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: ath12k: use correct flag field for 320 MHz channels

to the 6.6-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-ath12k-use-correct-flag-field-for-320-mhz-chann.patch
and it can be found in the queue-6.6 subdirectory.

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



commit 75f93f3564f6a1a3a9753a83639d84b74f345f95
Author: Aloka Dixit <quic_alokad@xxxxxxxxxxx>
Date:   Thu Mar 14 13:46:51 2024 -0700

    wifi: ath12k: use correct flag field for 320 MHz channels
    
    [ Upstream commit 020e08ae5e68cbc0791e8d842443a86eb6aa99f6 ]
    
    Due to an error during rebasing the patchset 320 MHz channel support got
    broken. ath12k was setting the QoS bit instead of the correct flag.
    WMI_PEER_EXT_320MHZ (0x2) is defined as an extended flag, replace
    peer_flags by peer_flags_ext while sending peer data.
    
    This affected both QCN9274 and WCN7850 which use the same flag.
    
    Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
    
    Fixes: 6734cf9b4cc7 ("wifi: ath12k: peer assoc for 320 MHz")
    Signed-off-by: Aloka Dixit <quic_alokad@xxxxxxxxxxx>
    Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
    Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>
    Link: https://msgid.link/20240314204651.11075-1-quic_alokad@xxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/wireless/ath/ath12k/wmi.c b/drivers/net/wireless/ath/ath12k/wmi.c
index d308a0e7f1871..cd89032fa25e1 100644
--- a/drivers/net/wireless/ath/ath12k/wmi.c
+++ b/drivers/net/wireless/ath/ath12k/wmi.c
@@ -1834,7 +1834,7 @@ static void ath12k_wmi_copy_peer_flags(struct wmi_peer_assoc_complete_cmd *cmd,
 		if (arg->bw_160)
 			cmd->peer_flags |= cpu_to_le32(WMI_PEER_160MHZ);
 		if (arg->bw_320)
-			cmd->peer_flags |= cpu_to_le32(WMI_PEER_EXT_320MHZ);
+			cmd->peer_flags_ext |= cpu_to_le32(WMI_PEER_EXT_320MHZ);
 
 		/* Typically if STBC is enabled for VHT it should be enabled
 		 * for HT as well




[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