All of lore.kernel.org
 help / color / mirror / Atom feed
* ath10k driver and firmware upgrade
@ 2014-04-09 21:18 Shu, Nick
  2014-04-10  1:41 ` Ben Greear
  2014-04-10  4:34 ` Kalle Valo
  0 siblings, 2 replies; 5+ messages in thread
From: Shu, Nick @ 2014-04-09 21:18 UTC (permalink / raw)
  To: kvalo; +Cc: ath10k

Hi, Kalle and all:
I have a question about upgrade the diver and firmware for my wifi ac pcie card.
I read through the docs in your /ath10k website and did the driver and firmware update.
After that, here is what I read back from system:

root@coast198:/home/spirent# ethtool -i wlan0
driver: ath10k_pci
version: 3.11.0-12-generic
firmware-version: 999.999.0.636
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

So, I can see the firmware has been updated (I used firmware-2.bin_999.999.0.636 for STA, right?).
But how can I find out have drivers been changed?

I did following to change the driver:
1. Download the tarball from "backports-3.13.2-1" to my PC.
2. FTP it to my Linux box (test server running on Ubuntu 13.10 server).
3. Unpack it to my working directory.
4. Run "make defconfig-ath10k"
        "make"
        "make install".
5. But auto install failed because of some initramfs issue (no key? from error message), so I manually "rmmod" all drivers ( ath10k_pci.ko, ath10k_core.ko, mac80211.ko, ath.ko, cfg80211.ko, compat.ko) and then "Insmod" all drivers back.
6. Run "update-initramfs -u" and reboot.

Did I do everything correct?
I used "dhcpcd wlan0" to get a valid IP address from a Netgear wifiac ac access point, but from access point manager, the MAC for my card is still "00:03:07:12:34:56".
From your last email, you said this default MAC was caused by wrong driver and firmware, so why it's still there after I changed driver and firmware? Do I miss something?

Thank you!

Nick Shu


E-mail confidentiality.
--------------------------------
This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system.

Spirent Communications plc
Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677

Registered in England Number 470893
Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.

Or if within the US,

Spirent Communications,
26750 Agoura Road, Calabasas, CA, 91302, USA.
Tel No. 1-818-676- 2300

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ath10k driver and firmware upgrade
  2014-04-09 21:18 ath10k driver and firmware upgrade Shu, Nick
@ 2014-04-10  1:41 ` Ben Greear
  2014-04-10  4:34 ` Kalle Valo
  1 sibling, 0 replies; 5+ messages in thread
From: Ben Greear @ 2014-04-10  1:41 UTC (permalink / raw)
  To: Shu, Nick; +Cc: kvalo, ath10k

On 04/09/2014 02:18 PM, Shu, Nick wrote:
> Hi, Kalle and all:
> I have a question about upgrade the diver and firmware for my wifi ac pcie card.
> I read through the docs in your /ath10k website and did the driver and firmware update.
> After that, here is what I read back from system:
> 
> root@coast198:/home/spirent# ethtool -i wlan0
> driver: ath10k_pci
> version: 3.11.0-12-generic
> firmware-version: 999.999.0.636
> bus-info: 0000:03:00.0
> supports-statistics: yes
> supports-test: no
> supports-eeprom-access: no
> supports-register-dump: no
> supports-priv-flags: no
> 
> So, I can see the firmware has been updated (I used firmware-2.bin_999.999.0.636 for STA, right?).
> But how can I find out have drivers been changed?
> 
> I did following to change the driver:
> 1. Download the tarball from "backports-3.13.2-1" to my PC.
> 2. FTP it to my Linux box (test server running on Ubuntu 13.10 server).
> 3. Unpack it to my working directory.
> 4. Run "make defconfig-ath10k"
>         "make"
>         "make install".
> 5. But auto install failed because of some initramfs issue (no key? from error message), so I manually "rmmod" all drivers ( ath10k_pci.ko, ath10k_core.ko, mac80211.ko, ath.ko, cfg80211.ko, compat.ko) and then "Insmod" all drivers back.
> 6. Run "update-initramfs -u" and reboot.
> 
> Did I do everything correct?
> I used "dhcpcd wlan0" to get a valid IP address from a Netgear wifiac ac access point, but from access point manager, the MAC for my card is still "00:03:07:12:34:56".
>>From your last email, you said this default MAC was caused by wrong driver and firmware, so why it's still there after I changed driver and firmware? Do I miss something?

You are going to have to use the 10.1.467 firmware for that NIC it seems.  That MAC means
the OTP logic in the firmware cannot understand the eeprom config on your NIC.

I haven't tried the 999.x firmware, but I did have a similar problem when using WLE900VX on
a 10.1.389 firmware (.467 had support I needed).

Thanks,
Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ath10k driver and firmware upgrade
  2014-04-09 21:18 ath10k driver and firmware upgrade Shu, Nick
  2014-04-10  1:41 ` Ben Greear
@ 2014-04-10  4:34 ` Kalle Valo
  2014-04-10 14:09   ` Shu, Nick
  1 sibling, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2014-04-10  4:34 UTC (permalink / raw)
  To: Shu, Nick; +Cc: ath10k

Hi Nick,

"Shu, Nick" <Nick.Shu@spirent.com> writes:

> I have a question about upgrade the diver and firmware for my wifi ac
> pcie card. I read through the docs in your /ath10k website and did the
> driver and firmware update. After that, here is what I read back from
> system:
>
> root@coast198:/home/spirent# ethtool -i wlan0
> driver: ath10k_pci
> version: 3.11.0-12-generic
> firmware-version: 999.999.0.636
> bus-info: 0000:03:00.0
> supports-statistics: yes
> supports-test: no
> supports-eeprom-access: no
> supports-register-dump: no
> supports-priv-flags: no
>
> So, I can see the firmware has been updated (I used
> firmware-2.bin_999.999.0.636 for STA, right?).

Like Ben said, if you still see 00:03:07:12:34:56 you should use
firmware version 10.1.467.2-1.

> But how can I find out have drivers been changed?

I added some tips to the wiki:

----------------------------------------------------------------------
To check that you are really using ath10k from backports make sure that
compat module is loaded and ath10k_pci module uses it:

$ lsmod | grep compat
compat                 36104  6 iwldvm,iwlwifi,ath10k_pci,ath10k_core,mac80211,cfg80211

To check version of backports project:

$ dmesg | grep backport
[   23.210662] Loading modules backported from Linux version next-20140221-0-gfaa2e6f
[   23.210665] Backport generated by backports.git
backports-20140221-0-g8e94650
----------------------------------------------------------------------

http://wireless.kernel.org/en/users/Drivers/ath10k/backports

> I did following to change the driver:
> 1. Download the tarball from "backports-3.13.2-1" to my PC.
> 2. FTP it to my Linux box (test server running on Ubuntu 13.10 server).
> 3. Unpack it to my working directory.
> 4. Run "make defconfig-ath10k"
>         "make"
>         "make install".
> 5. But auto install failed because of some initramfs issue (no key? from error message), so I manually "rmmod" all drivers ( ath10k_pci.ko, ath10k_core.ko, mac80211.ko, ath.ko, cfg80211.ko, compat.ko) and then "Insmod" all drivers back.
> 6. Run "update-initramfs -u" and reboot.
>
> Did I do everything correct?

The initramfs issues look odd, I haven't seen those before. But
otherwise this looks good.

> I used "dhcpcd wlan0" to get a valid IP address from a Netgear wifiac
> ac access point, but from access point manager, the MAC for my card is
> still "00:03:07:12:34:56". From your last email, you said this default
> MAC was caused by wrong driver and firmware, so why it's still there
> after I changed driver and firmware? Do I miss something?

The problem is that firmware 999.999.0.636 doesn't support all hw
versions, that's why you need to use firmware from 10.1 branch.

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: ath10k driver and firmware upgrade
  2014-04-10  4:34 ` Kalle Valo
@ 2014-04-10 14:09   ` Shu, Nick
  0 siblings, 0 replies; 5+ messages in thread
From: Shu, Nick @ 2014-04-10 14:09 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath10k

Thanks, All:
I did get the valid MAC after using firmware 10.1.467.2-1.
But if you look at the firmware site instruction, it says that this one is for AP, not for STA, that's why I picked it.
Anyway, glad to solve the problem with help from you all.

Nick

-----Original Message-----
From: Kalle Valo [mailto:kvalo@qca.qualcomm.com]
Sent: Wednesday, April 09, 2014 11:35 PM
To: Shu, Nick
Cc: ath10k@lists.infradead.org
Subject: Re: ath10k driver and firmware upgrade

Hi Nick,

"Shu, Nick" <Nick.Shu@spirent.com> writes:

> I have a question about upgrade the diver and firmware for my wifi ac
> pcie card. I read through the docs in your /ath10k website and did the
> driver and firmware update. After that, here is what I read back from
> system:
>
> root@coast198:/home/spirent# ethtool -i wlan0
> driver: ath10k_pci
> version: 3.11.0-12-generic
> firmware-version: 999.999.0.636
> bus-info: 0000:03:00.0
> supports-statistics: yes
> supports-test: no
> supports-eeprom-access: no
> supports-register-dump: no
> supports-priv-flags: no
>
> So, I can see the firmware has been updated (I used
> firmware-2.bin_999.999.0.636 for STA, right?).

Like Ben said, if you still see 00:03:07:12:34:56 you should use firmware version 10.1.467.2-1.

> But how can I find out have drivers been changed?

I added some tips to the wiki:

----------------------------------------------------------------------
To check that you are really using ath10k from backports make sure that compat module is loaded and ath10k_pci module uses it:

$ lsmod | grep compat
compat                 36104  6 iwldvm,iwlwifi,ath10k_pci,ath10k_core,mac80211,cfg80211

To check version of backports project:

$ dmesg | grep backport
[   23.210662] Loading modules backported from Linux version next-20140221-0-gfaa2e6f
[   23.210665] Backport generated by backports.git
backports-20140221-0-g8e94650
----------------------------------------------------------------------

http://wireless.kernel.org/en/users/Drivers/ath10k/backports

> I did following to change the driver:
> 1. Download the tarball from "backports-3.13.2-1" to my PC.
> 2. FTP it to my Linux box (test server running on Ubuntu 13.10 server).
> 3. Unpack it to my working directory.
> 4. Run "make defconfig-ath10k"
>         "make"
>         "make install".
> 5. But auto install failed because of some initramfs issue (no key? from error message), so I manually "rmmod" all drivers ( ath10k_pci.ko, ath10k_core.ko, mac80211.ko, ath.ko, cfg80211.ko, compat.ko) and then "Insmod" all drivers back.
> 6. Run "update-initramfs -u" and reboot.
>
> Did I do everything correct?

The initramfs issues look odd, I haven't seen those before. But otherwise this looks good.

> I used "dhcpcd wlan0" to get a valid IP address from a Netgear wifiac
> ac access point, but from access point manager, the MAC for my card is
> still "00:03:07:12:34:56". From your last email, you said this default
> MAC was caused by wrong driver and firmware, so why it's still there
> after I changed driver and firmware? Do I miss something?

The problem is that firmware 999.999.0.636 doesn't support all hw versions, that's why you need to use firmware from 10.1 branch.

--
Kalle Valo
E-mail confidentiality.
--------------------------------
This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system.

Spirent Communications plc
Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677

Registered in England Number 470893
Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.

Or if within the US,

Spirent Communications,
26750 Agoura Road, Calabasas, CA, 91302, USA.
Tel No. 1-818-676- 2300

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ath10k driver and firmware upgrade
       [not found] <mailman.297.1397087917.1064.ath10k@lists.infradead.org>
@ 2014-04-10  1:10 ` wangdc
  0 siblings, 0 replies; 5+ messages in thread
From: wangdc @ 2014-04-10  1:10 UTC (permalink / raw)
  To: Nick.Shu; +Cc: ath10k


On 2014年04月10日 07:58, ath10k-request@lists.infradead.org wrote:
> Message: 4
> Date: Wed, 9 Apr 2014 21:18:35 +0000
> From: "Shu, Nick"<Nick.Shu@spirent.com>
> To:"kvalo@qca.qualcomm.com"  <kvalo@qca.qualcomm.com>
> Cc:"ath10k@lists.infradead.org"  <ath10k@lists.infradead.org>
> Subject: ath10k driver and firmware upgrade
> Message-ID:
>          <153F35912E69C446A72CF7D6417EBADE7CF57F@SPCCOREXCMBX01.AD.SPIRENTCOM.COM>
>
>
> So, I can see the firmware has been updated (I used firmware-2.bin_999.999.0.636 for STA, right?).
> But how can I find out have drivers been changed?
>
> I did following to change the driver:
> 1. Download the tarball from "backports-3.13.2-1" to my PC.
> 2. FTP it to my Linux box (test server running on Ubuntu 13.10 server).
> 3. Unpack it to my working directory.
> 4. Run "make defconfig-ath10k"
>          "make"
>          "make install".
> 5. But auto install failed because of some initramfs issue (no key? from error message), so I manually "rmmod" all drivers ( ath10k_pci.ko, ath10k_core.ko, mac80211.ko, ath.ko, cfg80211.ko, compat.ko) and then "Insmod" all drivers back.
> 6. Run "update-initramfs -u" and reboot.
>
> Did I do everything correct?
> I used "dhcpcd wlan0" to get a valid IP address from a Netgear wifiac ac access point, but from access point manager, the MAC for my card is still "00:03:07:12:34:56".
> >From your last email, you said this default MAC was caused by wrong driver and firmware, so why it's still there after I changed driver and firmware? Do I miss something?
>

May be you can get the mac address correctly using the following method.
http://lists.infradead.org/pipermail/ath10k/2014-March/001452.html

----

Rex



_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-10 15:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-09 21:18 ath10k driver and firmware upgrade Shu, Nick
2014-04-10  1:41 ` Ben Greear
2014-04-10  4:34 ` Kalle Valo
2014-04-10 14:09   ` Shu, Nick
     [not found] <mailman.297.1397087917.1064.ath10k@lists.infradead.org>
2014-04-10  1:10 ` wangdc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.