| .. | .. |
|---|
| 1 | | -/****************************************************************************** |
|---|
| 2 | | - * |
|---|
| 3 | | - * Copyright(c) 2009-2013 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-2013 Realtek Corporation.*/ |
|---|
| 3 | + |
|---|
| 25 | 4 | #include "../wifi.h" |
|---|
| 26 | 5 | #include <linux/vmalloc.h> |
|---|
| 27 | 6 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 212 | 191 | u8 bt_exist; |
|---|
| 213 | 192 | |
|---|
| 214 | 193 | bt_exist = rtl_get_hwpg_bt_exist(rtlpriv); |
|---|
| 215 | | - RT_TRACE(rtlpriv, COMP_INIT, DBG_DMESG, |
|---|
| 194 | + rtl_dbg(rtlpriv, COMP_INIT, DBG_DMESG, |
|---|
| 216 | 195 | "%s, bt_exist is %d\n", __func__, bt_exist); |
|---|
| 217 | 196 | |
|---|
| 218 | 197 | if (!btcoexist) |
|---|
| .. | .. |
|---|
| 337 | 316 | void rtl_btc_btmpinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) |
|---|
| 338 | 317 | { |
|---|
| 339 | 318 | struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); |
|---|
| 340 | | - u8 extid, seq, len; |
|---|
| 319 | + u8 extid, seq; |
|---|
| 341 | 320 | u16 bt_real_fw_ver; |
|---|
| 342 | 321 | u8 bt_fw_ver; |
|---|
| 343 | 322 | u8 *data; |
|---|
| .. | .. |
|---|
| 353 | 332 | if (extid != 1) /* C2H_TRIG_BY_BT_FW = 1 */ |
|---|
| 354 | 333 | return; |
|---|
| 355 | 334 | |
|---|
| 356 | | - len = tmp_buf[1] >> 4; |
|---|
| 357 | 335 | seq = tmp_buf[2] >> 4; |
|---|
| 358 | 336 | data = &tmp_buf[3]; |
|---|
| 359 | 337 | |
|---|
| .. | .. |
|---|
| 405 | 383 | break; |
|---|
| 406 | 384 | } |
|---|
| 407 | 385 | |
|---|
| 408 | | - RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD, |
|---|
| 409 | | - "btmpinfo complete req_num=%d\n", seq); |
|---|
| 386 | + rtl_dbg(rtlpriv, COMP_BT_COEXIST, DBG_LOUD, |
|---|
| 387 | + "btmpinfo complete req_num=%d\n", seq); |
|---|
| 410 | 388 | |
|---|
| 411 | 389 | complete(&btcoexist->bt_mp_comp); |
|---|
| 412 | 390 | } |
|---|