#ifndef __WLAN_SDIO_PATCH_91_H__ #define __WLAN_SDIO_PATCH_91_H__ static const u32 wifi_core_patch_data_32_91[][2] = { // add for pta {0x50000828,0x00100FFD}, {0x50000810,0xFFFF0F0F}, {0x50000814,0xFFFF0F0F}, {0x50000818,0x00FF000F}, {0x5000081C,0xFF000F00}, {0x50000820,0xFF000F00}, {0x50000824,0x0000F0F0}, // add for pta {0x0010FFFC, 0x20131231}, {0x00110000, 0xEA03ECE7}, {0x00110004, 0xE59D0000}, {0x00110008, 0xE3C01008}, {0x0011000C, 0xE58D1000}, {0x00110010, 0xE3A00030}, {0x00110014, 0xEB000001}, {0x00110018, 0xE3A0100C}, {0x0011001C, 0xE59FF004}, {0x00110020, 0xE51FF004}, {0x00110024, 0x0001D33C}, {0x00110028, 0x00014C64}, {0x0011002C, 0xEA03E563}, {0x00110030, 0xE3130008}, {0x00110034, 0x159F0020}, {0x00110038, 0x1A000002}, {0x0011003C, 0xE3130004}, {0x00110040, 0x059F000C}, {0x00110044, 0x159F000C}, {0x00110048, 0xE5840008}, {0x0011004C, 0xE3A00010}, {0x00110050, 0xE59FF008}, {0x00110054, 0x00010140}, {0x00110058, 0x00010141}, {0x0011005C, 0x00010142}, {0x00110060, 0x00016AA0}, {0x00110064, 0xEA03CB40}, {0x00110068, 0xE1A02004}, {0x0011006C, 0xE1A02822}, {0x00110070, 0xE202207F}, {0x00110074, 0xE3520029}, {0x00110078, 0x1A000010}, {0x0011007C, 0xE1A04804}, {0x00110080, 0xE1A04824}, {0x00110084, 0xE59F003C}, {0x00110088, 0xE1540000}, {0x0011008C, 0x059F1040}, {0x00110090, 0xE59F0034}, {0x00110094, 0xE1540000}, {0x00110098, 0x059F1038}, {0x0011009C, 0xE59F002C}, {0x001100A0, 0xE1540000}, {0x001100A4, 0x059F1030}, {0x001100A8, 0xE3A027C0}, {0x001100AC, 0xE3A04028}, {0x001100B0, 0xE1A04804}, {0x001100B4, 0xE1824004}, {0x001100B8, 0xE1844001}, {0x001100BC, 0xE59F101C}, {0x001100C0, 0xE5814034}, {0x001100C4, 0xE59FF018}, {0x001100C8, 0x00009468}, {0x001100CC, 0x0000D468}, {0x001100D0, 0x00001468}, {0x001100D4, 0x00001F20}, {0x001100D8, 0x00001320}, {0x001100DC, 0x00001320}, {0x001100E0, 0x50090000}, {0x001100E4, 0x0001D364}, {0x001100E8, 0xEA03D7EB}, {0x001100EC, 0xE59F0010}, {0x001100F0, 0xE3A04003}, {0x001100F4, 0xE5804000}, {0x001100F8, 0xE59F4008}, {0x001100FC, 0xE5940000}, {0x00110100, 0xE59FF004}, {0x00110104, 0x50000228}, {0x00110108, 0x00100B08}, {0x0011010C, 0x0001A13C}, {0x00110110, 0xEA03ED23}, {0x00110114, 0xE3510000}, {0x00110118, 0xE51FF004}, {0x0011011C, 0x00014C84}, {0x00110120, 0xEA03FC88}, {0x00110124, 0xE1C510B8}, {0x00110128, 0xE3510015}, {0x0011012C, 0xBA00001D}, {0x00110130, 0xE59F2074}, {0x00110134, 0xE3A01020}, {0x00110138, 0xE5C21000}, {0x0011013C, 0xEB000019}, {0x00110140, 0xE59F2068}, {0x00110144, 0xE5921020}, {0x00110148, 0xE3110A80}, {0x0011014C, 0x1AFFFFFC}, {0x00110150, 0xE1D510B8}, {0x00110154, 0xE1A01221}, {0x00110158, 0xE2811030}, {0x0011015C, 0xE5C21000}, {0x00110160, 0xE5921020}, {0x00110164, 0xE3110A80}, {0x00110168, 0x1AFFFFFC}, {0x0011016C, 0xE1D510B8}, {0x00110170, 0xE201100F}, {0x00110174, 0xE351000A}, {0x00110178, 0xA2811037}, {0x0011017C, 0xB2811030}, {0x00110180, 0xE5C21000}, {0x00110184, 0xE5921020}, {0x00110188, 0xE3110A80}, {0x0011018C, 0x1AFFFFFC}, {0x00110190, 0xE3A0100D}, {0x00110194, 0xE5C21000}, {0x00110198, 0xE5921020}, {0x0011019C, 0xE3110A80}, {0x001101A0, 0x1AFFFFFC}, {0x001101A4, 0xE3A0100A}, {0x001101A8, 0xE59FF004}, {0x001101AC, 0x50300038}, {0x001101B0, 0x50060000}, {0x001101B4, 0x00010F00}, {0x001101B8, 0xEA040A9C}, {0x001101BC, 0xE59F2038}, {0x001101C0, 0xE1D210B0}, {0x001101C4, 0xE3510020}, {0x001101C8, 0xCA000002}, {0x001101CC, 0xE51F2028}, {0x001101D0, 0xE3A01010}, {0x001101D4, 0xE5C21000}, {0x001101D8, 0xE3560000}, {0x001101DC, 0xE59FF01C}, {0x001101E0, 0xE1A00000}, {0x001101E4, 0xE1A00000}, {0x001101E8, 0xE1A00000}, {0x001101EC, 0xE1A00000}, {0x001101F0, 0xE1A00000}, {0x001101F4, 0xE1A00000}, {0x001101F8, 0xE1A00000}, {0x001101FC, 0x00106310}, {0x00110200, 0x0000D748}, {0x00110204, 0xEA0403F6}, {0x00110208, 0xE5CD0018}, {0x0011020C, 0xE51F0018}, {0x00110210, 0xE1D010B0}, {0x00110214, 0xE3510020}, {0x00110218, 0xCA000002}, {0x0011021C, 0xE51F0078}, {0x00110220, 0xE3A01010}, {0x00110224, 0xE5C01000}, {0x00110228, 0xE59FF01C}, {0x0011022C, 0xE1A00000}, {0x00110230, 0xE1A00000}, {0x00110234, 0xE1A00000}, {0x00110238, 0xE1A00000}, {0x0011023C, 0xE1A00000}, {0x00110240, 0xE1A00000}, {0x00110244, 0xE1A00000}, {0x00110248, 0x50060000}, {0x0011024C, 0x0000F22C}, {0x00110250, 0xEA03FB4F}, {0x00110254, 0xE59F2014}, {0x00110258, 0xE3500000}, {0x0011025C, 0x03A01000}, {0x00110260, 0x13A01001}, {0x00110264, 0xE5C21000}, {0x00110268, 0xE3500000}, {0x0011026C, 0xE59FF000}, {0x00110270, 0x001102C0}, {0x00110274, 0x00011514}, {0x00110278, 0xEA03ED3C}, {0x0011027C, 0xE59D0000}, {0x00110280, 0xE3C01008}, {0x00110284, 0xE58D1000}, {0x00110288, 0xE3A00030}, {0x0011028C, 0xEBFFFF63}, {0x00110290, 0xE3A0100C}, {0x00110294, 0xE51FF004}, {0x00110298, 0x00014D88}, {0x0011029C, 0xEA03ED77}, {0x001102A0, 0xE3500000}, {0x001102A4, 0xE59FF00C}, {0x001102A8, 0xE1A00000}, {0x001102AC, 0xE1A00000}, {0x001102B0, 0xE1A00000}, {0x001102B4, 0xE1A00000}, {0x001102B8, 0x00014CC0}, {0x001102BC, 0xEA03EDDF}, {0x001102C0, 0xE59D0000}, {0x001102C4, 0xE3C01008}, {0x001102C8, 0xE58D1000}, {0x001102CC, 0xE3A00030}, {0x001102D0, 0xEBFFFF52}, {0x001102D4, 0xE3A0100C}, {0x001102D8, 0xE51FF004}, {0x001102DC, 0x00014B40}, {0x001102E0, 0xEA043462}, {0x001102E4, 0xE1A00000}, {0x001102E8, 0xE1A00000}, {0x001102EC, 0xE51FF004}, {0x001102F0, 0x00003158}, {0x001102F4, 0xEA041567}, {0x001102F8, 0xE5940004}, {0x001102FC, 0xE3800850}, {0x00110300, 0xE5840004}, {0x00110304, 0xE3A00000}, {0x00110308, 0xE51FF004}, {0x0011030C, 0x0000AD58}, {0x00110310, 0xEA04300D}, {0x00110314, 0xE59F0028}, {0x00110318, 0xE5840584}, {0x0011031C, 0xE59F0024}, {0x00110320, 0xE59F1024}, {0x00110324, 0xE5810000}, {0x00110328, 0xE59F1020}, {0x0011032C, 0xE3A00003}, {0x00110330, 0xE5810000}, {0x00110334, 0xE59F001C}, {0x00110338, 0xE59F1014}, {0x0011033C, 0xE5810000}, {0x00110340, 0xE59FF014}, {0x00110344, 0x0000FFFB}, {0x00110348, 0x00000030}, {0x0011034C, 0x5000020C}, {0x00110350, 0x50000200}, {0x00110354, 0x30000014}, {0x00110358, 0x25801B0A}, {0x0011035C, 0x000042DC}, {0x00110360, 0xEA040074}, {0x00110364, 0xE1A00000}, {0x00110368, 0xE51FF004}, {0x0011036C, 0x000101E0}, {0x00110370, 0xEA03EE04}, {0x00110374, 0xE3510000}, {0x00110378, 0xE51FF004}, {0x0011037C, 0x00014B60}, {0x00110380, 0xEA03ED76}, {0x00110384, 0xE3510000}, {0x00110388, 0xE51FF004}, {0x0011038C, 0x00014DA8}, {0x00110390, 0xEA03EDFD}, {0x00110394, 0xE3500000}, {0x00110398, 0xE51FF004}, {0x0011039C, 0x00014B9C}, {0x001103A0, 0xEA03ED6F}, {0x001103A4, 0xE3500000}, {0x001103A8, 0xE51FF004}, {0x001103AC, 0x00014DE4}, {0x001103B0, 0xEA03FEA3}, {0x001103B4, 0xE1A00000}, {0x001103B8, 0xE51FF004}, {0x001103BC, 0x00010924}, {0x001103C0, 0xEA0420C9}, {0x001103C4, 0xE59F103C}, {0x001103C8, 0x03A00000}, {0x001103CC, 0x05810000}, {0x001103D0, 0x0A000007}, {0x001103D4, 0xE5910000}, {0x001103D8, 0xE2800001}, {0x001103DC, 0xE3500002}, {0x001103E0, 0x35810000}, {0x001103E4, 0x3A000004}, {0x001103E8, 0xE3A00000}, {0x001103EC, 0xE5810000}, {0x001103F0, 0xEAFFFFFF}, {0x001103F4, 0xE51FF004}, {0x001103F8, 0x0000809C}, {0x001103FC, 0xE51FF004}, {0x00110400, 0x000080E0}, {0x00110404, 0x00000000}, {0x00110408, 0x00110404}, {0x0011040C, 0xEA03D8AA}, {0x00110410, 0xE5C51000}, {0x00110414, 0xE1A00001}, {0x00110418, 0xE3A01032}, {0x0011041C, 0xE1500001}, {0x00110420, 0x3A000003}, {0x00110424, 0xE3A00001}, {0x00110428, 0xE3A02000}, {0x0011042C, 0xE3A01000}, {0x00110430, 0xE59FF004}, {0x00110434, 0xE51FF004}, {0x00110438, 0x0001A1AC}, {0x0011043C, 0x0001A1A4}, {0x00110440, 0xEA0438AC}, {0x00110444, 0xE1A000A0}, {0x00110448, 0xE51FF004}, {0x0011044C, 0x00002190}, {0x00110450, 0xEA04389C}, {0x00110454, 0xE3A00002}, {0x00110458, 0xE51FF004}, {0x0011045C, 0x000021E0}, {0x00110460, 0xEA041C47}, {0x00110464, 0xE3A03000}, {0x00110468, 0xE5D11000}, {0x0011046C, 0xE5802010}, {0x00110470, 0xE5803044}, {0x00110474, 0xE3510001}, {0x00110478, 0x13A01003}, {0x0011047C, 0x03A01009}, {0x00110480, 0xE5A01014}, {0x00110484, 0xE5803034}, {0x00110488, 0xE51FF004}, {0x0011048C, 0x00009364}, {0x20040004, 0x00014C60}, {0x20040024, 0x00110000}, {0x20040008, 0x00016A9C}, {0x20040028, 0x0011002C}, {0x2004000C, 0x0001D360}, {0x2004002C, 0x00110064}, {0x20040010, 0x0001A138}, {0x20040030, 0x001100E8}, {0x20040014, 0x00014C80}, {0x20040034, 0x00110110}, {0x20040018, 0x00010EFC}, {0x20040038, 0x00110120}, {0x2004001C, 0x0000D744}, {0x2004003C, 0x001101B8}, {0x20040020, 0x0000F228}, {0x20040040, 0x00110204}, {0x20040100, 0x00011510}, {0x20040120, 0x00110250}, {0x20040104, 0x00014D84}, {0x20040124, 0x00110278}, {0x20040108, 0x00014CBC}, {0x20040128, 0x0011029C}, {0x2004010C, 0x00014B3C}, {0x2004012C, 0x001102BC}, {0x20040110, 0x00003154}, {0x20040130, 0x001102E0}, {0x20040114, 0x0000AD54}, {0x20040134, 0x001102F4}, {0x20040118, 0x000042D8}, {0x20040138, 0x00110310}, {0x2004011C, 0x0001018C}, {0x2004013C, 0x00110360}, {0x20040140, 0x00014B5C}, {0x20040180, 0x00110370}, {0x20040144, 0x00014DA4}, {0x20040184, 0x00110380}, {0x20040148, 0x00014B98}, {0x20040188, 0x00110390}, {0x2004014C, 0x00014DE0}, {0x2004018C, 0x001103A0}, {0x20040150, 0x00010920}, {0x20040190, 0x001103B0}, {0x20040154, 0x00008098}, {0x20040194, 0x001103C0}, {0x20040158, 0x0001A160}, {0x20040198, 0x0011040C}, {0x2004015C, 0x0000218C}, {0x2004019C, 0x00110440}, {0x20040160, 0x000021DC}, {0x200401A0, 0x00110450}, {0x20040164, 0x00009340}, {0x200401A4, 0x00110460}, {0x20040000, 0x03FFFEFF}, }; #define SET_CHANNEL_MEM_TABLE_BASE 0x00107C98 #define SET_CHANNEL_RF_TABLE_BASE 0x00107F38 static const u32 wifi_clock_switch_91[][2] = { //channel 1 {SET_CHANNEL_MEM_TABLE_BASE, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x04, 0x604199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x08, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x0C, 0x2222CFCF}, //channel 2 {SET_CHANNEL_MEM_TABLE_BASE + 0x30, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x34, 0x604199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x38, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x3C, 0x2222CFCF}, //channel 3 {SET_CHANNEL_MEM_TABLE_BASE + 0x60, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x64, 0x604199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x68, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x6C, 0x2222CFCF}, //channel 4 {SET_CHANNEL_MEM_TABLE_BASE + 0x90, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x94, 0x604199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x98, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x9C, 0x2222CFCF}, //channel 5 {SET_CHANNEL_MEM_TABLE_BASE + 0xC0, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0xC4, 0x204199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0xC8, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0xCC, 0x2222CFCF}, //channel 6 {SET_CHANNEL_MEM_TABLE_BASE + 0xF0, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0xF4, 0x204199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0xF8, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0xFC, 0x2222CFCF}, //channel 7 {SET_CHANNEL_MEM_TABLE_BASE + 0x120, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x124, 0x204199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x128, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x12C, 0x2222CFCF}, //channel 8 {SET_CHANNEL_MEM_TABLE_BASE + 0x150, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x154, 0x204199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x158, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x15C, 0x2222CFCF}, //channel 9 {SET_CHANNEL_MEM_TABLE_BASE + 0x180, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x184, 0x604199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x188, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x18C, 0x2222CFCF}, //channel 10 {SET_CHANNEL_MEM_TABLE_BASE + 0x1B0, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x1B4, 0x604199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x1B8, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x1BC, 0x2222CFCF}, //channel 11 {SET_CHANNEL_MEM_TABLE_BASE + 0x1E0, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x1E4, 0x604199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x1E8, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x1EC, 0x2222CFCF}, //channel 12 {SET_CHANNEL_MEM_TABLE_BASE + 0x210, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x214, 0x604199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x218, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x21C, 0x2222CFCF}, //channel 13 {SET_CHANNEL_MEM_TABLE_BASE + 0x240, 0x50090048}, {SET_CHANNEL_MEM_TABLE_BASE + 0x244, 0x304199C4}, {SET_CHANNEL_MEM_TABLE_BASE + 0x248, 0x50000654}, {SET_CHANNEL_MEM_TABLE_BASE + 0x24C, 0x2222CFCF}, //channel 1 {SET_CHANNEL_RF_TABLE_BASE, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x04, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x08, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x0C, 0x00000808}, {SET_CHANNEL_RF_TABLE_BASE + 0x10, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x14, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x18, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x1C, 0x00000000}, //channel 2 {SET_CHANNEL_RF_TABLE_BASE + 0x40, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x44, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x48, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x4C, 0x00000808}, {SET_CHANNEL_RF_TABLE_BASE + 0x50, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x54, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x58, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x5C, 0x00000000}, //channel 3 {SET_CHANNEL_RF_TABLE_BASE + 0x80, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x84, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x88, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x8C, 0x00000808}, {SET_CHANNEL_RF_TABLE_BASE + 0x90, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x94, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x98, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x9C, 0x00000000}, //channel 4 {SET_CHANNEL_RF_TABLE_BASE + 0xC0, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0xC4, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0xC8, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0xCC, 0x00000808}, {SET_CHANNEL_RF_TABLE_BASE + 0xD0, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0xD4, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0xD8, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0xDC, 0x00000000}, //channel 5 {SET_CHANNEL_RF_TABLE_BASE + 0x100, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x104, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x108, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x10C, 0x00000908}, {SET_CHANNEL_RF_TABLE_BASE + 0x110, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x114, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x118, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x11C, 0x00000000}, //channel 6 {SET_CHANNEL_RF_TABLE_BASE + 0x140, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x144, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x148, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x14C, 0x00000908}, {SET_CHANNEL_RF_TABLE_BASE + 0x150, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x154, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x158, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x15C, 0x00000000}, //channel 7 {SET_CHANNEL_RF_TABLE_BASE + 0x180, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x184, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x188, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x18C, 0x00000908}, {SET_CHANNEL_RF_TABLE_BASE + 0x190, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x194, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x198, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x19C, 0x00000000}, //channel 8 {SET_CHANNEL_RF_TABLE_BASE + 0x1C0, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x1C4, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x1C8, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x1CC, 0x00000908}, {SET_CHANNEL_RF_TABLE_BASE + 0x1D0, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x1D4, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x1D8, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x1DC, 0x00000000}, //channel 9 {SET_CHANNEL_RF_TABLE_BASE + 0x200, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x204, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x208, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x20C, 0x00000808}, {SET_CHANNEL_RF_TABLE_BASE + 0x210, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x214, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x218, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x21C, 0x00000000}, //channel 10 {SET_CHANNEL_RF_TABLE_BASE + 0x240, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x244, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x248, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x24C, 0x00000808}, {SET_CHANNEL_RF_TABLE_BASE + 0x250, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x254, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x258, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x25C, 0x00000000}, //channel 11 {SET_CHANNEL_RF_TABLE_BASE + 0x280, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x284, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x288, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x28C, 0x00000808}, {SET_CHANNEL_RF_TABLE_BASE + 0x290, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x294, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x298, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x29C, 0x00000000}, //channel 12 {SET_CHANNEL_RF_TABLE_BASE + 0x2C0, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x2C4, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x2C8, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x2CC, 0x00000808}, {SET_CHANNEL_RF_TABLE_BASE + 0x2D0, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x2D4, 0x0000AA00}, {SET_CHANNEL_RF_TABLE_BASE + 0x2D8, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x2DC, 0x00000000}, //channel 13 {SET_CHANNEL_RF_TABLE_BASE + 0x300, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x304, 0x00000001}, {SET_CHANNEL_RF_TABLE_BASE + 0x308, 0x00000038}, {SET_CHANNEL_RF_TABLE_BASE + 0x30C, 0x00000B08}, {SET_CHANNEL_RF_TABLE_BASE + 0x310, 0x0000003E}, {SET_CHANNEL_RF_TABLE_BASE + 0x314, 0x0000AA12}, {SET_CHANNEL_RF_TABLE_BASE + 0x318, 0x0000003F}, {SET_CHANNEL_RF_TABLE_BASE + 0x31C, 0x00000000}, }; static const u8 wifi_core_patch_data_91_8[][2] = { {0x28, 0x1a}, {0x29, 0x0d}, {0x25, 0x07}, {0x08, 0x43}, {0x26, 0x35}, {0x3e, 0x64}, {0x3f, 0x00}, {0x45, 0x75}, {0x46, 0x73}, {0x50, 0x58}, {0x30, 0xf6}, {0x74, 0x01}, {0x75, 0x40}, {0x74, 0xD4}, {0x75, 0x47}, {0x74, 0xff}, {0x75, 0x4b}, {0x74, 0x3D}, {0x75, 0x4c}, {0x74, 0x01}, {0x75, 0x50}, {0x74, 0x99}, {0x75, 0x57}, {0x74, 0xff}, {0x75, 0x5b}, {0x74, 0x33}, {0x75, 0x5D}, {0x74, 0xE4}, {0x75, 0x61}, {0x30, 0xF7}, }; static const u32 wifi_core_init_data_32_91[][2] = { {0x500002a8, 0x00000001}, {0x50000080, 0x0003FEF7}, {0x5000050c, 0x00003900}, {0x30010010, 0x00007DFF}, {0x50090060, 0x000001B4}, {0x50090068, 0xEB3FF7FF}, {0x50090070, 0x1403DBFF}, {0x500900B0, 0x00400000}, {0x500900AC, 0x00000A00}, {0x50090054, 0x00000001}, {0x50090200, 0x00000180}, {0x50090204, 0x00000180}, {0x50090208, 0x00000180}, {0x5009020c, 0x00000180}, {0x50090210, 0x00000180}, {0x50090214, 0x00000180}, {0x50090218, 0x00000188}, {0x5009021c, 0x00000190}, {0x50090220, 0x00000200}, {0x50090224, 0x00000208}, {0x50090228, 0x00000210}, {0x5009022c, 0x00000280}, {0x50090230, 0x00000288}, {0x50090234, 0x00000290}, {0x50090238, 0x00000300}, {0x5009023c, 0x00000308}, {0x50090240, 0x00000310}, {0x50090244, 0x00000380}, {0x50090248, 0x00000388}, {0x5009024c, 0x00000390}, {0x50090250, 0x00000400}, {0x50090254, 0x00000408}, {0x50090258, 0x00000410}, {0x5009025c, 0x00000480}, {0x50090260, 0x00000488}, {0x50090264, 0x00000490}, {0x50090268, 0x00000500}, {0x5009026c, 0x00000508}, {0x50090270, 0x00000510}, {0x50090274, 0x00000580}, {0x50090278, 0x00000588}, {0x5009027c, 0x00000590}, {0x50090280, 0x00000290}, {0x50090284, 0x00000300}, {0x50090288, 0x00000308}, {0x5009028c, 0x00000310}, {0x50090290, 0x00000380}, {0x50090294, 0x00000388}, {0x50090298, 0x00000390}, {0x5009029c, 0x00000400}, {0x500902a0, 0x00000408}, {0x500902a4, 0x00000410}, {0x500902a8, 0x00000480}, {0x500902ac, 0x00000488}, {0x500902b0, 0x00000490}, {0x500902b4, 0x00000500}, {0x500902b8, 0x00000508}, {0x500902bc, 0x00000510}, {0x500902c0, 0x00000580}, {0x500902c4, 0x00000588}, {0x500902c8, 0x00000590}, {0x500902cc, 0x00000600}, {0x500902d0, 0x00000608}, {0x500902d4, 0x00000610}, {0x500902d8, 0x00000680}, {0x500902dc, 0x00000688}, {0x500902e0, 0x00000690}, {0x500902e4, 0x00000700}, {0x500902e8, 0x00000708}, {0x500902ec, 0x00000710}, {0x500902f0, 0x00000780}, {0x500902f4, 0x00000788}, {0x500902f8, 0x00000790}, {0x500902fc, 0x00000798}, {0x50090300, 0x00000500}, {0x50090304, 0x00000508}, {0x50090308, 0x00000510}, {0x5009030c, 0x00000580}, {0x50090310, 0x00000588}, {0x50090314, 0x00000590}, {0x50090318, 0x00000600}, {0x5009031c, 0x00000608}, {0x50090320, 0x00000610}, {0x50090324, 0x00000680}, {0x50090328, 0x00000688}, {0x5009032c, 0x00000690}, {0x50090330, 0x00000700}, {0x50090334, 0x00000708}, {0x50090338, 0x00000710}, {0x5009033c, 0x00000780}, {0x50090340, 0x00000780}, {0x50090344, 0x00000780}, {0x50090348, 0x00000780}, {0x5009034c, 0x00000780}, {0x50090350, 0x00000780}, {0x50090354, 0x00000780}, {0x50090358, 0x00000780}, {0x5009035c, 0x00000780}, {0x50090360, 0x00000780}, {0x50090364, 0x00000780}, {0x50090368, 0x00000780}, {0x5009036c, 0x00000780}, {0x50090370, 0x00000780}, {0x50090374, 0x00000780}, {0x50090378, 0x00000780}, {0x5009037c, 0x00000780}, {0x50090054, 0x00000000}, }; static const u32 wifi_core_AM_PM_data_32_91[][2] = { {0x50090054, 0x00000000}, {0x50090068, 0xEB3FF7FF}, {0x50090070, 0x1403DBFF}, {0x500900B0, 0x00400000}, {0x50090090, 0x00000000}, //item0:theta0=7_B=0_r0=2 {0x50090094, 0x00A01401}, {0x50090098, 0x02907412}, {0x5009009C, 0x05D12438}, {0x500900A0, 0x0A522872}, {0x500900A4, 0xFFF380C1}, {0x50090078, 0x02B05400}, //item0:G0=-3.5_r0=2.5 {0x5009007C, 0x06D15840}, {0x50090080, 0x0B927885}, {0x50090084, 0x11A3DCD7}, {0x50090088, 0x1975A540}, {0x5009008C, 0xFFF7FDC9}, {0x500900A8, 0x9C4001A7}, }; static const u32 wifi_assoc_power_save_data_32_91[][2] = { {0x5000050c, 0x00003900}// for association power save }; #endif