| .. | .. |
|---|
| 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.*/ |
|---|
| 25 | 3 | |
|---|
| 26 | 4 | #ifndef __RTL92C_PHY_H__ |
|---|
| 27 | 5 | #define __RTL92C_PHY_H__ |
|---|
| .. | .. |
|---|
| 44 | 22 | |
|---|
| 45 | 23 | #define LOOP_LIMIT 5 |
|---|
| 46 | 24 | #define MAX_STALL_TIME 50 |
|---|
| 47 | | -#define AntennaDiversityValue 0x80 |
|---|
| 25 | +#define ANTENNADIVERSITYVALUE 0x80 |
|---|
| 48 | 26 | #define MAX_TXPWR_IDX_NMODE_92S 63 |
|---|
| 49 | | -#define Reset_Cnt_Limit 3 |
|---|
| 27 | +#define RESET_CNT_LIMIT 3 |
|---|
| 50 | 28 | |
|---|
| 51 | 29 | #define IQK_ADDA_REG_NUM 16 |
|---|
| 52 | 30 | #define IQK_MAC_REG_NUM 4 |
|---|
| .. | .. |
|---|
| 122 | 100 | void _rtl92c_phy_fw_rf_serial_write(struct ieee80211_hw *hw, |
|---|
| 123 | 101 | enum radio_path rfpath, u32 offset, |
|---|
| 124 | 102 | u32 data); |
|---|
| 125 | | -void _rtl92c_store_pwrIndex_diffrate_offset(struct ieee80211_hw *hw, |
|---|
| 103 | +void _rtl92c_store_pwrindex_diffrate_offset(struct ieee80211_hw *hw, |
|---|
| 126 | 104 | u32 regaddr, u32 bitmask, u32 data); |
|---|
| 127 | 105 | bool _rtl92ce_phy_config_mac_with_headerfile(struct ieee80211_hw *hw); |
|---|
| 128 | 106 | void _rtl92c_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw); |
|---|