| OLD | NEW |
| 1 /* | 1 /* |
| 2 * | 2 * |
| 3 * Copyright (c) 2004-2007 Atheros Communications Inc. | 3 * Copyright (c) 2004-2010 Atheros Communications Inc. |
| 4 * All rights reserved. | 4 * All rights reserved. |
| 5 * | 5 * |
| 6 * | 6 * |
| 7 // This program is free software; you can redistribute it and/or modify | |
| 8 // it under the terms of the GNU General Public License version 2 as | |
| 9 // published by the Free Software Foundation; | |
| 10 // | 7 // |
| 11 // Software distributed under the License is distributed on an "AS | 8 // Permission to use, copy, modify, and/or distribute this software for any |
| 12 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 9 // purpose with or without fee is hereby granted, provided that the above |
| 13 // implied. See the License for the specific language governing | 10 // copyright notice and this permission notice appear in all copies. |
| 14 // rights and limitations under the License. | 11 // |
| 12 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 13 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 14 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 15 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 16 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 17 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 18 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 15 // | 19 // |
| 16 // | 20 // |
| 17 * | 21 * |
| 18 */ | 22 */ |
| 19 | 23 |
| 20 #ifndef __AGGR_RX_INTERNAL_H__ | 24 #ifndef __AGGR_RX_INTERNAL_H__ |
| 21 #define __AGGR_RX_INTERNAL_H__ | 25 #define __AGGR_RX_INTERNAL_H__ |
| 22 | 26 |
| 23 #include "a_osapi.h" | 27 #include "a_osapi.h" |
| 24 #include "aggr_recv_api.h" | 28 #include "aggr_recv_api.h" |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 void *dev; /* dev handle */ | 107 void *dev; /* dev handle */ |
| 104 RX_CALLBACK rx_fn; /* callback function to return frame
s; to upper layer */ | 108 RX_CALLBACK rx_fn; /* callback function to return frame
s; to upper layer */ |
| 105 RXTID RxTid[NUM_OF_TIDS]; /* Per tid window */ | 109 RXTID RxTid[NUM_OF_TIDS]; /* Per tid window */ |
| 106 ALLOC_NETBUFS netbuf_allocator; /* OS netbuf alloc fn */ | 110 ALLOC_NETBUFS netbuf_allocator; /* OS netbuf alloc fn */ |
| 107 A_NETBUF_QUEUE_T freeQ; /* pre-allocated buffers - for A_MSD
U slicing */ | 111 A_NETBUF_QUEUE_T freeQ; /* pre-allocated buffers - for A_MSD
U slicing */ |
| 108 RXTID_STATS stat[NUM_OF_TIDS]; /* Tid based statistics */ | 112 RXTID_STATS stat[NUM_OF_TIDS]; /* Tid based statistics */ |
| 109 PACKET_LOG pkt_log; /* Log info of the packets */ | 113 PACKET_LOG pkt_log; /* Log info of the packets */ |
| 110 }AGGR_INFO; | 114 }AGGR_INFO; |
| 111 | 115 |
| 112 #endif /* __AGGR_RX_INTERNAL_H__ */ | 116 #endif /* __AGGR_RX_INTERNAL_H__ */ |
| OLD | NEW |