xref: /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/frag.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * IE/TLV (de)fragmentation declarations/definitions for
3  * Broadcom 802.11abgn Networking Device Driver
4  *
5  * Portions of this code are copyright (c) 2021 Cypress Semiconductor Corporation
6  *
7  * Copyright (C) 1999-2017, Broadcom Corporation
8  *
9  *      Unless you and Broadcom execute a separate written software license
10  * agreement governing use of this software, this software is licensed to you
11  * under the terms of the GNU General Public License version 2 (the "GPL"),
12  * available at http://www.broadcom.com/licenses/GPLv2.php, with the
13  * following added to such license:
14  *
15  *      As a special exception, the copyright holders of this software give you
16  * permission to link this software with independent modules, and to copy and
17  * distribute the resulting executable under terms of your choice, provided that
18  * you also meet, for each linked independent module, the terms and conditions of
19  * the license of that module.  An independent module is a module which is not
20  * derived from this software.  The special exception does not apply to any
21  * modifications of the software.
22  *
23  *      Notwithstanding the above, under no circumstances may you combine this
24  * software in any way with any other Broadcom software provided under a license
25  * other than the GPL, without Broadcom's express prior written consent.
26  *
27  *
28  * <<Broadcom-WL-IPTag/Open:>>
29  *
30  * $Id$
31  *
32  */
33 
34 #ifndef __FRAG_H__
35 #define __FRAG_H__
36 
37 int bcm_tlv_dot11_frag_tot_len(const void *buf, uint buf_len,
38 	uint8 id, bool id_ext, uint *ie_len);
39 
40 #endif /* __FRAG_H__ */
41