From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D939DC433EF for ; Tue, 4 Jan 2022 17:43:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235914AbiADRnq convert rfc822-to-8bit (ORCPT ); Tue, 4 Jan 2022 12:43:46 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:39485 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234403AbiADRnp (ORCPT ); Tue, 4 Jan 2022 12:43:45 -0500 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id B0983200002; Tue, 4 Jan 2022 17:43:41 +0000 (UTC) Date: Tue, 4 Jan 2022 18:43:40 +0100 From: Miquel Raynal To: Alexander Aring Cc: Nicolas Schodet , "David S. Miller" , Jakub Kicinski , "open list:NETWORKING [GENERAL]" , Stefan Schmidt , linux-wpan - ML , David Girault , Romuald Despres , Frederic Blain , Thomas Petazzoni , kernel list Subject: Re: [net-next 12/18] net: mac802154: Handle scan requests Message-ID: <20220104184340.0e977727@xps13> In-Reply-To: References: <20211222155743.256280-1-miquel.raynal@bootlin.com> <20211222155743.256280-13-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexander, > I see that beacons are sent out with > "local->beacon.mhr.fc.dest_addr_mode = IEEE802154_NO_ADDRESSING;" > shouldn't that be a broadcast destination? In the case of a beacon, 7.3.1.2 Beacon frame MHR field indicate: When the Frame Version field is 0b00–0b01: — The Destination Addressing mode field shall be set to indicated that the Destination Address and Destination PAN ID fields are not present. So I think the NO_ADDRESSING choice here is legit. The destination field however is useful in the Enhanced beacon frame case, but that's not yet supported. Thanks, Miquèl