forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/phy.h
....@@ -1,27 +1,5 @@
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.*/
253
264 #ifndef __RTL92C_PHY_H__
275 #define __RTL92C_PHY_H__
....@@ -44,9 +22,9 @@
4422
4523 #define LOOP_LIMIT 5
4624 #define MAX_STALL_TIME 50
47
-#define AntennaDiversityValue 0x80
25
+#define ANTENNADIVERSITYVALUE 0x80
4826 #define MAX_TXPWR_IDX_NMODE_92S 63
49
-#define Reset_Cnt_Limit 3
27
+#define RESET_CNT_LIMIT 3
5028
5129 #define IQK_ADDA_REG_NUM 16
5230 #define IQK_MAC_REG_NUM 4
....@@ -122,7 +100,7 @@
122100 void _rtl92c_phy_fw_rf_serial_write(struct ieee80211_hw *hw,
123101 enum radio_path rfpath, u32 offset,
124102 u32 data);
125
-void _rtl92c_store_pwrIndex_diffrate_offset(struct ieee80211_hw *hw,
103
+void _rtl92c_store_pwrindex_diffrate_offset(struct ieee80211_hw *hw,
126104 u32 regaddr, u32 bitmask, u32 data);
127105 bool _rtl92ce_phy_config_mac_with_headerfile(struct ieee80211_hw *hw);
128106 void _rtl92c_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw);