From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 8 22:42:12 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7EE016A41F for ; Thu, 8 Sep 2005 22:42:12 +0000 (GMT) (envelope-from samuel.pierson@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5371B43D46 for ; Thu, 8 Sep 2005 22:42:12 +0000 (GMT) (envelope-from samuel.pierson@gmail.com) Received: by wproxy.gmail.com with SMTP id i21so1120215wra for ; Thu, 08 Sep 2005 15:42:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ahPIV5vpJelMXTT51GyKWzPFcYBw/yEKiwkca7s0XsH9pzMBet/4Yha3YtMT+yRoBcuthx2Qzvb0W49ZipzR9MltZ2cA0yeAXoL3Ve7N8tsrFy4N6wTtRpBmV2YIcu6xIfHs7LYNPJHxRUbsvgI6SxNIQJFmeRgkRoAG8e/tezo= Received: by 10.54.113.8 with SMTP id l8mr3448wrc; Thu, 08 Sep 2005 15:42:11 -0700 (PDT) Received: by 10.54.144.1 with HTTP; Thu, 8 Sep 2005 15:42:11 -0700 (PDT) Message-ID: Date: Thu, 8 Sep 2005 17:42:11 -0500 From: Sam Pierson To: FreeBSD Hackers Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Adding 802.11 control/management frames X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: samuel.pierson@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 22:42:13 -0000 Hello, I've been digging in /sys/net80211 trying to find where things like beacons are created and sent down to the driver. I found in ieee80211.h where the non-data frames are defined and I can see in the different device drivers where the frames are handled. But, for example, when you start an adhoc network or a hostap node, beacon frames are sent out. Where are these beacon frames constructed? My goal is to define a new non-data frame similar to the beacon, except add space for a small payload. I think I can add handling to the device driver, but as I said, I can't figure out where the frames should start. Thanks, Sam