i2c-eg20t: change timeout value 50msec to 1000msec
[zen-stable.git] / drivers / staging / bcm / PHSModule.h
blobc629585d0a8ce6b5fde927597e33462a60a3187e
1 #ifndef BCM_MINIPORT_PHSMODULE_H
2 #define BCM_MINIPORT_PHSMODULE_H
4 int PHSTransmit(PMINI_ADAPTER Adapter,
5 struct sk_buff **pPacket,
6 USHORT Vcid,
7 B_UINT16 uiClassifierRuleID,
8 BOOLEAN bHeaderSuppressionEnabled,
9 PUINT PacketLen,
10 UCHAR bEthCSSupport);
12 int PHSReceive(PMINI_ADAPTER Adapter,
13 USHORT usVcid,
14 struct sk_buff *packet,
15 UINT *punPacketLen,
16 UCHAR *pucEthernetHdr,
17 UINT
21 void DumpDataPacketHeader(PUCHAR pPkt);
23 void DumpFullPacket(UCHAR *pBuf,UINT nPktLen);
25 void DumpPhsRules(PPHS_DEVICE_EXTENSION pDeviceExtension);
28 int phs_init(PPHS_DEVICE_EXTENSION pPhsdeviceExtension,PMINI_ADAPTER Adapter);
30 int PhsCleanup(PPHS_DEVICE_EXTENSION pPHSDeviceExt);
32 //Utility Functions
33 ULONG PhsUpdateClassifierRule(void* pvContext,B_UINT16 uiVcid,B_UINT16 uiClsId,S_PHS_RULE *psPhsRule,B_UINT8 u8AssociatedPHSI );
35 ULONG PhsDeletePHSRule(void* pvContext,B_UINT16 uiVcid,B_UINT8 u8PHSI);
37 ULONG PhsDeleteClassifierRule(void* pvContext, B_UINT16 uiVcid ,B_UINT16 uiClsId);
39 ULONG PhsDeleteSFRules(void* pvContext,B_UINT16 uiVcid) ;
42 BOOLEAN ValidatePHSRule(S_PHS_RULE *psPhsRule);
44 UINT GetServiceFlowEntry(S_SERVICEFLOW_TABLE *psServiceFlowTable,B_UINT16 uiVcid,S_SERVICEFLOW_ENTRY **ppstServiceFlowEntry);
47 void DumpPhsRules(PPHS_DEVICE_EXTENSION pDeviceExtension);
50 #endif