From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 77F5635898 for ; Mon, 6 Jul 2026 04:44:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783313088; cv=none; b=QeVDOS6xHhPK050GPl3Ml4vjJN4O/XGnDgesYvLA62w88DHrdtbsrpJVjdmPrSDAV4ORdeLlfk0ZPKBlpZc4gqrhjrBikLzvrq4qy6YDksiHnql8XLv29z6NAUUPCgQHhym9e3lVgkJVB3iq0ar+3ajkY2gtrTftjgtQd5PsdjI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783313088; c=relaxed/simple; bh=hFfAQZz6tSzEHl1Hb7IEkv06RShSwBwpP23LwDDXuxc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YqMaIE7Wvitaqf20Rs2CatrIiOs8Iyi1rX5Gbds6Qq8FGQmww88LOTP6JpBjcpvtJCZ6zZQG4ONGOlqY5GZ/PtqqPhy22bC8LdGuwOsRjDas5RvFZCT5tVzQnzM7Q/CoqBuEneB+5vXc6xhsKS5B6zytQJeGhldvKDb70GbJFSM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=GkgvlNG4; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ALtfCdai; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="GkgvlNG4"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ALtfCdai" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66641cx03470523 for ; Mon, 6 Jul 2026 04:44:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= e8uCEnvdXlL4V0kIs2HNz2HP0kgpCCW/AbbXVNw+D60=; b=GkgvlNG4VS+EYFD+ Dh/agRMZJPi04HXCxg7pAty+XO6ToYhI+Mr9sQV69rftYWGvGGC+Vw297/VVp125 L6CBYc+LywVurcmmZjD+g62hR6bKyjLt7AFlSgRFu3ftggQWiGgk0PRgVNjEpNUU LRz4lfK3EPK65hzC6ZV7+cNqDErLWwdqkRsmqtpZkp9NVqKsUpbzgkm3PEtznf0W zhda0gUj3vlKKIruXsnXu19T2hhKxzrqfFD5MpBR6DRZYrVDFBbj1tXB5kqc5BnR h4mav/s/GZMzQ5YWVb3R4lJ8o6arqDcnBGq2yxfAN+UNKDpMwa2olqI5Pkse53sS i2633g== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f6txem8jx-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 06 Jul 2026 04:44:46 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2cc77a6943eso48940435ad.0 for ; Sun, 05 Jul 2026 21:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783313086; x=1783917886; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=e8uCEnvdXlL4V0kIs2HNz2HP0kgpCCW/AbbXVNw+D60=; b=ALtfCdaia2Yg3Gi8S05e/UUUFKx/ktCnCbmXbjgcYV9+k8qoEnWtZZJRa3m0wUASOo EGTpRGMT8y+ro6T1iT78GGuXJuZlCX3ViECf3LLRQ2qbRl9h+HHObkOo1ZJ3TyteGEkt IHUJbUtY4G2JO+WlOKcIvFE+FkD2KwgPf7rxTpgEllQtsi5rM2d2caEnbYyoiFMK8ekv d0Dsx3USeI4SSgb/LehNouUHRgirPeELSms7nXiYjQrGmziNQb1ohpcj7C0yc8cSnnWK u0m8MO6xaUE57aAEICtTSdG9/UixrY/lb5W712hYdoAQMdu5f46f4vGjAhJvYoeDtxAc izNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783313086; x=1783917886; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=e8uCEnvdXlL4V0kIs2HNz2HP0kgpCCW/AbbXVNw+D60=; b=p1bfJf7EWZg+X8CW7ck/VeXGrrPvaKJrR6Rs0NGARMaI1mZou2ZBnscIjNrsl+bpAh FSY7a5QYH1jfb+smckD115+OQBqelK2/JxEwSD/GxwHcd2LYLjIcOX6f00JT9SUa0cca +nd+7KrR/71nWQ/uf4tPrvaCisW6oCXVz5w4A7JNBOtJx/U2XhjfFhUJHV0YQmSWrS+C nqpbtssl7EQoejeJHimpD8n31fVTrZqryFH3gPo8QDcd4hGGgXpaDyG0JsLaUj7oiywc /SGs1loJtpIrvzk9miZUAggdchvyMwWUdLxjtc3d9WOsaEJiSjYwnNOPZp+rmMfPRpQa L/xQ== X-Forwarded-Encrypted: i=1; AHgh+Ro8rNy73q8R8ri44ZaNsSZzz4n0pu/wrAUUV4rL6CoPMm15osFe0NFiPX58X0xpDx0mHxSbS6b5YMue1Pc=@vger.kernel.org X-Gm-Message-State: AOJu0Yyrix3hj6LZH6oOJjjJY4AjeZZYYONek+rmdmR+3XvzctQQVAnG amjMj6v0pOg5R5YZeMrT9ry1c6Um8+XWeO8KtrtHcUnziSC0bxHdFerVdDW18KzigYO/vDz/9OV 8gTgJ3k1Llk3RxtW7rBFWRgz9rxdEvakHk8J4u7iMxHpzCc4ktvLXqhiodrOYExTCIwE= X-Gm-Gg: AfdE7clqIcb5z1di7FslCJ6u1S1gYco+Vx/yUsuN0OXdyDaK/c6+h3VvNgikmkuHl+J BUqT3rNrJjI3j+PUaUH2KvO6jw0k4BqWcXVcjIPsHn0Via6vCYNn8g3t8wZxQDLak/7Yyg38r5M KEro/B6BU5//bactFrY/jm1/kTebDJY37LBgq7gM9yJUlGFZZYBqLHAYFERKS+Eo5v17jXDESl7 SbyNFY0SKF6187KRWn0fyNBQtjyjpUfrx3hchpAiwxwstKnapR0VfYEWPePyRag5Rajzy4LeGnX yFUGqn5Z1UBU9WXAydbtzn1KFUE9aCCsCZglIfK268KFHghaARdLl8lMYo2SDd2kb5k7pkpvnU6 /jfaBZbW4IXyIUEt76OMMu8V+QgXE+uPFQ394AmSNGOa0vfPFC9ZMDAtbM0ahAQ== X-Received: by 2002:a05:6a21:48b:b0:3bf:db2a:d164 with SMTP id adf61e73a8af0-3c03e51e2demr9199846637.53.1783313086035; Sun, 05 Jul 2026 21:44:46 -0700 (PDT) X-Received: by 2002:a05:6a21:48b:b0:3bf:db2a:d164 with SMTP id adf61e73a8af0-3c03e51e2demr9199823637.53.1783313085586; Sun, 05 Jul 2026 21:44:45 -0700 (PDT) Received: from [10.168.91.130] ([223.185.219.139]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-30f116065c5sm44980361eec.11.2026.07.05.21.44.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jul 2026 21:44:45 -0700 (PDT) Message-ID: <55640c9b-7f7c-4edd-a629-6fa98e56bef8@oss.qualcomm.com> Date: Mon, 6 Jul 2026 10:14:41 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH ath-next] wifi: ath12k: fix ML-STA authentication timeout on QCC2072 To: Miaoqing Pan , jjohnson@kernel.org Cc: ath12k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260704073000.3300099-1-miaoqing.pan@oss.qualcomm.com> Content-Language: en-US From: Vasanthakumar Thiagarajan In-Reply-To: <20260704073000.3300099-1-miaoqing.pan@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNzA2MDA0NCBTYWx0ZWRfX9RMA3eOO11xA yJKynyNS+YA6DiZSfpjyCLUJcoNpKXCOSQ/ANX43X/5dnoTjaeWymGwNiLg0Csgocn6uuW4JEQA u+rOJ2P8Fyca/vGXxcvALbJDSZgBRXI= X-Proofpoint-GUID: kNmbc9Dj8QBRt7lJwFHZSPaSLfilMQOi X-Proofpoint-ORIG-GUID: kNmbc9Dj8QBRt7lJwFHZSPaSLfilMQOi X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzA2MDA0NCBTYWx0ZWRfX9LnA63Impa2O mmp5Bem/Zg/UDUfQduigOpgUoHCqqQzDZfzBP78ZAeGGR1W62SS1r1hIWCPRQ88vijugfM7QLxk OPbU+/j289Vq/YdyksgmyrdCntbap8IfSOdbU0LUesr3gZ/Wazxt/OhxEvXxO/axujKoIMK8NMu NecmMFuxf1JCnc3VfSrlC9rvaJbgWw0G266hW2sTFOnVVPbZ+WrC1XhkeySfIZJPLAttNnqcW+3 DewEdqDyoc+PfqII7fEwMWePeNuqF/6jtl2EgbZ+yVsZlnJRZWw9krypc4Ngs2VG+/gxYQDwMI4 sn/2aNWAFIajyvztKXj1wavYyHIEVKafBCygdtNOgFCw2h+p4rxwuhpFbEXeD/QvB+CXUvHXlYb EP+E0Yfmkbr4ucVw3cgaDuUARXMXFujdgcPlQhPBfAXBa0EwwJxy+AoSAWty9PPxqxJAl7XnRAB AG2F6n9QMbOAWy+ATbQ== X-Authority-Analysis: v=2.4 cv=HLLz0Itv c=1 sm=1 tr=0 ts=6a4b32be cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=ziM92C7oNnnlFgKtw0sKeA==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=VGMtm6mGyxy54b47EEMA:9 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-07-05_02,2026-07-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 impostorscore=0 phishscore=0 adultscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607060044 On 7/4/2026 1:00 PM, Miaoqing Pan wrote: > QCC2072 firmware interprets the MLO_LINK_ADD and MLO_START_AS_ACTIVE > flags to control the link state during MLO vdev start. MLO_LINK_ADD > indicates that a link is being added, while MLO_START_AS_ACTIVE specifies > that the link should become active during the start. > > When an association link is added without setting MLO_START_AS_ACTIVE, > the firmware may transition the link into a suspended state. In this > case, authentication frames transmitted by the host can be dropped, > leading to repeated authentication retries and eventual timeout, > for example: > wlp1s0: send auth to (try 1/3) > wlp1s0: send auth to (try 2/3) > wlp1s0: send auth to (try 3/3) > wlp1s0: authentication with timed out > > Avoid triggering this behavior by setting the MLO_START_AS_ACTIVE flag > when MLO_ASSOC_LINK is set, which tells the firmware that the current > vdev must not enter suspend mode > > Note that this change relies on firmware behavior observed on the QCC2072 > platform. The firmware on WCN7850 and QCN9274 does not use the > MLO_START_AS_ACTIVE flag, so this change is effectively a no-op on those > platforms > > Tested-on: QCC2072 hw1.0 PCI WLAN.COL.1.0.c2-00068-QCACOLSWPL_V1_TO_SILICONZ-1 > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.115823.3 > > Fixes: d8e1f4a19310 ("wifi: ath12k: enable QCC2072 support") > Signed-off-by: Miaoqing Pan Reviewed-by: Vasanthakumar Thiagarajan