On Tue, Jul 21, 2015 at 1:12 AM, Emmanuel Grumbach
<[email protected]> wrote:
>
> diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c
> index c8ba2e7..a758eb84 100644
> --- a/net/mac80211/agg-tx.c
> +++ b/net/mac80211/agg-tx.c
> @@ -97,7 +97,8 @@ static void ieee80211_send_addba_request(struct 
> ieee80211_sub_if_data *sdata,
>         mgmt->u.action.u.addba_req.action_code = WLAN_ACTION_ADDBA_REQ;
>
>         mgmt->u.action.u.addba_req.dialog_token = dialog_token;
> -       capab = (u16)(1 << 1);          /* bit 1 aggregation policy */
> +       capab = (u16)(1 << 0);          /* bit 0 A-MSDU support */

Shouldn't this be based on HW capability? We can add couple of more
_HW_ flags for TX and RX
and populate this based on that?

>
> +       capab |= (u16)(1 << 1);         /* bit 1 aggregation policy */
>         capab |= (u16)(tid << 2);       /* bit 5:2 TID number */
>         capab |= (u16)(agg_size << 6);  /* bit 15:6 max size of aggergation */
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to