Search Linux Wireless

Re: [RFC/T] b43: Implement the BCM94311MCG rev 02 card with a rev 13 802.11 core

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

 



Michael Buesch wrote:
> On Thursday 15 November 2007 16:02:48 Larry Finger wrote:
>> It took me a while to figure out where the magic number of 200 came from, and what I needed for the
>> 64-bit case. In fact I think the 200 is a bug and should be 0x200. To me, this change makes it clearer.
> 
> The 200 is just a random number.
> I think we don't really care what the value is. (Except zero, which doesn't
> work on some devices).

I think the specs are missing one word and that this quantity should be called "Descriptor Stop
Index" for RX. My understanding is that the RX process uses the descriptors in order until this
particular value is reached. At this point, it restarts at the beginning making a ring buffer. As we
have just allocated 64 slots, it didn't quite seem right to use only the first 25 of them, which is
what the 200 accomplishes. Of course, 25 DMA RX buffers are quite likely to be more than enough. We
might reconsider cutting the allocation number and not take so much DMAable memory. With 64-bit DMA,
all memory is suitable, but not so for the 30-bit cards.

Larry


-
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