From patchwork Mon Mar 25 20:10:21 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: 13602844 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 E8C0445BE1 for ; Mon, 25 Mar 2024 20:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711397457; cv=none; b=XVfXxqsvrxRriQjmdi8BLvAA1DQbVu/eKfeggTnB0HBDLPJHD8Fr5IHKDKhmhY7VMRC0E+ONeR7RG0yhvLUdFcythF0Fb12nAR2r1JqgQ1uKND6fv+vOPZv7KTqvbMi+ZrE5S01pA+NSNryz8EnO0suDRAYPxh7OhupativUgZw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711397457; c=relaxed/simple; bh=/PbGLGON77DdDyhe7uPcr1NxFxxSm16JZ2WJ3W9AJ+c=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=IRAC2oS+A9de15BJpQe2XKexKUR47ikVdjmdP2pmryEJMZZmKsYgzTdFBsWucY+LIJo/ElBzjg/qZRM8VpLo9MMJOo/qzR7+NYhWhSZ7tbf4kf5zveJHj25juPw0uSbX08kkuiZFTrsO4+5HAKdSCY1Qa7a8bNEHh62GBc8a+00= 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=I/HX816A; arc=none smtp.client-ip=205.220.180.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="I/HX816A" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42PHdpTF002501; Mon, 25 Mar 2024 20:10:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version:content-type; s= qcppdkim1; bh=QKvZ1LvuEzWLdfGOCneBBalk2xpMw/BWR4FnYyQyj9k=; b=I/ HX816AR2OtmrSGxD3eeu29Bnerp6SHGOw3dLiKwj7nWOuEn1FxXC9X+UJ5P8BCQX cbuWY8v/pkgrljaR3avYKHeTg7/ReKaorNWQTWLyz9C9lUJTC3QtWuhfKn0k1E7H HDjrvgNXxrBMZmMbY1vA7tuZDFBvzgYGGGYZY4LTafJMTbosL9jIK5paOzTtf6D+ jLQGdFJapzuJAg0PYfkZgnEdgdKU6pKKUracYFsGKGwv3ZdNAO/AdO2IIVKR5iLs P+EoiqkOIvhjOXfRQha/Ttsx9RLK4EK6w+PjweHxBZ+LI77+mqombaTgwtRu4YS/ EQYX1lWeZkdnIaIeUjAw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x34dqhpnb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 20:10:50 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42PKAnxJ032528 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 20:10:49 GMT Received: from pradeepc2-linux.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.1118.40; Mon, 25 Mar 2024 13:10:49 -0700 From: Pradeep Kumar Chitrapu To: CC: , Pradeep Kumar Chitrapu Subject: [PATCH 00/10] wifi: ath12k: add MU-MIMO and 160 MHz bandwidth support Date: Mon, 25 Mar 2024 13:10:21 -0700 Message-ID: <20240325201031.10837-1-quic_pradeepc@quicinc.com> X-Mailer: git-send-email 2.17.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: UkM3q9HW3UOsHCp6tF1jgSyWmTIbAgMO X-Proofpoint-GUID: UkM3q9HW3UOsHCp6tF1jgSyWmTIbAgMO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-25_18,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 clxscore=1011 priorityscore=1501 spamscore=0 mlxlogscore=932 impostorscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403250122 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 Pradeep Kumar Chitrapu (10): wifi: mac80211: Add EHT UL MU-MIMO flag in ieee80211_bss_conf wifi: ath12k: push HE MU-MIMO params from hostapd to hardware wifi: ath12k: push EHT MU-MIMO params from hostapd 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 | 1035 ++++++++++++++++++++---- drivers/net/wireless/ath/ath12k/mac.h | 17 + drivers/net/wireless/ath/ath12k/wmi.c | 24 +- drivers/net/wireless/ath/ath12k/wmi.h | 98 ++- include/net/mac80211.h | 4 + net/mac80211/cfg.c | 5 + 7 files changed, 981 insertions(+), 204 deletions(-) base-commit: fe7e1b830cf3c0272aa4eaf367c4c7b29c169c3d