18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * NXP Wireless LAN device driver: 802.11n Aggregation
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Copyright 2011-2020 NXP
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * This software file (the "File") is distributed by NXP
78c2ecf20Sopenharmony_ci * under the terms of the GNU General Public License Version 2, June 1991
88c2ecf20Sopenharmony_ci * (the "License").  You may use, redistribute and/or modify this File in
98c2ecf20Sopenharmony_ci * accordance with the terms and conditions of the License, a copy of which
108c2ecf20Sopenharmony_ci * is available by writing to the Free Software Foundation, Inc.,
118c2ecf20Sopenharmony_ci * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
128c2ecf20Sopenharmony_ci * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
138c2ecf20Sopenharmony_ci *
148c2ecf20Sopenharmony_ci * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
158c2ecf20Sopenharmony_ci * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
168c2ecf20Sopenharmony_ci * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
178c2ecf20Sopenharmony_ci * this warranty disclaimer.
188c2ecf20Sopenharmony_ci */
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#ifndef _MWIFIEX_11N_AGGR_H_
218c2ecf20Sopenharmony_ci#define _MWIFIEX_11N_AGGR_H_
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#define PKT_TYPE_AMSDU	0xE6
248c2ecf20Sopenharmony_ci#define MIN_NUM_AMSDU 2
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciint mwifiex_11n_deaggregate_pkt(struct mwifiex_private *priv,
278c2ecf20Sopenharmony_ci				struct sk_buff *skb);
288c2ecf20Sopenharmony_ciint mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
298c2ecf20Sopenharmony_ci			      struct mwifiex_ra_list_tbl *ptr,
308c2ecf20Sopenharmony_ci			      int ptr_index)
318c2ecf20Sopenharmony_ci			      __releases(&priv->wmm.ra_list_spinlock);
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci#endif /* !_MWIFIEX_11N_AGGR_H_ */
34