X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Finclude%2Fcarl9170.h;h=b05d8beaec22ee3a70ae31078d1d0b72310e94f7;hb=592643728e9b7c37c918afee05df8142c6d7303e;hp=29e1e29c062d70b058665ba5396a2dcd6d0fda02;hpb=19e4d682fca010ef72e0a304335910f670c2268a;p=carl9170fw.git diff --git a/carlfw/include/carl9170.h b/carlfw/include/carl9170.h index 29e1e29..b05d8be 100644 --- a/carlfw/include/carl9170.h +++ b/carlfw/include/carl9170.h @@ -3,7 +3,7 @@ * * Firmware context definition * - * Copyright 2009, 2010 Christian Lamparter + * Copyright 2009-2011 Christian Lamparter * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -93,13 +93,11 @@ struct firmware_context_struct { struct { /* Hardware DMA queues */ struct dma_queue tx_queue[__AR9170_NUM_TX_QUEUES]; /* wlan tx queue */ + struct dma_queue tx_retry; struct dma_queue rx_queue; /* wlan rx queue */ -#ifdef CONFIG_CARL9170FW_DELAYED_TX - struct dma_queue tx_delay[__AR9170_NUM_TX_QUEUES]; - struct dma_queue tx_retry; - unsigned int tx_trigger; -#endif /* CONFIG_CARL9170FW_DELAYED_TX */ + /* tx aggregate scheduling */ + struct carl9170_tx_superframe *ampdu_prev[__AR9170_NUM_TX_QUEUES]; /* Hardware DMA queue unstuck/fix detection */ unsigned int last_tx_desc_num[__AR9170_NUM_TX_QUEUES]; @@ -117,11 +115,6 @@ struct firmware_context_struct { /* tx sequence control counters */ unsigned int sequence[CARL9170_INTF_NUM]; -#ifdef CONFIG_CARL9170FW_TX_AMPDU - /* tx aggregate scheduling */ - struct carl9170_tx_superframe *ampdu_prev[__AR9170_NUM_TX_QUEUES]; -#endif /* CONFIG_CARL9170FW_TX_AMPDU */ - #ifdef CONFIG_CARL9170FW_CAB_QUEUE /* CAB */ struct dma_queue cab_queue[CARL9170_INTF_NUM];