Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 19:45:55 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        mike@karels.net
Cc:        Rui Paulo <rpaulo@me.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Alfred Perlstein <alfred@freebsd.org>, Eric Joyner <erj@erj.cc>, John Baldwin <john@baldwin.cx>, Jack Vogel <jfvogel@gmail.com>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: Fwd: Adding new media types to if_media.h
Message-ID:  <CAJ-Vmo=jOebqaK8q6MJ_AeuSgGyBF%2B3v7TLELHh=je_m_C3fdw@mail.gmail.com>
In-Reply-To: <201502090249.t192nI96091798@mail.karels.net>
References:  <54D805D1.4050008@freebsd.org> <201502090249.t192nI96091798@mail.karels.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey, don't worry about the wifi side of things - I have absolutely no
requirement for backwards compatible API/ABI in the net80211 stack
outside of "it makes my life as the maintainer painful." I'm happy to
go churn it as part of this in order to get things looking better.

(And I likely have to at some point in the future when 11ac support turns up.)



-a


On 8 February 2015 at 18:49, Mike Karels <mike@karels.net> wrote:
> Alfred wrote:
>> On 2/8/15 2:41 PM, Mike Karels wrote:
>> >
>> > To solve the second problem, I think the right approach would be to reduce
>> > this interface to a truly generic one, such as media type (e.g. Ethernet),
>> > generic flags, and perhaps generic status.  Then there should be a separate
>> > media-specific interface for each type, such as Ethernet and 802.11.  To a
>> > small extent, we already have that.  Solving the second, more general problem,
>> > requires a whole new driver KPI that will require surgery to every driver,
>> > which is not an exercise that I would consider.
>> >
>> >
>> > I am willing to do a prototype for -current for evaluation.
>> >
>> > Comments, alternatives, ?
>> Mike,
>
>> I think we have enough people to chip in that your concern about
>> breaking the KPI is not as bad as you think.
>
>> Would like to hear the first correct + long term + less hackish proposal
>> first.
>
>> Norse has a kernel team that is heavily invested in networking that can
>> help with the transition.
>
>> If done right, likely renaming ALL of the macros it will be quite
>> trivial to catch all bad cases and move us forward in one great leap.
>
> Don't forget that the KPI is not the only part.  Breaking the user-level
> interface (API/ABI are almost the same) gets into ports and other important
> software that is harder to change.  A new KPI could still provide a compatible
> API, but would be much constrained.  And fwiw, I don't see the advantage to
> be gained unless the 802.11 software would be much improved.  I'm not the
> one to weigh in on that.
>
>                 Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=jOebqaK8q6MJ_AeuSgGyBF%2B3v7TLELHh=je_m_C3fdw>