ath10k QCA988x firmware not supporting monitor mode

Mohammed Shafi Shajakhan mohammed at codeaurora.org
Tue Feb 28 21:22:42 PST 2017


On Wed, Mar 01, 2017 at 10:38:48AM +0530, KAVITA MATHUR wrote:
> 
> 
> Hi!
> 
> We are using Atheros QCA9880 mPCIe module with ath10k drivers and firmware.
> 
> Kernel: 3.12
> Backports: 4.4
> Firmware:10.2.4.70.59-2

[shafi] worth trying updated firmware
https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA988X/hw2.0/

> 
> We are not able to run the wlan1 interface in monitor mode. The following error comes
> when we do
> iw phy phy1 interface add wlan1 type monitor
> ifconfig wlan1 up

[shafi] can you please confirm the below fix is already available
(its cced to stable though)
https://patchwork.kernel.org/patch/8481281/

and if you see still see the issue in latest backports
http://buildbot.w1.fi/backports-wireless-testing/

please revert back

> 
> ath10k_pci 0001:03:00.0: firmware crashed! (uuid n/a)
> ath10k_pci 0001:03:00.0: qca988x hw2.0 (0x4100016c, 0x043202ff sub 0000:0000) fw
> 10.2.4.70.59-2 fwapi 5 bdapi 1 htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0
> hwcrypto 1 features no-p2p,raw-mode
> ath10k_pci 0001:03:00.0: debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
> ath10k_pci 0001:03:00.0: firmware register dump:
> ath10k_pci 0001:03:00.0: [00]: 0x4100016C 0x00000000 0x0097F8D5 0x00000000
> ath10k_pci 0001:03:00.0: [04]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [08]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [12]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [16]: 0x00000000 0x00000000 0x00000000 0x0097F8D5
> ath10k_pci 0001:03:00.0: [20]: 0x00000000 0x00401930 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [24]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [28]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [32]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [40]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [44]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [48]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [52]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0001:03:00.0: failed to set 2g txpower 0: -108
> ath10k_pci 0001:03:00.0: failed to setup tx power 0: -108
> ath10k_pci 0001:03:00.0: failed to recalc tx power: -108
> ------------[ cut here ]------------
> WARNING: at fb83c3b8 [verbose debug info unavailable]
> Modules linked in: ath10k_pci(O) ath10k_core(O) mac80211(O) ath(O) cfg80211(O) compat(O)
> uio_pdrv_genirq
> CPU: 0 PID: 17173 Comm: ifconfig Tainted: G           O 3.12.37-rt51+ #23
> task: e6415500 ti: ef02a000 task.ti: ef02a000
> NIP: fb83c3b8 LR: fb83c3a8 CTR: c00788f0
> REGS: ef02bcb0 TRAP: 0700   Tainted: G           O  (3.12.37-rt51+)
> MSR: 00029002 <CE,EE,ME>  CR: 84008482  XER: 20000000
> 
> GPR00: fb83c3a8 ef02bd60 e6415500 ffffff94 eb865a40 00000152 00000000 00000000
> GPR08: 00000000 00000001 00000000 00021002 84ad2e42 10025578 10100000 00000000
> GPR16: 00000000 1000acb4 1001d264 1001d264 1001d1f8 ef98200c 00000000 e0e44000
> GPR24: e0e44480 ffffffff 00000001 00000000 e0e44704 e0e40000 ffffff94 ef7ccba0
> NIP [fb83c3b8] ieee80211_add_virtual_monitor+0xd8/0x1c0 [mac80211]
> LR [fb83c3a8] ieee80211_add_virtual_monitor+0xc8/0x1c0 [mac80211]
> Call Trace:
> [ef02bd60] [fb83c3a8] ieee80211_add_virtual_monitor+0xc8/0x1c0 [mac80211] (unreliable)
> [ef02bd80] [fb83d168] ieee80211_do_open+0x4e8/0xa30 [mac80211]
> [ef02bdc0] [c04d73a8] __dev_open+0xe8/0x160
> [ef02bdf0] [c04d76a0] __dev_change_flags+0xa0/0x180
> [ef02be10] [c04d785c] dev_change_flags+0x1c/0x70
> [ef02be30] [c057d930] devinet_ioctl+0x600/0x8e0
> [ef02be90] [c04ba6f4] sock_ioctl+0x224/0x2e0
> [ef02beb0] [c0115150] do_vfs_ioctl+0x410/0x7a0
> [ef02bf10] [c0115520] SyS_ioctl+0x40/0x80
> [ef02bf40] [c000fb04] ret_from_syscall+0x0/0x3c
> --- Exception: c01 at 0xff4ff8c
>     LR = 0xffed2c0
> Instruction dump:
> 39200008 913d038c 7fa3eb78 93dd000c 4bffe349 7fe3fb78 7fa4eb78 4bfee2cd
> 7c690034 5529d97e 7c7e1b78 69290001 <0f090000> 2f890000 7fa3eb78 40de00a0
> ---[ end trace c9df4859ac192be7 ]---
> ieee80211 phy1: Hardware restart was requested
> SIOCSIFFLAGS: Cannot send after transport endpoint shutdown
> 
> Please help me to set monitor mode on WiFi node.
> 
> Disclaimer:
> 
> ----------
> 
> This email and any files transmitted with it are confidential and intended solely for
> 
> the use of the individual or entity to whom they are addressed.  If you are not the
> 
> intended recipient you are notified that disclosing, copying, distributing or taking
> 
> any action in reliance on the contents of this information is strictly prohibited. The
> 
> sender does not accept liability for any errors or omissions in the contents of this
> 
> message, which arise as a result
> ------- End of Forwarded Message -------
> 
> 
> Thanks & Regards,
> कविता माथुर Kavita Mathur 
> वरिष्ठ अनुसंधान अभियंता  Senior Research Engineer 
> सी-डॉट                      C-DOT
> इलैक्ट्रॉनिक्स सिटी फेज़ I         Electronics City Phase I
> होसूर रोड, बेंगलूरु               Hosur Road, Bengaluru – 560100
> फोन  Ph 080-28529896
> Disclaimer:
> ----------
> This email and any files transmitted with it
> 
> 
> _______________________________________________
> ath10k mailing list
> ath10k at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k



More information about the ath10k mailing list