<div dir="ltr">Hi,<br><br>Finally firmware for AR7010 and AR9271 is opensourced <a href="https://github.com/KrasnikovEugene/open-ath9k-htc-firmware">https://github.com/KrasnikovEugene/open-ath9k-htc-firmware</a>. Unfortunately ath9k_htc driver does not support it yet because the version of opensource fw is changed to 1.4. Driver must be updated to support both firmwares at the same time. <br>
<br>Suggestion is to change the way driver check supported fw version like this:<br><br>diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.h b/drivers/net/wireless/ath/ath9k/hif_usb.h
<br>index 51496e7..3edcb93 100644
<br>--- a/drivers/net/wireless/ath/ath9k/hif_usb.h
<br>+++ b/drivers/net/wireless/ath/ath9k/hif_usb.h
<br>@@ -19,6 +19,7 @@
<br> 
<br> #define MAJOR_VERSION_REQ 1
<br> #define MINOR_VERSION_REQ 3
<br>+#define MINOR_VERSION_OPEN_REQ 4
<br> 
<br> #define IS_AR7010_DEVICE(_v) (((_v) == AR9280_USB) || ((_v) == AR9287_USB))
<br> 
<br>diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
<br>index 716058b..7979bcf 100644
<br>--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
<br>+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
<br>@@ -796,7 +796,8 @@ static int ath9k_init_firmware_version(struct ath9k_htc_priv *priv)
<br>      * required version.
<br>      */
<br>     if (priv->fw_version_major != MAJOR_VERSION_REQ ||
<br>-        priv->fw_version_minor != MINOR_VERSION_REQ) {
<br>+        (priv->fw_version_minor != MINOR_VERSION_REQ &&
<br>+        priv->fw_version_minor != MINOR_VERSION_OPEN_REQ)) {
<br>         dev_err(priv->dev, "ath9k_htc: Please upgrade to FW version %d.%d\n",
<br>             MAJOR_VERSION_REQ, MINOR_VERSION_REQ);
<br>         return -EINVAL;
<br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/1 Adrian Chadd <span dir="ltr"><<a href="mailto:adrian@freebsd.org" target="_blank">adrian@freebsd.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
HIya,<br>
<br>
* I've branched 1.3 off of master;<br>
* The master firmware version for magpie/k2 is now 1.4, so ath9k_htc<br>
will need patching;<br>
* I've merged in the first round of build fixes.<br>
<br>
So!<br>
<br>
* Would someone please submit a fix to ath9k_htc to accept 1.3 and 1.4<br>
firmware? I don't plan on breaking the firmware API during 1.4.<br>
* I'd really appreciate some more testing of the build fixes in<br>
master. There's another round of changes that I'm going to review now<br>
and I'd like to make sure we have those tested as well.<br>
<br>
Thanks!<br>
<br>
<br>
<br>
Adrian<br>
<br>
_______________________________________________<br>
Ath9k_htc_fw mailing list<br>
<a href="mailto:Ath9k_htc_fw@lists.infradead.org">Ath9k_htc_fw@lists.infradead.org</a><br>
<a href="http://lists.infradead.org/mailman/listinfo/ath9k_htc_fw" target="_blank">http://lists.infradead.org/mailman/listinfo/ath9k_htc_fw</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards, <br>Eugene
</div></div>