Re: [PATCH] staging:brcm80211:brcmfmac:add debugfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 18, 2010 at 7:08 AM, Greg KH <greg@xxxxxxxxx> wrote:
> On Sun, Oct 17, 2010 at 03:10:33PM -0700, Grant Grundler wrote:
>> ...
>> > In short, I think you mixed a few different things in this patch.
>> >
>> > Please break it up into logical steps, one perhaps adding some new
>> > infrastructure that you will then, in a later patch, expose using
>> > debugfs.
>> >
>> > It should be two patches at the very least, possibly three, right?
>>
>> Here's what I see...please suggest something different if you think
>> I've missed something:
>> 1) clean up use of active_scan in wl_do_iscan()/__wl_cfg80211_scan
>> 2) add DEBUGFS support equivalent to what mac80211 provides.
>
> Um, no, how about:
> Â Â Â Â2) move the driver to use the mac80211 layer
>
> Don't try to emulate the existing core debugfs functionality, it will be
> a constantly loosing proposition of keeping it in sync. ÂAs the driver
> needs to be moved to us the layer in order to get out of the staging
> tree, might as well work on that first, right?

No. The point of this device is it provides the same functionality as
mac80211 but in device firmware instead of in OS SW. This is
comparable to other forms of offload (and has similar issues - people
may not always be able to use offloaded functionality.)

My understanding was the brcm80211 driver would eventually support the
same HW and people could chose if they wanted to use kernel mac80211
or device MAC support by using a different driver.

You might be right that one of the drivers should go away and just
make it an option...but someone else will have to explain which
networking infrastructure is missing to make that possible today.
Until then, I'd like a working brcmfmac driver so I have *something*
to make use of HW that is currently available (I believe all Nexus One
phones fall into this bucket though that's not HW I'm currently
testing with).

hth,
grant
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux