Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp99419lqt; Wed, 5 Jun 2024 19:16:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYv4dSoN/bqK0iZhh+FDxPRpfAaQ/Q0/72F5XqkdQMla+Id4f35o7NWgnVXLjsuFYN5OrzHdporxBfHs3kOEqYHQ/dW/tvxanp8CdVFw== X-Google-Smtp-Source: AGHT+IEYLvrBSb/9OICojtpP79KjJ2Thf1vZ0fWrrVdGQcLB2l8X86LsulYGIqnqPTXoVl0jukw6 X-Received: by 2002:a05:6a20:3949:b0:1af:667c:38cc with SMTP id adf61e73a8af0-1b2b6ed49e5mr5131676637.5.1717640203139; Wed, 05 Jun 2024 19:16:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717640203; cv=pass; d=google.com; s=arc-20160816; b=iAZg52KphJZp64bqvaOdfT7WrAXmxJo9+x2jAtxqbRaUnRfxuf6wGtPl/K/8yOBQGQ 1NY6Ok9GayJQ7CEcWCOjFyw6l2emw8YmO89BU8qcMHksKQWWFgJsiFwzVgy/BJ8Xl1n5 nLj9SHuzL5dUw1/ER7HgsdMlecMzfJ0pU2QTAb62W3PaTpZndxMz+WCQQI0wISR104fT uQqlOYmdHLs55BAepdvhHiIoL99GTEYuOOlOz/O/0E+2afHkrwh2F9fdkf/5nQrJi/sL OB9B0ATS54wp/Owfr0QmiIc58B/sHeKU0uxbYXeZR1oDRqRougX8Ed8gVKIGAZn8O8Gg JRNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=r8njuQzuaw+5+HQcC33A4VDNXTJUrFMBsi8C0gnsJlM=; fh=OtSS4Qwc2M6Nx291wz0xGPt6MVgzn2kgh3qQFsiYTMU=; b=O4L3vvQi17/vCYCKbZjPe5Wu1Ljh9dxoUrv60awWpdwT2yXCjNgGV/qfk8IOns9t7K +Is6Pa4wRErz7lMZiQPaLaY4hvcAjk7bRnv/gtG1m1zpprE7+yC7h5Nz4OGoVTrYc0gv lvk82eraWbXHehx39ADeiPiDyZB7HlOI7TSQE3HdN++020sBwTBekJGBUdiA+kskTKE8 CbjuNHQG5GcOEUsCxdqhKO05WLA9ZarfBUdL5G5z8Y/2f3qOSOSPH5XnZuQ6Cc/cmOAs Ew3WTO1liTyeGokOE7+rhh72yUP9Z0mDT7WZWH40Oo8XE15cMfhdm1RFRkmGQbebD3DA QgwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LhIeqkCB; 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-8592-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8592-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 d2e1a72fcca58-703fd55fde6si270992b3a.307.2024.06.05.19.16.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 19:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8592-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=LhIeqkCB; 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-8592-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8592-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 96911287B2C for ; Thu, 6 Jun 2024 02:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47D9719D8A4; Thu, 6 Jun 2024 02:07:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="LhIeqkCB" 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 8AD141759F for ; Thu, 6 Jun 2024 02:07:15 +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=1717639637; cv=none; b=ioRfJc9jo+sVRUUz4XNuXEUGzP5VEJl/8aU7sKjkBkeMy3OzOw5I+ZdAWrRDdI+IVG1DsRuC32FFQcjz7fBakzJ3HX/C+be9dLJfVyShKwE3TTMuS+Lm7e1ArwHDkUzlpSiucAXdyXcKRlO5Qc1dt3ddRtIgz19tKwyHL0TgzeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717639637; c=relaxed/simple; bh=SA5io7JC3lZfnJ69x2VKNjRXNi/8dEPFEEyvwJwTUJQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=LsKJR8q4easmo1Bs3C+TMkDdSeC/HTJAqUmfXLdcI/Fwg2g0U8vQZv2arhbG6otkG0h+6J0as1cbaMlD6Inxy+PAJaO0l3uUEi9lmO/rU+agrGWSBfDcTFRbPNt5mfUAxysedck8zqD2dFJ4bh7GQk7QNqG3+/9xlh1zK4dVMBM= 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=LhIeqkCB; 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 455LVaom031023; Thu, 6 Jun 2024 02:07:06 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=r8njuQzuaw+5+HQcC33A4V DNXTJUrFMBsi8C0gnsJlM=; b=LhIeqkCBMqOpMxHCKG6lZ7IsVQuGxpTky9VHbM 9+bGfhAlfQKcYEqdiYXnBbWrTL4DMpcQ0+TvWW0hqTeCqiR8OWT6iCKvsAwGbJuw so+YK5NK/TQ86xgYkS+V4ScfLDzmNAtPQuYAjjjihH+GtDHY3WuHDyTCEM1D2owX LAO+6PhX04vvwTagc0ACg8CutSkBPkhgZgvULmAZDMcABZy/A35pPOeQtEMiRvm1 /dEBBHRyXnHN0FJJ9bervZx18EgiWWx9A7PvKfB8HHG4pQO4deWkXW5EBRSozece t+fB5nsROvresnXvl3ZzzwQNRbBdDInW/yBUCtN9CHD1oTfg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yj87rkktd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 02:07:05 +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 456274bq025307 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 02:07:04 GMT Received: from bqiang-SFF.qca.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, 5 Jun 2024 19:07:03 -0700 From: Baochen Qiang To: CC: , , Subject: [PATCH 0/2] wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he() Date: Thu, 6 Jun 2024 10:06:51 +0800 Message-ID: <20240606020653.33205-1-quic_bqiang@quicinc.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: JAMCmeMwzNHWOTPsDjn9QCISX_nsONjF X-Proofpoint-ORIG-GUID: JAMCmeMwzNHWOTPsDjn9QCISX_nsONjF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-05_08,2024-06-05_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 phishscore=0 impostorscore=0 malwarescore=0 bulkscore=0 clxscore=1015 spamscore=0 mlxlogscore=691 adultscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060015 Handling of 2x996 RU allocation is missing in cfg80211_calculate_bitrate_he(), so add it. Also fix a typo while at it. Baochen Qiang (2): wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he() wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he() net/wireless/util.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) base-commit: a116bf2be795eb1db75fa6a48aa85c397be001a6 -- 2.25.1