From: Kalle Valo <kvalo@qca.qualcomm.com>
To: "Pachamuthu, Thirumalai" <tpachamu@qca.qualcomm.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
ath6kl-devel <ath6kl-devel@qualcomm.com>
Subject: Re: [PATCH 2/4] ath6kl: Introduce new queue for uAPSD.
Date: Thu, 12 Jan 2012 13:16:56 +0200 [thread overview]
Message-ID: <4F0EC128.5060700@qca.qualcomm.com> (raw)
In-Reply-To: <0118B7479E19DD469808F3B2CE43263BBCF5AA@aphydexd01a>
On 01/12/2012 07:25 AM, Pachamuthu, Thirumalai wrote:
>> -----Original Message-----
>> From: Valo, Kalle
>> Sent: Wednesday, January 11, 2012 5:58 PM
>> To: Pachamuthu, Thirumalai
>> Cc: linux-wireless@vger.kernel.org; ath6kl-devel
>> Subject: Re: [PATCH 2/4] ath6kl: Introduce new queue for uAPSD.
>>
>> On 01/09/2012 09:45 AM, Thirumalai wrote:
>>> Add apsd_info in necessary places to indicate which AC's uAPSD is
>>> enabled.
>>>
>>> A bit is added in the wmi header (bit 4 of info3) to specify uapsd
>>> trigger in rx direction (target to host) and end of service period in
>>> tx direction (host to target)
>>>
>>> Signed-off-by: Thirumalai <tpachamu@qca.qualcomm.com>
>>
>> [...]
>>
>>> +#define WMI_DATA_HDR_TRIGGER_MASK 0x1
>>> +#define WMI_DATA_HDR_TRIGGER_SHIFT 4
>>> +
>>> +#define WMI_DATA_HDR_EOSP_MASK WMI_DATA_HDR_TRIGGER_MASK
>>> +#define WMI_DATA_HDR_EOSP_SHIFT WMI_DATA_HDR_TRIGGER_SHIFT
>>
>> This looks a bit odd, I can't see why you want to use trigger definitions for eosp.
>> Even if the values are same I don't see the benefit for using trigger values for
>> eosp. Is there a particular reason for this?
>>
>> Kalle
>
> The bit in the wmi header (bit 4 of info3) to specify TRIGGER in RX direction (target to host) and the same bit will be used as ESOP in TX direction (host to target).
> Simply we reused the existing macro which made this confusion; I will make the following change in the next release.
>
> #define WMI_DATA_HDR_EOSP_MASK 1
> #define WMI_DATA_HDR_EOSP_SHIFT 4
Thanks, please do that. It is definitely clearer that way.
Kalle
prev parent reply other threads:[~2012-01-12 11:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-09 7:45 [PATCH 2/4] ath6kl: Introduce new queue for uAPSD Thirumalai
2012-01-09 11:40 ` Kalle Valo
2012-01-11 12:27 ` Kalle Valo
2012-01-12 5:25 ` Pachamuthu, Thirumalai
2012-01-12 11:16 ` 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=4F0EC128.5060700@qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath6kl-devel@qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=tpachamu@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).