blob: 299e8ecf51e6815a4a96a387a35dfd2bc88133d1 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Kiet Lamaa8e15a2014-02-11 23:30:06 -08002 * Copyright (c) 2012-2013 Qualcomm Atheros, Inc.
3 * All Rights Reserved.
4 * Qualcomm Atheros Confidential and Proprietary.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -08005 */
Jeff Johnson295189b2012-06-20 16:38:30 -07006/*
7 *
8 * Airgo Networks, Inc proprietary. All rights reserved
9 * aniParam.h: MAC parameter interface.
10 * Author: Kevin Nguyen
11 * Date: 09/09/2002
12 *
13 * History:-
14 * Date Modified by Modification Information
15 * --------------------------------------------------------------------------
16 *
17 */
18
19#ifndef _ANIPARAM_H
20#define _ANIPARAM_H
21
22#include "halTypes.h"
23
24/**
25 * -------------------------------------------------------------------------*
26 * MAC parameter structure *
27 * This structure is the only interface passed between the MAC FW and the *
28 * host driver. *
29 * *
30 * Host-to-MAC parameters: *
31 * ======================= *
32 * radioId: radio ID (1 or 2) *
33 * pPacketBufAlloc: function pointer for SKBuffer allocation *
34 * pPacketBufFree : function pointer for SKBuffer free *
35 * *
36 *-------------------------------------------------------------------------
37 */
38typedef struct
39{
40 // HDD to MAC parameters
41 int radioId;
42
43 void (*pPacketBufAlloc)(unsigned short size, void **ppBuf,
44 void **ppSkb, void *dev);
45 void (*pPacketBufFree)(void* pBuf, void *pSkb);
46
47 int rx_tasklet;
48
49 // block table allocated by HDD
50 void * block_table;
51
52 tHalHandle hHalHandle;
53
54} tAniMacParam;
55
56
57#ifdef ANI_AP_SDK
58#define NUM_RADIO 1
59#else
60#define NUM_RADIO 2
61#endif
62
63
64#endif /* _ANIPARAM_H */
65
66