45 #define BY_AL2230_REG_LEN 23 //24bit
46 #define CB_AL2230_INIT_SEQ 15
47 #define AL2230_PWR_IDX_LEN 64
49 #define BY_AL7230_REG_LEN 23 //24bit
50 #define CB_AL7230_INIT_SEQ 16
51 #define AL7230_PWR_IDX_LEN 64
54 #define BY_VT3226_REG_LEN 23
55 #define CB_VT3226_INIT_SEQ 11
56 #define VT3226_PWR_IDX_LEN 64
60 #define BY_VT3342_REG_LEN 23
61 #define CB_VT3342_INIT_SEQ 13
62 #define VT3342_PWR_IDX_LEN 64
687 00, 00, 00, 00, 00, 00, 23, 24, 25, 00,
688 26, 27, 00, 00, 00, 28, 00, 00, 00, 00,
689 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
690 00, 00, 00, 29, 00, 30, 00, 31, 00, 32,
691 00, 33, 00, 34, 00, 35, 00, 36, 00, 00,
692 00, 37, 00, 00, 00, 38, 00, 00, 00, 39,
693 00, 00, 00, 40, 00, 00, 00, 00, 00, 00,
694 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
695 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
696 00, 00, 00, 00, 00, 00, 00, 00, 00, 41,
698 00, 00, 00, 42, 00, 00, 00, 43, 00, 00,
699 00, 44, 00, 00, 00, 45, 00, 00, 00, 46,
700 00, 00, 00, 47, 00, 00, 00, 48, 00, 00,
701 00, 49, 00, 00, 00, 50, 00, 00, 00, 51,
702 00, 00, 00, 00, 00, 00, 00, 00, 52, 00,
703 00, 00, 53, 00, 00, 00, 54, 00, 00, 00,
704 55, 00, 00, 00, 56, 00, 00, 00, 00, 00,
705 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
706 00, 00, 15, 16, 17, 00, 18, 19, 20, 00,
707 00, 21, 00, 00, 00, 22, 00, 00, 00, 00
729 pbyData[0] = (
BYTE)dwData;
730 pbyData[1] = (
BYTE)(dwData>>8);
731 pbyData[2] = (
BYTE)(dwData>>16);
732 pbyData[3] = (
BYTE)(dwData>>24);
866 dwMax7230Pwr = 0x080C0B00 | ( (pDevice->
byCurPwr) << 12 ) |
880 dwVT3226Pwr = ((0x3F-pDevice->
byCurPwr) << 20 ) | ( 0x17 << 8 ) |
895 dwVT3226Pwr = ((0x3F-pDevice->
byCurPwr) << 20 ) | ( 0xE07 << 8 ) |
912 dwVT3226Pwr = ((0x3F-pDevice->
byCurPwr) << 20 ) | ( 0x7 << 8 ) |
930 dwVT3342Pwr = ((0x3F-pDevice->
byCurPwr) << 20 ) | ( 0x27 << 8 ) |
964 BYTE byIdx = (((byCurrRSSI & 0xC0) >> 6) & 0x03);
965 signed long b = (byCurrRSSI & 0x3F);
967 BYTE abyAIROHARF[4] = {0, 18, 0, 40};
976 a = abyAIROHARF[byIdx];
982 *pldBm = -1 * (a + b * 2);
992 WORD wLength1 = 0,wLength2 = 0 ,wLength3 = 0;
1043 memcpy(abyArray, pbyAddr1, wLength1);
1053 while ( wLength2 > 0 ) {
1055 if ( wLength2 >= 64 ) {
1060 memcpy(abyArray, pbyAddr2, wLength);
1074 while ( wLength3 > 0 ) {
1076 if ( wLength3 >= 64 ) {
1081 memcpy(abyArray, pbyAddr3, wLength);
1100 memcpy(abyArray, pbyAddr1, wLength1);
1111 while ( wLength2 > 0 ) {
1113 if ( wLength2 >= 64 ) {
1118 memcpy(abyArray, pbyAddr2, wLength);