|
@@ -1450,7 +1450,6 @@ void BBvUpdatePreEDThreshold(struct vnt_private *pDevice, int bScanning)
|
|
|
|
|
|
if( bScanning )
|
|
if( bScanning )
|
|
{ // need Max sensitivity //RSSI -69, -70,....
|
|
{ // need Max sensitivity //RSSI -69, -70,....
|
|
- if(pDevice->byBBPreEDIndex == 0) break;
|
|
|
|
pDevice->byBBPreEDIndex = 0;
|
|
pDevice->byBBPreEDIndex = 0;
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xC9, 0x00); //CR201(0xC9)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xC9, 0x00); //CR201(0xC9)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xCE, 0x30); //CR206(0xCE)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xCE, 0x30); //CR206(0xCE)
|
|
@@ -1593,7 +1592,6 @@ void BBvUpdatePreEDThreshold(struct vnt_private *pDevice, int bScanning)
|
|
|
|
|
|
if( bScanning )
|
|
if( bScanning )
|
|
{ // need Max sensitivity //RSSI -69, -70, ...
|
|
{ // need Max sensitivity //RSSI -69, -70, ...
|
|
- if(pDevice->byBBPreEDIndex == 0) break;
|
|
|
|
pDevice->byBBPreEDIndex = 0;
|
|
pDevice->byBBPreEDIndex = 0;
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xC9, 0x00); //CR201(0xC9)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xC9, 0x00); //CR201(0xC9)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xCE, 0x24); //CR206(0xCE)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xCE, 0x24); //CR206(0xCE)
|
|
@@ -1745,7 +1743,6 @@ void BBvUpdatePreEDThreshold(struct vnt_private *pDevice, int bScanning)
|
|
case RF_VT3342A0: //RobertYu:20060627, testing table
|
|
case RF_VT3342A0: //RobertYu:20060627, testing table
|
|
if( bScanning )
|
|
if( bScanning )
|
|
{ // need Max sensitivity //RSSI -67, -68, ...
|
|
{ // need Max sensitivity //RSSI -67, -68, ...
|
|
- if(pDevice->byBBPreEDIndex == 0) break;
|
|
|
|
pDevice->byBBPreEDIndex = 0;
|
|
pDevice->byBBPreEDIndex = 0;
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xC9, 0x00); //CR201(0xC9)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xC9, 0x00); //CR201(0xC9)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xCE, 0x38); //CR206(0xCE)
|
|
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0xCE, 0x38); //CR206(0xCE)
|