Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp918265lql; Tue, 12 Mar 2024 01:46:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8oB6vzHlrkwKIRlm1C6S4X9omYe9Y6jhDKqdBwZtHOk7vT9Vkj+1eHLTtfiYMZSLU9rScl1MTfr3MBbENjVh2YCl927eiDek478J4Bg== X-Google-Smtp-Source: AGHT+IEkj9taZWZls0u40LuDIC0VdosoqcqqZy85C7B5JNHd6lq5fvwGifP/nmo3LU+WrRm9ZX+v X-Received: by 2002:a17:903:2349:b0:1dd:ae5b:86f1 with SMTP id c9-20020a170903234900b001ddae5b86f1mr3446327plh.29.1710233170160; Tue, 12 Mar 2024 01:46:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710233170; cv=pass; d=google.com; s=arc-20160816; b=xbqXDp/oJzAiRdTnahKYIC8GGoDkeuksPEr2U/DeaQHjagQw1YQhCl892LOnhjLbGx yHCR5EcgpnIMAPzlF9UnkL8XkWnN8iUr24IR3Tn9xobP15Kl/i3mPy6AZC+ZrqR7FSnF 3ECqz1VCAUxZVdG8/XG+rhlhrpuFkGRMlNgJNTaXp3B4nXGFCqx4idPbLwkNgxJylaJx H5UGWMXesJphPKKcAH08tgriv2R3NTVbJKeI49muTMyf64BYtABTNqmfRjPkZsJRM7wM zrqJM2XlYPEUkvD3Pb2LwKAejogJy4AIfR4HM4ctvvTDTLowHBj7CeCbdrQ5CiEKCBKv I/TQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=1+rSUVWfCzdIkoheg30LFd7Q7z9zAOEXR0rnTbQBLXc=; fh=qS/ownCzmKEaYy+nQOSYXIyB69zPabuRQlWPfFyt6ls=; b=lLFbFwhwrOLI2JEemcHo4PKv1yi4aT3ZubnjPlyyv3tunQ8pKx/u8SgF6IroY8WkAF vKc+j8HJCG1cG/rPZ2g3FNXwggJm3CCjiTgLHErjIk0VxHk814O6nsPo32gjCIYDdoPF SjbLzVE5ioyqOBKCIyPFxUQD5nNv+PPea8kyAxNpEZ4ltYNvBV+k+igyG/4BsbaicLXL Jr1qLs1yJk0Vu1CdA96Kv0TEhYTnP/4NGTRVxYCgJ5lrcJlfyfH6FWwSqM4h/cxKO4rz AD5yA/e1ZSQo4yRsVceAnSTsTUn8smSVN+003er1O9OlOztA3TDMPLZEYwv/XR+Jyi++ tLcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EiWhH4Pi; 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-4591-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4591-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. [139.178.88.99]) by mx.google.com with ESMTPS id h6-20020a170902680600b001dcafce30f5si6108224plk.424.2024.03.12.01.46.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 01:46:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4591-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EiWhH4Pi; 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-4591-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4591-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 B5F122815E6 for ; Tue, 12 Mar 2024 08:46:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C90FF77A0E; Tue, 12 Mar 2024 08:46:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="EiWhH4Pi" 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 7F82777A1E for ; Tue, 12 Mar 2024 08:46:02 +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=1710233166; cv=none; b=Dc9bS+t294B9nZ1N/rd8Ge+rHkZHab65kyF1xofoNVYEUnYbHnrvzMNULImMdqXQW/Z5/aHdcEF/dt+v091G2L4HOHM4BjnkFnq44bznRl9vhU7/ooHdjlu3zPaw0HOO62CQOC6SSsndlTvfKdSWVSwWoYzmgCn8MywKkGx1Mlo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710233166; c=relaxed/simple; bh=5Lmee2aKeDzUsom+LMdI8CHYrYhgXGTVGomld06XDH8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=h5s10zjkPl1Ijh6TYNbj1D2meZhE+JJ2dljnaURFjhY9h83wi+c2SfX112SK+DbBaVQLKWMTd7T8LhWGyUAp3adih6a2SuIZIidvZh6I2YJBhzSpobnV1PlYH2r4ynCvt441WeBttcNXKOFvUEmYcjTOE43AMMfiOY3C9+S5jpc= 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=EiWhH4Pi; 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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42C6POe9024085; Tue, 12 Mar 2024 08:45:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=1+rSUVWfCzdIkoheg30LFd7Q7z9zAOEXR0rnTbQBLXc=; b=Ei WhH4Picu7hRHM3oOYSk3zwHomcSPWZVQgMGQZutLMYsIWJsAJ1JhDBEAXCw5Q8XD Ork87I7+/JE0jqjF8kcghnBqq9BktUpAY9FHhkgtVmL93l8zHMgDg69FZErYn9dN 4QoH7m/DfF6gXh0FS8JmpXoXlZl8fpNirYYxyOgKk2Z0f45tFR6pgHjILiYmgBCE H/p5nyyLhl190vLH9ctP8HkLLbm4hwe3atT77PShLa7qIrjWsAZRFXzCAFfxyH0y 2Hlm2PQnflg9v3YJI5HVkoiUtvWp89ayKToFygcmkGo+42mLsxmxKpenfkDsBUAy PEWqpjoOWnYKPsmqlV+w== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wthqfr81p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Mar 2024 08:45:55 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42C8js5P011980 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Mar 2024 08:45:54 GMT Received: from [10.253.9.188] (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 12 Mar 2024 01:45:53 -0700 Message-ID: <3250c791-fb06-488b-9736-aeb0c8d48a42@quicinc.com> Date: Tue, 12 Mar 2024 16:45:51 +0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] wifi: mac80211: supplement parsing of puncturing bitmap Content-Language: en-US To: Johannes Berg , CC: References: <20240312045947.576231-1-quic_kangyang@quicinc.com> <20240312045947.576231-2-quic_kangyang@quicinc.com> <8cc7e7f7b2914385b481ecfdd7bc3f67fc4546b3.camel@sipsolutions.net> From: Kang Yang In-Reply-To: <8cc7e7f7b2914385b481ecfdd7bc3f67fc4546b3.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: IT9hNNU8tNDBmAku01N4_fWcaE3g90h2 X-Proofpoint-ORIG-GUID: IT9hNNU8tNDBmAku01N4_fWcaE3g90h2 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-12_06,2024-03-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 impostorscore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 adultscore=0 mlxscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403120067 On 3/12/2024 4:16 PM, Johannes Berg wrote: > On Tue, 2024-03-12 at 12:59 +0800, Kang Yang wrote: >> Current mac80211 won't parsing puncturing bitmap when process EHT >> Operation element in 6 GHz band or Bandwidth Indication element. This >> leads to puncturing bitmap cannot be updated in related situations, such >> as connecting to an EHT AP in 6 GHz band. >> >> So supplement parsing of puncturing bitmap for these elements. > > Hah, yes, I just noticed that too and fixed the second part yesterday, > and was still thinking about how I could test the first part :-) > Our AP could set puncturing bitmap manually. So i just add printk() to check if it matches the value sent by AP. > johannes > >