2008-10-28 21:48:09 +00:00
|
|
|
/*
|
|
|
|
*************************************************************************
|
|
|
|
* Ralink Tech Inc.
|
|
|
|
* 5F., No.36, Taiyuan St., Jhubei City,
|
|
|
|
* Hsinchu County 302,
|
|
|
|
* Taiwan, R.O.C.
|
|
|
|
*
|
|
|
|
* (c) Copyright 2002-2007, Ralink Technology, Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with this program; if not, write to the *
|
|
|
|
* Free Software Foundation, Inc., *
|
|
|
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
|
|
|
* *
|
|
|
|
*************************************************************************
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
ap.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
Miniport generic portion header file
|
|
|
|
|
|
|
|
Revision History:
|
|
|
|
Who When What
|
|
|
|
-------- ---------- ----------------------------------------------
|
|
|
|
Paul Lin 08-01-2002 created
|
|
|
|
James Tan 09-06-2002 modified (Revise NTCRegTable)
|
|
|
|
John Chang 12-22-2004 modified for RT2561/2661. merge with STA driver
|
|
|
|
*/
|
|
|
|
#ifndef __AP_H__
|
|
|
|
#define __AP_H__
|
|
|
|
|
2009-09-22 18:44:07 +00:00
|
|
|
// ap_wpa.c
|
|
|
|
VOID WpaStateMachineInit(
|
|
|
|
IN PRTMP_ADAPTER pAd,
|
|
|
|
IN STATE_MACHINE *Sm,
|
|
|
|
OUT STATE_MACHINE_FUNC Trans[]);
|
2008-10-28 21:48:09 +00:00
|
|
|
|
2009-09-22 18:44:07 +00:00
|
|
|
#ifdef RTMP_MAC_USB
|
2009-04-26 14:06:25 +00:00
|
|
|
VOID BeaconUpdateExec(
|
|
|
|
IN PVOID SystemSpecific1,
|
|
|
|
IN PVOID FunctionContext,
|
|
|
|
IN PVOID SystemSpecific2,
|
|
|
|
IN PVOID SystemSpecific3);
|
2009-09-22 18:44:07 +00:00
|
|
|
#endif // RTMP_MAC_USB //
|
2008-10-28 21:48:09 +00:00
|
|
|
|
|
|
|
VOID RTMPSetPiggyBack(
|
|
|
|
IN PRTMP_ADAPTER pAd,
|
|
|
|
IN BOOLEAN bPiggyBack);
|
|
|
|
|
|
|
|
VOID MacTableReset(
|
|
|
|
IN PRTMP_ADAPTER pAd);
|
|
|
|
|
|
|
|
MAC_TABLE_ENTRY *MacTableInsertEntry(
|
|
|
|
IN PRTMP_ADAPTER pAd,
|
|
|
|
IN PUCHAR pAddr,
|
|
|
|
IN UCHAR apidx,
|
|
|
|
IN BOOLEAN CleanAll);
|
|
|
|
|
|
|
|
BOOLEAN MacTableDeleteEntry(
|
|
|
|
IN PRTMP_ADAPTER pAd,
|
|
|
|
IN USHORT wcid,
|
|
|
|
IN PUCHAR pAddr);
|
|
|
|
|
|
|
|
MAC_TABLE_ENTRY *MacTableLookup(
|
|
|
|
IN PRTMP_ADAPTER pAd,
|
|
|
|
IN PUCHAR pAddr);
|
|
|
|
|
|
|
|
#endif // __AP_H__
|
|
|
|
|