Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp144398lqo; Wed, 15 May 2024 09:53:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNEpt/hZgt11nHpekylzu++f94pkrLHd1Q8plHkclAZTa5UJDSqpG1SGe2a0oLmlqkMzXBzxOqvbuI53Fluupw3BmoaRlLAnJnTwGuUw== X-Google-Smtp-Source: AGHT+IFmDwCO1jfHIrWuYcS/h+EgVbDZ4lmVK6d6dvcysP/8MKhpdEIlG1EFa6cGt5Rl6ylWUqAv X-Received: by 2002:a05:6a00:4fcf:b0:6ed:de70:5ef8 with SMTP id d2e1a72fcca58-6f4e029898fmr18687694b3a.6.1715791996817; Wed, 15 May 2024 09:53:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715791996; cv=pass; d=google.com; s=arc-20160816; b=lwqUOY3+z30ez7pZm0TU6d01KRit09fSnVyvGUHK6aqWoKDsCh/vPqbZMu958rwd+U WJeOHfcAps1wPVyy78eISpUuG0DaRdTbMdEaeQD1uieUE6z2ys8WnLx9CpeD45xqSGHM yvJp+hUGGY44xrx7ELCRu1i27yMlYcFQHG8M40IvTgjrqchRxlSNpep0kAgqgFI2Oi7P 6JicdOR9DdpG/WfnPVTeB5PgBFZzIDr7HQvhAya2RiJ9ICulkxXg8tMDhJivdESwREqQ tTWpU18Mdkc/s2AUF82J1guAdJ4ml/YdNAw5cC0rWbqmZCIJOt/51NETvohqab/qIofE l3MA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7Qd2LYk7gxDsk5KL7pfxs3R9P3AEKBeDsTm866ToHu4=; fh=sG9jhBHEsNc76hLve58zfxxmeh0GUKp4yFB8ltJHOnE=; b=CuWY8kwPZHXnaUwvdspGCb95hQO8eCm8SP0bbHkihuB9X/ZPtPvg4CeALyVKnSibkE uPLbcBzwX4oXjeMmwxqnbGsY3W6QFAm0sXkigtPzlkQ7JAEEZhOvtB4AGVsCAP2woRU9 hSmbiE5Rxxe7IxTKMqMJ+ouG47y4ptQ3eDCcvcDftpBjciwW5rI9PLGbRSGBUMbObReD bO82KTp4WgWhwi9ZESZICPL56/yHDUwM91LaXtABJYlhwFjYOFyFFTOIXHuH5LyFe7a4 5u9iYgNa+MNAc4l1qXpUdkd6qha2RLC48LkaZTGRCcBxPSj410qtCL2fjcjAwYpSPrzJ jv8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZlYx6Dst; 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-7697-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-654bbd5417fsi1648338a12.613.2024.05.15.09.53.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 09:53:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7697-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZlYx6Dst; 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-7697-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7697-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 476A82812B0 for ; Wed, 15 May 2024 16:53:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78D7C4AEF8; Wed, 15 May 2024 16:52:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ZlYx6Dst" X-Original-To: linux-wireless@vger.kernel.org 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 0162D25757 for ; Wed, 15 May 2024 16:52:51 +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=1715791973; cv=none; b=tUKkFmCby3ZHuT3FY35R7DsG6HAZN0a+/7fQi8R1sL9obXvWwXiRpCUsowdtfNDtzOlQRYbiRyi+zNnX+/23Lu8lzYXKlr+9C5JGaAYO0ecOiThfi91a6cOAOrQI/6gOBNd4BEX2YvAcKf9dQX4WUt52ssZEuYWNbZEYKYaJso8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715791973; c=relaxed/simple; bh=AEmkMEvnAAbcgdg6zYvhsaNpkTraemFZ+SRsG20IvSM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mFmF1QBMaapkYTnQM/AYuSNpMLJ2pilq2Pu10JhENwZEm0YYjsXmfE3Et6XyB+pnWNdP0sG2HNQ0CqD2YlvJH4p0pg2TL077LRXZ4iFffgKy3HAQxrlkDgDL6gT0GO+5VlW40OjipCCbuCXOHK+iqv2NQQeVyikZiESeSaCa73w= 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=ZlYx6Dst; 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 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44F90aR3024809; Wed, 15 May 2024 16:52:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=qcppdkim1; bh=7Qd2LYk7gxDsk5KL7pfx s3R9P3AEKBeDsTm866ToHu4=; b=ZlYx6DstR1A7Q8oPcwODysY8BSaLVBNte12u e3ABC83othaGTW4mP9qFG7b1hImxkr0s8msL5tJ8/c0tbC9AHD8cUTpLi/nBYnjd LZmATBnFwpg9sB0DIbS8bO1/+qkEpPEIDdeTws0xE+kqy9ABH/RnUYhNY/nVhKl8 X+7dEupc39vEoUTbY48GmnTduUp9/q2PTe74RHez2fIvH1MuOfzyUp86VJvYVwOz liaaGNcvGPc0e66KmOnA+VAvnVhK8Jsd+bugaBBAvl3/y/KbknnZ41gXLFARzVVR OHc1ZWF0KadPIwx1oNEmoZpwJb1VWmJZ1f2w+eBYC9L2GPA1Dw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y49gdu12x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2024 16:52:41 +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 44FGqfRj009182 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2024 16:52:41 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 09:52:41 -0700 From: Pradeep Kumar Chitrapu To: CC: , Pradeep Kumar Chitrapu Subject: [PATCH V5 01/10] wifi: mac80211: Add EHT UL MU-MIMO flag in ieee80211_bss_conf Date: Wed, 15 May 2024 09:52:22 -0700 Message-ID: <20240515165231.12114-2-quic_pradeepc@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240515165231.12114-1-quic_pradeepc@quicinc.com> References: <20240515165231.12114-1-quic_pradeepc@quicinc.com> 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: CckbJCmz1r4efbYDT4326-QjwqH4j0T3 X-Proofpoint-ORIG-GUID: CckbJCmz1r4efbYDT4326-QjwqH4j0T3 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_10,2024-05-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 impostorscore=0 clxscore=1015 priorityscore=1501 phishscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405150119 Add flag for Full Bandwidth UL MU-MIMO for EHT. This is utilized to pass EHT MU-MIMO configurations from user space to driver. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Signed-off-by: Pradeep Kumar Chitrapu --- include/net/mac80211.h | 4 ++++ net/mac80211/cfg.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/include/net/mac80211.h b/include/net/mac80211.h index cafc664ee531..b0c95a23cbdd 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -701,6 +701,9 @@ struct ieee80211_fils_discovery { * beamformee * @eht_mu_beamformer: in AP-mode, does this BSS enable operation as an EHT MU * beamformer + * @eht_80mhz_full_bw_ul_mumimo: does this BSS support the reception (AP) or + * transmission (non-AP STA) of an EHT TB PPDU on an RU that spans the + * entire PPDU bandwidth */ struct ieee80211_bss_conf { struct ieee80211_vif *vif; @@ -793,6 +796,7 @@ struct ieee80211_bss_conf { bool eht_su_beamformer; bool eht_su_beamformee; bool eht_mu_beamformer; + bool eht_80mhz_full_bw_ul_mumimo; }; /** diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index b08e5d7687e3..96b2f31f0c8a 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1379,6 +1379,11 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev, (IEEE80211_EHT_PHY_CAP7_MU_BEAMFORMER_80MHZ | IEEE80211_EHT_PHY_CAP7_MU_BEAMFORMER_160MHZ | IEEE80211_EHT_PHY_CAP7_MU_BEAMFORMER_320MHZ); + link_conf->eht_80mhz_full_bw_ul_mumimo = + params->eht_cap->fixed.phy_cap_info[7] & + (IEEE80211_EHT_PHY_CAP7_NON_OFDMA_UL_MU_MIMO_80MHZ | + IEEE80211_EHT_PHY_CAP7_NON_OFDMA_UL_MU_MIMO_160MHZ | + IEEE80211_EHT_PHY_CAP7_NON_OFDMA_UL_MU_MIMO_320MHZ); } else { link_conf->eht_su_beamformer = false; link_conf->eht_su_beamformee = false; -- 2.17.1