From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] ath6kl: Fix error in writing create_qos debugfs
Date: Mon, 7 Nov 2011 23:18:03 +0200 [thread overview]
Message-ID: <4EB84B0B.601@qca.qualcomm.com> (raw)
In-Reply-To: <1320411895-4828-1-git-send-email-vthiagar@qca.qualcomm.com>
On 11/04/2011 03:04 PM, Vasanthakumar Thiagarajan wrote:
> 100 bytes are allocated to store the parameters which are needed
> to create a priority stream. These 100 bytes are not sufficiant and
> throws error when running the following command.
>
> echo "6 2 3 1 1 9999999 9999999 9999999 7777777 0 6 45000 200 56789000
> 56789000 5678900 0 0 9999999 20000 0" > create_qos
>
> 179 bytes are needed when the following vlaues are given so that
> a maximum possible value in that data type can be given in decimal.
>
> echo "255 255 255 255 255 4294967295 4294967295 4294967295 4294967295
> 4294967295 255 65535 65535 4294967295 4294967295 4294967295 4294967295
> 4294967295 4294967295 4294967295 4294967295" > create_qos
>
> Following takes 187 bytes when given in hex
>
> echo "0xff 0xff 0xff 0xff 0xff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff
> 0xff 0xffff 0xffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff
> 0xffffffff 0xffffffff" > create_qos
>
> Increase the size to 200 bytes so that it can hold upto the maximum
> value possible for that data type.
Thanks, applied.
Kalle
prev parent reply other threads:[~2011-11-07 21:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-04 13:04 [PATCH] ath6kl: Fix error in writing create_qos debugfs Vasanthakumar Thiagarajan
2011-11-07 21:18 ` Kalle Valo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB84B0B.601@qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=vthiagar@qca.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).