Search Linux Wireless

Re: [RFC 2/2] wl12xx: Stop BA session event from device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> ---

[...]

> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux