Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp335029rwb; Wed, 18 Jan 2023 18:37:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXtN1RUsarQZMwI3dPHXmPJy75sukxiwMMyIsHK7BXWhZpU95qrFhheJYVL3GVBTmmj1yjFh X-Received: by 2002:a17:90a:1286:b0:229:a39:2ad8 with SMTP id g6-20020a17090a128600b002290a392ad8mr9191543pja.37.1674095840920; Wed, 18 Jan 2023 18:37:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674095840; cv=none; d=google.com; s=arc-20160816; b=e+RgnrSmAuW43Owvdas3bidQCsf7o5qBXZV7TlntaKXsz+dNSj7bgWRrACnbJ/ObPX 6Cl0GMEZgWYM9ys02F+hzy6qwF9I0Jx71EumE8M5locc9JumxLBd74kZQFsi+Zlp1PeR uTX0ubUI87YZyWh1lG/+daLup/XgQkztPBTe11zm0hyoB/rlzKPUzOa37fqqJBXiaHlq hlsV/ndEkN2PS0Mxu8yVUinLZQFXJZzp0ZTvhQzrlcCDO/ddD9j8XFpMzAkMm/JWX1eb WXZPdogl0d/EqWCYkUJNUn55ytztntf1XonM8iNRX6DHicniVA2Og5p0DJ2L4imOLkvA 8hWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=VDBgZocVNIvdFGamlrSv0BYmZJ4ngYG+mkW6MKSc6ko=; b=IDLfbBxVnpw0cDxNM7ic7oikJEOAEJmNMaWKiy+aNsI4TObjVQWgLKrEnsEPzauXnu Q2mBEZcO2VWXP4GJgxVl1Q55l7EdO5H8w9kDmQh6DkIyNiiNwJGRKFKS/s8CjupSxEuj +2+27v0IL7X3mQSCmYaL2hf3JexVfyIX2+X++Ag6mRA+EcRaJrMZeptWF5bku3IccatI g4Eg0X/AsBnnTTDY5B6yXDLdyeGTOHP+Nki9BfhRTO2O+XsDps45JXEe1f9Bmj9vBKFt o05AQ9yClUwHzpE45olcFy/KadMWZu19wnWmztdGAGK6gxV0z9Aop3VunfeXEMgyyjtU Awhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dfp3uLyL; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020a17090acf1300b0020af2411705si3670610pju.104.2023.01.18.18.36.59; Wed, 18 Jan 2023 18:37:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dfp3uLyL; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbjASC1I (ORCPT + 63 others); Wed, 18 Jan 2023 21:27:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjASC1A (ORCPT ); Wed, 18 Jan 2023 21:27:00 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE0B5A24E; Wed, 18 Jan 2023 18:26:47 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30J1XYNn030513; Thu, 19 Jan 2023 02:26:41 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=VDBgZocVNIvdFGamlrSv0BYmZJ4ngYG+mkW6MKSc6ko=; b=Dfp3uLyL44ICmW7/lbNe7UieOTk3xkymZr/HMOiighaViLB234Y9F+VugF0/ggQaMOJr u1gAxnaOrJ96itOp3DzRMDUSPhW+8/w76wFlcV7EAWig1iumAoAyXLUS0JaedsKAZ+o7 B/azYP3fkPS6+uS1ly4J8zn6AbPM1zS3wwx09YRu1f9eQYxsRVLezE0JCQ9eyHdw6G7R UQCL3Dr/R/KJUkpidTRGiQ4SYZiXBnyFAvZW/h2cXQEDkuAG28vcgx/O7X6NAmOYA42H LVXfnAV2olmyqfrki65OdRhiwFax7ZZM7z77kj3WYQNCIABymaRSTZgtLdTNdhPNZq8d aA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n69dpjcgj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Jan 2023 02:26:41 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30J2QeDu027072 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Jan 2023 02:26:40 GMT Received: from [10.253.35.168] (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.986.36; Wed, 18 Jan 2023 18:26:38 -0800 Message-ID: <17047ffb-9c68-8339-a339-c51a2e721083@quicinc.com> Date: Thu, 19 Jan 2023 10:26:35 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH 2/2] wifi: ath10k: update the channel list if change in channel flags. Content-Language: en-US To: Youghandhar Chintala , , CC: , , References: <20221222124221.30894-1-quic_youghand@quicinc.com> <20221222124221.30894-3-quic_youghand@quicinc.com> From: Wen Gong In-Reply-To: <20221222124221.30894-3-quic_youghand@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] 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: 6si183OF6smCH7z2XMhkPHL7EJ2wpbXz X-Proofpoint-ORIG-GUID: 6si183OF6smCH7z2XMhkPHL7EJ2wpbXz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-18_05,2023-01-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 priorityscore=1501 adultscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1011 mlxscore=0 suspectscore=0 impostorscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301190013 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 12/22/2022 8:42 PM, Youghandhar Chintala wrote: ... > > +static void ath10k_mac_beacon_notifier(struct wiphy *wiphy) > +{ > + struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); > + struct ath10k *ar = hw->priv; > + > + if (ath10k_update_channel_list(ar)) > + ath10k_warn(ar, "failed to update channel list\n"); > +} > + Will this called while scan is running? On ath11k, if send channel list to firmware, then the running scan will be cancel and removed. I guess this is same for ath10k. > ...