Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp955401lqt; Tue, 19 Mar 2024 08:37:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUGZuN293bBGTrCergV05xaOozkCD8jpQYM3MJZMWaUJzlOhZXLuOrEWOj5BJWNxPZBGieE0nlmkJqVHxVaxLDM6Im+aEQegMv7NahEdA== X-Google-Smtp-Source: AGHT+IEKYh4seIzqBTZAEJWgVZ8L8V3vlwoQq/IcsqKBaASH1hPms3suU1o8xQ0EZlv2D4YvChb1 X-Received: by 2002:a05:6808:3186:b0:3c3:9080:5a98 with SMTP id cd6-20020a056808318600b003c390805a98mr4624758oib.54.1710862676560; Tue, 19 Mar 2024 08:37:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710862676; cv=pass; d=google.com; s=arc-20160816; b=q1FDlyA+a6Q7pcDFJ8KbXDxBs1ypvjDA4FGuSutm53gKqbihXxNmg4IaYj94JVi7/D GjAWkrQnCSKMdunJfpCOVtx0LZ/bzIUzJdyJ4qVmPuCcm1upHBP481up15TytX+16Axu 1i7zwt3R9H9/1zTzEJGKyEXaA8Ph6s5Dugw7jWKD39J+M82DmLBnkrsicrRvmK9TXHsh gLy57bsR4DEPSyID8hPPDaKexzEgDpISkVb5Oe1NO8t5fVFithHezBibGid9ZMuWI8Au c8C8JGwNjc7MQR2J9zdBj601plznI4pRMkUhK8kpeERlEIVptVq+ZxHLg8lS/YD6DPU8 pOyQ== 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=Gjwgr/uB/JzHaXhvWi8JLRQxHSeYGVHw6DQDphoLxoo=; fh=NtCQihfeXCpQm1/EdEWAoz2MaJJOdoHy9qIKdchWKdg=; b=j42pf5Ari7SXd9RIF1SY6OIhb4l5A5EHikqJO9GD9GpVZ7mSPdoH5vu4xRqGGMUpqY EqWAaEe45yA1kSjFxYCl/QWTPPJmEqQauoKSr0FLbvxiSgRCL5/1mJKShNOpEOelDP9Q KETWsrguSNcr8YAxfmcnvXxgAO6OkkmyFcgjr0CZ5sQ3hldCHghGv42+mB9cH2+8lZA5 SWnx4+cknn8gK+Ui61MGuk5PZbRUK2/u/nA87YZH6vu1+GObraidZgDW7nt9uloPTH/r eivDNj+xndQpeLCW1ttuM4BG7LwJ/x9Srp+1LumH/74sULQttP/EEJubOEmF1Qu0KvBW deeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iBGIBcAA; 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-4909-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4909-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o4-20020ac87c44000000b00430ef942b17si734157qtv.58.2024.03.19.08.37.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 08:37:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4909-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iBGIBcAA; 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-4909-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4909-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 336521C21CBD for ; Tue, 19 Mar 2024 15:37:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDFB0657AD; Tue, 19 Mar 2024 15:37:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="iBGIBcAA" 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 337831F608 for ; Tue, 19 Mar 2024 15:37:50 +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=1710862672; cv=none; b=HokjtrdvGCRoXPcsZhRfAXvnMhzTNuGDK0O/eZ4X0xHt5DtKpi25lcu5WpOlFik145Vlv1KtttjlKC6FZ4dFfNCxtV9BKOEdXk3s/bT8vehSSJsrAGl7BIQCXPpzOfj4hehSGBMOSRa9zhAAMVhF1FVuZT185vQpXCw0rYn4FDU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710862672; c=relaxed/simple; bh=JELRXiRLrcD5mo8DgOIUZ3/rmwDuecETPo7DsToF53k=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=uS9s9guwkTE0BsE3DVVG04tK07TkjaqUM6hea0LWMbUSO+ioNGZqre1R/vHluLNBpDZRa4Z4ATIwoB2AK8P37vfnoHDcEG7ZHmHeaQLQ8SMhA/q8dklxGK5BKIRpO1boj/XIxMudWQKXHB8gLSRB0sBWG6XLL6VT85rC8rMVoGY= 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=iBGIBcAA; 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42JESjFC004824; Tue, 19 Mar 2024 15:37:46 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=Gjwgr/uB/JzHaXhvWi8JLRQxHSeYGVHw6DQDphoLxoo=; b=iB GIBcAAptLcH2IZSY0NI5H6K2at0Fue/b4vrzG2Xymdj8qhfX7C67P7uD51V2c5EN knGHO4fWscGS7m0SD801kRXxD3mDjg0dwoNQ1oO1JSjPUZNF0mDGgQRbqKylJPX+ LxwW0WOTzpopg9nUbMU4M8eLHfUqh7MPx49OBTpuLnDh/jiPYP6DFVtGANeUFxzY VKi88a88nFzq/QmOPG+uMFbroQVSaL/bELyPb7+AqJwuxw6j8IXMVqPlgahqnKmJ JAeHnBnB5mCNhtAcGlQSjxnutLQOdBXQLteK3E+Zc05xhxYIDH7R3m6feivu5X0m dUne547/qS8tGd6LEmqw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wy553ha2p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Mar 2024 15:37:46 +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 42JFbisD029504 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Mar 2024 15:37:44 GMT Received: from [10.110.120.226] (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, 19 Mar 2024 08:37:44 -0700 Message-ID: <75ae7746-99e8-4ee5-a486-6b2fc07ce574@quicinc.com> Date: Tue, 19 Mar 2024 08:37:43 -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] wifi: ath12k: add support to handle beacon miss for WCN7850 Content-Language: en-US To: kangyang , CC: References: <20240319023032.719-1-quic_kangyang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240319023032.719-1-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: 2TW3KMFxHQk8bF-84ur8M3cg1bCUnPkb X-Proofpoint-ORIG-GUID: 2TW3KMFxHQk8bF-84ur8M3cg1bCUnPkb 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-19_05,2024-03-18_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 clxscore=1015 malwarescore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 adultscore=0 suspectscore=0 mlxlogscore=694 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403140001 definitions=main-2403190119 On 3/18/2024 7:30 PM, kangyang wrote: > From: Kang Yang > > When AP goes down or too far away without indication to STA, beacon miss > will be detected. Then for WCN7850's firmware, it will use roam event > to send beacon miss to host. > > If STA doesn't handle the beacon miss, will keep the fake connection > and unable to roam. > > So add support for WCN7850 to trigger disconnection from AP when > receiving this event from firmware. > > It has to be noted that beacon miss event notification for QCN9274 > to be handled in a separate patch as it uses STA kickout WMI event > to notify beacon miss and the current STA kickout event is processed > as low_ack. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Kang Yang Acked-by: Jeff Johnson