Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b83cc2ed authored by Charles Clément's avatar Charles Clément Committed by Greg Kroah-Hartman
Browse files

Staging: vt6655: remove custom LONG typedef

parent 7ca30195
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -609,7 +609,7 @@ BSSbUpdateToBSSList (
    PSDevice        pDevice = (PSDevice)hDeviceContext;
    PSMgmtObject    pMgmt = pDevice->pMgmt;
    PSRxMgmtPacket  pRxPacket = (PSRxMgmtPacket)pRxPacketContext;
    LONG            ldBm;
    long            ldBm;
    BOOL            bParsingQuiet = FALSE;
    PWLAN_IE_QUIET  pQuiet = NULL;

@@ -1629,8 +1629,8 @@ void s_vCheckSensitivity(
        pBSSList = BSSpAddrIsInBSSList(pDevice, pMgmt->abyCurrBSSID, (PWLAN_IE_SSID)pMgmt->abyCurrSSID);
        if (pBSSList != NULL) {
            // Updata BB Reg if RSSI is too strong.
            LONG    LocalldBmAverage = 0;
            LONG    uNumofdBm = 0;
            long    LocalldBmAverage = 0;
            long    uNumofdBm = 0;
            for (ii = 0; ii < RSSI_STAT_COUNT; ii++) {
                if (pBSSList->ldBmAverage[ii] != 0) {
                    uNumofdBm ++;
+3 −3
Original line number Diff line number Diff line
@@ -118,9 +118,9 @@ typedef struct tagKnownBSS {

//    WORD            wATIMWindow;
    BYTE            byRSSIStatCnt;
    LONG            ldBmMAX;
    LONG            ldBmAverage[RSSI_STAT_COUNT];
    LONG            ldBmAverRange;
    long            ldBmMAX;
    long            ldBmAverage[RSSI_STAT_COUNT];
    long            ldBmAverRange;
    //For any BSSID selection improvment
    BOOL            bSelected;

+2 −2
Original line number Diff line number Diff line
@@ -666,7 +666,7 @@ typedef struct __device_info {
    BYTE                    byBBVGANew;
    BYTE                    byBBVGACurrent;
    BYTE                    abyBBVGA[BB_VGA_LEVEL];
    LONG                    ldBmThreshold[BB_VGA_LEVEL];
    long                    ldBmThreshold[BB_VGA_LEVEL];

    BYTE                    byBBPreEDRSSI;
    BYTE                    byBBPreEDIndex;
@@ -684,7 +684,7 @@ typedef struct __device_info {
    short                   sPSetPointCCK;
    short                   sPSetPointOFDMG;
    short                   sPSetPointOFDMA;
    LONG                    lPFormulaOffset;
    long                    lPFormulaOffset;
    short                   sPThreshold;
    char                    cAdjustStep;
    char                    cMinTxAGC;
+1 −1
Original line number Diff line number Diff line
@@ -2830,7 +2830,7 @@ static irqreturn_t device_intr(int irq, void *dev_instance) {
                //pDevice->bBeaconSent = FALSE;
            } else {
                if ((pDevice->bUpdateBBVGA) && (pDevice->bLinkPass == TRUE) && (pDevice->uCurrRSSI != 0)) {
                    LONG            ldBm;
                    long            ldBm;

                    RFvRSSITodBm(pDevice, (BYTE) pDevice->uCurrRSSI, &ldBm);
                    for (ii=0;ii<BB_VGA_LEVEL;ii++) {
+2 −2
Original line number Diff line number Diff line
@@ -375,8 +375,8 @@ device_receive_frame (
    SKeyItem        STempKey;
    // 802.11h RPI
    DWORD           dwDuration = 0;
    LONG            ldBm = 0;
    LONG            ldBmThreshold = 0;
    long            ldBm = 0;
    long            ldBmThreshold = 0;
    PS802_11Header pMACHeader;
 BOOL            bRxeapol_key = FALSE;

Loading