![]() |
|
|||
0001 /* 0002 * Copyright (c) 2010 Broadcom Corporation 0003 * 0004 * Permission to use, copy, modify, and/or distribute this software for any 0005 * purpose with or without fee is hereby granted, provided that the above 0006 * copyright notice and this permission notice appear in all copies. 0007 * 0008 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 0009 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 0010 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 0011 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 0012 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 0013 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 0014 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 0015 */ 0016 0017 #ifndef _BRCM_AMPDU_H_ 0018 #define _BRCM_AMPDU_H_ 0019 0020 /* 0021 * Data structure representing an in-progress session for accumulating 0022 * frames for AMPDU. 0023 * 0024 * wlc: pointer to common driver data 0025 * skb_list: queue of skb's for AMPDU 0026 * max_ampdu_len: maximum length for this AMPDU 0027 * max_ampdu_frames: maximum number of frames for this AMPDU 0028 * ampdu_len: total number of bytes accumulated for this AMPDU 0029 * dma_len: DMA length of this AMPDU 0030 */ 0031 struct brcms_ampdu_session { 0032 struct brcms_c_info *wlc; 0033 struct sk_buff_head skb_list; 0034 unsigned max_ampdu_len; 0035 u16 max_ampdu_frames; 0036 u16 ampdu_len; 0037 u16 dma_len; 0038 }; 0039 0040 void brcms_c_ampdu_reset_session(struct brcms_ampdu_session *session, 0041 struct brcms_c_info *wlc); 0042 int brcms_c_ampdu_add_frame(struct brcms_ampdu_session *session, 0043 struct sk_buff *p); 0044 void brcms_c_ampdu_finalize(struct brcms_ampdu_session *session); 0045 0046 struct ampdu_info *brcms_c_ampdu_attach(struct brcms_c_info *wlc); 0047 void brcms_c_ampdu_detach(struct ampdu_info *ampdu); 0048 void brcms_c_ampdu_dotxstatus(struct ampdu_info *ampdu, struct scb *scb, 0049 struct sk_buff *p, struct tx_status *txs); 0050 void brcms_c_ampdu_macaddr_upd(struct brcms_c_info *wlc); 0051 void brcms_c_ampdu_shm_upd(struct ampdu_info *ampdu); 0052 0053 #endif /* _BRCM_AMPDU_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |