forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/broadcom/b43/phy_ht.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23
34 Broadcom B43 wireless driver
....@@ -5,20 +6,6 @@
56
67 Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com>
78
8
- This program is free software; you can redistribute it and/or modify
9
- it under the terms of the GNU General Public License as published by
10
- the Free Software Foundation; either version 2 of the License, or
11
- (at your option) any later version.
12
-
13
- This program is distributed in the hope that it will be useful,
14
- but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- GNU General Public License for more details.
17
-
18
- You should have received a copy of the GNU General Public License
19
- along with this program; see the file COPYING. If not, write to
20
- the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
21
- Boston, MA 02110-1301, USA.
229
2310 */
2411
....@@ -913,9 +900,6 @@
913900 b43_phy_write(dev, 0x70, 0x50);
914901 b43_phy_write(dev, 0x1ff, 0x30);
915902
916
- if (0) /* TODO: condition */
917
- ; /* TODO: PHY op on reg 0x217 */
918
-
919903 if (b43_current_band(dev->wl) == NL80211_BAND_5GHZ)
920904 b43_phy_ht_classifier(dev, B43_PHY_HT_CLASS_CTL_CCK_EN, 0);
921905 else
....@@ -1031,7 +1015,7 @@
10311015 phy->ht = NULL;
10321016 }
10331017
1034
-/* http://bcm-v4.sipsolutions.net/802.11/Radio/Switch%20Radio */
1018
+/* https://bcm-v4.sipsolutions.net/802.11/Radio/Switch%20Radio */
10351019 static void b43_phy_ht_op_software_rfkill(struct b43_wldev *dev,
10361020 bool blocked)
10371021 {