From nobody Thu Nov 09 21:12:09 2023 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SRF5s3S86z50Yw1 for ; Thu, 9 Nov 2023 21:12:33 +0000 (UTC) (envelope-from farhan@farhan.codes) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SRF5r2rrYz3dsj for ; Thu, 9 Nov 2023 21:12:32 +0000 (UTC) (envelope-from farhan@farhan.codes) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farhan.codes header.s=fm2 header.b="NHPh/zlC"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=bm7vezVU; spf=pass (mx1.freebsd.org: domain of farhan@farhan.codes designates 64.147.123.20 as permitted sender) smtp.mailfrom=farhan@farhan.codes; dmarc=none Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id B23E23200B3A for ; Thu, 9 Nov 2023 16:12:30 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute5.internal (MEProxy); Thu, 09 Nov 2023 16:12:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farhan.codes; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1699564350; x=1699650750; bh=1UaOI8tfICaerTf9PVIqVYLlk D4UeSbiJMCaxsM+T7M=; b=NHPh/zlCFf7iOIzhYUPMqV+nB4dmBa9q/Y2O4sA5B Mg2O24KMQsTyOb/YAC12qN+9R/5nXjKvf0MsxkkBw5y0M+FuwKndQD1YRX0PkD1t 4SBP+iwneOZBxHjKbi0MsCpM8J7Lj/YBAr90VV4ZOSFCkFDDUBs/amI+G02VC/gb s4ZtPkblkgCJlGbZkr+BHBAgvwKzQ5M8rWOftfTUMMDH+k2OlsmTmC7268+X23W+ ByAf8pAuF1crW8OIrufbCND5l17klhi31RGAFuYHu6LdR9Z1SuCAS1NsZE9K5sWm /ntNoe6FHQCvL1gSmVZqDq4b2jikfty0Jn+gwUb7G/skA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699564350; x=1699650750; bh=1UaOI8tfICaerTf9PVIqVYLlkD4UeSbiJMC axsM+T7M=; b=bm7vezVUzh6VeGFuo587VmuB1sHmr6zKWVD+cbgfIm2j4Irxqqi 1FLSn9IE3JBQINvFYf3dFe9TjEifsEI84RySW1c1sQnsYzOjv0z4s/ym4B+JKdkk oxB9e+8qgV+n43cKRdBz9iWacfG5dTM7YK+Y/vumi5V0I1bXjBsk74vqElpISakL TfFqlAJexM+vOI+6h3fh2OJyoeQCJB3jfOIdzkHY49c5uhu+k71nCVM8j/vJivSJ LGgLG9B6r1AoK+ItNDoIx4/rm9cOoVCKboum/jUyzK05Kd+YujhFWIgaNCfA/577 MbZyQB5pj0XBPXrnyOTPg4FQDLZCNRkyDdg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvuddgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesrgdtre erreertdenucfhrhhomhepfdfhrghrhhgrnhcumfhhrghnfdcuoehfrghrhhgrnhesfhgr rhhhrghnrdgtohguvghsqeenucggtffrrghtthgvrhhnpeettdekkeefgfefiedtvdelvd elieffiefgieetveejgfetvdeukefgvdffhfdtueenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehfrghrhhgrnhesfhgrrhhhrghnrdgtohguvg hs X-ME-Proxy: Feedback-ID: i61914458:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E2292272007B; Thu, 9 Nov 2023 16:12:29 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1108-g3a29173c6d-fm-20231031.005-g3a29173c List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Message-Id: <5cf5549d-1d38-41c7-85cf-d94c15d2278d@app.fastmail.com> Date: Thu, 09 Nov 2023 16:12:09 -0500 From: "Farhan Khan" To: freebsd-wireless Subject: Where beacon frames are constructed in ieee80211? Content-Type: multipart/alternative; boundary=b454d1568b174d918121edb2dd1f5864 X-Spamd-Result: default: False [-3.97 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.983]; RWL_MAILSPIKE_EXCELLENT(-0.40)[64.147.123.20:from]; R_DKIM_ALLOW(-0.20)[farhan.codes:s=fm2,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.20]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.20:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[farhan.codes]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[farhan.codes:+,messagingengine.com:+]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4SRF5r2rrYz3dsj X-Spamd-Bar: --- --b454d1568b174d918121edb2dd1f5864 Content-Type: text/plain Hi all, Could someone please help me identify where in the ieee80211 code (/usr/src/sys/net80211) the beacon frame of a device in station mode is constructed? Specifically, I am trying to find where extended capabilities are populated. Thanks! -- Farhan Khan PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE --b454d1568b174d918121edb2dd1f5864 Content-Type: text/html
Hi all,

Could someone please help me identify where in the ieee80211 code (/usr/src/sys/net80211) the beacon frame of a device in station mode is constructed? Specifically, I am trying to find where extended capabilities are populated.

Thanks!

--
Farhan Khan
PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE


--b454d1568b174d918121edb2dd1f5864--