Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp687289lqo; Thu, 16 May 2024 20:25:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWyC5X0me1sMg6IMVYgY+RTak/hmbXoCOWeNHZhFhkf6Q+ZOhkP0BHKc4N2UY9DMtVPrTaGzEzKaEo2UM988In/ryUbx1/bWQEvRoLBg== X-Google-Smtp-Source: AGHT+IHsUEWThIWCPiKY1YLJvdSibYUi8MGOtSKmNYez5aZWyJdjqUm0UAqjaQw5K1sd9PYJGY3W X-Received: by 2002:a05:6512:3d8d:b0:51d:9ae:87e with SMTP id 2adb3069b0e04-5221016b565mr23957200e87.46.1715916318998; Thu, 16 May 2024 20:25:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715916318; cv=pass; d=google.com; s=arc-20160816; b=PX2uYgpLtk/cFCJYYpYktgB1I9PFyw1E5AgcHubLXZxa5MKSzmDQ81x6uTivBzK751 IshtfjBUUOW46jTydd9VmliFBL46VKBQZr3M2I0SQqznROLqrVatlrOoLGx6GpbyCw90 KLwqCZ2xfX48106MlXV+cAcMcJaPsPUQrvLFJub2RdSEaLF7WQgQ+6lwSHm8mFDChhr4 7fxofEo68ax17EFfmxiKb2dlEtIRV5QwjwjK/SnHnIxAnqsxErmXH0vv+cUIHEoZWEuB +CDalDqvRva5r7HVl93NB0WctKYbQJUwk01HMghDfA3bbfGWkX8U2hESjGbgVKWjoMfB itCQ== 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=/fvkaKwS9XgvnpUFWjtNm9Qj1TjNSMOvZkhbYZxwbek=; fh=zFCB9yj6tbPtiNOgT9n/qK9LnQKfgtX1AWhCxXtoerY=; b=yIZUKQgo2cmmDgq1XDyxCZ5GbmVcaDEBxBk9JU//UCJYjAR+ifTJZ8AyDa+O7IHUvV ORCteeU9Uc2xoP7mvnWD74GfANsatEF2dggjo91/+yySWdeovbPsaNarBzVSxrpG7n/I /xyFJHqpWvpzhD/+/awFqmUH2WtkYXrlS0xvlcaornDTSIKoe9zn4ESI9s0RZbpuZw4n sdibDACuiTFk/vbdoSXXQfo+Q1J5uMCEjwuopnCsYdfklaKpA86TrS+b7a3x1f/6lwKN 1g+txr4KY9jIpipGU+xv2zeQF4L+Utb9CDoKfFvkrRJC6E8rukE6CbOR+TL3s3J/t41F vnzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jingojango.net header.s=dkim header.b=IHU6votA; arc=pass (i=1 spf=pass spfdomain=jingojango.net dkim=pass dkdomain=jingojango.net); spf=pass (google.com: domain of linux-wireless+bounces-7761-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7761-linux.lists.archive=gmail.com@vger.kernel.org" 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-a5cdb323178si206819166b.118.2024.05.16.20.25.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 20:25:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7761-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=@jingojango.net header.s=dkim header.b=IHU6votA; arc=pass (i=1 spf=pass spfdomain=jingojango.net dkim=pass dkdomain=jingojango.net); spf=pass (google.com: domain of linux-wireless+bounces-7761-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7761-linux.lists.archive=gmail.com@vger.kernel.org" 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 B089D1F222D2 for ; Fri, 17 May 2024 03:25:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6101D524; Fri, 17 May 2024 03:25:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=jingojango.net header.i=@jingojango.net header.b="IHU6votA" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) (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 045BAD530 for ; Fri, 17 May 2024 03:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715916314; cv=none; b=Nf/1wGVDik2EENdDEM/3oVcdvH6QMB9zcczIgi/34yi1/otcLdvn/l+cjknfgCjJSVbhESi/A8Qcz+KBWReoMZjnbvpZQXmPcG3JDE+4PlKuucek2nNbxMjyr6nCLGCuSg0qXhmi2216WwqqSruPQRGhg/oKSQmRUw40U0hzOSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715916314; c=relaxed/simple; bh=P8vLeMmOTqhd+d6qcFgvCct2wJ6HTEKBaG61F98HVNQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=gQjHLlnl6Nwlbr55JQQi1d0bC1rwDVB83r6XO3ZzocEeALNNKiPmSCgIDYGNGEoqEBO9MMdOtQ7j7l8JY4emivEJEqjynBNrXNTHRQmt0eYeeoZ67L5iBaQ33bQkmFT8b2CFU1Q4Tjw9UCeIuI7CvzzShLBSztBZ6uwuwzR3+3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=jingojango.net; spf=pass smtp.mailfrom=jingojango.net; dkim=pass (1024-bit key) header.d=jingojango.net header.i=@jingojango.net header.b=IHU6votA; arc=none smtp.client-ip=209.85.222.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=jingojango.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jingojango.net Received: by mail-ua1-f42.google.com with SMTP id a1e0cc1a2514c-7f386d05eb8so54266241.2 for ; Thu, 16 May 2024 20:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jingojango.net; s=dkim; t=1715916312; x=1716521112; 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=/fvkaKwS9XgvnpUFWjtNm9Qj1TjNSMOvZkhbYZxwbek=; b=IHU6votAfLUd7W9XqgbJurNYPvgwVwcUdirBZyzDy1X4je59JBigQkwS57uXh5Zn4e FhVQK9EzShOESfR5pjU4Rj04tf/oaMaw2nhBb3kdRx2PSU+AMFiu918EoJwM/nGJ/pI2 HY4Jbmc+IO6wmPUzCvHgeWuWBXXqOQL2/iQDk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715916312; x=1716521112; 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=/fvkaKwS9XgvnpUFWjtNm9Qj1TjNSMOvZkhbYZxwbek=; b=ndhHOlJUlrgYBrqxc5cIQSXEQh5gbAjdlJhEgSJrErrfvKRp/fXs6QpFymd9LsTGhF DV4isG2KdPHqgcExWZefn+zq+4YFcbrtBJW1qRhImAGJcfkv5TA3vvkn1lQSf7CY88wb JtweORh5gx1Eo6AVO1kX4+bh5HlR7FFnx+x4suAKuUfkipehWDT7y2m8BcGfdZ0ugje8 yHq1qgmdEq5tXf3QxRKr223LFKjcsSuwy1JVnQHF7rOcwcwfcZWu3RtlgP2LdGYM4luc DHgdcBIGbW2kf1NrUaOXNjSoSo2ovqgTDcp4YN9SUUZd7M4bgExW+dc0YJu7a/F9OmL/ +L/g== X-Gm-Message-State: AOJu0Ywygi0ZzKd6k6lEuhEUumTFt27jGnnk+I00AmgfOMldd8bCunkp supCVwBeJrvZKgZ/Vn9q75SAUW4rKBK01K7EmG00sdlJEy7vKKbicItXmq4ydUyptt3run1wO0X lpUTJpDjBBZFgOMRcEXzLWfEXV1/kQzuVL7rv X-Received: by 2002:a05:6122:31aa:b0:4df:19c0:86cd with SMTP id 71dfb90a1353d-4df88134fd7mr19647590e0c.0.1715916311811; Thu, 16 May 2024 20:25:11 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Kurt Grutzmacher Date: Thu, 16 May 2024 20:25:00 -0700 Message-ID: Subject: Re: No packets in monitor mode with rtw89_8852ce To: Ping-Ke Shih Cc: "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 16, 2024 at 5:29=E2=80=AFPM Ping-Ke Shih w= rote: > > Kurt Grutzmacher wrote: > > Using a Realtek 8852ce module in monitor mode on Ubuntu 22.04 LTS I am > > able to capture frames on 2.4 GHz channels but not any other > > frequencies. Low power mode is disabled. > > > > [98869.471001] rtw89_8852ce 0000:02:00.0: loaded firmware rtw89/rtw8852= c_fw.bin > > [98869.480121] rtw89_8852ce 0000:02:00.0: Firmware version 0.27.56.14, > > cmd version 0, type 1 > > [98869.480142] rtw89_8852ce 0000:02:00.0: Firmware version 0.27.56.14, > > cmd version 0, type 3 > > [98869.757041] rtw89_8852ce 0000:02:00.0: chip rfe_type is 1 > > > > ubuntu@ubuntu:~$ sudo iw realtekwifi0 set freq 2412 > > ubuntu@ubuntu:~$ sudo tcpdump -i realtekwifi0 > > My 8852ce is wlan1, and then below instructions can show up some packets: > > sudo iw dev wlan1 interface add mon0 type monitor > sudo ifconfig mon0 up > sudo tcpdump -i mon0 That just validates my statement that 2.4 GHz channels work. You did not set a frequency so it started on channel 1. Try this, or any 5 GHz channel that you know has valid dot11 traffic: sudo iw dev wlan0 interface add mon0 type monitor sudo ip link set mon0 up iw dev mon0 info Interface mon0 ifindex 8 wdev 0x200000002 addr 1c:ce:51:91:5e:92 type monitor wiphy 2 channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz sudo iw mon0 set freq 5220 sudo tcpdump -i mon0 For reference, here are my module options. Without these I cannot set the frequency: options rtw89_pci disable_aspm_l1=3Dy disable_aspm_l1ss options rtw89_core debug_mask=3D65535 disable_ps_mode=3Dy