Report Firmware firmware-2.bin_10.1.467.2-1 Error

Vu Hai NGUYEN vh.nguyen at actiasodielec.fr
Thu Apr 24 02:03:02 PDT 2014


Thank you for your response, the problem is solved when I download the latest version of backport (3.15) and compile ath10k with it (last time my version is 3.13 and as you said, It might not include the patch).
Now I can load the firmware 10.1.467.2-1 but I get new problem too.
Does ath10k support all the command of "iw"?
For example I set up mode access point and tried to change the txpower by the command: "iw wlan0 set txpower fixed 1200" (same thing as "iwconfig wlan0 txpower 12dBm" , right?)
The output of "iwconfig" is:
wlan0     IEEE 802.11abgn  Mode:Master  Tx-Power=12 dBm                         
          Retry short limit:7   RTS thr:off   Fragment thr:off                  
          Power Management:on  

And output of "dmesg":
ath10k: mac config power 12                                                     
ath10k: wmi pdev set param 3 value 24                                           
ath10k: wmi pdev set param 4 value 24 

It seems that the command arrives until the level of driver ath10k and works but when I verified by connecting a station to my access point and look at the out put of "iw wlan0 station dump", the value of txpower received at the station didn't change even when I changed the txpower of my access point from 1dBm to 20dBm (my station is near the access point).

Same thing when I do with the command set bit rates: "iw wlan0 set bitrates legacy-2.4 54 ht-mcs-2.4"

Out put of dmesg:
ath10k: mac fixed rate pream 0x00 nss 0x00 rate 0x04                            
ath10k: wmi vdev id 0x0 set param 27 value 4                                    
ath10k: wmi vdev id 0x0 set param 34 value 1                                    
ath10k: wmi vdev id 0x0 set param 28 value 0                                    
ath10k: wmi event debug mesg len 16  

But the out put of " iw wlan0 station dump" did not show any change when I varied the bit rate of my access point too. 

Do you guys have any suggestion about it?
Thanks in advance :)

NGUYEN Vu Hai
Acita-Sodielec
Route de Mayres - B.P. 9
12100 St GEORGES DE LUZENCON
FRANCE

________________________________________
De : Kalle Valo [kvalo at qca.qualcomm.com]
Date d'envoi : jeudi 24 avril 2014 08:35
À : Vu Hai NGUYEN
Cc : ath10k at lists.infradead.org; Patrick CARNEIRO RODRIGUEZ
Objet : Re: RE : Report Firmware  firmware-2.bin_10.1.467.2-1 Error

Vu Hai NGUYEN <vh.nguyen at actiasodielec.fr> writes:

> There's another problem: when I used the firmware version 999.999 some
> times when I ran my program and change the parameter of configuration,
> the firmware crash and I got a output dmesg which indicate a strange
> version of firmware (1.0.0.636 ???) :
>
> ath10k: firmware crashed!
> ath10k: hardware name qca988x hw2.0 version 0x4100016c
> ath10k: firmware version: 1.0.0.636
> ath10k: target register Dump Location: 0x00401930
> ath10k: target Register Dump
> ath10k: [00]: 0x4100016C 0x00000000 0x0098E3A9 0x00000000
> ath10k: [04]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [08]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [12]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [16]: 0x00000000 0x00000000 0x00000000 0x0098E3A9
> ath10k: [20]: 0x00000000 0x00401930 0x00000000 0x00000000
> ath10k: [24]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [28]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [32]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [40]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [44]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [48]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [52]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
>
> and then It reload the firmware 999.999.  :
>
> ath10k: firmware 999.999.0.636 booted
>
> You can see the output of my dmesg

The patch below should fix it. I suspect you don't have that.

commit 5ba88b395cb447af756d12411456024d65a07814
Author: Chun-Yeow Yeoh <yeohchunyeow at gmail.com>
Date:   Tue Jan 21 17:21:21 2014 +0800

    ath10k: fix the printing of 10.x FW version when FW crashed

    10.x FW has no structure member sw_version_1. Thus,
    both fw_version_release and fw_version_build are not
    available. The provided fw_version_major is also wrong.
    Fix this by using the fw_version from struct wiphy.

    Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow at gmail.com>
    Signed-off-by: Kalle Valo <kvalo at qca.qualcomm.com>


--
Kalle Valo



More information about the ath10k mailing list