Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162319
b: refs/heads/master
c: 612822f
h: refs/heads/master
i:
  162317: b40fd13
  162315: 92adfc7
  162311: 4c3a5be
  162303: dca10f0
v: v3
  • Loading branch information
Jim Lieb authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 9e3418d commit 3e0d5fe
Show file tree
Hide file tree
Showing 38 changed files with 217 additions and 217 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77f58b133ea1da92faed89ec384b5e4279f6574f
refs/heads/master: 612822f5dd1638de442cf50eb9da54632fba0e66
5 changes: 3 additions & 2 deletions trunk/drivers/staging/vt6655/80211hdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
* File: 80211hdr.h
*
* Purpose: Defines the macros, types, and functions for dealing
* with 802.11 MAC headers.
* Purpose: 802.11 MAC headers related pre-defines and macros.
*
*
* Author: Lyndon Chen
*
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/staging/vt6655/80211mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
* File: 80211mgr.c
*
* Purpose: Handles the 802.11 management support functions
Expand Down Expand Up @@ -747,7 +746,6 @@ vMgrDecodeProbeResponse(
)
{
PWLAN_IE pItem;
// BYTE byCheckEID = 0;


pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
Expand All @@ -765,12 +763,6 @@ vMgrDecodeProbeResponse(
+ WLAN_PROBERESP_OFF_SSID);

while( ((PBYTE)pItem) < (pFrame->pBuf + pFrame->len) ) {
/*
if (pItem->byElementID < byCheckEID)
break;
else
byCheckEID = pItem->byElementID;
*/
switch (pItem->byElementID) {
case WLAN_EID_SSID:
if (pFrame->pSSID == NULL)
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/vt6655/80211mgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
* File: 80211mgr.h
*
* Purpose: Defines the macros, types, and functions for dealing
* with 802.11 management frames.
* Purpose: 802.11 managment frames pre-defines.
*
*
* Author: Lyndon Chen
*
Expand Down Expand Up @@ -273,7 +274,6 @@ typedef struct _WLAN_IE_FH_PARMS {
BYTE byHopIndex;
} WLAN_IE_FH_PARMS, *PWLAN_IE_FH_PARMS;


// DS Parameter Set
#pragma pack(1)
typedef struct tagWLAN_IE_DS_PARMS {
Expand Down
10 changes: 7 additions & 3 deletions trunk/drivers/staging/vt6655/baseband.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
* File: baseband.c
*
* Purpose: Implement functions to access baseband
Expand Down Expand Up @@ -44,8 +45,11 @@
* Add the comments.
* 09-01-2003 Bryan YC Fan: RF & BB tables updated.
* Modified BBvLoopbackOn & BBvLoopbackOff().
*
*
*/


#if !defined(__TMACRO_H__)
#include "tmacro.h"
#endif
Expand Down Expand Up @@ -80,6 +84,7 @@ static int msglevel =MSG_LEVEL_INFO;
/*--------------------- Static Classes ----------------------------*/

/*--------------------- Static Variables --------------------------*/

/*--------------------- Static Functions --------------------------*/

/*--------------------- Export Variables --------------------------*/
Expand Down Expand Up @@ -1806,6 +1811,7 @@ BBuGetFrameTime (


if (uRateIdx > RATE_54M) {
ASSERT(0);
return 0;
}

Expand Down Expand Up @@ -2897,8 +2903,6 @@ TimerSQ3CallBack (
PSDevice pDevice = (PSDevice)hDeviceContext;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"TimerSQ3CallBack...");


spin_lock_irq(&pDevice->lock);

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"3.[%08x][%08x], %d\n",(int)pDevice->ulRatio_State0, (int)pDevice->ulRatio_State1, (int)pDevice->uDiversityCnt);
Expand All @@ -2915,8 +2919,8 @@ TimerSQ3CallBack (
add_timer(&pDevice->TimerSQ3Tmax3);
add_timer(&pDevice->TimerSQ3Tmax2);

spin_unlock_irq(&pDevice->lock);

spin_unlock_irq(&pDevice->lock);
return;
}

Expand Down
19 changes: 8 additions & 11 deletions trunk/drivers/staging/vt6655/baseband.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
* File: baseband.h
*
* Purpose: Implement functions to access baseband
Expand All @@ -26,11 +27,9 @@
*
*/


#ifndef __BASEBAND_H__
#define __BASEBAND_H__


#if !defined(__TTYPE_H__)
#include "ttype.h"
#endif
Expand Down Expand Up @@ -106,12 +105,11 @@
#define TOP_RATE_2M 0x00200000
#define TOP_RATE_1M 0x00100000


/*--------------------- Export Types ------------------------------*/

/*--------------------- Export Macros ------------------------------*/



#define BBvClearFOE(dwIoBase) \
{ \
BBbWriteEmbeded(dwIoBase, 0xB1, 0); \
Expand Down Expand Up @@ -173,13 +171,15 @@ VOID BBvSetDeepSleep(DWORD_PTR dwIoBase, BYTE byLocalID);
VOID BBvExitDeepSleep(DWORD_PTR dwIoBase, BYTE byLocalID);

// timer for antenna diversity

VOID
TimerSQ3CallBack(
IN HANDLE hDeviceContext
TimerSQ3CallBack (
IN HANDLE hDeviceContext
);

VOID
TimerState1CallBack(
IN HANDLE hDeviceContext
IN HANDLE hDeviceContext
);

void BBvAntennaDiversity(PSDevice pDevice, BYTE byRxRate, BYTE bySQ3);
Expand All @@ -188,11 +188,8 @@ BBvClearAntDivSQ3Value (PSDevice pDevice);


#ifdef __cplusplus
} /* End of extern "C" { */
} /* End of extern "C" { */
#endif /* __cplusplus */


#endif // __BASEBAND_H__



Loading

0 comments on commit 3e0d5fe

Please sign in to comment.