| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | |
|---|
| 3 | 4 | Broadcom B43 wireless driver |
|---|
| .. | .. |
|---|
| 9 | 10 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> |
|---|
| 10 | 11 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
|---|
| 11 | 12 | |
|---|
| 12 | | - This program is free software; you can redistribute it and/or modify |
|---|
| 13 | | - it under the terms of the GNU General Public License as published by |
|---|
| 14 | | - the Free Software Foundation; either version 2 of the License, or |
|---|
| 15 | | - (at your option) any later version. |
|---|
| 16 | | - |
|---|
| 17 | | - This program is distributed in the hope that it will be useful, |
|---|
| 18 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 19 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 20 | | - GNU General Public License for more details. |
|---|
| 21 | | - |
|---|
| 22 | | - You should have received a copy of the GNU General Public License |
|---|
| 23 | | - along with this program; see the file COPYING. If not, write to |
|---|
| 24 | | - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, |
|---|
| 25 | | - Boston, MA 02110-1301, USA. |
|---|
| 26 | 13 | |
|---|
| 27 | 14 | */ |
|---|
| 28 | 15 | |
|---|
| .. | .. |
|---|
| 370 | 357 | b43_dummy_transmission(dev, false, true); |
|---|
| 371 | 358 | } |
|---|
| 372 | 359 | |
|---|
| 373 | | -/* http://bcm-specs.sipsolutions.net/NRSSILookupTable */ |
|---|
| 360 | +/* https://bcm-specs.sipsolutions.net/NRSSILookupTable */ |
|---|
| 374 | 361 | static void b43_nrssi_hw_write(struct b43_wldev *dev, u16 offset, s16 val) |
|---|
| 375 | 362 | { |
|---|
| 376 | 363 | b43_phy_write(dev, B43_PHY_NRSSILT_CTRL, offset); |
|---|
| 377 | 364 | b43_phy_write(dev, B43_PHY_NRSSILT_DATA, (u16) val); |
|---|
| 378 | 365 | } |
|---|
| 379 | 366 | |
|---|
| 380 | | -/* http://bcm-specs.sipsolutions.net/NRSSILookupTable */ |
|---|
| 367 | +/* https://bcm-specs.sipsolutions.net/NRSSILookupTable */ |
|---|
| 381 | 368 | static s16 b43_nrssi_hw_read(struct b43_wldev *dev, u16 offset) |
|---|
| 382 | 369 | { |
|---|
| 383 | 370 | u16 val; |
|---|
| .. | .. |
|---|
| 388 | 375 | return (s16) val; |
|---|
| 389 | 376 | } |
|---|
| 390 | 377 | |
|---|
| 391 | | -/* http://bcm-specs.sipsolutions.net/NRSSILookupTable */ |
|---|
| 378 | +/* https://bcm-specs.sipsolutions.net/NRSSILookupTable */ |
|---|
| 392 | 379 | static void b43_nrssi_hw_update(struct b43_wldev *dev, u16 val) |
|---|
| 393 | 380 | { |
|---|
| 394 | 381 | u16 i; |
|---|
| .. | .. |
|---|
| 402 | 389 | } |
|---|
| 403 | 390 | } |
|---|
| 404 | 391 | |
|---|
| 405 | | -/* http://bcm-specs.sipsolutions.net/NRSSILookupTable */ |
|---|
| 392 | +/* https://bcm-specs.sipsolutions.net/NRSSILookupTable */ |
|---|
| 406 | 393 | static void b43_nrssi_mem_update(struct b43_wldev *dev) |
|---|
| 407 | 394 | { |
|---|
| 408 | 395 | struct b43_phy_g *gphy = dev->phy.g; |
|---|
| .. | .. |
|---|
| 1588 | 1575 | b43_write16(dev, 0x03E4, (b43_read16(dev, 0x03E4) & 0xFFC0) | 0x0004); |
|---|
| 1589 | 1576 | } |
|---|
| 1590 | 1577 | |
|---|
| 1591 | | -/* http://bcm-v4.sipsolutions.net/802.11/PHY/Init/B6 */ |
|---|
| 1578 | +/* https://bcm-v4.sipsolutions.net/802.11/PHY/Init/B6 */ |
|---|
| 1592 | 1579 | static void b43_phy_initb6(struct b43_wldev *dev) |
|---|
| 1593 | 1580 | { |
|---|
| 1594 | 1581 | struct b43_phy *phy = &dev->phy; |
|---|
| .. | .. |
|---|
| 2759 | 2746 | return 0; |
|---|
| 2760 | 2747 | } |
|---|
| 2761 | 2748 | |
|---|
| 2762 | | -/* http://bcm-specs.sipsolutions.net/EstimatePowerOut |
|---|
| 2749 | +/* https://bcm-specs.sipsolutions.net/EstimatePowerOut |
|---|
| 2763 | 2750 | * This function converts a TSSI value to dBm in Q5.2 |
|---|
| 2764 | 2751 | */ |
|---|
| 2765 | 2752 | static s8 b43_gphy_estimate_power_out(struct b43_wldev *dev, s8 tssi) |
|---|