2012-10-30 04:08:46 +01:00
|
|
|
/***************************************************************************
|
|
|
|
* (c) Beceem Communications Inc.
|
|
|
|
* All Rights Reserved
|
|
|
|
*
|
|
|
|
* file : CmHost.h
|
|
|
|
* author: Rajeev Tirumala
|
|
|
|
* date : September 8 , 2006
|
|
|
|
* brief : Definitions for Connection Management Requests structure
|
|
|
|
* which we will use to setup our connection structures.Its high
|
|
|
|
* time we had a header file for CmHost.cpp to isolate the way
|
|
|
|
* f/w sends DSx messages and the way we interpret them in code.
|
|
|
|
* Revision History
|
|
|
|
*
|
|
|
|
* Date Author Version Description
|
|
|
|
* 08-Sep-06 Rajeev 0.1 Created
|
|
|
|
***************************************************************************/
|
2010-09-08 23:46:36 +02:00
|
|
|
#ifndef _CM_HOST_H
|
|
|
|
#define _CM_HOST_H
|
|
|
|
|
|
|
|
#pragma once
|
2012-10-30 04:08:47 +01:00
|
|
|
#pragma pack(push, 4)
|
2010-09-08 23:46:36 +02:00
|
|
|
|
2012-10-30 04:08:47 +01:00
|
|
|
#define DSX_MESSAGE_EXCHANGE_BUFFER 0xBF60AC84 /* This contains the pointer */
|
|
|
|
#define DSX_MESSAGE_EXCHANGE_BUFFER_SIZE 72000 /* 24 K Bytes */
|
2010-09-08 23:46:36 +02:00
|
|
|
|
2012-10-31 02:50:43 +01:00
|
|
|
struct bcm_add_indication_alt {
|
2012-10-30 04:08:49 +01:00
|
|
|
u8 u8Type;
|
|
|
|
u8 u8Direction;
|
2012-10-30 04:08:48 +01:00
|
|
|
u16 u16TID;
|
|
|
|
u16 u16CID;
|
|
|
|
u16 u16VCID;
|
2012-09-24 05:07:14 +02:00
|
|
|
struct bcm_connect_mgr_params sfAuthorizedSet;
|
|
|
|
struct bcm_connect_mgr_params sfAdmittedSet;
|
|
|
|
struct bcm_connect_mgr_params sfActiveSet;
|
2012-10-30 04:08:49 +01:00
|
|
|
u8 u8CC; /* < Confirmation Code */
|
2012-12-04 04:36:25 +01:00
|
|
|
u8 u8Padd;
|
|
|
|
u16 u16Padd;
|
2012-10-31 02:50:43 +01:00
|
|
|
};
|
2010-09-08 23:46:36 +02:00
|
|
|
|
2012-10-30 04:08:54 +01:00
|
|
|
struct bcm_change_indication {
|
2012-10-30 04:08:49 +01:00
|
|
|
u8 u8Type;
|
|
|
|
u8 u8Direction;
|
2012-10-30 04:08:48 +01:00
|
|
|
u16 u16TID;
|
|
|
|
u16 u16CID;
|
|
|
|
u16 u16VCID;
|
2012-09-24 05:07:14 +02:00
|
|
|
struct bcm_connect_mgr_params sfAuthorizedSet;
|
|
|
|
struct bcm_connect_mgr_params sfAdmittedSet;
|
|
|
|
struct bcm_connect_mgr_params sfActiveSet;
|
2012-10-30 04:08:49 +01:00
|
|
|
u8 u8CC; /* < Confirmation Code */
|
2012-12-04 04:36:25 +01:00
|
|
|
u8 u8Padd;
|
|
|
|
u16 u16Padd;
|
2012-10-30 04:08:54 +01:00
|
|
|
};
|
2010-09-08 23:46:36 +02:00
|
|
|
|
2012-10-30 04:08:53 +01:00
|
|
|
unsigned long StoreCmControlResponseMessage(struct bcm_mini_adapter *Adapter, void *pvBuffer, unsigned int *puBufferLength);
|
2012-10-30 04:08:50 +01:00
|
|
|
int AllocAdapterDsxBuffer(struct bcm_mini_adapter *Adapter);
|
|
|
|
int FreeAdapterDsxBuffer(struct bcm_mini_adapter *Adapter);
|
2012-10-30 04:08:51 +01:00
|
|
|
unsigned long SetUpTargetDsxBuffers(struct bcm_mini_adapter *Adapter);
|
2013-10-28 09:35:59 +01:00
|
|
|
bool CmControlResponseMessage(struct bcm_mini_adapter *Adapter, void *pvBuffer);
|
2010-09-08 23:46:36 +02:00
|
|
|
|
2012-10-30 04:08:47 +01:00
|
|
|
#pragma pack(pop)
|
2010-09-08 23:46:36 +02:00
|
|
|
|
|
|
|
#endif
|