From patchwork Wed Sep 18 21:20:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pradeep Kumar Chitrapu X-Patchwork-Id: 829831 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C18F172BDE for ; Wed, 18 Sep 2024 21:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726694474; cv=none; b=sjdrcl/3E244VoucvLn0foOkJHiujDLPoRD+0MKXRKgjniMhOI1jurmF04NeP8o8J1ZTSXBQE0yHBG/AHAMYuBtnNyrur7H/dOVV8nYMBYrHn3tOTY1KBVZSea8apVWa0i2mdI74i3ZdM2Zk09vcLyzViv4qvCpWabue8ZAJ22U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726694474; c=relaxed/simple; bh=ay4AzLRUWdMJB05i83j+OTv4Fwk9ZYYDECDUYvAPm4c=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=FvKIS7Qsr5mUzVRVDrVk1BW/kYWMwbs665/T544yCjOzsY8mBGRHPM0/PxfPRIBjslrkZRzjAFqpeKELV9hMp5OZsRTbqTAGDsNOZ4fFNCVxUDGbOR0zH37vktLW580RXpbs5qXU8UgyVdHzuUPNRwpB73EfVeYs03+6WEbgzFY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=Pa31xcFq; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Pa31xcFq" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48IJ1jXQ019170; Wed, 18 Sep 2024 21:21:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=fpRB9P4LKO9dVJDXRIEG4n 5SM2FpQ2EXGPAbxAAwOlo=; b=Pa31xcFq0RE0AgHlj4n0LRmywwY+UR4a56Ua7s urFAcHm+Ra6Yj53xxaN5mM+AehpNW+1T514yRWZjV0mPKcRNi4FSXJywKhGs37LF wpscXbm0Mat3VnYqMsJgBuugj+Q6VYTAdAfji5Bts5zKvgPllVy8wJqiGDzwbMjC TRAHKXR1q7XOKanRwA/vqxxhu9r78OGiH8Niimi3ReI4KksT9cQNCUPsMgXi5Dd9 qjx90pZ9u0TEaIymsAZ11lO77QigA/7BlezTDv9zy1pZqeUXVJtAKeZb+Y2AmmgF T6JHCbJe04Q6777a1LBOaPFaohILxDzDaGvvy8UIe7z0o8oQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 41n4jdu9pw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Sep 2024 21:21:06 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 48ILL6cA005078 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Sep 2024 21:21:06 GMT Received: from ath12k-linux1.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 18 Sep 2024 14:21:05 -0700 From: Pradeep Kumar Chitrapu To: CC: , Pradeep Kumar Chitrapu Subject: [PATCH V8 0/9] wifi: ath12k: add MU-MIMO and 160 MHz bandwidth support Date: Wed, 18 Sep 2024 14:20:47 -0700 Message-ID: <20240918212056.4137076-1-quic_pradeepc@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: MBfOoNS-78nArbd0EmMoj7tB8l7U1NkG X-Proofpoint-GUID: MBfOoNS-78nArbd0EmMoj7tB8l7U1NkG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 clxscore=1011 adultscore=0 mlxscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 spamscore=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2408220000 definitions=main-2409180140 Add support for 1. enabling MU-MIMO in HE and EHT modes from hardware 2. setting fixed HE rate/GI/LTF 3. 160 MHz bandwidth in HE mode 4. extended NSS bandwidth support Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 changes in v8: - rebase and resolve KASAN warnings reported by Jeff in v7, in patch 6/9. changes in v7: - rebase and remove patch 01/10 which was merged already. changes in v6: - Change comment in patch 01/10 to represent only AP mode implementation. changes in v5: - Fix column length to 80 in patch 01/10 - Fix advertises spelling in patch 09/10 - Fix choosing spelling in patch 10/10 changes in v4: - Fix ath12k-check warnings in patch 2/10 and 7/10 - remove "hostapd" reference in patches 2/10 and 3/10 - remove redundant prerequisite-patch-id's in cover letter changes in v3: - address review comments for fixing ath12k-check issues. changes in v2: - Amend mac80211 patch description as the patch is not specific to AP mode. - Amend EHT MU-MIMO patch description to specify future support for STA mode. Pradeep Kumar Chitrapu (9): wifi: ath12k: push HE MU-MIMO params to hardware wifi: ath12k: push EHT MU-MIMO params to hardware wifi: ath12k: move HE MCS mapper to a separate function wifi: ath12k: generate rx and tx mcs maps for supported HE mcs wifi: ath12k: fix TX and RX MCS rate configurations in HE mode wifi: ath12k: add support for setting fixed HE rate/GI/LTF wifi: ath12k: clean up 80P80 support wifi: ath12k: add support for 160 MHz bandwidth wifi: ath12k: add extended NSS bandwidth support for 160 MHz drivers/net/wireless/ath/ath12k/core.h | 2 + drivers/net/wireless/ath/ath12k/mac.c | 1052 ++++++++++++++++++++---- drivers/net/wireless/ath/ath12k/mac.h | 17 + drivers/net/wireless/ath/ath12k/wmi.c | 24 +- drivers/net/wireless/ath/ath12k/wmi.h | 98 ++- 5 files changed, 985 insertions(+), 208 deletions(-) base-commit: 92de67902177c2ea65000a87a6b24fed17d48a18