1 #if ZDCONF_LP_SUPPORT == 1
4 extern Hash_t
*sstByAid
[MAX_RECORD
];
5 extern zd_80211Obj_t dot11Obj
;
6 static U32 Turbo_Burst_Status
= 0;
7 static U32 OLD_B00
, OLD_B04
,OLD_B10
, OLD_B14
;
9 BOOLEAN
Turbo_getBurst_Status(void)
11 return Turbo_Burst_Status
;
13 void Turbo_BurstOn(void)
15 void *reg
= dot11Obj
.reg
;
16 printk("Enter %s\n", __FUNCTION__
);
18 OLD_B00
= dot11Obj
.GetReg(reg
, 0xB00);
19 OLD_B04
= dot11Obj
.GetReg(reg
, 0xB04);
20 OLD_B10
= dot11Obj
.GetReg(reg
, 0xB10);
21 OLD_B14
= dot11Obj
.GetReg(reg
, 0xB14);
23 dot11Obj
.SetReg(reg
, 0xB00, 0);
24 dot11Obj
.SetReg(reg
, 0xB04, 0);
25 if(mBssType
== AP_BSS
)
27 dot11Obj
.SetReg(reg
, 0xB10, 0x000a0032);
28 dot11Obj
.SetReg(reg
, 0xB14, 0x00320032);
30 else if(mBssType
== INFRASTRUCTURE_BSS
)
32 dot11Obj
.SetReg(reg
, 0xB10, 0x000a000a);
33 dot11Obj
.SetReg(reg
, 0xB14, 0x000a000a);
38 Turbo_Burst_Status
= 1;
41 void Turbo_BurstOff(void)
43 void *reg
= dot11Obj
.reg
;
44 printk("Enter %s\n", __FUNCTION__
);
45 dot11Obj
.SetReg(reg
, 0xB00, OLD_B00
);
46 dot11Obj
.SetReg(reg
, 0xB04, OLD_B04
);
47 dot11Obj
.SetReg(reg
, 0xB10, OLD_B10
);
48 dot11Obj
.SetReg(reg
, 0xB10, OLD_B14
);
50 Turbo_Burst_Status
= 0;
53 BOOLEAN
Turbo_BurstSTA_Check(void)
56 for(i
=0;i
<MAX_RECORD
;i
++)
57 if(sstByAid
[i
]->bValid
)
58 if(sstByAid
[i
]->Turbo_Burst
)