carl9170 firmware: per-vif tx sequence counter
[carl9170fw.git] / carlfw / src / fw.c
index fe169757e4758a3020685152a0518a40974454a1..1af4d90f595c3b445adf9cc64afd22d010aedf0c 100644 (file)
@@ -66,6 +66,9 @@ const struct carl9170_firmware_descriptor __section(fwdsc) carl9170fw_desc = {
                                        BIT(CARL9170FW_PSM) |
 #endif /* CONFIG_CARL9170FW_PSM */
                                        BIT(CARL9170FW_RX_FILTER) |
+#ifdef CONFIG_CARL9170FW_WOL
+                                       BIT(CARL9170FW_WOL) |
+#endif /* CONFIG_CARL9170FW_WOL */
                                           (0)),
 
             .miniboot_size = cpu_to_le16(0),
@@ -80,6 +83,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) +