From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796352583; b=EBeYqUI7XsfuBFVmdXc1m99yqntjFgpEnGDi/Gtn3TFVtbR1M/p+Ogu1UTdlkkkaNQzg VCY4i4BjcB4Jvp/vomA0BV5bwuBL19asBOw0DIY1M6hGBIx2OTQ7HEzCUGSEDrdfCL+Uu FT24dg7fMOvAsdDLkSEebQb2nvhDE8Lu9QyqCDIBV+Hf4ohF760+RQ+hOAWlUzzU4u//5 7o1squ6QQpUekgGdf2X+n4OZ2Tohs5Uk4ue7yGaX+u0Z3H2D6kAcRz+kgGoFKYgte1ZaQ rnayFh2U2IfpPAaEuyEZYs9DMbX1k19xqKErcqh8O0mcz1muPZvLvIAKpllrwllpqrw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796352583; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language:Content-Language: x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=ZMssxHiGL3mEQcWr4X87dCROGw7R1/0foJqH5JwPX6U=; b=EbLSBOK3PNtWLh48xHcwb+ZFoYHX+uHthpNTowL4F2a7nY5ZAsrzfxyHTDHFSjY/gCwv 93XYXmwNvnmaGFyL2KEw+OMGJxQAmwSyIs9cx1O2BmbIgz21l9oWCCvsXwTAxn+wS7oH5 n9Igt+gKU1Dqu74bH+4eRwd3SXpZ5Xx8fJVDtWXgD8T0lE30SiiRCgh8FXS4HNq0eIizM B9lsIAkKPbueM5vg1V/wtFsne452EwUmkLewn2R3GgMndOyeosH8Wq+h3o9SeeIEoLLiQ qW5PtZD6qMaiuqcllPshQDHlF6ImTzDcPkrimXmh9UdplFx4tMfkzUuCKW/mYBllZGA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=s9kRePts; arc=none smtp.remote-ip=211.75.126.72 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD262606A332; Fri, 4 Dec 2026 02:49:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AD262606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=s9kRePts X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B42nXiL52503056, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1796352573; bh=ZMssxHiGL3mEQcWr4X87dCROGw7R1/0foJqH5JwPX6U=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=s9kRePtsLFDCbGFfPagetlPJeVvok/+2QvfeGOkBqChGykon1Iy21V3QIHY1ZGi/g fQL+SGFBE3cuh2eQCEhMGXrVNlBPq9e1khWs+wUx2ZSDLtIV4gNjMwYeET1oV39WOX QtVntmmak+ye5ASpT6yyxM3qDnlCXfmrVuCoqE5fHieLIIessAwOmou/5Sn7fYOWMV GVtqVrouwoL3/FDDmzy2doT20eyy5+ZZkWrX0799MP6kFCVBhSO/d6mioy6hTiKBZ8 SJz/Ku6bunF2JxdRy1lZKy8VtUX9I0q7wSWWqMyO1LNO81OO5t+RUrrJIJgPBvEiOs 7gVov+Q5/outA== Received: from mail.realtek.com (rtkexhmbs02.realtek.com.tw[172.21.6.41]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6B42nXiL52503056 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 4 Dec 2026 10:49:33 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS02.realtek.com.tw (172.21.6.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Fri, 4 Dec 2026 10:49:33 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS06.realtek.com.tw (10.21.1.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Fri, 4 Dec 2026 10:49:22 +0800 Received: from RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef]) by RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef%10]) with mapi id 15.02.2562.056; Fri, 4 Dec 2026 10:49:22 +0800 From: Ping-Ke Shih To: Catalin Iacob , "Berg, Benjamin" CC: "johannes@sipsolutions.net" , "linux-wireless@vger.kernel.org" , "regressions@lists.linux.dev" Subject: RE: [PATCH REGRESSION] wifi: mac80211: also accept RX frames reported on channel center frequency Thread-Topic: [PATCH REGRESSION] wifi: mac80211: also accept RX frames reported on channel center frequency Thread-Index: AQHdg0YiRi09Q0o2r0CYfJon3+W7G7dLBDEAgABCQICAAOZBgA== Date: Fri, 4 Dec 2026 02:49:21 +0000 Message-ID: <3c4332c6cffd404e8547f0b7153a2b93@realtek.com> References: <20261203-wifi-breakage-7-4-rc1-v1-1-c11ca35ceb89@gmail.com> <20fe63dbc68274d02d05c229989f0aa6a2c72b34.camel@intel.com> In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Catalin Iacob wrote: > On Thu, Dec 03, 2026 at 05:04:58PM +0000, Berg, Benjamin wrote: > > So, the field is documented as > > > > * @freq: frequency the radio was tuned to when receiving this frame, i= n MHz > > * This field must be set for management frames, but isn't strictly = needed > > * for data (other) frames - for those it only affects radiotap repo= rting. > > > > and I always thought that this was supposed to be the control frequency > > rather than the channel center frequency. > > > > Would it be possible to change the reporting on the driver side to so > > that everyone agrees on the same definition? >=20 > I looked through the rtw code, it doesn't seem trivial to me because > part of it comes from hardware, e.g. phy_ppdu->chan_index in > rtw8922a_fill_freq_with_ppdu and similar code for other Realtek models > and I don't know how "normalized" what the hardware reports is. I expect > Ping-Ke Shih will answer around feasibility of doing this for Realtek. Unfortunately the hardware report is controlled by firmware. I'd ask firmware to change from center channel to primary channel. However, it takes some time to develop and deliver to users. Can we apply this patch in advance? Ping-Ke