Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp77604lqe; Fri, 5 Apr 2024 13:13:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/9zKOh/mvbENssyDFPK9rWe8N3wlaQd/HYXb8ztrse0lymeWAKo3fbVA1984UpebiQYvbnKmnKSx6lIGUcHcZMTYnAKiTnzrmgAEatw== X-Google-Smtp-Source: AGHT+IE438rpHSfFeEX/RD8uZnUxGBS4ZwoIFdZDyxLQw2yUC747aTUBbg2VAekpZMepGY3kD/0H X-Received: by 2002:a05:6a20:9f0a:b0:1a3:571b:13a3 with SMTP id mk10-20020a056a209f0a00b001a3571b13a3mr4115865pzb.27.1712347997504; Fri, 05 Apr 2024 13:13:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712347997; cv=pass; d=google.com; s=arc-20160816; b=BgvCUjmCclFs+nFL7DY2Y1t7xx5H3OJNaxLSsg2TszB4vl+wXFuLzsfN7Eiqebi27t g+ZQ5DnJF/SEHp3wHryr5DFN2f0RqU6S6SPwvNV7taZUUYJCVJmBteuXReNeQmvxGD8p sVGy5SkblMHOqN95lSAmkE/Fahms+vmwPBSSxoBK0tP8/yKTae18JVwrk/IU9FWVRd7G KghrSpnEyhtjK1uuzS9cO3wyQ81bQoShRdus+vM6cBl5qCNvfHfPjMaey+7u/HGtl9xE blN9LiDiC831Z7/TKihtyGvIMU3YhZF4UGyo6lEPsBtgiIi6Ok03UbeUGnwZ3RUuBKbi 6G/Q== 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=YBsMMbcryFsQhLVqNfUH95wz0PWvf7S85kA93QV9pC4=; fh=m3BbMyle5FmKhSwXF4lxNSoqPsdpKggMMiklpXSUA3M=; b=GcfMIsEYT39pY28PMgqWFh6g/vlEesCPdODjnIZCXR8yVrSJr5XCMetCja4fUahBlk VMcSXqYl/Y+ZH6lT+YvST5O/3+V9xIG/iIyVaO5debByAmAhP7UascI3Muk0YkNgL21m yWDwItSDWjDpiZ1Jz44MNrvA9nE94gC0kuerc0eQyPW178Hb7GPbNxk4iIJP2YMvuf8X 8zR202R9KwppfZ+j3J9ekdusJ1stYW941K9U0EEjKTkq6am3PZGCc+7booGUZ8djnrWy bjrRi7RsLsCZlCMvvfgYVd8UGtqGUnshS3sANOish7Md9m73MnlnzQz/DNhegterKQSt edfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=L6jr0VXh; 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-5931-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5931-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 f18-20020a637552000000b005cdc5c9d6a2si1958063pgn.576.2024.04.05.13.13.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 13:13:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5931-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=L6jr0VXh; 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-5931-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5931-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 E435A283357 for ; Fri, 5 Apr 2024 20:13:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A835171E42; Fri, 5 Apr 2024 20:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="L6jr0VXh" 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 716A5172BC7 for ; Fri, 5 Apr 2024 20:13:10 +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=1712347992; cv=none; b=BzOOKSLbeLNIj6GTgBDvrNA9Scd5p6bRF1ya1E47sfNXY5PJEkK9JkeygHLQ4xI+VuuYk+/dnlMz424Q9Y42h5uZdI4KozwbZtaA0R7NzmNGTx3WvD5C1BHBwHZICbNWD0d706t1UNdyL+WFEXl2afURFVD+eS3M9FrfZGZTSLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712347992; c=relaxed/simple; bh=AQPFArEZqCuGYfA0Qvl8Fsd/8LD3o3S2IGR9hNzEMGU=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=ZjwqcGYB2A7ISgvuyJzRqqqSIeY3N9oAH19Q9Ibjdi23TbZJswjIlkZZ+cjeW+Iiw91mm0AQn+dusq957K2ZT3Lwyb0RAGgNkvi8zUonmRv6KWbOqa2ECTDshQDw6caot13M1CWoAAyXMj7/FfuKQY+eT8tojyRN/M4KVuI3wsc= 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=L6jr0VXh; 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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 435F7rJD012548; Fri, 5 Apr 2024 20:13:05 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=YBsMMbcryFsQhLVqNfUH95wz0PWvf7S85kA93QV9pC4=; b=L6 jr0VXh45YOWLbSr9tmYBmHXdTcz8AeJedHO7tC6LfyPpWVC9bDAmYx0bCQJo0lVz R03SwNlsOjyf3Jn8EVqJE8zThfnjxZ9jWDvx9LBr1PZbFexgHuAlOo3pHbW/tbTE rhVAj+F5NG5EFwRRxJmtJF0bvMVnH61ztPM4xShEXzPLFe4B1GmM0YcOacP+ChoM QXFLO3+6jN3XvpxrlHXIs2+IZwASvGsL4mAFazhUo2XQQaxJYClMrfJTA1m24Iz6 IRRe1KeSzwBqUhQ+PCzV9J+PE6bJOxVg7D0r+l9hqKerZWP6CMzeod4C1B8koNPR 4ZwyniDzpavCBUnffH+Q== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xa8fc25n4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Apr 2024 20:13:05 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 435KD4UP012396 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 5 Apr 2024 20:13:04 GMT Received: from [10.110.127.230] (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.4; Fri, 5 Apr 2024 13:13:03 -0700 Message-ID: Date: Fri, 5 Apr 2024 13:13:02 -0700 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 v7 07/12] wifi: ath12k: Cache vdev configs before vdev create Content-Language: en-US To: Rameshkumar Sundaram , CC: , Sriram R References: <20240405194519.1337906-1-quic_ramess@quicinc.com> <20240405194519.1337906-8-quic_ramess@quicinc.com> From: Jeff Johnson In-Reply-To: <20240405194519.1337906-8-quic_ramess@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: _ODo3HHmWWl4lN_45TeEHrZ961wEr3s3 X-Proofpoint-ORIG-GUID: _ODo3HHmWWl4lN_45TeEHrZ961wEr3s3 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-04-05_23,2024-04-05_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 mlxlogscore=670 bulkscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 adultscore=0 phishscore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404050143 On 4/5/2024 12:45 PM, Rameshkumar Sundaram wrote: > From: Sriram R > > Since the vdev create for a corresponding vif is deferred > until a channel is assigned, cache the information which > are received through mac80211 ops between add_interface() > and assign_vif_chanctx() and set them once the vdev is > created on one of the ath12k radios as the channel gets > assigned via assign_vif_chanctx(). > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Sriram R > Co-developed-by: Rameshkumar Sundaram > Signed-off-by: Rameshkumar Sundaram Acked-by: Jeff Johnson