Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
r8192E_firmware.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
3  *
4  * This program is distributed in the hope that it will be useful, but WITHOUT
5  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
7  * more details.
8  *
9  * You should have received a copy of the GNU General Public License along with
10  * this program; if not, write to the Free Software Foundation, Inc.,
11  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
12  *
13  * The full GNU General Public License is included in this distribution in the
14  * file called LICENSE.
15  *
16  * Contact Information:
17  * wlanfae <[email protected]>
18 ******************************************************************************/
19 #ifndef __INC_FIRMWARE_H
20 #define __INC_FIRMWARE_H
21 
22 #define RTL8190_CPU_START_OFFSET 0x80
23 
24 #define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) (4*(v/4) - 8)
25 
26 #define RTL8192E_BOOT_IMG_FW "RTL8192E/boot.img"
27 #define RTL8192E_MAIN_IMG_FW "RTL8192E/main.img"
28 #define RTL8192E_DATA_IMG_FW "RTL8192E/data.img"
29 
34 };
35 
39 };
40 
44 };
45 
49 };
50 
58 };
59 
63 };
64 
65 struct rt_firmware {
68 #define RTL8190_MAX_FIRMWARE_CODE_SIZE 64000
69 #define MAX_FW_INIT_STEP 3
72 };
73 
74 bool init_firmware(struct net_device *dev);
75 extern void firmware_init_param(struct net_device *dev);
76 
77 #endif