forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.h
....@@ -1,27 +1,6 @@
1
-/******************************************************************************
2
- *
3
- * Copyright(c) 2009-2012 Realtek Corporation.
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of version 2 of the GNU General Public License as
7
- * published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope that it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
- * more details.
13
- *
14
- * The full GNU General Public License is included in this distribution in the
15
- * file called LICENSE.
16
- *
17
- * Contact Information:
18
- * wlanfae <wlanfae@realtek.com>
19
- * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20
- * Hsinchu 300, Taiwan.
21
- *
22
- * Larry Finger <Larry.Finger@lwfinger.net>
23
- *
24
- *****************************************************************************/
1
+/* SPDX-License-Identifier: GPL-2.0 */
2
+/* Copyright(c) 2009-2012 Realtek Corporation.*/
3
+
254 #ifndef __REALTEK_FIRMWARE92S_H__
265 #define __REALTEK_FIRMWARE92S_H__
276
....@@ -297,7 +276,7 @@
297276 H2C_JOINBSS_CMD,
298277 H2C_DISCONNECT_CMD, /*15*/
299278 H2C_CREATEBSS_CMD,
300
- H2C_SETOPMode_CMD,
279
+ H2C_SETOPMODE_CMD,
301280 H2C_SITESURVEY_CMD,
302281 H2C_SETAUTH_CMD,
303282 H2C_SETKEY_CMD, /*20*/
....@@ -336,10 +315,10 @@
336315
337316 /* The following macros are used for FW
338317 * CMD map and parameter updated. */
339
-#define FW_CMD_IO_CLR(rtlpriv, _Bit) \
318
+#define FW_CMD_IO_CLR(rtlpriv, _bit) \
340319 do { \
341320 udelay(1000); \
342
- rtlpriv->rtlhal.fwcmd_iomap &= (~_Bit); \
321
+ rtlpriv->rtlhal.fwcmd_iomap &= (~_bit); \
343322 } while (0)
344323
345324 #define FW_CMD_IO_UPDATE(rtlpriv, _val) \