]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Pass correct values of center freq1 and center freq2 for 160 MHz
authorSuraj P Kizhakkethil <quic_surapk@quicinc.com>
Tue, 4 Mar 2025 09:53:14 +0000 (15:23 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 17 Mar 2025 17:23:59 +0000 (10:23 -0700)
commitb1b01e46a3db5ad44d1e4691ba37c1e0832cd5cf
treef06de4db0a3275bafc7204f79aa12bc0f3e5b13c
parent0e28ee106c46c95eb322833c17c33e3c231ccd0d
wifi: ath12k: Pass correct values of center freq1 and center freq2 for 160 MHz

Currently, for 160 MHz bandwidth, center frequency1 and
center frequency2 are not passed correctly to the firmware.
Set center frequency1 as the center frequency
of the primary 80 MHz channel segment and center frequency2 as
the center frequency of the 160 MHz channel and pass the values
to the firmware.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

Signed-off-by: Suraj P Kizhakkethil <quic_surapk@quicinc.com>
Reviewed-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Link: https://patch.msgid.link/20250304095315.3050325-2-quic_surapk@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/wmi.c