Search Linux Wireless

Re: brcmfmac: command request size is determined by expected response size?

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

 



On 08/11/2014 10:35 AM, Daniel Drake wrote:
Hi,

Looking at brcmfmac in Linux 3.16 with a BCM43241 SDIO card, I noticed that
brcmf_construct_reginfo() constructs and submits a really large
(1.5kb) request to the card. However, the actual request seems really
small and trivial (a header, the word "chanspecs" and not much more),
and we end up sending a whole lot of zeroes to fill the 1.5kb
allocation (MEDLEN).

I can understand that the card may wish to send 1.5kb in response, but
does the request itself really need to be the same size?

The main reason is indeed that the request buffer is used by the device firmware for the response message. That is a design decision in the firmware that we must adhere to.

Regards,
Arend
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux