/**************************************************************
$Workfile:   oampstruct.h  $
***************************************************************
**
** FIRMWARE, Copyright (C) 2000-2002
** Ikanos Communications, Fremont, CA
** All rights reserved. 
**
** The information and contents of this file are the
** proprietary information of Ikanos Communication and may not
** be disclosed or used without the formal written approval of
** Ikanos Communication
**
$Revision: 1.1 $
$Date: 2006/10/16 04:34:50 $
***************************************************************/

#ifndef OAMPSTRUCT_H 
#define OAMPSTRUCT_H

#include "perfhandler.h"


/* oamp Port Structure	*/
typedef	struct
{
	eoamp_port_state	portState;
	ipos_port_profile	*pPortProfile;
	tPerformance		Performance;
	uPortStruct 		portStatus;
	ipos_port_counters  Counters;
	ipos_port_nesnrattn	SnrAttn;
  ipos_pm_counters PmCounters;
    ipos_pm_counters PmCountersAtPortStart;
    ipos_pm_counters PmCounters24Hrs;
}	oamp_port;



/* oamp BME structure	*/

typedef	struct
{

	int	bmeNum;
	int	numPort;
	int	bmeHasCrashed;
	int	bmeErrorCode;

	eoamp_bme_state	bmeState;
	eoamp_cmd_state	cmdState;

	oamp_port	oampPort[MAX_PORTS_PER_BME+1];

}	oamp_bme;


#endif /* OAMPSTRUCT_H */





