xref: /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/frag.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * IE/TLV (de)fragmentation declarations/definitions for
3  * Broadcom 802.11abgn Networking Device Driver
4  *
5  * Copyright (C) 2020, Broadcom.
6  *
7  *      Unless you and Broadcom execute a separate written software license
8  * agreement governing use of this software, this software is licensed to you
9  * under the terms of the GNU General Public License version 2 (the "GPL"),
10  * available at http://www.broadcom.com/licenses/GPLv2.php, with the
11  * following added to such license:
12  *
13  *      As a special exception, the copyright holders of this software give you
14  * permission to link this software with independent modules, and to copy and
15  * distribute the resulting executable under terms of your choice, provided that
16  * you also meet, for each linked independent module, the terms and conditions of
17  * the license of that module.  An independent module is a module which is not
18  * derived from this software.  The special exception does not apply to any
19  * modifications of the software.
20  *
21  *
22  * <<Broadcom-WL-IPTag/Dual:>>
23  *
24  */
25 
26 #ifndef __FRAG_H__
27 #define __FRAG_H__
28 
29 int bcm_tlv_dot11_frag_tot_len(const void *buf, uint buf_len,
30 	uint8 id, bool id_ext, uint *ie_len);
31 
32 #endif /* __FRAG_H__ */
33