From owner-freebsd-wireless@freebsd.org Thu Nov 17 23:48:54 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E96B0C47391 for ; Thu, 17 Nov 2016 23:48:54 +0000 (UTC) (envelope-from fnoyanisi@yahoo.com) Received: from nm23-vm1.bullet.mail.bf1.yahoo.com (nm23-vm1.bullet.mail.bf1.yahoo.com [98.139.213.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0A7E1AB0 for ; Thu, 17 Nov 2016 23:48:53 +0000 (UTC) (envelope-from fnoyanisi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1479426527; bh=3rTqaU7FSRJ0uRcdcafAjUIgiwf/MeRt5owQVPowx5A=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=ZCTkMJ0TyuxHEkIzZ8btAzdfMi0SFqzDhXUvwl4x1BlmhBHMKWthsvD0sIAnZov18C4in0RfgVWkM1bgsVxm43+w+v0JK7u/soHfCvuUi541XtjI3VI6Kbr6vobbWJIq+UcztQAxTV9gdCQeaN7gsD3ql5QyftRZ4qE81uOGBJMVzfz+7anZLPHnmfRzyM3xDX5l5NllC4mZAqEiZ8erQDRAj/doHhByAZpiRCfTVGDDKI0RDBMv2T7fIQWlzGcyU6rOPKnqzFdF/5WkFIDmDhDr7IKgvtuLh+1Txbp21m2SE1iMWdjT6qhbwnlP0lSjsmJ7f/v+zenhco+mVpsRFA== Received: from [98.139.170.180] by nm23.bullet.mail.bf1.yahoo.com with NNFMP; 17 Nov 2016 23:48:47 -0000 Received: from [98.139.212.205] by tm23.bullet.mail.bf1.yahoo.com with NNFMP; 17 Nov 2016 23:48:47 -0000 Received: from [127.0.0.1] by omp1014.mail.bf1.yahoo.com with NNFMP; 17 Nov 2016 23:48:47 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 652420.68528.bm@omp1014.mail.bf1.yahoo.com X-YMail-OSG: VnYPK6oVM1nCccmaa2yxjaW.4MI6uidn7O2V9PcIYuQj6PxLlRe4NtNrHimsE5y 12D.oAJSBk06AofgJY08uSqM_JmwH6JgRpowT3uy1YD6fzH020wuKXdw5sGTPdBSi3_DnRO4SHUN lUFoDvITSt0XWXhndd4LFLkq5G1QoZq6LgDc4tme_3WvVhO.tb0XFeBiPJxypxt_ZGHb26uSjkZh RhIv.lQgz0EdKaVny8ctb2ZcuwcYlAKqKWLHUcQba7NqZz_tD8us6ha7DHDseCrQFpADeEA2qxBa wwDQjYTKY9WTu8tK38RZZLSMc.ZoetUN_hnQaNb8AVrckNeUpnV.gyqQtM56zv1uZjQh9VnoP9bV PUSHpitt1bTZwt3jL8N._U5eCF652RiVc27ltCDPfLivA8dUYtvUVis6CoT0FstdwYwHiGaVXLox NAx3IW6qdf.nIBqPS.qf4VHSuvv9Lj4W9Otn7xtQnHaokIWmcWrqvGFJpmOEbJfAGVATwfilnrRK _T9gYgmf0tEHTwiNZ55Zt Received: from jws400043.mail.bf2.yahoo.com by sendmailws154.mail.bf1.yahoo.com; Thu, 17 Nov 2016 23:48:47 +0000; 1479426527.199 Date: Thu, 17 Nov 2016 23:48:46 +0000 (UTC) From: Fehmi Noyan ISI Reply-To: Fehmi Noyan ISI To: Adrian Chadd Cc: Freebsd Wireless Message-ID: <1703426610.2431782.1479426526331@mail.yahoo.com> In-Reply-To: References: <980351195.1573665.1479336792289.ref@mail.yahoo.com> <980351195.1573665.1479336792289@mail.yahoo.com> <2112311201.1853303.1479370511602@mail.yahoo.com> Subject: Re: Using net80211/IEEE80211_C_BITS macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2016 23:48:55 -0000 Sounds reasonable, thanks! if you make the change and give the revision number, I will give it a go to see if the code compiles (can do it in a VM, which wont have wlan interface but I'd assume it is OK if the world can be built without any issues) the ddb(4) support included in net80211 (implemented in ieee80211_ddb.c) also relies on data structures found in ieee80211_var.h, including IEEE80211_C_BITS(since this file includes lots of driver cap bits). I am not quite sure why I got so many compiler errors (in fact clang gave up listing them after having a few dozen errors) by just #includ'ing ieee80211_var.h. ----- Original Message ----- From: Adrian Chadd To: Fehmi Noyan ISI Cc: Freebsd Wireless Sent: Friday, November 18, 2016 10:42 AM Subject: Re: Using net80211/IEEE80211_C_BITS macro Hiya, Ok. How about I move that into _ieee80211.h with the rest of this thing, and then remove the duplication from ifieee80211.c ? -adrian