Search Linux Wireless

Re: [PATCH] at76c50x-usb: support cfg80211 scanning

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

 



On Wed, 2009-02-18 at 22:31 +0200, Kalle Valo wrote:
> Jason Andryuk <jandryuk@xxxxxxxxx> writes:
> 
> > With the latest mac80211 stack, the driver needs to be updated for
> > cfg80211 scanning.  I based the changes off of modifications for
> > at76_usb found here:
> > http://johannes.sipsolutions.net/patches/old/all/2008-09-19-13:35/020-cfg80211-scan.patch
> >
> > The trick was that max_signal also needs to be set to avoid a divide
> > by zero Oops.  I just guessed and used the value 100 for now.
> 
> Thank you for doing this. Unfortunately the patch was corrupted, so I
> had to manually take your changes. I also included the
> ieee80211_scan_compileted() fix to this patch.
> 
> > Additionally, I added some ieee80211_{wake,stop}_queues calls that
> > were contained in the older at76_usb.  There is ambiguity as to
> > whether at76_join should be called before or after waking the queues.
> 
> I would like to have a separate patch for this. Also I would like to
> know what kind of bug this fixes.
> 
> Sorry to be so picky, but I'm going to push the driver into mainline
> soon and I try avoid regressions right now.

I must admit, I do not have the best understanding of the driver.  As
such, I was making modifications to at76c50x-usb to be as similar to
at76_usb+mac80211 as possible to prevent the driver from oops-ing.

I don't know the proper usage of ieee80211_{wake,stop}_queues, but my
understanding is they should be called at different times to indicate
readiness for transmitting frames to the mac80211 stack.

I am having issues with my Linksys WUSB11 adapter.  It has the intersil
3861 and the scan command is reporting Command Status of 0x03 - Invalid
parameter.  For right now, scanning does not work for me.

Sorry about the corrupt patches.  The gmail web interface was causing
problems.

Take care.

Jason

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux