.. | .. |
---|
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 | #include "../wifi.h" |
---|
27 | 5 | #include "../core.h" |
---|
.. | .. |
---|
33 | 11 | #include "dm.h" |
---|
34 | 12 | #include "fw.h" |
---|
35 | 13 | #include "hw.h" |
---|
36 | | -#include "sw.h" |
---|
37 | 14 | #include "trx.h" |
---|
38 | 15 | #include "led.h" |
---|
39 | 16 | |
---|
.. | .. |
---|
88 | 65 | struct rt_firmware *pfirmware = NULL; |
---|
89 | 66 | char *fw_name = "rtlwifi/rtl8192sefw.bin"; |
---|
90 | 67 | |
---|
91 | | - RT_TRACE(rtlpriv, COMP_ERR, DBG_LOUD, |
---|
92 | | - "Firmware callback routine entered!\n"); |
---|
| 68 | + rtl_dbg(rtlpriv, COMP_ERR, DBG_LOUD, |
---|
| 69 | + "Firmware callback routine entered!\n"); |
---|
93 | 70 | complete(&rtlpriv->firmware_loading_complete); |
---|
94 | 71 | if (!firmware) { |
---|
95 | 72 | pr_err("Firmware %s not available\n", fw_name); |
---|
.. | .. |
---|
183 | 160 | rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; |
---|
184 | 161 | rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; |
---|
185 | 162 | rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; |
---|
186 | | - rtlpriv->cfg->mod_params->sw_crypto = |
---|
187 | | - rtlpriv->cfg->mod_params->sw_crypto; |
---|
188 | 163 | if (!rtlpriv->psc.inactiveps) |
---|
189 | 164 | pr_info("Power Save off (module option)\n"); |
---|
190 | 165 | if (!rtlpriv->psc.fwctrl_lps) |
---|