Re: [PATCH 7/8] mac80211: A-MPDU Rx handling DELBA requests

Johannes Berg
2007-12-17T18:26:28Z

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

> + params = le16_to_cpu(mgmt->u.action.u.delba.params);
> + tid = (params & IEEE80211_DELBA_PARAM_TID_MASK) >> 12;
> + initiator = (params & IEEE80211_DELBA_PARAM_INITIATOR_MASK) >> 11;
> +
> +#ifdef CONFIG_MAC80211_HT_DEBUG
> + if (net_ratelimit())
> + printk(KERN_DEBUG "delba from %s on tid %d reason code %d\n",
> + print_mac(mac, mgmt->sa), tid,
> + mgmt->u.action.u.delba.reason_code);
> +#endif /* CONFIG_MAC80211_HT_DEBUG */
> +
> + if (initiator == WLAN_BACK_INITIATOR)
> + ieee80211_sta_stop_rx_BA_session(dev, sta->addr, tid,
> + WLAN_BACK_INITIATOR, 0);

Does this intentionally ignore the other cases, and if so, why?

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]