Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp189314lqo; Wed, 15 May 2024 11:14:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXgUHUnmfYZKksRX3e0sE7Cvx3nMwpfopyb12fR+PCMZ0SQdUeQyqGavg8B434iLGJaw6iVzjfVuQ/Nc0vNBtZ622bdOnNdHUKFsEtBjg== X-Google-Smtp-Source: AGHT+IHhHgvdWzc214GJGILmcNbOoNn7x+03nCKbmstTrkRHXf9fxM1FatJCUNHVPqlH1OOCRvO3 X-Received: by 2002:ac8:7f94:0:b0:43a:4b1c:6d36 with SMTP id d75a77b69052e-43dfdb4659amr212659781cf.49.1715796876815; Wed, 15 May 2024 11:14:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715796876; cv=pass; d=google.com; s=arc-20160816; b=K3qsKVC/qemFGZcb0jOAXhVeQ6yaWr2uzTQvYYE8MIETa8GqUpgP+3AhsY0x17gcpu vf9gU17FFPp3+Y7Qf5c7zSZilLw92Bfd/cGAckfe2yBEjsWOk32J+YFO/mZLNvk9zml9 KaRjNy2THkW/iY+k172zOo7ZMh7IpPpIgWHTre1QODMsiM7JRRa8zjEhFdRCBNOz9Wsj ttFkr/H1a56F/2oT1aaFJg11gnoorbeZPqfZ/dghQoqqr4Dd1wN/7FOojJEXX6GQyBwg ZChmWiL6rVqYiPTEnUy8GDDqPUS0h/oMzmezFiSnux6627l6whEXhf0Pa8J6/UZ6XIdn Kqlg== 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=r8y5s/satLN+ZXz6hQpTy8LyMEbsMT1shxCuT2UR3U4=; fh=sG9jhBHEsNc76hLve58zfxxmeh0GUKp4yFB8ltJHOnE=; b=BfPO4a7fij/tfAfyWZo1LpPWpWmNSXkxCsm6Vhv6KcuKg8AKRM+00wNVd8QqG6j20/ jfIHsnRY0dr1fSpholEMAmpzm2PbmVWEJC9p96veWW/vG+QPkXgCdj6Elp528SQlk4uS QoMIvEhkNU+Klv+tXatNt9owG7xyK5GWbAJ1JsHShnpdol4NyVrMnDh5bngFILbvmnWC QgYKIguGEA5mRUBuUCOe+Fn8rJB0ihoSEqoKetyBHzcxOOnF+Vr9HsMsrjkfTwRkkN1q sa9SNtfJSx4j7fj/zT3vSoiJNGib4mB2ZwJANgEqGTDoRYFhiOjzJYtJS6ccleyvzg9a l/hg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dc52HYGt; 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-7712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7712-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df566f9dbsi148965781cf.373.2024.05.15.11.14.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 11:14:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dc52HYGt; 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-7712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7712-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 B42721C21360 for ; Wed, 15 May 2024 18:14:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75641158DB9; Wed, 15 May 2024 18:13:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Dc52HYGt" 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 E2FA7159594 for ; Wed, 15 May 2024 18:13:54 +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=1715796836; cv=none; b=WI3qxHk9DGQVE2APvr13DVx0+cDAMY6OIawPIR6/MFcxC9yQPQsoxj5veMNAFq2r1XH5KSFafJGjTeYYeGall6z+bOLjEVqhD3BEar+BH/mRmGKmvD433iILgEGd1ii+TNUq2pD1V5hqNfWCj8a7BHXGRQNM/h8nhY1tK5GbfAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715796836; c=relaxed/simple; bh=CHl0dFxuG2j6QXtWdZ23o9jO2Y4kQ3NkCSe4yAsv8Xg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eITNXAM6LVD2h0hIoJoUckJjAz0BBuBmnqGTdoVzrOmTsOSCC05iMHibQMJ6xekE7drje0EYgK6llTMq40eApV7PIiyDMutHmccPtzHzRhLXYwh2intzdV3jbQ8tVg8v9o6wRiyrGB9LoZy8CPrqzVHDAoPtmLSgaaxCkLJ1D/0= 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=Dc52HYGt; 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44F90ckF012291; 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:in-reply-to:references :mime-version:content-type; s=qcppdkim1; bh=r8y5s/satLN+ZXz6hQpT y8LyMEbsMT1shxCuT2UR3U4=; b=Dc52HYGtm/fw6BtwCHhXAVaKBHXuJRKoKeTc QvGi2i757h7yY3JPS0tabWSvkX/zhrpDKUAmCzMD5wllxQG8sYxtGD3Tecjw7sv3 IyJQYxftOJAf7Q5dD4JlWxGJoYVkj1x0YlHeO8c5bfSabQ7jaegJUVRDWPetmObX lQiG+zMoPT8XgGU7ObZZZsOWxwoeLmbg6ENc/ean8U+dnIAcJll7+JFbBv20bcNz BKhjthP+Edfm/0FDeoARAZW+dwlWcxzqweZG3bRpQ9Tv3GcvDKiYiiZ2vlh9M443 jR6zLGPM8Rv7plrELH/BICutFnDTc/Wb2TsdSKqHRRDWSDHjuw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y3j28pds9-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 44FIDcTV024538 (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:38 -0700 From: Pradeep Kumar Chitrapu To: CC: , Pradeep Kumar Chitrapu Subject: [PATCH V6 01/10] wifi: mac80211: Add EHT UL MU-MIMO flag in ieee80211_bss_conf Date: Wed, 15 May 2024 11:13:18 -0700 Message-ID: <20240515181327.12855-2-quic_pradeepc@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240515181327.12855-1-quic_pradeepc@quicinc.com> References: <20240515181327.12855-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-ORIG-GUID: n6rH08rxGU0PsWDz-xHEiahQ4YZvmLVc X-Proofpoint-GUID: n6rH08rxGU0PsWDz-xHEiahQ4YZvmLVc 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 adultscore=0 spamscore=0 impostorscore=0 malwarescore=0 phishscore=0 bulkscore=0 suspectscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=990 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405150129 Add flag for Full Bandwidth UL MU-MIMO for EHT. This is utilized to pass EHT MU-MIMO configurations from user space to driver in AP mode. 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..bb8abe6735a8 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: in AP-mode, does this BSS support the + * reception 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