Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1155980rdb; Tue, 30 Jan 2024 09:24:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFzSzDNUppTYvPD7pAOmlPIuB4qbgIHbheTj7eJ4yF7Qbut+d+NPuP0l9Gf1a+2ze5u7qq X-Received: by 2002:a05:6214:411a:b0:68c:53bd:d0d1 with SMTP id kc26-20020a056214411a00b0068c53bdd0d1mr69901qvb.76.1706635447439; Tue, 30 Jan 2024 09:24:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706635447; cv=pass; d=google.com; s=arc-20160816; b=uJVoJwKqdlqnfTPXCMnGQTEYcLfwDlx8YM9wYQTN2A1hZ/Y4pZ6HeScscxNueszJcp iMM9KDGuJnHer9siq6jE7mNlbc6ee9WiyOfqQKP8B8Vag+N8RPZM+s1JoG38TZniJBaT +Qz9qUtApcpBa+AkMCd1iLVMIhRRC4HXwNbieTa48KVCVa2gpElMxiUbGOmA6MuS+FLJ KDa5n6sC1Yb5dZP87HaU3FsYfTrznwNSwItziNpNEjQiTvVCEqhSypvcC4dN3Tx0WN3E DSvO+S1J7gSPMbtBt3QH+JuQpErP5K9hm4fMhlpEq1OcDF3Sit61xvTbxoHzQxszpJ3G oj4Q== 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=gUCnpilmKyq7NCseGbW/MRAYpQO6yQXVFh9XTJwlQAY=; fh=lqI5GQpFFE0r1C5EV8djMj4XcH7joQR8PHiIMmriyNA=; b=PZnUY38I5tVN7GrhucjDyQs9C+ZFky9zCBZDYN1xA6W90p86NFmer/BS8+jmz5Z7Pm OHHVrtdB9twG5i4pSlB1p414Hk83SowobFZ9QtTT8h2ZOxumLFBlg/My+mzxJV778hCq ScISz3oaUPMYKinod1/bCiAsldqWUIK2VXaY4JHwJA3wGWel/yZ1B/HXAcuDGYjHoq+N ZHUpTQmqry1PG2LdYkSCTD6YUyVotu69p1OEUPYQ6EUohnSV9HHmGmmyHBFTM5tNL47L 0syWCKemujhW+7KG9JV/JS21LJDxzWPhbuE9wSuQ1xgQeYS3zJJVgmhdavdRbDYxaRWK YJ1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Cf9fn2J4; 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-2843-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2843-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCV+D3WwXGvmDZ7CmeQwgp3NGzbvoZ+l11tOesSlt9D3KWrDfi+1iUViwmWxurT0SiwLfcDRsQlf/zCFl0pdmzVlvHwm9HUHxHeFkZRr8w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 3-20020a0562140d0300b0068c488f0cadsi5836887qvh.592.2024.01.30.09.24.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 09:24:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2843-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=Cf9fn2J4; 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-2843-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2843-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 33CBC1C23838 for ; Tue, 30 Jan 2024 17:24:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05DCF1292D0; Tue, 30 Jan 2024 17:23:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Cf9fn2J4" 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 7CD0312BF16 for ; Tue, 30 Jan 2024 17:23:56 +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=1706635437; cv=none; b=Ovqzz72z5r0Ec/et3lAK1cBHh9F1IU3Jm3Lr1o4fe99/np4qFTUZ3U4ERuIWeg6jaLlsoheFimPHifN9q11c4Xk6lhN2w9tMzl/mSv3h3M39GluAMJ941n0CSmoIa4lEYspMEtkZmqb6LTdnLwkOEpw83/VfoFQkeEjkIZ1bCnw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706635437; c=relaxed/simple; bh=mjfU6lGj6CY35BgSwlrSB8SgpCAMBysP8zmS6P1HycI=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=UneZvyLuFLbJIyyBmNI1pUzQVuxybbgQxfgcuUyUHIEYZkxMxYIWqsILgoanx/xJeUK5qUAVHlvnQv8Py8zTaYWd/YeSI5qVIT5VatCyI7OB+08eGQEFxzoVKCcxltP82H18h5Soo8ViAiR2sR6kbgNCnTLJ2YsJr/MQ36ty29w= 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=Cf9fn2J4; 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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40UATbOj017586; Tue, 30 Jan 2024 17:23:53 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=gUCnpilmKyq7NCseGbW/MRAYpQO6yQXVFh9XTJwlQAY=; b=Cf 9fn2J4lND4YFahMDU269Dq8ANbC/qH5/TNMYJ5hOuuhhapoVRwpvTBUCfI2hChSe MuhkiK+y8ynta86EapQ7sYH7cVx+mySGakCIFG4DB9pFAgyXp+Hx3yrTgogHRBiq 0VWj+l//MHiggwVziKsyR4dgDpKtBSi1xdWtRoN4kcnXXdy3lQA029z20SQQNIlh wIusdqX0SFCCenO8uW2hEnkEyA4jhiJ7B/rf+b3HMSXJqrkie1we5sUKJmJwVQWv OW/IDNPerFG8adfnGgw7iI2ih96fkH6rEjan2pYrSwK86F0m8jxffPoOclHPPiC1 5aYaWFaWZvsdzpPeLUWA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vxvve1b97-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 17:23:53 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40UHNJjx021977 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 17:23:19 GMT Received: from [10.110.47.232] (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.1118.40; Tue, 30 Jan 2024 09:23:18 -0800 Message-ID: Date: Tue, 30 Jan 2024 09:23:18 -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 v6 08/11] wifi: ath12k: allow specific mgmt frame tx while vdev is not up Content-Language: en-US To: Kang Yang , CC: References: <20240130040303.370590-1-quic_kangyang@quicinc.com> <20240130040303.370590-9-quic_kangyang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240130040303.370590-9-quic_kangyang@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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: hVS0Guhiq1hO7SPvPaN38Bfl4HGf_5IP X-Proofpoint-ORIG-GUID: hVS0Guhiq1hO7SPvPaN38Bfl4HGf_5IP 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-01-30_08,2024-01-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 adultscore=0 malwarescore=0 mlxlogscore=746 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401300129 On 1/29/2024 8:03 PM, Kang Yang wrote: > In current code, the management frames must be sent after vdev is started. > But for P2P device, vdev won't start until P2P negotiation is done. So > this logic doesn't make sense for P2P device. > > Also use ar->conf_mutex to synchronize ar to avoid potential conflicts. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Kang Yang Acked-by: Jeff Johnson