Search Linux Wireless

Re: [PATCH v2 14/18] brcmsmac: extend xmtfifo_sz array

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

 



Hi Hauke,

On Sat, Jun 30, 2012 at 11:16 PM, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
> The xmtfifo_sz array contains the queue sizes for the different core
> revs. This array missed the sizes for the core rev 17 and 28. This
> patch extends the array to also include these sizes and adds a warning
> if no queue size is stored in the array for the given core rev.
>
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
> ---
>  drivers/net/wireless/brcm80211/brcmsmac/main.c |   24 +++++++++++++++++++++++-
>  1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c
> index 547ae5b..46d7646 100644
> --- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
> +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
> @@ -343,6 +349,18 @@ static const u16 xmtfifo_sz[][NFIFO] = {
>         {20, 192, 192, 21, 17, 5},
>         /* corerev 24: 2304, 14848, 5632, 3584, 3584, 1280 */
>         {9, 58, 22, 14, 14, 5},
> +       /* corerev 25: */
> +       {0, 0, 0, 0, 0, 0},
> +       /* corerev 26: */
> +       {0, 0, 0, 0, 0, 0},
> +       /* corerev 27: */
> +       {0, 0, 0, 0, 0, 0},
> +       /* corerev 28: 2304, 14848, 5632, 3584, 3584, 1280 */
> +       {9, 58, 22, 14, 14, 5},
> +       /* corerev 29: */
> +       {0, 0, 0, 0, 0, 0},
> +       /* corerev 30: */
> +       {0, 0, 0, 0, 0, 0},

Why add data for 29 and 30?

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
--
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