15e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao/*
25e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * Marvell Wireless LAN device driver: 802.11n Aggregation
35e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao *
465da33f5557f0ed3f1227063bcf1f25248d456e5Xinming Hu * Copyright (C) 2011-2014, Marvell International Ltd.
55e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao *
65e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * This software file (the "File") is distributed by Marvell International
75e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * Ltd. under the terms of the GNU General Public License Version 2, June 1991
85e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * (the "License").  You may use, redistribute and/or modify this File in
95e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * accordance with the terms and conditions of the License, a copy of which
105e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * is available by writing to the Free Software Foundation, Inc.,
115e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
125e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
135e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao *
145e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
155e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
165e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
175e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao * this warranty disclaimer.
185e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao */
195e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao
205e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao#ifndef _MWIFIEX_11N_AGGR_H_
215e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao#define _MWIFIEX_11N_AGGR_H_
225e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao
235e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao#define PKT_TYPE_AMSDU	0xE6
24d85c5fe462fe3531f607fda787e9c80617e35437Amitkumar Karwar#define MIN_NUM_AMSDU 2
255e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao
265e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhaoint mwifiex_11n_deaggregate_pkt(struct mwifiex_private *priv,
275e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao				struct sk_buff *skb);
285e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhaoint mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
29bd1c6142edce787b8ac1be15635f845aa9905333Amitkumar Karwar			      struct mwifiex_ra_list_tbl *ptr,
305e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao			      int ptr_index, unsigned long flags)
315e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao			      __releases(&priv->wmm.ra_list_spinlock);
325e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao
335e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4eBing Zhao#endif /* !_MWIFIEX_11N_AGGR_H_ */
34