linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luciano Coelho <luciano.coelho@nokia.com>
To: ext Shahar Levi <shahar_levi@ti.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFC 2/2] wl12xx: Stop BA session event from device
Date: Mon, 29 Nov 2010 14:53:31 +0200	[thread overview]
Message-ID: <1291035211.1673.68.camel@powerslave> (raw)
In-Reply-To: <1290695964-4208-2-git-send-email-shahar_levi@ti.com>

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.


-- 
Cheers,
Luca.


  reply	other threads:[~2010-11-29 12:53 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 [this message]
2010-11-29 12:55     ` Shahar Levi
2010-11-29 12:58       ` Luciano Coelho
2010-11-29 13:24         ` Shahar Levi
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=1291035211.1673.68.camel@powerslave \
    --to=luciano.coelho@nokia.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=shahar_levi@ti.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).