cregit-Linux how code gets into the kernel

Release 4.18 drivers/staging/rtl8723bs/hal/odm_RTL8723B.c

// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
 *
 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/

#include "odm_precomp.h"


s8 odm_CCKRSSI_8723B(u8 LNA_idx, u8 VGA_idx) { s8 rx_pwr_all = 0x00; switch (LNA_idx) { /* 46 53 73 95 201301231630 */ /* 46 53 77 99 201301241630 */ case 6: rx_pwr_all = -34 - (2 * VGA_idx); break; case 4: rx_pwr_all = -14 - (2 * VGA_idx); break; case 1: rx_pwr_all = 6 - (2 * VGA_idx); break; case 0: rx_pwr_all = 16 - (2 * VGA_idx); break; default: /* rx_pwr_all = -53+(2*(31-VGA_idx)); */ /* DbgPrint("wrong LNA index\n"); */ break; } return rx_pwr_all; }

Contributors

PersonTokensPropCommitsCommitProp
Hans de Goede89100.00%1100.00%
Total89100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Hans de Goede9297.87%150.00%
Nathan Chancellor22.13%150.00%
Total94100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.