Re: [rfc] breaking out if_ath into ... lots of modules

2017-05-22 Thread Warner Losh
On Mon, May 22, 2017 at 2:17 PM, John Baldwin wrote: > On Monday, May 22, 2017 12:29:15 PM Adrian Chadd wrote: > > Hi, > > > > I've been putting this off for a few years, but now I've reached a > > point where I kind of need to do this. > > > > The TL;DR is this - I'd like to

Re: My WLI-UC-GNM up crash

2013-07-29 Thread Warner Losh
The __aligned(8) likely isn't going to do anything. It says that you are guaranteeing to the compiler that you'll only ever allocate / cast pointers to this data type on a 8-byte boundary. __packed might help, but likely won't because that's for on-wire things and anything thing that wasn't

Re: My WLI-UC-GNM up crash

2013-07-29 Thread Warner Losh
Aren't structures already aligned to 4 bytes when placed inside other structures (unless marked __packed)? Warner On Jul 28, 2013, at 11:50 AM, Adrian Chadd wrote: As long as that results in the radiotap structures being 4 or 8 byte padded when it's embedded in the softc - then yes, indeed.

Re: My WLI-UC-GNM up crash

2013-07-29 Thread Warner Losh
On Jul 29, 2013, at 11:58 AM, Hans Petter Selasky wrote: The aligned will make sure that the structure gets padded properly to the size specified. Only on ARM/MIPS etc, structures get automatically aligned according to the element in the structure requiring the greatest alignment. I'd turn

Re: Offer: I'm going to automate FreeBSD-wireless AP builds, but what I need is hardware..

2013-04-20 Thread Warner Losh
On Apr 20, 2013, at 9:27 PM, Adrian Chadd wrote: Hiya, Now that the missing piece of support is almost done (hostap mode powersave/pspoll support) I'm going to move onto the next thing - doing automated FreeBSD builds for people to run on AP equipment. What I have that is publicly