X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Finclude%2Fdma.h;h=8141b1c5ad4344cc3c919bc217096e9514a283a8;hb=b94cc57fa4ee29cb70415b699a1efc5f66eb41c7;hp=7ecdfb94db2a018a2f4c48a59d7386ce3fd96e78;hpb=33a5b694bb3a09b4b0c4ed57c18926f831bf2c42;p=carl9170fw.git diff --git a/carlfw/include/dma.h b/carlfw/include/dma.h index 7ecdfb9..8141b1c 100644 --- a/carlfw/include/dma.h +++ b/carlfw/include/dma.h @@ -19,8 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * with this program; If not, see . */ #ifndef __CARL9170FW_DMA_H @@ -74,12 +73,12 @@ struct carl9170_tx_ba_superframe { struct ar9170_tx_null_frame { struct ar9170_tx_hwdesc hdr; struct ieee80211_hdr null; -} __packed; +} __packed __aligned(4); struct carl9170_tx_null_superframe { struct carl9170_tx_superdesc s; struct ar9170_tx_null_frame f; -} __packed; +} __packed __aligned(4); #define CARL9170_BA_BUFFER_LEN (__roundup(sizeof(struct carl9170_tx_ba_superframe), 16)) #define CARL9170_RSP_BUFFER_LEN AR9170_BLOCK_SIZE