mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 11:12:01 -04:00
staging: r8188eu: rename CCKSwingTable_Ch1_Ch13
After removing CCKSwingTable_Ch14 there is only one table left and we can rename CCKSwingTable_Ch1_Ch13 to simply cck_swing_table. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220216194038.6762-4-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d5890d9264
commit
5df60184a2
@@ -149,7 +149,7 @@ odm_TXPowerTrackingCallback_ThermalMeter_8188E(
|
||||
TempCCk = dm_odm->RFCalibrateInfo.RegA24;
|
||||
|
||||
for (i = 0; i < CCK_TABLE_SIZE; i++) {
|
||||
if (memcmp((void *)&TempCCk, (void *)&CCKSwingTable_Ch1_Ch13[i][2], 4)) {
|
||||
if (memcmp((void *)&TempCCk, (void *)&cck_swing_table[i][2], 4)) {
|
||||
CCK_index_old = (u8)i;
|
||||
dm_odm->BbSwingIdxCckBase = (u8)i;
|
||||
break;
|
||||
|
||||
@@ -65,7 +65,7 @@ u32 OFDMSwingTable[OFDM_TABLE_SIZE_92D] = {
|
||||
0x0b40002d,/* 42, -15.0dB */
|
||||
};
|
||||
|
||||
u8 CCKSwingTable_Ch1_Ch13[CCK_TABLE_SIZE][8] = {
|
||||
u8 cck_swing_table[CCK_TABLE_SIZE][8] = {
|
||||
{0x36, 0x35, 0x2e, 0x25, 0x1c, 0x12, 0x09, 0x04}, /* 0, +0dB */
|
||||
{0x33, 0x32, 0x2b, 0x23, 0x1a, 0x11, 0x08, 0x04}, /* 1, -0.5dB */
|
||||
{0x30, 0x2f, 0x29, 0x21, 0x19, 0x10, 0x08, 0x03}, /* 2, -1.0dB */
|
||||
|
||||
@@ -447,7 +447,7 @@ enum dm_swas {
|
||||
#define CCK_TABLE_SIZE 33
|
||||
|
||||
extern u32 OFDMSwingTable[OFDM_TABLE_SIZE_92D];
|
||||
extern u8 CCKSwingTable_Ch1_Ch13[CCK_TABLE_SIZE][8];
|
||||
extern u8 cck_swing_table[CCK_TABLE_SIZE][8];
|
||||
|
||||
/* check Sta pointer valid or not */
|
||||
#define IS_STA_VALID(pSta) (pSta)
|
||||
|
||||
Reference in New Issue
Block a user