All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shahar Levi <shahar_levi@ti.com>
To: Luciano Coelho <luciano.coelho@nokia.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [RFC 2/2] wl12xx: Stop BA session event from device
Date: Mon, 29 Nov 2010 15:24:52 +0200	[thread overview]
Message-ID: <4CF3A9A4.40107@ti.com> (raw)
In-Reply-To: <1291035508.1673.70.camel@powerslave>

On 11/29/2010 02:58 PM, Luciano Coelho wrote:
> On Mon, 2010-11-29 at 14:55 +0200, ext Shahar Levi wrote:
>> On 11/29/2010 02:53 PM, Luciano Coelho wrote:
>>> On Thu, 2010-11-25 at 16:39 +0200, ext Shahar Levi wrote:
>>>> Adding new event that close RX BA session in case of periodic BT activity
>>>> limiting WLAN activity.
>>>>
>>>> Signed-off-by: Shahar Levi<shahar_levi@ti.com>
>>>> ---
>>>
>>> [...]
>>>
>>>> diff --git a/drivers/net/wireless/wl12xx/event.c b/drivers/net/wireless/wl12xx/event.c
>>>> index 9815b7b..7cbeb2b 100644
>>>> --- a/drivers/net/wireless/wl12xx/event.c
>>>> +++ b/drivers/net/wireless/wl12xx/event.c
>>>> @@ -174,6 +174,25 @@ static void wl1271_event_rssi_trigger(struct wl1271 *wl,
>>>>    	wl->last_rssi_event = event;
>>>>    }
>>>>
>>>> +static void wl1271_event_ba_rx_constraint(struct wl1271 *wl,
>>>> +					  struct event_mailbox *mbox)
>>>> +{
>>>> +	u8 tid_index = 0;
>>>> +
>>>> +	wl1271_debug(DEBUG_EVENT, "BA RX constraint event. ba_allowed = %d",
>>>> +		     mbox->ba_allowed);
>>>> +
>>>> +	wl->ba_allowed = mbox->ba_allowed;
>>>> +
>>>> +	if (!wl->ba_rx_bitmap)
>>>> +		return;
>>>> +
>>>> +	for (tid_index = 0; tid_index<   CONF_TX_MAX_TID_COUNT; ++tid_index)
>>>
>>> Please use the more classic tid_index++ instead.
>> OK, will be fix on v2.
>
> This is really nitpicking now, but if you change tid_index to i instead,
> you won't need two lines for the call to ieee80211_stop_rx_ba_session(),
> because it will fit in one line. :P
>
;-)
no problem. will do.

  reply	other threads:[~2010-11-29 13:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25 14:39 [RFC 1/2] mac80211: Stop BA session event from device Shahar Levi
2010-11-25 14:39 ` [RFC 2/2] wl12xx: " Shahar Levi
2010-11-29 12:53   ` Luciano Coelho
2010-11-29 12:55     ` Shahar Levi
2010-11-29 12:58       ` Luciano Coelho
2010-11-29 13:24         ` Shahar Levi [this message]
2010-11-25 18:11 ` [RFC 1/2] mac80211: " Johannes Berg
2010-11-25 18:35   ` Levi, Shahar

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=4CF3A9A4.40107@ti.com \
    --to=shahar_levi@ti.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luciano.coelho@nokia.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.