Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

b43: Replace HTTP links with HTTPS ones

Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
If not .svg:
For each line:
If doesn't contain `\bxmlns\b`:
For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
If both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200719110115.58085-1-grandmaster@al2klimov.de

authored by

Alexander A. Klimov and committed by
Kalle Valo
2d96c1ed 348cb5dc

+96 -96
+7 -7
drivers/net/wireless/broadcom/b43/main.c
··· 734 734 } 735 735 736 736 /* DummyTransmission function, as documented on 737 - * http://bcm-v4.sipsolutions.net/802.11/DummyTransmission 737 + * https://bcm-v4.sipsolutions.net/802.11/DummyTransmission 738 738 */ 739 739 void b43_dummy_transmission(struct b43_wldev *dev, bool ofdm, bool pa_on) 740 740 { ··· 1198 1198 } 1199 1199 } 1200 1200 1201 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/BmacCorePllReset */ 1201 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/BmacCorePllReset */ 1202 1202 void b43_wireless_core_phy_pll_reset(struct b43_wldev *dev) 1203 1203 { 1204 1204 struct bcma_drv_cc *bcma_cc __maybe_unused; ··· 2290 2290 return -EPROTO; 2291 2291 } 2292 2292 2293 - /* http://bcm-v4.sipsolutions.net/802.11/Init/Firmware */ 2293 + /* https://bcm-v4.sipsolutions.net/802.11/Init/Firmware */ 2294 2294 static int b43_try_request_fw(struct b43_request_fw_context *ctx) 2295 2295 { 2296 2296 struct b43_wldev *dev = ctx->dev; ··· 2843 2843 } 2844 2844 2845 2845 /* Initialize the GPIOs 2846 - * http://bcm-specs.sipsolutions.net/GPIO 2846 + * https://bcm-specs.sipsolutions.net/GPIO 2847 2847 */ 2848 2848 2849 2849 #ifdef CONFIG_B43_SSB ··· 2971 2971 } 2972 2972 } 2973 2973 2974 - /* http://bcm-specs.sipsolutions.net/SuspendMAC */ 2974 + /* https://bcm-specs.sipsolutions.net/SuspendMAC */ 2975 2975 void b43_mac_suspend(struct b43_wldev *dev) 2976 2976 { 2977 2977 int i; ··· 3004 3004 dev->mac_suspended++; 3005 3005 } 3006 3006 3007 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/MacPhyClkSet */ 3007 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/MacPhyClkSet */ 3008 3008 void b43_mac_phy_clock_set(struct b43_wldev *dev, bool on) 3009 3009 { 3010 3010 u32 tmp; ··· 3231 3231 } 3232 3232 3233 3233 /* Initialize the chip 3234 - * http://bcm-specs.sipsolutions.net/ChipInit 3234 + * https://bcm-specs.sipsolutions.net/ChipInit 3235 3235 */ 3236 3236 static int b43_chip_init(struct b43_wldev *dev) 3237 3237 {
+1 -1
drivers/net/wireless/broadcom/b43/phy_common.c
··· 559 559 return dev->phy.chandef->width == NL80211_CHAN_WIDTH_40; 560 560 } 561 561 562 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/BmacPhyClkFgc */ 562 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/BmacPhyClkFgc */ 563 563 void b43_phy_force_clock(struct b43_wldev *dev, bool force) 564 564 { 565 565 u32 tmp;
+6 -6
drivers/net/wireless/broadcom/b43/phy_g.c
··· 357 357 b43_dummy_transmission(dev, false, true); 358 358 } 359 359 360 - /* http://bcm-specs.sipsolutions.net/NRSSILookupTable */ 360 + /* https://bcm-specs.sipsolutions.net/NRSSILookupTable */ 361 361 static void b43_nrssi_hw_write(struct b43_wldev *dev, u16 offset, s16 val) 362 362 { 363 363 b43_phy_write(dev, B43_PHY_NRSSILT_CTRL, offset); 364 364 b43_phy_write(dev, B43_PHY_NRSSILT_DATA, (u16) val); 365 365 } 366 366 367 - /* http://bcm-specs.sipsolutions.net/NRSSILookupTable */ 367 + /* https://bcm-specs.sipsolutions.net/NRSSILookupTable */ 368 368 static s16 b43_nrssi_hw_read(struct b43_wldev *dev, u16 offset) 369 369 { 370 370 u16 val; ··· 375 375 return (s16) val; 376 376 } 377 377 378 - /* http://bcm-specs.sipsolutions.net/NRSSILookupTable */ 378 + /* https://bcm-specs.sipsolutions.net/NRSSILookupTable */ 379 379 static void b43_nrssi_hw_update(struct b43_wldev *dev, u16 val) 380 380 { 381 381 u16 i; ··· 389 389 } 390 390 } 391 391 392 - /* http://bcm-specs.sipsolutions.net/NRSSILookupTable */ 392 + /* https://bcm-specs.sipsolutions.net/NRSSILookupTable */ 393 393 static void b43_nrssi_mem_update(struct b43_wldev *dev) 394 394 { 395 395 struct b43_phy_g *gphy = dev->phy.g; ··· 1575 1575 b43_write16(dev, 0x03E4, (b43_read16(dev, 0x03E4) & 0xFFC0) | 0x0004); 1576 1576 } 1577 1577 1578 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/Init/B6 */ 1578 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/Init/B6 */ 1579 1579 static void b43_phy_initb6(struct b43_wldev *dev) 1580 1580 { 1581 1581 struct b43_phy *phy = &dev->phy; ··· 2746 2746 return 0; 2747 2747 } 2748 2748 2749 - /* http://bcm-specs.sipsolutions.net/EstimatePowerOut 2749 + /* https://bcm-specs.sipsolutions.net/EstimatePowerOut 2750 2750 * This function converts a TSSI value to dBm in Q5.2 2751 2751 */ 2752 2752 static s8 b43_gphy_estimate_power_out(struct b43_wldev *dev, s8 tssi)
+1 -1
drivers/net/wireless/broadcom/b43/phy_ht.c
··· 1018 1018 phy->ht = NULL; 1019 1019 } 1020 1020 1021 - /* http://bcm-v4.sipsolutions.net/802.11/Radio/Switch%20Radio */ 1021 + /* https://bcm-v4.sipsolutions.net/802.11/Radio/Switch%20Radio */ 1022 1022 static void b43_phy_ht_op_software_rfkill(struct b43_wldev *dev, 1023 1023 bool blocked) 1024 1024 {
+1 -1
drivers/net/wireless/broadcom/b43/phy_lp.c
··· 70 70 dev->phy.lp = NULL; 71 71 } 72 72 73 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/LP/ReadBandSrom */ 73 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/LP/ReadBandSrom */ 74 74 static void lpphy_read_band_sprom(struct b43_wldev *dev) 75 75 { 76 76 struct ssb_sprom *sprom = dev->dev->bus_sprom;
+75 -75
drivers/net/wireless/broadcom/b43/phy_n.c
··· 98 98 (dev->phy.n->ipa5g_on && band == NL80211_BAND_5GHZ)); 99 99 } 100 100 101 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCoreGetState */ 101 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCoreGetState */ 102 102 static u8 b43_nphy_get_rx_core_state(struct b43_wldev *dev) 103 103 { 104 104 return (b43_phy_read(dev, B43_NPHY_RFSEQCA) & B43_NPHY_RFSEQCA_RXEN) >> ··· 109 109 * RF (just without b43_nphy_rf_ctl_intc_override) 110 110 **************************************************/ 111 111 112 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/ForceRFSeq */ 112 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/ForceRFSeq */ 113 113 static void b43_nphy_force_rf_sequence(struct b43_wldev *dev, 114 114 enum b43_nphy_rf_sequence seq) 115 115 { ··· 146 146 /* TODO */ 147 147 } 148 148 149 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlOverrideRev7 */ 149 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlOverrideRev7 */ 150 150 static void b43_nphy_rf_ctl_override_rev7(struct b43_wldev *dev, u16 field, 151 151 u16 value, u8 core, bool off, 152 152 u8 override) ··· 193 193 } 194 194 } 195 195 196 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlOverideOneToMany */ 196 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlOverideOneToMany */ 197 197 static void b43_nphy_rf_ctl_override_one_to_many(struct b43_wldev *dev, 198 198 enum n_rf_ctl_over_cmd cmd, 199 199 u16 value, u8 core, bool off) ··· 237 237 } 238 238 } 239 239 240 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlOverride */ 240 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlOverride */ 241 241 static void b43_nphy_rf_ctl_override(struct b43_wldev *dev, u16 field, 242 242 u16 value, u8 core, bool off) 243 243 { ··· 382 382 } 383 383 } 384 384 385 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlIntcOverride */ 385 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlIntcOverride */ 386 386 static void b43_nphy_rf_ctl_intc_override(struct b43_wldev *dev, 387 387 enum n_intc_override intc_override, 388 388 u16 value, u8 core) ··· 490 490 * Various PHY ops 491 491 **************************************************/ 492 492 493 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/clip-detection */ 493 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/clip-detection */ 494 494 static void b43_nphy_write_clip_detection(struct b43_wldev *dev, 495 495 const u16 *clip_st) 496 496 { ··· 498 498 b43_phy_write(dev, B43_NPHY_C2_CLIP1THRES, clip_st[1]); 499 499 } 500 500 501 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/clip-detection */ 501 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/clip-detection */ 502 502 static void b43_nphy_read_clip_detection(struct b43_wldev *dev, u16 *clip_st) 503 503 { 504 504 clip_st[0] = b43_phy_read(dev, B43_NPHY_C1_CLIP1THRES); 505 505 clip_st[1] = b43_phy_read(dev, B43_NPHY_C2_CLIP1THRES); 506 506 } 507 507 508 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/classifier */ 508 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/classifier */ 509 509 static u16 b43_nphy_classifier(struct b43_wldev *dev, u16 mask, u16 val) 510 510 { 511 511 u16 tmp; ··· 526 526 return tmp; 527 527 } 528 528 529 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/CCA */ 529 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/CCA */ 530 530 static void b43_nphy_reset_cca(struct b43_wldev *dev) 531 531 { 532 532 u16 bbcfg; ··· 540 540 b43_nphy_force_rf_sequence(dev, B43_RFSEQ_RESET2RX); 541 541 } 542 542 543 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/carriersearch */ 543 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/carriersearch */ 544 544 static void b43_nphy_stay_in_carrier_search(struct b43_wldev *dev, bool enable) 545 545 { 546 546 struct b43_phy *phy = &dev->phy; ··· 564 564 } 565 565 } 566 566 567 - /* http://bcm-v4.sipsolutions.net/PHY/N/Read_Lpf_Bw_Ctl */ 567 + /* https://bcm-v4.sipsolutions.net/PHY/N/Read_Lpf_Bw_Ctl */ 568 568 static u16 b43_nphy_read_lpf_ctl(struct b43_wldev *dev, u16 offset) 569 569 { 570 570 if (!offset) ··· 572 572 return b43_ntab_read(dev, B43_NTAB16(7, offset)) & 0x7; 573 573 } 574 574 575 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/AdjustLnaGainTbl */ 575 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/AdjustLnaGainTbl */ 576 576 static void b43_nphy_adjust_lna_gain_table(struct b43_wldev *dev) 577 577 { 578 578 struct b43_phy_n *nphy = dev->phy.n; ··· 628 628 b43_nphy_stay_in_carrier_search(dev, 0); 629 629 } 630 630 631 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/SetRfSeq */ 631 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/SetRfSeq */ 632 632 static void b43_nphy_set_rf_sequence(struct b43_wldev *dev, u8 cmd, 633 633 u8 *events, u8 *delays, u8 length) 634 634 { ··· 805 805 } 806 806 807 807 /* Calibrate resistors in LPF of PLL? 808 - * http://bcm-v4.sipsolutions.net/PHY/radio205x_rcal 808 + * https://bcm-v4.sipsolutions.net/PHY/radio205x_rcal 809 809 */ 810 810 static u8 b43_radio_2057_rcal(struct b43_wldev *dev) 811 811 { ··· 919 919 } 920 920 921 921 /* Calibrate the internal RC oscillator? 922 - * http://bcm-v4.sipsolutions.net/PHY/radio2057_rccal 922 + * https://bcm-v4.sipsolutions.net/PHY/radio2057_rccal 923 923 */ 924 924 static u16 b43_radio_2057_rccal(struct b43_wldev *dev) 925 925 { ··· 1030 1030 b43_radio_mask(dev, R2057_RFPLL_MASTER, ~0x8); 1031 1031 } 1032 1032 1033 - /* http://bcm-v4.sipsolutions.net/802.11/Radio/2057/Init */ 1033 + /* https://bcm-v4.sipsolutions.net/802.11/Radio/2057/Init */ 1034 1034 static void b43_radio_2057_init(struct b43_wldev *dev) 1035 1035 { 1036 1036 b43_radio_2057_init_pre(dev); ··· 1117 1117 e->radio_tx1_mixg_boost_tune); 1118 1118 } 1119 1119 1120 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/Radio/2056Setup */ 1120 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/Radio/2056Setup */ 1121 1121 static void b43_radio_2056_setup(struct b43_wldev *dev, 1122 1122 const struct b43_nphy_channeltab_entry_rev3 *e) 1123 1123 { ··· 1356 1356 1357 1357 /* 1358 1358 * Initialize a Broadcom 2056 N-radio 1359 - * http://bcm-v4.sipsolutions.net/802.11/Radio/2056/Init 1359 + * https://bcm-v4.sipsolutions.net/802.11/Radio/2056/Init 1360 1360 */ 1361 1361 static void b43_radio_init2056(struct b43_wldev *dev) 1362 1362 { ··· 1406 1406 b43_radio_write(dev, B2055_C2_TX_MXBGTRIM, e->radio_c2_tx_mxbgtrim); 1407 1407 } 1408 1408 1409 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/Radio/2055Setup */ 1409 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/Radio/2055Setup */ 1410 1410 static void b43_radio_2055_setup(struct b43_wldev *dev, 1411 1411 const struct b43_nphy_channeltab_entry_rev2 *e) 1412 1412 { ··· 1480 1480 1481 1481 /* 1482 1482 * Initialize a Broadcom 2055 N-radio 1483 - * http://bcm-v4.sipsolutions.net/802.11/Radio/2055/Init 1483 + * https://bcm-v4.sipsolutions.net/802.11/Radio/2055/Init 1484 1484 */ 1485 1485 static void b43_radio_init2055(struct b43_wldev *dev) 1486 1486 { ··· 1499 1499 * Samples 1500 1500 **************************************************/ 1501 1501 1502 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/LoadSampleTable */ 1502 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/LoadSampleTable */ 1503 1503 static int b43_nphy_load_samples(struct b43_wldev *dev, 1504 1504 struct cordic_iq *samples, u16 len) { 1505 1505 struct b43_phy_n *nphy = dev->phy.n; ··· 1526 1526 return 0; 1527 1527 } 1528 1528 1529 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/GenLoadSamples */ 1529 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/GenLoadSamples */ 1530 1530 static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max, 1531 1531 bool test) 1532 1532 { ··· 1569 1569 return (i < 0) ? 0 : len; 1570 1570 } 1571 1571 1572 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RunSamples */ 1572 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RunSamples */ 1573 1573 static void b43_nphy_run_samples(struct b43_wldev *dev, u16 samps, u16 loops, 1574 1574 u16 wait, bool iqmode, bool dac_test, 1575 1575 bool modify_bbmult) ··· 1650 1650 * RSSI 1651 1651 **************************************************/ 1652 1652 1653 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/ScaleOffsetRssi */ 1653 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/ScaleOffsetRssi */ 1654 1654 static void b43_nphy_scale_offset_rssi(struct b43_wldev *dev, u16 scale, 1655 1655 s8 offset, u8 core, 1656 1656 enum n_rail_type rail, ··· 1895 1895 } 1896 1896 } 1897 1897 1898 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RSSISel */ 1898 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RSSISel */ 1899 1899 static void b43_nphy_rssi_select(struct b43_wldev *dev, u8 code, 1900 1900 enum n_rssi_type type) 1901 1901 { ··· 1907 1907 b43_nphy_rev2_rssi_select(dev, code, type); 1908 1908 } 1909 1909 1910 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/SetRssi2055Vcm */ 1910 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/SetRssi2055Vcm */ 1911 1911 static void b43_nphy_set_rssi_2055_vcm(struct b43_wldev *dev, 1912 1912 enum n_rssi_type rssi_type, u8 *buf) 1913 1913 { ··· 1936 1936 } 1937 1937 } 1938 1938 1939 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/PollRssi */ 1939 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/PollRssi */ 1940 1940 static int b43_nphy_poll_rssi(struct b43_wldev *dev, enum n_rssi_type rssi_type, 1941 1941 s32 *buf, u8 nsamp) 1942 1942 { ··· 2025 2025 return out; 2026 2026 } 2027 2027 2028 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RSSICalRev3 */ 2028 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RSSICalRev3 */ 2029 2029 static void b43_nphy_rev3_rssi_cal(struct b43_wldev *dev) 2030 2030 { 2031 2031 struct b43_phy *phy = &dev->phy; ··· 2287 2287 b43_nphy_write_clip_detection(dev, clip_state); 2288 2288 } 2289 2289 2290 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RSSICal */ 2290 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RSSICal */ 2291 2291 static void b43_nphy_rev2_rssi_cal(struct b43_wldev *dev, enum n_rssi_type type) 2292 2292 { 2293 2293 int i, j, vcm; ··· 2453 2453 2454 2454 /* 2455 2455 * RSSI Calibration 2456 - * http://bcm-v4.sipsolutions.net/802.11/PHY/N/RSSICal 2456 + * https://bcm-v4.sipsolutions.net/802.11/PHY/N/RSSICal 2457 2457 */ 2458 2458 static void b43_nphy_rssi_cal(struct b43_wldev *dev) 2459 2459 { ··· 2680 2680 b43_phy_maskset(dev, B43_PHY_N(0xC5D), 0xFF80, 4); 2681 2681 } 2682 2682 2683 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/WorkaroundsGainCtrl */ 2683 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/WorkaroundsGainCtrl */ 2684 2684 static void b43_nphy_gain_ctl_workarounds(struct b43_wldev *dev) 2685 2685 { 2686 2686 if (dev->phy.rev >= 19) ··· 3433 3433 B43_NPHY_FINERX2_CGC_DECGC); 3434 3434 } 3435 3435 3436 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/Workarounds */ 3436 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/Workarounds */ 3437 3437 static void b43_nphy_workarounds(struct b43_wldev *dev) 3438 3438 { 3439 3439 struct b43_phy *phy = &dev->phy; ··· 3468 3468 3469 3469 /* 3470 3470 * Transmits a known value for LO calibration 3471 - * http://bcm-v4.sipsolutions.net/802.11/PHY/N/TXTone 3471 + * https://bcm-v4.sipsolutions.net/802.11/PHY/N/TXTone 3472 3472 */ 3473 3473 static int b43_nphy_tx_tone(struct b43_wldev *dev, u32 freq, u16 max_val, 3474 3474 bool iqmode, bool dac_test, bool modify_bbmult) ··· 3481 3481 return 0; 3482 3482 } 3483 3483 3484 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/Chains */ 3484 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/Chains */ 3485 3485 static void b43_nphy_update_txrx_chain(struct b43_wldev *dev) 3486 3486 { 3487 3487 struct b43_phy_n *nphy = dev->phy.n; ··· 3509 3509 ~B43_NPHY_RFSEQMODE_CAOVER); 3510 3510 } 3511 3511 3512 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/stop-playback */ 3512 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/stop-playback */ 3513 3513 static void b43_nphy_stop_playback(struct b43_wldev *dev) 3514 3514 { 3515 3515 struct b43_phy *phy = &dev->phy; ··· 3546 3546 b43_nphy_stay_in_carrier_search(dev, 0); 3547 3547 } 3548 3548 3549 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/IqCalGainParams */ 3549 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/IqCalGainParams */ 3550 3550 static void b43_nphy_iq_cal_gain_params(struct b43_wldev *dev, u16 core, 3551 3551 struct nphy_txgains target, 3552 3552 struct nphy_iqcal_params *params) ··· 3595 3595 * Tx and Rx 3596 3596 **************************************************/ 3597 3597 3598 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrCtrlEnable */ 3598 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrCtrlEnable */ 3599 3599 static void b43_nphy_tx_power_ctrl(struct b43_wldev *dev, bool enable) 3600 3600 { 3601 3601 struct b43_phy *phy = &dev->phy; ··· 3732 3732 b43_nphy_stay_in_carrier_search(dev, 0); 3733 3733 } 3734 3734 3735 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrFix */ 3735 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrFix */ 3736 3736 static void b43_nphy_tx_power_fix(struct b43_wldev *dev) 3737 3737 { 3738 3738 struct b43_phy *phy = &dev->phy; ··· 3926 3926 /* 3927 3927 * Stop radio and transmit known signal. Then check received signal strength to 3928 3928 * get TSSI (Transmit Signal Strength Indicator). 3929 - * http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrCtrlIdleTssi 3929 + * https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrCtrlIdleTssi 3930 3930 */ 3931 3931 static void b43_nphy_tx_power_ctl_idle_tssi(struct b43_wldev *dev) 3932 3932 { ··· 3978 3978 nphy->pwr_ctl_info[1].idle_tssi_2g = (tmp >> 8) & 0xFF; 3979 3979 } 3980 3980 3981 - /* http://bcm-v4.sipsolutions.net/PHY/N/TxPwrLimitToTbl */ 3981 + /* https://bcm-v4.sipsolutions.net/PHY/N/TxPwrLimitToTbl */ 3982 3982 static void b43_nphy_tx_prepare_adjusted_power_table(struct b43_wldev *dev) 3983 3983 { 3984 3984 struct b43_phy_n *nphy = dev->phy.n; ··· 4039 4039 } 4040 4040 } 4041 4041 4042 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrCtrlSetup */ 4042 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrCtrlSetup */ 4043 4043 static void b43_nphy_tx_power_ctl_setup(struct b43_wldev *dev) 4044 4044 { 4045 4045 struct b43_phy *phy = &dev->phy; ··· 4272 4272 } 4273 4273 } 4274 4274 4275 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/PA%20override */ 4275 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/PA%20override */ 4276 4276 static void b43_nphy_pa_override(struct b43_wldev *dev, bool enable) 4277 4277 { 4278 4278 struct b43_phy_n *nphy = dev->phy.n; ··· 4310 4310 4311 4311 /* 4312 4312 * TX low-pass filter bandwidth setup 4313 - * http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxLpFbw 4313 + * https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxLpFbw 4314 4314 */ 4315 4315 static void b43_nphy_tx_lpf_bw(struct b43_wldev *dev) 4316 4316 { ··· 4333 4333 } 4334 4334 } 4335 4335 4336 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RxIqEst */ 4336 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RxIqEst */ 4337 4337 static void b43_nphy_rx_iq_est(struct b43_wldev *dev, struct nphy_iq_est *est, 4338 4338 u16 samps, u8 time, bool wait) 4339 4339 { ··· 4372 4372 memset(est, 0, sizeof(*est)); 4373 4373 } 4374 4374 4375 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RxIqCoeffs */ 4375 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RxIqCoeffs */ 4376 4376 static void b43_nphy_rx_iq_coeffs(struct b43_wldev *dev, bool write, 4377 4377 struct b43_phy_n_iq_comp *pcomp) 4378 4378 { ··· 4391 4391 4392 4392 #if 0 4393 4393 /* Ready but not used anywhere */ 4394 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCalPhyCleanup */ 4394 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCalPhyCleanup */ 4395 4395 static void b43_nphy_rx_cal_phy_cleanup(struct b43_wldev *dev, u8 core) 4396 4396 { 4397 4397 u16 *regs = dev->phy.n->tx_rx_cal_phy_saveregs; ··· 4414 4414 b43_phy_write(dev, B43_NPHY_PAPD_EN1, regs[10]); 4415 4415 } 4416 4416 4417 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCalPhySetup */ 4417 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCalPhySetup */ 4418 4418 static void b43_nphy_rx_cal_phy_setup(struct b43_wldev *dev, u8 core) 4419 4419 { 4420 4420 u8 rxval, txval; ··· 4476 4476 } 4477 4477 #endif 4478 4478 4479 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/CalcRxIqComp */ 4479 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/CalcRxIqComp */ 4480 4480 static void b43_nphy_calc_rx_iq_comp(struct b43_wldev *dev, u8 mask) 4481 4481 { 4482 4482 int i; ··· 4574 4574 b43_nphy_rx_iq_coeffs(dev, true, &new); 4575 4575 } 4576 4576 4577 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxIqWar */ 4577 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxIqWar */ 4578 4578 static void b43_nphy_tx_iq_workaround(struct b43_wldev *dev) 4579 4579 { 4580 4580 u16 array[4]; ··· 4586 4586 b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_NPHY_TXIQW3, array[3]); 4587 4587 } 4588 4588 4589 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/SpurWar */ 4589 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/SpurWar */ 4590 4590 static void b43_nphy_spur_workaround(struct b43_wldev *dev) 4591 4591 { 4592 4592 struct b43_phy_n *nphy = dev->phy.n; ··· 4645 4645 b43_nphy_stay_in_carrier_search(dev, 0); 4646 4646 } 4647 4647 4648 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrCtrlCoefSetup */ 4648 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxPwrCtrlCoefSetup */ 4649 4649 static void b43_nphy_tx_pwr_ctrl_coef_setup(struct b43_wldev *dev) 4650 4650 { 4651 4651 struct b43_phy_n *nphy = dev->phy.n; ··· 4713 4713 4714 4714 /* 4715 4715 * Restore RSSI Calibration 4716 - * http://bcm-v4.sipsolutions.net/802.11/PHY/N/RestoreRssiCal 4716 + * https://bcm-v4.sipsolutions.net/802.11/PHY/N/RestoreRssiCal 4717 4717 */ 4718 4718 static void b43_nphy_restore_rssi_cal(struct b43_wldev *dev) 4719 4719 { ··· 4822 4822 } 4823 4823 } 4824 4824 4825 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxCalRadioSetup */ 4825 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxCalRadioSetup */ 4826 4826 static void b43_nphy_tx_cal_radio_setup(struct b43_wldev *dev) 4827 4827 { 4828 4828 struct b43_phy *phy = &dev->phy; ··· 4921 4921 } 4922 4922 } 4923 4923 4924 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/UpdateTxCalLadder */ 4924 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/UpdateTxCalLadder */ 4925 4925 static void b43_nphy_update_tx_cal_ladder(struct b43_wldev *dev, u16 core) 4926 4926 { 4927 4927 struct b43_phy_n *nphy = dev->phy.n; ··· 4955 4955 b43_phy_write(dev, offset, filter[i]); 4956 4956 } 4957 4957 4958 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/ExtPaSetTxDigiFilts */ 4958 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/ExtPaSetTxDigiFilts */ 4959 4959 static void b43_nphy_ext_pa_set_tx_dig_filters(struct b43_wldev *dev) 4960 4960 { 4961 4961 b43_nphy_pa_set_tx_dig_filter(dev, 0x2C5, 4962 4962 tbl_tx_filter_coef_rev4[2]); 4963 4963 } 4964 4964 4965 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/IpaSetTxDigiFilts */ 4965 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/IpaSetTxDigiFilts */ 4966 4966 static void b43_nphy_int_pa_set_tx_dig_filters(struct b43_wldev *dev) 4967 4967 { 4968 4968 /* B43_NPHY_TXF_20CO_S0A1, B43_NPHY_TXF_40CO_S0A1, unknown */ ··· 5002 5002 } 5003 5003 } 5004 5004 5005 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/GetTxGain */ 5005 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/GetTxGain */ 5006 5006 static struct nphy_txgains b43_nphy_get_tx_gains(struct b43_wldev *dev) 5007 5007 { 5008 5008 struct b43_phy_n *nphy = dev->phy.n; ··· 5077 5077 return target; 5078 5078 } 5079 5079 5080 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxCalPhyCleanup */ 5080 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxCalPhyCleanup */ 5081 5081 static void b43_nphy_tx_cal_phy_cleanup(struct b43_wldev *dev) 5082 5082 { 5083 5083 u16 *regs = dev->phy.n->tx_rx_cal_phy_saveregs; ··· 5106 5106 } 5107 5107 } 5108 5108 5109 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/TxCalPhySetup */ 5109 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/TxCalPhySetup */ 5110 5110 static void b43_nphy_tx_cal_phy_setup(struct b43_wldev *dev) 5111 5111 { 5112 5112 struct b43_phy *phy = &dev->phy; ··· 5207 5207 } 5208 5208 } 5209 5209 5210 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/SaveCal */ 5210 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/SaveCal */ 5211 5211 static void b43_nphy_save_cal(struct b43_wldev *dev) 5212 5212 { 5213 5213 struct b43_phy *phy = &dev->phy; ··· 5278 5278 b43_nphy_stay_in_carrier_search(dev, 0); 5279 5279 } 5280 5280 5281 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RestoreCal */ 5281 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RestoreCal */ 5282 5282 static void b43_nphy_restore_cal(struct b43_wldev *dev) 5283 5283 { 5284 5284 struct b43_phy *phy = &dev->phy; ··· 5366 5366 b43_nphy_rx_iq_coeffs(dev, true, rxcal_coeffs); 5367 5367 } 5368 5368 5369 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/CalTxIqlo */ 5369 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/CalTxIqlo */ 5370 5370 static int b43_nphy_cal_tx_iq_lo(struct b43_wldev *dev, 5371 5371 struct nphy_txgains target, 5372 5372 bool full, bool mphase) ··· 5599 5599 return error; 5600 5600 } 5601 5601 5602 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/ReapplyTxCalCoeffs */ 5602 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/ReapplyTxCalCoeffs */ 5603 5603 static void b43_nphy_reapply_tx_cal_coeffs(struct b43_wldev *dev) 5604 5604 { 5605 5605 struct b43_phy_n *nphy = dev->phy.n; ··· 5634 5634 } 5635 5635 } 5636 5636 5637 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/CalRxIqRev2 */ 5637 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/CalRxIqRev2 */ 5638 5638 static int b43_nphy_rev2_cal_rx_iq(struct b43_wldev *dev, 5639 5639 struct nphy_txgains target, u8 type, bool debug) 5640 5640 { ··· 5821 5821 return -1; 5822 5822 } 5823 5823 5824 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/CalRxIq */ 5824 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/CalRxIq */ 5825 5825 static int b43_nphy_cal_rx_iq(struct b43_wldev *dev, 5826 5826 struct nphy_txgains target, u8 type, bool debug) 5827 5827 { ··· 5834 5834 return b43_nphy_rev2_cal_rx_iq(dev, target, type, debug); 5835 5835 } 5836 5836 5837 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCoreSetState */ 5837 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCoreSetState */ 5838 5838 static void b43_nphy_set_rx_core_state(struct b43_wldev *dev, u8 mask) 5839 5839 { 5840 5840 struct b43_phy *phy = &dev->phy; ··· 5939 5939 * N-PHY init 5940 5940 **************************************************/ 5941 5941 5942 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/MIMOConfig */ 5942 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/MIMOConfig */ 5943 5943 static void b43_nphy_update_mimo_config(struct b43_wldev *dev, s32 preamble) 5944 5944 { 5945 5945 u16 mimocfg = b43_phy_read(dev, B43_NPHY_MIMOCFG); ··· 5953 5953 b43_phy_write(dev, B43_NPHY_MIMOCFG, mimocfg); 5954 5954 } 5955 5955 5956 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/BPHYInit */ 5956 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/BPHYInit */ 5957 5957 static void b43_nphy_bphy_init(struct b43_wldev *dev) 5958 5958 { 5959 5959 unsigned int i; ··· 5972 5972 b43_phy_write(dev, B43_PHY_N_BMODE(0x38), 0x668); 5973 5973 } 5974 5974 5975 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/SuperSwitchInit */ 5975 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/SuperSwitchInit */ 5976 5976 static void b43_nphy_superswitch_init(struct b43_wldev *dev, bool init) 5977 5977 { 5978 5978 if (dev->phy.rev >= 7) ··· 6246 6246 b43_phy_write(dev, B43_NPHY_BW6, e->phy_bw6); 6247 6247 } 6248 6248 6249 - /* http://bcm-v4.sipsolutions.net/802.11/PmuSpurAvoid */ 6249 + /* https://bcm-v4.sipsolutions.net/802.11/PmuSpurAvoid */ 6250 6250 static void b43_nphy_pmu_spur_avoid(struct b43_wldev *dev, bool avoid) 6251 6251 { 6252 6252 switch (dev->dev->bus_type) { ··· 6265 6265 } 6266 6266 } 6267 6267 6268 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/ChanspecSetup */ 6268 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/ChanspecSetup */ 6269 6269 static void b43_nphy_channel_setup(struct b43_wldev *dev, 6270 6270 const struct b43_phy_n_sfo_cfg *e, 6271 6271 struct ieee80211_channel *new_channel) ··· 6372 6372 b43_nphy_spur_workaround(dev); 6373 6373 } 6374 6374 6375 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/SetChanspec */ 6375 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/SetChanspec */ 6376 6376 static int b43_nphy_set_channel(struct b43_wldev *dev, 6377 6377 struct ieee80211_channel *channel, 6378 6378 enum nl80211_channel_type channel_type) ··· 6589 6589 b43_write16(dev, B43_MMIO_RADIO_DATA_LOW, value); 6590 6590 } 6591 6591 6592 - /* http://bcm-v4.sipsolutions.net/802.11/Radio/Switch%20Radio */ 6592 + /* https://bcm-v4.sipsolutions.net/802.11/Radio/Switch%20Radio */ 6593 6593 static void b43_nphy_op_software_rfkill(struct b43_wldev *dev, 6594 6594 bool blocked) 6595 6595 { ··· 6643 6643 } 6644 6644 } 6645 6645 6646 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/Anacore */ 6646 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/Anacore */ 6647 6647 static void b43_nphy_op_switch_analog(struct b43_wldev *dev, bool on) 6648 6648 { 6649 6649 struct b43_phy *phy = &dev->phy;
+1 -1
drivers/net/wireless/broadcom/b43/radio_2056.c
··· 3072 3072 .phy_regs.phy_bw5 = r4, \ 3073 3073 .phy_regs.phy_bw6 = r5 3074 3074 3075 - /* http://bcm-v4.sipsolutions.net/802.11/Radio/2056/ChannelTable */ 3075 + /* https://bcm-v4.sipsolutions.net/802.11/Radio/2056/ChannelTable */ 3076 3076 static const struct b43_nphy_channeltab_entry_rev3 b43_nphy_channeltab_phy_rev3[] = { 3077 3077 { .freq = 4920, 3078 3078 RADIOREGS3(0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04,
+2 -2
drivers/net/wireless/broadcom/b43/tables_nphy.c
··· 3620 3620 ntab_upload(dev, B43_NTAB_C1_LOFEEDTH, b43_ntab_loftlt1); 3621 3621 } 3622 3622 3623 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/InitTables */ 3623 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/InitTables */ 3624 3624 void b43_nphy_tables_init(struct b43_wldev *dev) 3625 3625 { 3626 3626 if (dev->phy.rev >= 16) ··· 3633 3633 b43_nphy_tables_init_rev0(dev); 3634 3634 } 3635 3635 3636 - /* http://bcm-v4.sipsolutions.net/802.11/PHY/N/GetIpaGainTbl */ 3636 + /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/GetIpaGainTbl */ 3637 3637 static const u32 *b43_nphy_get_ipa_gain_table(struct b43_wldev *dev) 3638 3638 { 3639 3639 struct b43_phy *phy = &dev->phy;
+2 -2
drivers/net/wireless/intersil/orinoco/Kconfig
··· 27 27 28 28 You will also very likely also need the Wireless Tools in order to 29 29 configure your card and that /etc/pcmcia/wireless.opts works : 30 - <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html> 30 + <https://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html> 31 31 32 32 config HERMES_PRISM 33 33 bool "Support Prism 2/2.5 chipset" ··· 120 120 121 121 You will very likely need the Wireless Tools in order to 122 122 configure your card and that /etc/pcmcia/wireless.opts works: 123 - <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>. 123 + <https://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>. 124 124 125 125 config PCMCIA_SPECTRUM 126 126 tristate "Symbol Spectrum24 Trilogy PCMCIA card support"