2012-10-29 21:08:46 -06: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 15:46:36 -06:00
|
|
|
#ifndef _CM_HOST_H
|
|
|
|
#define _CM_HOST_H
|
|
|
|
|
|
|
|
#pragma once
|
2012-10-29 21:08:47 -06:00
|
|
|
#pragma pack(push, 4)
|
2010-09-08 15:46:36 -06:00
|
|
|
|
2012-10-29 21:08:47 -06:00
|
|
|
#define DSX_MESSAGE_EXCHANGE_BUFFER 0xBF60AC84 /* This contains the pointer */
|
|
|
|
#define DSX_MESSAGE_EXCHANGE_BUFFER_SIZE 72000 /* 24 K Bytes */
|
2010-09-08 15:46:36 -06:00
|
|
|
|
2012-10-30 19:50:43 -06:00
|
|
|
struct bcm_add_indication_alt {
|
2012-10-29 21:08:49 -06:00
|
|
|
u8 u8Type;
|
|
|
|
u8 u8Direction;
|
2012-10-29 21:08:48 -06:00
|
|
|
u16 u16TID;
|
|
|
|
u16 u16CID;
|
|
|
|
u16 u16VCID;
|
2012-09-23 21:07:14 -06:00
|
|
|
struct bcm_connect_mgr_params sfAuthorizedSet;
|
|
|
|
struct bcm_connect_mgr_params sfAdmittedSet;
|
|
|
|
struct bcm_connect_mgr_params sfActiveSet;
|
2012-10-29 21:08:49 -06:00
|
|
|
u8 u8CC; /* < Confirmation Code */
|
2012-12-03 20:36:25 -07:00
|
|
|
u8 u8Padd;
|
|
|
|
u16 u16Padd;
|
2012-10-30 19:50:43 -06:00
|
|
|
};
|
2010-09-08 15:46:36 -06:00
|
|
|
|
2012-10-29 21:08:54 -06:00
|
|
|
struct bcm_change_indication {
|
2012-10-29 21:08:49 -06:00
|
|
|
u8 u8Type;
|
|
|
|
u8 u8Direction;
|
2012-10-29 21:08:48 -06:00
|
|
|
u16 u16TID;
|
|
|
|
u16 u16CID;
|
|
|
|
u16 u16VCID;
|
2012-09-23 21:07:14 -06:00
|
|
|
struct bcm_connect_mgr_params sfAuthorizedSet;
|
|
|
|
struct bcm_connect_mgr_params sfAdmittedSet;
|
|
|
|
struct bcm_connect_mgr_params sfActiveSet;
|
2012-10-29 21:08:49 -06:00
|
|
|
u8 u8CC; /* < Confirmation Code */
|
2012-12-03 20:36:25 -07:00
|
|
|
u8 u8Padd;
|
|
|
|
u16 u16Padd;
|
2012-10-29 21:08:54 -06:00
|
|
|
};
|
2010-09-08 15:46:36 -06:00
|
|
|
|
2012-10-29 21:08:53 -06:00
|
|
|
unsigned long StoreCmControlResponseMessage(struct bcm_mini_adapter *Adapter, void *pvBuffer, unsigned int *puBufferLength);
|
2012-10-29 21:08:50 -06:00
|
|
|
int AllocAdapterDsxBuffer(struct bcm_mini_adapter *Adapter);
|
|
|
|
int FreeAdapterDsxBuffer(struct bcm_mini_adapter *Adapter);
|
2012-10-29 21:08:51 -06:00
|
|
|
unsigned long SetUpTargetDsxBuffers(struct bcm_mini_adapter *Adapter);
|
2012-10-29 21:08:53 -06:00
|
|
|
BOOLEAN CmControlResponseMessage(struct bcm_mini_adapter *Adapter, void *pvBuffer);
|
2010-09-08 15:46:36 -06:00
|
|
|
|
2012-10-29 21:08:47 -06:00
|
|
|
#pragma pack(pop)
|
2010-09-08 15:46:36 -06:00
|
|
|
|
|
|
|
#endif
|