hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/net/wireless/broadcom/b43/tables_nphy.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23
34 Broadcom B43 wireless driver
....@@ -6,20 +7,6 @@
67 Copyright (c) 2008 Michael Buesch <m@bues.ch>
78 Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com>
89
9
- This program is free software; you can redistribute it and/or modify
10
- it under the terms of the GNU General Public License as published by
11
- the Free Software Foundation; either version 2 of the License, or
12
- (at your option) any later version.
13
-
14
- This program is distributed in the hope that it will be useful,
15
- but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- GNU General Public License for more details.
18
-
19
- You should have received a copy of the GNU General Public License
20
- along with this program; see the file COPYING. If not, write to
21
- the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
22
- Boston, MA 02110-1301, USA.
2310
2411 */
2512
....@@ -3633,7 +3620,7 @@
36333620 ntab_upload(dev, B43_NTAB_C1_LOFEEDTH, b43_ntab_loftlt1);
36343621 }
36353622
3636
-/* http://bcm-v4.sipsolutions.net/802.11/PHY/N/InitTables */
3623
+/* https://bcm-v4.sipsolutions.net/802.11/PHY/N/InitTables */
36373624 void b43_nphy_tables_init(struct b43_wldev *dev)
36383625 {
36393626 if (dev->phy.rev >= 16)
....@@ -3646,7 +3633,7 @@
36463633 b43_nphy_tables_init_rev0(dev);
36473634 }
36483635
3649
-/* http://bcm-v4.sipsolutions.net/802.11/PHY/N/GetIpaGainTbl */
3636
+/* https://bcm-v4.sipsolutions.net/802.11/PHY/N/GetIpaGainTbl */
36503637 static const u32 *b43_nphy_get_ipa_gain_table(struct b43_wldev *dev)
36513638 {
36523639 struct b43_phy *phy = &dev->phy;
....@@ -3730,7 +3717,7 @@
37303717 case 5:
37313718 if (sprom->fem.ghz2.extpa_gain == 3)
37323719 return b43_ntab_tx_gain_epa_rev3_hi_pwr_2g;
3733
- /* fall through */
3720
+ fallthrough;
37343721 case 4:
37353722 case 3:
37363723 return b43_ntab_tx_gain_epa_rev3_2g;