Search Linux Wireless

Re: [PATCH ] wl12xx: BA receiver support

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

 



On Wed, 2010-11-24 at 18:33 +0200, ext Shahar Levi wrote:
> Add new ampdu_action ops to support receiver BA.
> The BA initiator session management in FW independently.
> 
> Signed-off-by: Shahar Levi <shahar_levi@xxxxxx>
> ---
> Dependencies:
> - BA Initiator patches have a runtime dependency on commit
>    "[RFC v3] wl1271: BA Initiator support"
> 
>  drivers/net/wireless/wl12xx/acx.c   |   38 ++++++++++++++++++++++++++
>  drivers/net/wireless/wl12xx/acx.h   |   21 ++++++++++++++
>  drivers/net/wireless/wl12xx/event.c |    3 +++
>  drivers/net/wireless/wl12xx/event.h |   17 ++++++++++-
>  drivers/net/wireless/wl12xx/main.c  |   50 +++++++++++++++++++++++++++++++++++
>  5 files changed, 128 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/wl12xx/acx.c b/drivers/net/wireless/wl12xx/acx.c
> index 6c433b7..85d87dd 100644
> --- a/drivers/net/wireless/wl12xx/acx.c
> +++ b/drivers/net/wireless/wl12xx/acx.c
> @@ -1359,6 +1359,44 @@ out:
>  	return ret;
>  }
>  
> +/* setup BA session receiver setting in the FW. */
> +int wl1271_acx_set_ba_receiver_session(struct wl1271 *wl, u8 tid_index,
> +				       u16 *ssn, u8 policy)
> +{
> +	struct wl1271_acx_ba_receiver_setup *acx;
> +	int ret;
> +
> +	wl1271_debug(DEBUG_ACX, "acx ba receiver session setting");
> +
> +	acx = kzalloc(sizeof(*acx), GFP_KERNEL);
> +	if (!acx) {
> +		ret = -ENOMEM;
> +		goto out;
> +	}
> +
> +	/* Single link for now */
> +	acx->link_id = 1;
> +	acx->tid = tid_index;
> +	acx->enable = policy;
> +	acx->win_size = 0;
> +

Here the window size is configured to 0.

As here the mac80211 does the processing and responding of the add BA
request from the AP, how does the firmware know what window size
eventually was taken into use?

Also, as we already discussed on IRC, the mac80211 currently responds to
the add BA request with the same window size suggested by the AP - in
case of my test AP, this value is 64 - which is too large for the
firmware to cope. So the firmware imposed limit to the window size must
be handled somehow.

-Juuso


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