X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fsrc%2Ffw.c;h=a934687a9feaf1a10d87474e66e086732fa64c2b;hb=286d1cba9fb3df4b7bdf4321cbb5fb5965513b30;hp=e71425f3c94d8b87e5137e7cfddd909f84134ef0;hpb=6476369c2c6d4ba487408cb5daff8df0480d6b4a;p=carl9170fw.git diff --git a/carlfw/src/fw.c b/carlfw/src/fw.c index e71425f..a934687 100644 --- a/carlfw/src/fw.c +++ b/carlfw/src/fw.c @@ -3,7 +3,7 @@ * * Firmware descriptor * - * 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 @@ -35,6 +35,7 @@ const struct carl9170_firmware_descriptor __section(fwdsc) carl9170fw_desc = { FILL(otus, OTUS, .feature_set = cpu_to_le32(BIT(CARL9170FW_DUMMY_FEATURE) | BIT(CARL9170FW_USB_RESP_EP2) | + BIT(CARL9170FW_RX_FILTER) | #ifdef CONFIG_CARL9170FW_USB_INIT_FIRMWARE BIT(CARL9170FW_USB_INIT_FIRMWARE) | # ifdef CONFIG_CARL9170FW_USB_UP_STREAM @@ -46,6 +47,7 @@ const struct carl9170_firmware_descriptor __section(fwdsc) carl9170fw_desc = { #endif /* CONFIG_CARL9170FW_USB_INIT_FIRMWARE */ #ifdef CONFIG_CARL9170FW_RADIO_FUNCTIONS BIT(CARL9170FW_COMMAND_PHY) | + BIT(CARL9170FW_PSM) | #endif /* CONFIG_CARL9170FW_RADIO_FUNCTIONS */ #ifdef CONFIG_CARL9170FW_SECURITY_ENGINE BIT(CARL9170FW_COMMAND_CAM) | @@ -62,14 +64,10 @@ const struct carl9170_firmware_descriptor __section(fwdsc) carl9170fw_desc = { #ifdef CONFIG_CARL9170FW_GPIO_INTERRUPT BIT(CARL9170FW_GPIO_INTERRUPT) | #endif /* CONFIG_CARL9170FW_GPIO_INTERRUPT */ -#ifdef CONFIG_CARL9170FW_PSM - BIT(CARL9170FW_PSM) | -#endif /* CONFIG_CARL9170FW_PSM */ - BIT(CARL9170FW_RX_FILTER) | #ifdef CONFIG_CARL9170FW_WOL BIT(CARL9170FW_WOL) | #endif /* CONFIG_CARL9170FW_WOL */ - (0)), + (0)), .miniboot_size = cpu_to_le16(0), .tx_descs = AR9170_TX_BLOCK_NUMBER, @@ -83,6 +81,10 @@ const struct carl9170_firmware_descriptor __section(fwdsc) carl9170fw_desc = { .api_ver = CONFIG_CARL9170FW_RELEASE_VERSION, ), + FILL(txsq, TXSQ, + .seq_table_addr = cpu_to_le32(&fw.wlan.sequence), + ), + FILL(motd, MOTD, .fw_year_month_day = cpu_to_le32( CARL9170FW_SET_DAY(CARL9170FW_VERSION_DAY) +