Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1156025rdb; Tue, 30 Jan 2024 09:24:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNy4+D2eT/6ZdUIUP36regC53xvQqxCyQG5V1yeBX4Rbkb2o5zHPtR4rhPOdMd/+zYulSW X-Received: by 2002:ac8:5782:0:b0:42a:6658:c696 with SMTP id v2-20020ac85782000000b0042a6658c696mr7837458qta.126.1706635451618; Tue, 30 Jan 2024 09:24:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706635451; cv=pass; d=google.com; s=arc-20160816; b=ZGr1cm9xvupc6PLl7Tuo7JA4NVNGrnHjgkml8JIGnQmKcFq0CTiXAXKHHlTGfOnyXw Bvt7O8rVHdZ9douuzNHWtloZLqMi+FIiX8LLIu5p19yq/Nm1nA4AB7hVzKs+edMv37FL U/WVxjzd195WtRGIyifjymaz/zLgKoTXIPodPJaMQpb1oX+unV8YIFX16xRpNGKVBNoE 2U0Tv95BCO8Wam+29u2hgEko6FC7hzdCnINd6CauB/7E+3FIdEo5tm9QbfkcaUYUeIwO z70ILudZI0ibdX01PFnT1W7C/6U3hV/0PV3EEyQO2NHK1hnZ5haX+msxsc+vAQ6nzNoV LRSg== 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=1HNVLDtd85ifl9duJnr5kt0j3/uI6aaehxzHBCZO6Do=; fh=Ss+0G+It+/usxujwIFoIZ7/KN/IX/UIaE8AIK9wpI6s=; b=LFqORMbEa0+vXgbY5tdyIIkKIXqKSUkLM16rGKwLUuV6peaFiw4B/3rvVHISAeI2ji 98tf8K045G/pXMVrQA+Nuo0VvS1+thmXuG5CilY5O7cEMMqxJm9cedBhEpf220EaMrc5 vQtH3N+/SGMq8/in2nhQ62hqjc4Ntqg5d/CBWMPMcr7O8tFtMrPK+T4oLHQrJDf+0Lmz N7fCw6CQG7FYXi2wvIhKOOQxdIAUuVwC1BPXxY+Nw5pyyhXzeFUMhensfR80ZoFtp3kp 5vQe1dUvu/3BeiAqbpM2x1fVkMg0LK+qMh8+pzK0ww/uGB0540GsMR8btHuNqmNyHzNk vp6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fcwEEQHq; 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-2844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2844-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; AJvYcCURBGksppDEDUgJ7VrlHOM4Oh2vo4IwijudthJwMWU3f6PsYj1VjpIkLgB/Und152JPTVis/gy8JW7My0Mi/OLwLpTqLxRmSrEi0ZjcMA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d5-20020a05622a15c500b0042a23db2e58si10338454qty.789.2024.01.30.09.24.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 09:24:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2844-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=fcwEEQHq; 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-2844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2844-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 62C1C1C24595 for ; Tue, 30 Jan 2024 17:24:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6679D1292D0; Tue, 30 Jan 2024 17:24:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fcwEEQHq" 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 CEAEB1292F0 for ; Tue, 30 Jan 2024 17:24:08 +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=1706635450; cv=none; b=YNy24H3qOIGucoNnH5SGiEi2eoU5mwNJKZWBUa9KN5AJpKWqZbTmEqr05AxwoFm7wIe6c+4Ag3bpUD4IPeKxTF0X4MNG4VMAZEWxPcHvQcTKPbs9J8u3ppwcRXX5hBe77LeZNkgPZ77YhaFGTMBiDEyjN2OkHK78SJmhgvsoViI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706635450; c=relaxed/simple; bh=AIPlHHhdnXzCrwsMVMktbvjUf8l/fo+zp/nTYpc2mLY=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=caGMrrPC1qmhBR+Tb8P+9CEwh8khg5F+l5krsewpKk5SitlT9lbSNdYd2QhN6NfbYRWp+i/RH52ipHG5IHdpxYxmUAtig/gDj0WdkcJqsgxmTvBDeQdew1cY+aT8X6o2/Gy1AAID3T+077tMbfqBRMafUXDonZzeEw71PfVZNV4= 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=fcwEEQHq; 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 (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40UEME4p002442; Tue, 30 Jan 2024 17:24: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=1HNVLDtd85ifl9duJnr5kt0j3/uI6aaehxzHBCZO6Do=; b=fc wEEQHqnWeyxPpBSlg+eSrdLJk+Rs/FgxRvBBa95KVtM8Oo5hEkZfG+zRKDg/ANPB aOskeJQpSM7KPGPdB0ITkJwquVNaORahkVXKFSXrWAV6fbLaaRhHgvOPNs+PXs/J /j1b9t81ZEtVTAB+EoEc8k4NQ6d3HegEhLhIBIS+j9uNMCMPBlDvQSZZyWPcv3ji O0MMb5OwYeNs0IkScFuMxhX42Qer/ivLejODLTsTsmPamkwit4Ywr9LXmHZMTJPE Rc1LD3Wsdr815iLScnsMuoVN1vZ8uWWNNX3TUbGQM5ja3hMFjZXCjn1gqL1c+EYS uQd84drD/+bwgKQvEDkg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vxtp31kv7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 17:24:05 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40UHO4Yq006966 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 17:24:04 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:24:04 -0800 Message-ID: <940e9774-efd6-4964-9015-9c058134ab42@quicinc.com> Date: Tue, 30 Jan 2024 09:24:04 -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 09/11] wifi: ath12k: move peer delete after vdev stop of station for WCN7850 Content-Language: en-US To: Kang Yang , CC: References: <20240130040303.370590-1-quic_kangyang@quicinc.com> <20240130040303.370590-10-quic_kangyang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240130040303.370590-10-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-ORIG-GUID: nS5slaC0I7J-Syiv1BKjxusMv5aF8MfS X-Proofpoint-GUID: nS5slaC0I7J-Syiv1BKjxusMv5aF8MfS 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 suspectscore=0 phishscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 bulkscore=0 mlxlogscore=882 malwarescore=0 mlxscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401300126 On 1/29/2024 8:03 PM, Kang Yang wrote: > In current code, when STA/P2P Client connect to AP/P2P GO, the WMI > command sequence is: > > peer_create->vdev_start->vdev_up > > And sequence of STA/P2P Client disconnect from AP/P2P GO is: > > peer_delete->vdev_down->vdev_stop > > This sequence of disconnect is not opposite of connect. For STA or P2P > GO, bss peer is not needed by firmware during handling vdev stop > command. So with this sequence, STA and P2P GO can work normally. > > But for P2P Client, firmware needs bss peer in some functions during > handling vdev stop command. The opposite sequence of disconnect should > be: > > vdev_down->vdev_stop->peer_delete > > So change the sequence of disconnect as above opposite sequence for > WCN7850. > > 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