Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp261054lqp; Wed, 12 Jun 2024 00:07:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVACUAXMQYrxRl7byuetMSgGv+iClC+j6AlvYKVgZY6lbneNvJyERGuUHEGjw8dYR7ZurZc9tb0f+tNf0iO/p83f6Gur3zoDHehxI0Rww== X-Google-Smtp-Source: AGHT+IEJioLngRN2JmS8qJ2qjK4IISJH1G2Ma4VQBI1HCMS3QrRYFKbyQ7ky//Il3ZxmWsWrG8aZ X-Received: by 2002:a17:906:f883:b0:a6f:3444:4710 with SMTP id a640c23a62f3a-a6f47d36367mr40095766b.25.1718176034257; Wed, 12 Jun 2024 00:07:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718176034; cv=pass; d=google.com; s=arc-20160816; b=u0Q49EjPjw0/WToZ+/B7uTsJOqVq/XOW+hWQfIW2uM2VtE8aFwD28DZcUIsXHXdZDX w8KfvVdb7JUK2/dO4Zg22F8rT8XdvLjkaSBO4QKdUb5W3na5XQLclntIr1YVMkz2QvbB 8svs5obMmbjrAL49tn+NnOydETglhvWaHMvf79PSO/v2jd9fETM6SinRT8l8WxVToxdX KTaDZD1vd3HiAAr/mDbiBdl6xApAxQ5jaWmHUXjx7+QQMU0c1O/Lw65u2yhiI3BFQrdQ Pu2oy35zUk+pAalppF1d9OPE/jvNHsbB/en44r2MLvTON0wzjk1mTQSqMVtzj1U4Ba12 1JiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=rYs16LMDXSBKD16sAOH3Kuiy41oWYZJcg08wjQC6+CU=; fh=YalJvZsXqCMV1dWs4efIUmPI/5o7DmA6mUFitDKjk+A=; b=hsf7vLTbbTsdkLr7LvTJWu9/B3iHrszU8ZuFyCaCta0ZzCluKuEXuPdSBSh+VIYXEE PX0dMjAokfQlVDGR/3jwuICRHd3fJ3Nx1zjkabq2Gsc7n4EhvDCXrTgFeR9BRUxLvDny hoEkujElKv5m3ZeJmxvl7XO75dqGiaX/Ti9vkQERjE7RnPzhnv+x/+2nI5NcVu9zC6op UALBBtj+SKVOFLfEh7x6CTSe1BiJmxhqWuv9+BvWvfVsqX4w03ESBwjORRT7T/WQ7qfU YKyrGi/N5RXY6HNwV4/CDH5HWPPw7h/sDjFD7gVywwi0D0cVPseUVCoO5ux3JJXfjiif q4UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=QUIud+EN; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6ef8b8f01csi451342766b.148.2024.06.12.00.07.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:07:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=QUIud+EN; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 am.mirrors.kernel.org (Postfix) with ESMTPS id E29B01F224DB for ; Wed, 12 Jun 2024 07:07:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 027E625622; Wed, 12 Jun 2024 07:07:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="QUIud+EN" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 C20F5167DB8; Wed, 12 Jun 2024 07:07:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718176028; cv=none; b=u8pmIlMea8Jn9Ztdss1VoB7O9VaAL+Ky74XitvYxg/VyCzROunied4GBRbGqcEqY1UbPPesM5L50HaEv40EWhtfNKqRgg3e12lqhPVk/SwbaGPPqdwaStj/TskEM4KkN/Ej1DpfPIllB/iJCMp8OXsy6J0oyTYFlnw8ruriEkAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718176028; c=relaxed/simple; bh=rYs16LMDXSBKD16sAOH3Kuiy41oWYZJcg08wjQC6+CU=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=hT8o7I2wijMXJVe1h3NrWju9cJZjHnxNbkEu6bRRJ5oJpgtFB4WhNwhlwhu2C8fJuPwFjnZnTdrTil61Ro22Bnbv75Hq72hLrUB7viEuLE1qr9EHlv+k02tqOUr3TbFhzy3DyhFofB149KpN6ERs3jekfFd/x2y8w/8qGDPfNK4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=QUIud+EN; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=rYs16LMDXSBKD16sAOH3Kuiy41oWYZJcg08wjQC6+CU=; t=1718176026; x=1719385626; b=QUIud+ENh1B48hQH1hi4ATBi01siQW0cZzXXArwOziPPBxz 9PyWzZV9h7lP4N+v/HqRD1rNQNoLmTFhZnrMX9v6beJMJhBKo0OuvVdIRO4C+DYSLimv9Giu4KADI rX8ynrcbuPUsy4W/2OYR7eGD0BHeAk8t/ZqhAiod3RuG93mT+MciJsnyBG5yig9BjwZmfJmEc9q4T JcFoDqQDhsSFnB/PThru3neZwAnEo9oa3Z5u++X8igdFcvQXCDcn3M/XgCKQ7F/n08YTK3wqebGZn 5kU3nNIWbb/DMxkisvW3R3J/ABVDPGGdegTxb2D65hpWQNfpvmxLBchozaRr0IbA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1sHI4T-00000009z6w-0LTv; Wed, 12 Jun 2024 09:07:01 +0200 Message-ID: <6a88e0d3e47ebbd1f0f383094e4804a627c41870.camel@sipsolutions.net> Subject: Re: [REGRESSION][BISECTED] wifi: RTL8821CE does not work in monitor mode From: Johannes Berg To: Ping-Ke Shih , Thorsten Leemhuis , Savyasaachi Vanga , Christian Heusel Cc: Kalle Valo , "linux-wireless@vger.kernel.org" , "regressions@lists.linux.dev" Date: Wed, 12 Jun 2024 09:07:00 +0200 In-Reply-To: <5318640d6eb74301b1fbf6d9385ba69e@realtek.com> References: <809d2332-625e-4a46-a77e-ca2e49b0d651@leemhuis.info> <0e65ca6b471b4186a370b9a57de11abe@realtek.com> <36c1f49acfcc2cc16c7e54ffeb76f1e93cb96e91.camel@sipsolutions.net> <5318640d6eb74301b1fbf6d9385ba69e@realtek.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (3.52.2-1.fc40) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Wed, 2024-06-12 at 00:56 +0000, Ping-Ke Shih wrote: > > Just got pinged (sp?) about this, can you share the driver fix so I can > > take a look what the issue is about? > >=20 >=20 > Please reference patch below. I copy this idea from rtw89 [1], which the = main > stuff is to add WANT_MONITOR_VIF and case NL80211_IFTYPE_MONITOR in add_i= nterface().=20 Ah, OK, but that gives me a hint. Yes, I see the issue now. OK it's not trivial and it might leave ath12k still not working (though not sure it ever did before? or maybe I'm missing something...), but I think I can fix this. Let's see. johannes