|
@@ -187,87 +187,114 @@ void STAvUpdateRDStatCounter (PSStatCounter pStatistic,
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr11MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr11MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"11M: ALL[%d], OK[%d]:[%02x]\n", (INT)pStatistic->CustomStat.ullRsr11M, (INT)pStatistic->CustomStat.ullRsr11MCRCOk, byRSR);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "11M: ALL[%d], OK[%d]:[%02x]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr11M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr11MCRCOk, byRSR);
|
|
}
|
|
}
|
|
else if(byRxRate==11) {
|
|
else if(byRxRate==11) {
|
|
pStatistic->CustomStat.ullRsr5M++;
|
|
pStatistic->CustomStat.ullRsr5M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr5MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr5MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 5M: ALL[%d], OK[%d]:[%02x]\n", (INT)pStatistic->CustomStat.ullRsr5M, (INT)pStatistic->CustomStat.ullRsr5MCRCOk, byRSR);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " 5M: ALL[%d], OK[%d]:[%02x]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr5M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr5MCRCOk, byRSR);
|
|
}
|
|
}
|
|
else if(byRxRate==4) {
|
|
else if(byRxRate==4) {
|
|
pStatistic->CustomStat.ullRsr2M++;
|
|
pStatistic->CustomStat.ullRsr2M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr2MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr2MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 2M: ALL[%d], OK[%d]:[%02x]\n", (INT)pStatistic->CustomStat.ullRsr2M, (INT)pStatistic->CustomStat.ullRsr2MCRCOk, byRSR);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " 2M: ALL[%d], OK[%d]:[%02x]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr2M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr2MCRCOk, byRSR);
|
|
}
|
|
}
|
|
else if(byRxRate==2){
|
|
else if(byRxRate==2){
|
|
pStatistic->CustomStat.ullRsr1M++;
|
|
pStatistic->CustomStat.ullRsr1M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr1MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr1MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 1M: ALL[%d], OK[%d]:[%02x]\n", (INT)pStatistic->CustomStat.ullRsr1M, (INT)pStatistic->CustomStat.ullRsr1MCRCOk, byRSR);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " 1M: ALL[%d], OK[%d]:[%02x]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr1M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr1MCRCOk, byRSR);
|
|
}
|
|
}
|
|
else if(byRxRate==12){
|
|
else if(byRxRate==12){
|
|
pStatistic->CustomStat.ullRsr6M++;
|
|
pStatistic->CustomStat.ullRsr6M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr6MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr6MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 6M: ALL[%d], OK[%d]\n", (INT)pStatistic->CustomStat.ullRsr6M, (INT)pStatistic->CustomStat.ullRsr6MCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " 6M: ALL[%d], OK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr6M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr6MCRCOk);
|
|
}
|
|
}
|
|
else if(byRxRate==18){
|
|
else if(byRxRate==18){
|
|
pStatistic->CustomStat.ullRsr9M++;
|
|
pStatistic->CustomStat.ullRsr9M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr9MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr9MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" 9M: ALL[%d], OK[%d]\n", (INT)pStatistic->CustomStat.ullRsr9M, (INT)pStatistic->CustomStat.ullRsr9MCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " 9M: ALL[%d], OK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr9M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr9MCRCOk);
|
|
}
|
|
}
|
|
else if(byRxRate==24){
|
|
else if(byRxRate==24){
|
|
pStatistic->CustomStat.ullRsr12M++;
|
|
pStatistic->CustomStat.ullRsr12M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr12MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr12MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"12M: ALL[%d], OK[%d]\n", (INT)pStatistic->CustomStat.ullRsr12M, (INT)pStatistic->CustomStat.ullRsr12MCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "12M: ALL[%d], OK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr12M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr12MCRCOk);
|
|
}
|
|
}
|
|
else if(byRxRate==36){
|
|
else if(byRxRate==36){
|
|
pStatistic->CustomStat.ullRsr18M++;
|
|
pStatistic->CustomStat.ullRsr18M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr18MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr18MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"18M: ALL[%d], OK[%d]\n", (INT)pStatistic->CustomStat.ullRsr18M, (INT)pStatistic->CustomStat.ullRsr18MCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "18M: ALL[%d], OK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr18M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr18MCRCOk);
|
|
}
|
|
}
|
|
else if(byRxRate==48){
|
|
else if(byRxRate==48){
|
|
pStatistic->CustomStat.ullRsr24M++;
|
|
pStatistic->CustomStat.ullRsr24M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr24MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr24MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"24M: ALL[%d], OK[%d]\n", (INT)pStatistic->CustomStat.ullRsr24M, (INT)pStatistic->CustomStat.ullRsr24MCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "24M: ALL[%d], OK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr24M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr24MCRCOk);
|
|
}
|
|
}
|
|
else if(byRxRate==72){
|
|
else if(byRxRate==72){
|
|
pStatistic->CustomStat.ullRsr36M++;
|
|
pStatistic->CustomStat.ullRsr36M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr36MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr36MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"36M: ALL[%d], OK[%d]\n", (INT)pStatistic->CustomStat.ullRsr36M, (INT)pStatistic->CustomStat.ullRsr36MCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "36M: ALL[%d], OK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr36M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr36MCRCOk);
|
|
}
|
|
}
|
|
else if(byRxRate==96){
|
|
else if(byRxRate==96){
|
|
pStatistic->CustomStat.ullRsr48M++;
|
|
pStatistic->CustomStat.ullRsr48M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr48MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr48MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"48M: ALL[%d], OK[%d]\n", (INT)pStatistic->CustomStat.ullRsr48M, (INT)pStatistic->CustomStat.ullRsr48MCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "48M: ALL[%d], OK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr48M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr48MCRCOk);
|
|
}
|
|
}
|
|
else if(byRxRate==108){
|
|
else if(byRxRate==108){
|
|
pStatistic->CustomStat.ullRsr54M++;
|
|
pStatistic->CustomStat.ullRsr54M++;
|
|
if(byRSR & RSR_CRCOK) {
|
|
if(byRSR & RSR_CRCOK) {
|
|
pStatistic->CustomStat.ullRsr54MCRCOk++;
|
|
pStatistic->CustomStat.ullRsr54MCRCOk++;
|
|
}
|
|
}
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"54M: ALL[%d], OK[%d]\n", (INT)pStatistic->CustomStat.ullRsr54M, (INT)pStatistic->CustomStat.ullRsr54MCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "54M: ALL[%d], OK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr54M,
|
|
|
|
+ (signed int) pStatistic->CustomStat.ullRsr54MCRCOk);
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"Unknown: Total[%d], CRCOK[%d]\n", (INT)pStatistic->dwRsrRxPacket+1, (INT)pStatistic->dwRsrCRCOk);
|
|
|
|
|
|
+ DBG_PRT(MSG_LEVEL_DEBUG,
|
|
|
|
+ KERN_INFO "Unknown: Total[%d], CRCOK[%d]\n",
|
|
|
|
+ (signed int) pStatistic->dwRsrRxPacket+1,
|
|
|
|
+ (signed int)pStatistic->dwRsrCRCOk);
|
|
}
|
|
}
|
|
|
|
|
|
if (byRSR & RSR_BSSIDOK)
|
|
if (byRSR & RSR_BSSIDOK)
|