Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp268515lqp; Tue, 11 Jun 2024 04:10:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqMMLjs8v37MfeWtradDNuhkkcotP19Q3OcGtz81vjb7jJWh7PKw/K7mbo6d/pjYePkCeFkv4LmN8mQ74jOW+5O19ctjCIuiyho0D9/w== X-Google-Smtp-Source: AGHT+IGVjPDs3OVjhhlMrIseRL9gJw7nX8OGL04GKoTZRrdfx0r948tmlpPPlkoPFzQaNm8AvvVD X-Received: by 2002:a81:b550:0:b0:61a:b0bc:934c with SMTP id 00721157ae682-62cd558afefmr117938977b3.3.1718104242709; Tue, 11 Jun 2024 04:10:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718104242; cv=pass; d=google.com; s=arc-20160816; b=CY4LjaNq6CpbYK1afVi9iHkaTjuaWesNs6Xlip99xr849yR90ZYzeZpphVSdk6bJ/W jC2A7ANbXFCZXhKeu72kD23LzA1HKyBLdJXb/MzOBYm3wQGN1lISwvEhI/3klUbNha7E yPPUrNc6QB9R5ecOc7BdWCMMFY8TTmDU6UrInDrsMdcmnj71O0gmrYuG5eRHQIpmsHim 1juwT1/IsLfrXDzdmPk3ncP9J3h0pP1q/SxNCmPyqjNtleXNYA0lSnY6+LuiaK+MHcop 426NudEooYTKCfkBsyGQBoh5vDjUDTaUxHxQg+agVCRGb3+BscUsVVQhRc+56Lmhj3tL UKJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=X3pEPRDiKtKLYAsvWh/YawOU+IrtWfgRWDDXhLpydwg=; fh=QjFhCEVKlnTtrv0rjrCgJr3+rCQgFnP3/3+ptliheww=; b=IZRIQ2KM0+STdmDdPiWJ7YqHBpUfH7+Q/HnsCtGdeHCwrsWDFrVqNoWVi1esepHSYo L9X8AdB3BAo2+KzvHrT/lZEFOcSh4pwMjOWNcR/6BoZqIIIFfUqtNOqvF3rqDHUixkUz 5cT1wYrV/4yRglfrc81a/DY/jw5zwsihNuLUiYHLEA79bnGBCjmitZ4ebsiZTjjTcSi+ b/h05FBZFSlFf64spKvH2RtYyc6PE68tJB/OXyxqaYHmlrLRlrv3i7ok//pga5vxUsB8 ApP2QceNX6OV8KFY1DFLzgXs2S5V4CJS/uzM8laeBLiSJfc065xoLsBy/YRNKsfDVeP5 FHHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Dg3fYT7s; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-8787-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8787-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b0647c4a96si90907696d6.492.2024.06.11.04.10.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:10:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8787-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=@gmail.com header.s=20230601 header.b=Dg3fYT7s; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-8787-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8787-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 570041C219F6 for ; Tue, 11 Jun 2024 11:10:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF920179951; Tue, 11 Jun 2024 11:10:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Dg3fYT7s" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6564B179957 for ; Tue, 11 Jun 2024 11:10:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718104239; cv=none; b=sEYwHV41PwWR6zbwD5MzdzZvsRVGsYU9azwa9Nh76BzpF/5cs9ITHbFUYeJzN8EEFJCJOikAGIkl995VBQyMHqf918EjasK69apJZ2GqMg7ILdT+rJuSB8G1YIlf9mWbT4kW6unBFGxnvKhizh0TX2HkXzqy8xdcsY+Wis1YlDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718104239; c=relaxed/simple; bh=X3pEPRDiKtKLYAsvWh/YawOU+IrtWfgRWDDXhLpydwg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=AH4oV4CuoXA3VP9hQASoxw6/Mw5+kOygSZa+IQFNBoE3xZeIcRj3YNfrOmxHlIrIh6tbC2ZxSF+EqvsFqmjHB8syX26BqnsgijiEanerPvuW/i2pIl7R/K6CpMogqG8MJYIadfdqlDbIlrJW3LtY+SweZD2bMDhZQsSmEBZ15GA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Dg3fYT7s; arc=none smtp.client-ip=209.85.216.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2c315b569c8so861453a91.0 for ; Tue, 11 Jun 2024 04:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718104238; x=1718709038; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=X3pEPRDiKtKLYAsvWh/YawOU+IrtWfgRWDDXhLpydwg=; b=Dg3fYT7semvHeJ6/W3YspZmmErPcC+WXEnRHQGiRYGps9wWhJ5eIFDg7WqV0TAu9Mz w7Pl3X1kqKSyKhbOoaRmmxUSbKRPEqIrRzUxDoxJSNLvy5EMmbWQ1EAgiphh1JV4Ks1e Vcclf+Be3RhgCUAR/vHKcllBqn1DaqnkwJ/IHJ/K3nVAfRf3iOXjdbVgO0A3v9vPqWDE WP0RNjeh4Gp4U6g1KnEL9/sEnTEYT3766X7gI38Fku37kFSq696tBP/HPTid+fEDI08e 77cI9kvgCRHD7PTJ4S7gHo3RFwvMWDxYTFT6C8nTym4sO7btpqlyaEyAfGjLtpmrHmf9 6Aew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718104238; x=1718709038; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X3pEPRDiKtKLYAsvWh/YawOU+IrtWfgRWDDXhLpydwg=; b=Y9pGQY4zpvLJD1UNzYE9O1P1ezQvnfONeQC1gG+0U6VH8F/VygSGNYFjiubw8ilXwN X0koLTBhMHax0xnMVJuNzcWTxyXUpBJ2u3adYMmStcd5hS51BnDZujGyafzLKi+wmbf+ RHTgb2gklSV+ma5oWAp2KSCHUXI5MXfFXICDBW0iGsCdyMOFeITtLHmD6vW69FpYbQlc biQpPL5eZ0o1QE373OFlcjBQXF/xfZLykUpxMx9I/wXv+de3WkzkiNSmSd0cQw21+Nzo g7SuXj5BTWv6VOlPAzJwXWbwD1unrlnRs3DvxL7KxjpLNBSs8L1tzFJA0gmSPPvos5J5 mrDA== X-Gm-Message-State: AOJu0Ywt1PMMwLQgY3JKOHuaaZ1EI9rGu7X2Gm+gkJBYXDqIhRZYQoKL Z61XO1Ds8ltVnJlPg0197kInc9AU/owyAiR3COpIPc32djR5a1VONlRDbps8PmrQnOGyk3Xe41m pL5pplwgwRNTpYJwBR4JMiBQPfqypDw== X-Received: by 2002:a17:90b:1bc9:b0:2c3:16f8:b57b with SMTP id 98e67ed59e1d1-2c316f8b5b1mr3486359a91.25.1718104237654; Tue, 11 Jun 2024 04:10:37 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <868343c920c24204972ddaa108e5d00e@realtek.com> In-Reply-To: <868343c920c24204972ddaa108e5d00e@realtek.com> From: =?UTF-8?Q?Marcin_=C5=9Alusarz?= Date: Tue, 11 Jun 2024 13:10:26 +0200 Message-ID: Subject: Re: rtw88 multicast failure in AP mode To: Ping-Ke Shih Cc: "linux-wireless@vger.kernel.org" , Kalle Valo , =?UTF-8?Q?Marcin_=C5=9Alusarz?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable wt., 11 cze 2024 o 04:32 Ping-Ke Shih napisa=C5=82(a): > > Marcin =C5=9Alusarz wrote: > > Let's assume we have 3 systems: A and B use 8821CU chip, and C uses > > another chip from a different vendor. > > > > If A is in AP mode and A and B use the rtw88 driver, pinging A from B > > and C by local name doesn't work because name resolution fails: avahi > > on B and C sends a multicast request to resolve A.local, A sees it and > > responds, but neither B nor C sees the response. > > > > In the same situation, but with A and B using the rtl8821cu driver > > (from https://github.com/morrownr/8821cu-20210916.git), everything > > works - B and C see A's response and can resolve A.local. > > > > If C is in AP mode, resolving C from A and B also works. > > > > This leads me to believe there's something wrong with rtw88 when > > sending multicast packets in AP mode. > > Have you captured air packets sent by C (AP mode)? (To check if TX proper= ly.) Yes, I see packets in both directions on both C and A if C is in AP mode. > Have you tried non-secure connection? (To check if encryption properly.) Nothing changes - rtw88 in AP mode sends multicast packets, but other devices don't see them.