]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - drivers/staging/rtl8192u/r819xU_firmware.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / drivers / staging / rtl8192u / r819xU_firmware.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
8fc8598e
JC
2#ifndef __INC_FIRMWARE_H
3#define __INC_FIRMWARE_H
4
5#define RTL8190_CPU_START_OFFSET 0x80
c938699e
BAO
6#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) \
7 (4*(v/4) - 8 - USB_HWDESC_HEADER_LEN)
8fc8598e 8
3286ae5f 9typedef enum _firmware_init_step {
8fc8598e
JC
10 FW_INIT_STEP0_BOOT = 0,
11 FW_INIT_STEP1_MAIN = 1,
12 FW_INIT_STEP2_DATA = 2,
3286ae5f 13} firmware_init_step_e;
8fc8598e 14
3286ae5f 15typedef enum _opt_rst_type {
8fc8598e
JC
16 OPT_SYSTEM_RESET = 0,
17 OPT_FIRMWARE_RESET = 1,
3286ae5f 18} opt_rst_type_e;
8fc8598e 19
8fc8598e 20#endif