From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
To: Christian Lamparter <chunkeey@googlemail.com>
Cc: <linux-wireless@vger.kernel.org>, <ath9k-devel@lists.ath9k.org>,
<senthilb@qca.qualcomm.com>, <vthiagar@qca.qualcomm.com>,
<rodrigue@qca.qualcomm.com>,
Rajkumar_contact <rmanohar@qca.qualcomm.com>,
"Manoharan, Sujith" <c_manoha@qca.qualcomm.com>
Subject: Re: [RFC 1/2] ath9k: use ieee80211_free_txskb
Date: Mon, 5 Mar 2012 20:30:39 +0530 [thread overview]
Message-ID: <4F54D517.2090001@qca.qualcomm.com> (raw)
In-Reply-To: <4F4F7DC2.8030204@qca.qualcomm.com>
Hi Christian,
ping
On Thursday 01 March 2012 07:16 PM, Mohammed Shafi Shajakhan wrote:
> On Thursday 01 March 2012 05:12 PM, Mohammed Shafi Shajakhan wrote:
>> On Thursday 01 March 2012 11:09 AM, Mohammed Shafi Shajakhan wrote:
>>> Hi Christian,
>>>
>>> On Monday 27 February 2012 09:40 PM, Christian Lamparter wrote:
>>>> With the new tx status API: "mac80211: implement wifi TX status"
>>>> All skb originating from mac80211 needs to be given back to mac80211.
>>>>
>>>> Signed-off-by: Christian Lamparter<chunkeey@googlemail.com>
>>>> ---
>>>> It's high time we change all calls in the tx-path from
>>>> dev_kfree_skb into ieee80211_free_txskb.
>>>>
>>>> The call in ath9k_tx is straightforward, but the one in
>>>> ath_tx_setup_buffer gives me headaches. I'm not sure if
>>>> we even need to check bf->bf_state.bfs_paprd at this
>>>> stage since ath_tx_start_dma sets bf->bf_state.bfs_paprd
>>>> "after" calling ath_tx_setup_buffer?!
>>>
>>> yes, i think its a problem, we cannot exactly say its the skb from
>>> mac80211 (or) its our PAPRD skb. though with the current code(as the
>>> PAPRD) is disabled the skb would be always from mac80211. let us see if
>>> we have some good solution.
>>
>>
>> got some idea, need to make sure this works perfectly, paprd frames are
>> not aggregated, so we can look only at the non-aggregated path.
>>
>> lets ignore aggregated path:
>>
>> *ath_tx_form_aggr
>> *ath_tx_send_ampdu
>>
>>
>> non-aggregated path :
>>
>> *ath_tx_start_dma
>> *ath_send_normal
>>
>> -> 'ath_tx_setup_buffer' called from 'ath_tx_start_dma' can have a
>> 'is_paprd' check based on 'txctl->paprd' which holds which chain we are
>> sending PAPRD frame.
>>
>> -> 'ath_send_normal' called from
>> -ath_tx_start_dma ( then 'bf' should be valid and we would not have
>> called 'ath_tx_setup_buffer'
>> -ath_tx_flush_tid ( which is an aggregation path) ignore it.
>>
>>
>> attached rough patch for ath9k, need to be compiled and tested. i will
>> also analyze if this can be done in a better way or any flaws in it
>>
>
> compilation fails with previous patch, forgot to declare the field in
> the declaration, attached patch passes compilation.
>
>
would you like me to test this patch, i can just ran a test parallel y
enabling PAPRD,with this proposed patch.
--
thanks,
shafi
next prev parent reply other threads:[~2012-03-05 15:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-27 16:10 [RFC 1/2] ath9k: use ieee80211_free_txskb Christian Lamparter
2012-02-27 16:32 ` [RFC 2/2] ath9k_htc: " Christian Lamparter
2012-03-01 13:58 ` Mohammed Shafi Shajakhan
2012-03-01 5:39 ` [RFC 1/2] ath9k: " Mohammed Shafi Shajakhan
2012-03-01 11:42 ` Mohammed Shafi Shajakhan
2012-03-01 13:46 ` Mohammed Shafi Shajakhan
2012-03-05 15:00 ` Mohammed Shafi Shajakhan [this message]
2012-03-05 15:01 ` Mohammed Shafi Shajakhan
2012-03-05 18:43 ` Christian Lamparter
2012-03-06 5:06 ` Mohammed Shafi Shajakhan
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=4F54D517.2090001@qca.qualcomm.com \
--to=mohammed@qca.qualcomm.com \
--cc=ath9k-devel@lists.ath9k.org \
--cc=c_manoha@qca.qualcomm.com \
--cc=chunkeey@googlemail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rmanohar@qca.qualcomm.com \
--cc=rodrigue@qca.qualcomm.com \
--cc=senthilb@qca.qualcomm.com \
--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).