~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/ath6kl/include/aggr_recv_api.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
typedef void (* RX_CALLBACK)(void * dev, void *osbuf);
32
32
 
33
 
typedef void (* ALLOC_NETBUFS)(A_NETBUF_QUEUE_T *q, A_UINT16 num);
 
33
typedef void (* ALLOC_NETBUFS)(A_NETBUF_QUEUE_T *q, u16 num);
34
34
 
35
35
/*
36
36
 * aggr_init:
64
64
 * up to the indicated sequence number.
65
65
 */
66
66
void
67
 
aggr_process_bar(void *cntxt, A_UINT8 tid, A_UINT16 seq_no);
 
67
aggr_process_bar(void *cntxt, u8 tid, u16 seq_no);
68
68
 
69
69
 
70
70
/*
72
72
 * This event is to initiate/modify the receive side window.
73
73
 * Target will send WMI_ADDBA_REQ_EVENTID event to host - to setup 
74
74
 * recv re-ordering queues. Target will negotiate ADDBA with peer, 
75
 
 * and indicate via this event after succesfully completing the 
 
75
 * and indicate via this event after successfully completing the 
76
76
 * negotiation. This happens in two situations:
77
77
 *  1. Initial setup of aggregation
78
78
 *  2. Renegotiation of current recv window.
82
82
 * in hold_q to OS.
83
83
 */
84
84
void
85
 
aggr_recv_addba_req_evt(void * cntxt, A_UINT8 tid, A_UINT16 seq_no, A_UINT8 win_sz);
 
85
aggr_recv_addba_req_evt(void * cntxt, u8 tid, u16 seq_no, u8 win_sz);
86
86
 
87
87
 
88
88
/*
93
93
 * aggr is not enabled on any tid.
94
94
 */
95
95
void
96
 
aggr_recv_delba_req_evt(void * cntxt, A_UINT8 tid);
 
96
aggr_recv_delba_req_evt(void * cntxt, u8 tid);
97
97
 
98
98
 
99
99
 
108
108
 * callback may be called to deliver frames in order.
109
109
 */
110
110
void
111
 
aggr_process_recv_frm(void *cntxt, A_UINT8 tid, A_UINT16 seq_no, A_BOOL is_amsdu, void **osbuf);
 
111
aggr_process_recv_frm(void *cntxt, u8 tid, u16 seq_no, bool is_amsdu, void **osbuf);
112
112
 
113
113
 
114
114
/*