Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp189160lqo; Wed, 15 May 2024 11:14:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUaYBGNGx6AxRA/uzThoLiQct5SbFLBhVsGnIDwDARD8PuWrGM1lSwosAmBiOejKib/EeY0w4NJAZHYLvuQQ7qxMxOdvqp3469H4LBzHA== X-Google-Smtp-Source: AGHT+IGdUDsWQVwDc10saeRy3LsPXMBAkedQw3PAuVKmD0jK8yIcoJWwlrrFpfQH4+/LSRhJ13ze X-Received: by 2002:a05:620a:4048:b0:792:9662:9473 with SMTP id af79cd13be357-792c7574367mr2060119185a.14.1715796861878; Wed, 15 May 2024 11:14:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715796861; cv=pass; d=google.com; s=arc-20160816; b=smU7ePn3OmlV+HTOkmNxDIcd0CUcmvhvKwS3ENGzVZH/w2RLpcq2u9Orap1dlXCUJU FGo9xR/zQMWvEMnStFpFb5oY01njQqUbyaVTSBTE+0KWi8MUlsjmrpWXPp5aEZBXjdZe KimrbrOoCRGLyLhcdMgdgSsITFe/IBxG/aeMk1uNRBe9S6hs6dJNkBwI11QcfRICcJM1 5AsB/o9nX9/+ABxHG6KAPEADnnYJirq4KsJ36BjSqwgQdWuNSsXQYgESa61QIOrhBLet ldZxL9I5gpW8bqfEXWEs8/OhjaapwQBtIPsrdrXPnVCgOYJ1Ymt0Zt+LC31k8r4QhYZU Htjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=pWmtcskD0pvaJmzUgTYAeKOevIBCnqI62tZVEpIC234=; fh=sG9jhBHEsNc76hLve58zfxxmeh0GUKp4yFB8ltJHOnE=; b=zVImW9e0QmXEixubGkaWxiPUka6+/tKYblCqRk+cyylCzHCtaXantgC2L4M7IQFB9N TEtvrIBAn8+Akg/1oPqFdmOijCamEKZ2be9t4M5Ks4xc+e/w2hjB+/6FVL0beZBKjL7l Aq/0ixlsXuFvyZEdSjkMfkrXBqhIzlXlfI0m5ANtW3992g293DmIWXY6kdVehQbUJfnm OTtTxa2AFXOCCldE22IKUGVTWIhp0RjmSEVAa5wDxqRrzurJj1a0UpRl4g5dRvnxmiKh vCooQtTZTMsbBUASh/FQSkcqeEtoDBoIp5f8Zx33r2wCYGwpKetDHI10orQS50eoYdzc cQMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Y9lbnjCy; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-7709-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7709-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf27897dsi1386285885a.144.2024.05.15.11.14.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 11:14:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7709-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Y9lbnjCy; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-7709-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7709-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0DFDA1C21974 for ; Wed, 15 May 2024 18:14:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D5E61598E2; Wed, 15 May 2024 18:13:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Y9lbnjCy" X-Original-To: linux-wireless@vger.kernel.org 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 89E5815956C for ; Wed, 15 May 2024 18:13:53 +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=1715796835; cv=none; b=ewUvF5KQeRK4pUwqdbxtX4SSsh6FwAuGz3d/CrJZOHHi+3/KbM3hAHlv8iR2CWoKHTjIlo/US8zqG/eaTH2zYJ4Puiyg4ngg+y97TqpxWrFdmClfj1izZip5zPgQcwt7qtIADOmCJcMTmNnEeTz31uotW/zR59nwpOdYmCtpufc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715796835; c=relaxed/simple; bh=6kx+uycZB6sDJ8ej/fedrXr99qsZ0o1IU8ZiSSms3Gk=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=pQ2SoH/kYhlbDOv4rVTsfgoKO9MUxkLvAW23Yxuy1ZG+aiqcmN0tlCj+PubpwdhuuU/Xh088bDFhnHTbDkriBsemflUltqySiGvGzZckBS5t8SKEADjKVXFJGygmgaZe8Rm/xgxzEXSLWgJdWp8tuIym30u2TubahkfPm3MuEHg= 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=Y9lbnjCy; 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 Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44F90ceU027349; Wed, 15 May 2024 18:13:40 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=pWmtcskD0pvaJmzUgTYAeKOevIBCnqI62tZVEpIC234=; b=Y9 lbnjCydH24YqYAKzYGrg7QY9MM5ep8gUSeNZ+R4HOWu+vZ8ZhLHDKbw7TtiVYB77 bfaWOR5vx02svy5eIYkHfm7f6qu8jBFFRxfzlzJX4hIHfbjgD83r83+gdc5w/E9g ehd7aATCoA7ZbBz2MIreHzapExZXzgP5HRYCl7NtgQNFZdj3bA2w5Zqe7io2zedo dJD6N63tUNo+lEkVLrnUENuARk4Wwe1Y1JzEQw6feWeWVjpaCIhESHlEPSfWl7mX Sx2Gn+cdfc/OuL5FJ9/JQtE5YkTUO21dQF6Z1zrUIvdAxjD4k2zUKkHvw/AXS5ja oIJd0YEGyuPyQRSCy9Iw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y42kvvbv1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2024 18:13:40 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44FIDcTU024538 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2024 18:13:38 GMT Received: from pradeepc-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.1544.9; Wed, 15 May 2024 11:13:37 -0700 From: Pradeep Kumar Chitrapu To: CC: , Pradeep Kumar Chitrapu Subject: [PATCH V6 00/10] wifi: ath12k: add MU-MIMO and 160 MHz bandwidth support Date: Wed, 15 May 2024 11:13:17 -0700 Message-ID: <20240515181327.12855-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 Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: KKTL6wBlpGgsXGe_rCknEzofObbWlEeK X-Proofpoint-ORIG-GUID: KKTL6wBlpGgsXGe_rCknEzofObbWlEeK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-15_11,2024-05-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 spamscore=0 adultscore=0 mlxscore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405150129 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 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 (10): wifi: mac80211: Add EHT UL MU-MIMO flag in ieee80211_bss_conf 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 ++- include/net/mac80211.h | 4 + net/mac80211/cfg.c | 5 + 7 files changed, 994 insertions(+), 208 deletions(-) base-commit: 5b501f801ab443046d5c31881bba21350396e5c5 -- 2.17.1