/*---------------------  Static Classes  ----------------------------*/
 
 /*---------------------  Static Variables  --------------------------*/
-#define        PLICE_DEBUG
 
 /*---------------------  Static Functions  --------------------------*/
 
                }
        }
 
-#ifdef PLICE_DEBUG
        RFbSetPower(pDevice, pDevice->wCurrentRate, pDevice->byCurrentCh);
-#endif
+
        pTxBufHead->byTxPower = pDevice->byCurPwr;
 
        *pcbHeaderSize = s_cbFillTxBufHead(pDevice, byPktType, pbyTxBufferAddr, cbPayloadSize,
 
 #include "rf.h"
 #include "iowpa.h"
 
-#define        PLICE_DEBUG
-
 /*---------------------  Static Definitions -------------------------*/
 
 /*---------------------  Static Classes  ----------------------------*/
                // set max tx rate
                pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate =
                        pMgmt->sNodeDBTable[uNodeIndex].wMaxSuppRate;
-#ifdef PLICE_DEBUG
+
                pr_debug("RxAssocRequest:wTxDataRate is %d\n", pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate);
-#endif
+
                // Todo: check sta preamble, if ap can't support, set status code
                pMgmt->sNodeDBTable[uNodeIndex].bShortPreamble =
                        WLAN_GET_CAP_INFO_SHORTPREAMBLE(*sFrame.pwCapInfo);
                // set max tx rate
                pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate =
                        pMgmt->sNodeDBTable[uNodeIndex].wMaxSuppRate;
-#ifdef PLICE_DEBUG
+
                pr_debug("RxReAssocRequest:TxDataRate is %d\n", pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate);
-#endif
+
                // Todo: check sta preamble, if ap can't support, set status code
                pMgmt->sNodeDBTable[uNodeIndex].bShortPreamble =
                        WLAN_GET_CAP_INFO_SHORTPREAMBLE(*sFrame.pwCapInfo);
                                memcpy(pMgmt->sNodeDBTable[uNodeIndex].abyMACAddr, sFrame.pHdr->sA3.abyAddr2, WLAN_ADDR_LEN);
                                pMgmt->sNodeDBTable[uNodeIndex].bShortPreamble = WLAN_GET_CAP_INFO_SHORTPREAMBLE(*sFrame.pwCapInfo);
                                pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate = pMgmt->sNodeDBTable[uNodeIndex].wMaxSuppRate;
-#ifdef PLICE_DEBUG
                                {
                                        pr_debug("s_vMgrRxBeacon:TxDataRate is %d,Index is %d\n", pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate, uNodeIndex);
                                }
-#endif
                        }
 
                        // if other stations joined, indicate connection to upper layer..