svn commit: r283568 - head/sys/net80211

Adrian Chadd adrian at freebsd.org
Tue May 26 18:25:33 UTC 2015


On 26 May 2015 at 08:44, Gleb Smirnoff <glebius at freebsd.org> wrote:
> On Tue, May 26, 2015 at 08:25:01AM -0700, Adrian Chadd wrote:
> A> Hi,
> A>
> A> We're going to have to move all of the counter API stuff into
> A> ieee80211_freebsd.[ch].
>
> Well, I put the function in the same file where if_get_counter pointer
> is set, so that it can be static. You need distinctive border between
> FreeBSD and non-FreeBSD stuff, which right now isn't yet clear.
>
> I don't mind moving, but looks like the ifnet attachment process, either
> the current one or the future one, also needs to be moved to FreeBSD
> part of the code.

Yeah, the lines got .. blurred. I don't want to go full portability
unless someone comes up with a very pressing need - eg, still assume
ifnet ,still assume ioctl ,transmit/start, receive, mbufs, etc. But
vnets and counter API should be easy to migrate out so
netbsd/dragonflybsd can port things.


-adrian


More information about the svn-src-all mailing list