Fw: Enabling 802.11h transmit power control

KAVITA MATHUR kavitam at cdot.in
Mon Jul 3 04:03:37 PDT 2017


Hi,

I am testing Mesh modes uing two different hardware Mesh nodes, first node was
configured in an 20 MHz mode (driver:ath9k backported from 4.4.2-1) and second node is
configured in ac 20MHz mode (driver: ath10K backported from ath10k git).


Firmware version :   firmware-5.bin_10.2.4.70.63-2

I observed firmware crash whenever there are mismatch between HT/VHT capabilities.
Following crash errors are flashed. 

Please help me on this.Can Mesh nodes connect with different capabilities? What is wrong
with firmware.

IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entered forwarding state
br-lan: port 2(wlan0) entered forwarding state
ath10k_pci 0000:01:00.0: firmware crashed! (uuid n/a)
ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00024 api 5 features
no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 2a48e27d
ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
ath10k_pci 0000:01:00.0: firmware register dump:
ath10k_pci 0000:01:00.0: [00]: 0x4100016C 0x000015B3 0x009A31BB 0x00955B31
ath10k_pci 0000:01:00.0: [04]: 0x009A31BB 0x00060130 0x00000008 0x00000000
ath10k_pci 0000:01:00.0: [08]: 0x00000000 0x00955B31 0x00000000 0x0040F89E
ath10k_pci 0000:01:00.0: [12]: 0x00000009 0xFFFFFFFF 0x009580F5 0x00958117
ath10k_pci 0000:01:00.0: [16]: 0x00958080 0x0094085D 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [20]: 0x409A31BB 0x0040AA84 0x00000002 0x00000001
ath10k_pci 0000:01:00.0: [24]: 0x809A2B8D 0x0040AAE4 0x004352C4 0xC09A31BB
ath10k_pci 0000:01:00.0: [28]: 0x809898C8 0x0040AB04 0x0043F91C 0x009C6468
ath10k_pci 0000:01:00.0: [32]: 0x809B66B4 0x0040AB34 0x009C6468 0x0043F91C
ath10k_pci 0000:01:00.0: [36]: 0x809B282C 0x0040ADA4 0x00400000 0x00416E94
ath10k_pci 0000:01:00.0: [40]: 0x809C07E1 0x0040ADE4 0x0040AE08 0x00412028
ath10k_pci 0000:01:00.0: [44]: 0x809486FA 0x0040AE04 0x00000001 0x00000000
ath10k_pci 0000:01:00.0: [48]: 0x80948E2C 0x0040AEA4 0x0041F4F0 0x00412634
ath10k_pci 0000:01:00.0: [52]: 0x809BFC41 0x0040AEC4 0x0041F4F0 0x00000001
ath10k_pci 0000:01:00.0: [56]: 0x80940F18 0x0040AF14 0x00000010 0x00403AC0
ath10k_pci 0000:01:00.0: Copy Engine register dump:
ath10k_pci 0000:01:00.0: [00]: 0x00057400   8   8   3   3
ath10k_pci 0000:01:00.0: [01]: 0x00057800  14  14  49  50
ath10k_pci 0000:01:00.0: [02]: 0x00057c00  17  17  16  17
ath10k_pci 0000:01:00.0: [03]: 0x00058000  12  12  13  12
ath10k_pci 0000:01:00.0: [04]: 0x00058400  53  53  68  30
ath10k_pci 0000:01:00.0: [05]: 0x00058800  10  10  41  42
ath10k_pci 0000:01:00.0: [06]: 0x00058c00  19  19  19  19
ath10k_pci 0000:01:00.0: [07]: 0x00059000   0   0   0   0
ieee80211 phy0: Hardware restart was requested
br-lan: port 2(wlan0) entered forwarding state
ath10k_pci 0000:01:00.0: firmware crashed! (uuid n/a)
ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00024 api 5 features
no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 2a48e27d
ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
ath10k_pci 0000:01:00.0: firmware register dump:
ath10k_pci 0000:01:00.0: [00]: 0x4100016C 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [04]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [08]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [12]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [16]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [20]: 0x00000000 0x00401930 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [24]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [28]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [32]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [40]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [44]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [48]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [52]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
ath10k_pci 0000:01:00.0: Copy Engine register dump:
ath10k_pci 0000:01:00.0: [00]: 0x00057400   8   8   3   3
ath10k_pci 0000:01:00.0: [01]: 0x00057800   3   3   6   7
ath10k_pci 0000:01:00.0: [02]: 0x00057c00   1   1   0   1
ath10k_pci 0000:01:00.0: [03]: 0x00058000   1   1   2   1
ath10k_pci 0000:01:00.0: [04]: 0x00058400  38  38  41  18
ath10k_pci 0000:01:00.0: [05]: 0x00058800   0   0   0   0
ath10k_pci 0000:01:00.0: [06]: 0x00058c00   0   0   0   0
ath10k_pci 0000:01:00.0: [07]: 0x00059000   0   0   0   0
ath10k_pci 0000:01:00.0: wmi unified ready event not received
ath10k_pci 0000:01:00.0: Could not init core: -110
ath10k_pci 0000:01:00.0: cannot restart a device that hasn't been started
Hardware became unavailable during restart.
------------[ cut here ]------------
WARNING: at f9514d60 [verbose debug info unavailable]
Modules linked in: ath10k_pci(O) ath10k_core(O) ath(O) mac80211(O) cfg80211(O) compat(O)
CPU: 1 PID: 12570 Comm: kworker/1:0 Tainted: G           O 3.12.37-rt51+ #25
Workqueue: events_freezable ieee80211_restart_work [mac80211]
task: eb323480 ti: ebb90000 task.ti: ebb90000
NIP: f9514d60 LR: f9514d60 CTR: c0285a90
REGS: ebb91d60 TRAP: 0700   Tainted: G           O  (3.12.37-rt51+)
MSR: 00029002 <CE,EE,ME>  CR: 24002022  XER: 20000000

GPR00: f9514d60 ebb91e10 eb323480 0000002b c19484fc c1948b48 00021002 010ec000
GPR08: 00000007 00000800 00000000 00000259 24002084 00000000 c0051e70 eb565dc8
GPR16: 00000000 00000000 00000000 00000000 00000000 00000001 00000001 fffffef7
GPR24: c0893ebf eb0f16d8 00000000 00000000 ebb60c00 ebb61600 ffffff92 ebb60c00
NIP [f9514d60] ieee80211_reconfig+0xa0/0xd40 [mac80211]
LR [f9514d60] ieee80211_reconfig+0xa0/0xd40 [mac80211]
Call Trace:
[ebb91e10] [f9514d60] ieee80211_reconfig+0xa0/0xd40 [mac80211] (unreliable)Unable to
handle kernel paging request for data at address 0x00000000
Faulting instruction address: 0xf95d5e0c
Oops: Kernel access of bad area, sig: 11 [#1]
PREEMPT SMP NR_CPUS=2 CoreNet Generic
Modules linked in: ath10k_pci(O) ath10k_core(O) ath(O) mac80211(O) cfg80211(O) compat(O)
CPU: 0 PID: 362 Comm: irq/114-QMan po Tainted: G           O 3.12.37-rt51+ #25
task: eb225a40 ti: effe4000 task.ti: eb300000
NIP: f95d5e0c LR: f95d5aec CTR: c000dd00
REGS: effe5ab0 TRAP: 0300   Tainted: G           O  (3.12.37-rt51+)
MSR: 00029002 <CE,EE,ME>  CR: 24002082  XER: 00000000
DEAR: 00000000, ESR: 00800000

GPR00: f95d5a3c effe5b60 eb225a40 00000000 06a38062 00000000 06a38062 00000000
GPR08: 06a38062 00000000 00000000 06a38062 c063c650 00000000 0000000c 00000003
GPR16: 00000010 c07867fc 00000001 00000000 00000000 2bbe0000 00000000 00000001
GPR24: 00000000 ebb61700 eb069868 00000000 00000034 00000000 ebb61df8 ebca20c0
NIP [f95d5e0c] ath10k_htt_tx+0x49c/0x5b0 [ath10k_core]
LR [f95d5aec] ath10k_htt_tx+0x17c/0x5b0 [ath10k_core]
Call Trace:
[effe5b60] [f95d5a3c] ath10k_htt_tx+0xcc/0x5b0 [ath10k_core] (unreliable)
[effe5be0] [f95c48dc] ath10k_mac_tx+0x3bc/0x4b0 [ath10k_core]
[effe5c10] [f95ca2d0] ath10k_mac_tx_push_txq+0x180/0x270 [ath10k_core]
[effe5c40] [f95ca4ac] ath10k_mac_op_wake_tx_queue+0xec/0x150 [ath10k_core]
[effe5c70] [f950c900] ieee80211_queue_skb+0x280/0x350 [mac80211]
[effe5ca0] [f950e474] ieee80211_tx+0xc4/0x160 [mac80211]
[effe5d00] [f950f370] __ieee80211_subif_start_xmit+0x3b0/0x8a0 [mac80211]
[effe5da0] [f950f8a4] ieee80211_subif_start_xmit+0x44/0x340 [mac80211]
[effe5df0] [c04e7450] dev_hard_start_xmit+0x2d0/0x4d0
[effe5e20] [c04e7988] dev_queue_xmit+0x338/0x530
[effe5e50] [c05f99fc] br_dev_queue_push_xmit+0x6c/0xb0
[effe5e60] [c05f97d0] deliver_clone+0x40/0x80
[effe5e80] [c05fa944] br_handle_frame_finish+0xd4/0x240
[effe5ea0] [c05fac9c] br_handle_frame+0x1ec/0x2b0
[effe5ec0] [c04e2600] __netif_receive_skb_core+0x220/0x760
[effe5f30] [c04e5724] process_backlog+0xb4/0x1b0
[effe5f60] [c04e4f34] net_rx_action+0x1b4/0x240
[effe5f90] [c00330d0] __do_softirq+0x120/0x1f0
[effe5ff0] [c000e238] call_do_softirq+0x24/0x3c
[eb301e50] [c0004c24] do_softirq+0x94/0xc0
[eb301e70] [c0032acc] local_bh_enable+0xcc/0xf0
[eb301e80] [c0077ac0] irq_forced_thread_fn+0x50/0xa0
[eb301ea0] [c0077df0] irq_thread+0x100/0x130
[eb301ee0] [c0051f08] kthread+0x98/0xa0
[eb301f40] [c001011c] ret_from_kernel_thread+0x5c/0x64
Instruction dump:
9afb0019 993b0018 63bd0800 4bfffe04 60000000 3a600000 3a400001 89590914
2f8a0000 40de0050 811f0024 38e00000 <7d144d2c> 393f0050 7ea8ab78 7d204c2c
---[ end trace c1700a8f67dfb3ae ]---



[ebb91e60] [f94de2a4] ieee80211_restart_work+0x84/0xc0 [mac80211]
[ebb91e80] [c004a4fc] process_one_work+0x11c/0x370
[ebb91ea0] [c004b194] worker_thread+0x154/0x410
[ebb91ee0] [c0051f08] kthread+0x98/0xa0
[ebb91f40] [c001011c] ret_from_kernel_thread+0x5c/0x64
Instruction dump:
2f890000 3b400000 40de0158 39200000 993f0404 7fe3fb78 4bfcc949 7c7e1b79
41c201e0 3c60f954 3863ca58 4801f8dd <0fe00000> 480001a0 60000000 60000000
---[ end trace c1700a8f67dfb3af ]---
[sched_delayed] sched: RT throttling activated
Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 3 seconds..
------------[ cut here ]------------
Kernel BUG at c00dd914 [verbose debug info unavailable]
Oops: Exception in kernel mode, sig: 5 [#2]
PREEMPT SMP NR_CPUS=2 CoreNet Generic
Modules linked in: ath10k_pci(O) ath10k_core(O) ath(O) mac80211(O) cfg80211(O) compat(O)
CPU: 0 PID: 362 Comm: irq/114-QMan po Tainted: G      D W  O 3.12.37-rt51+ #25
task: eb225a40 ti: effe4000 task.ti: eb300000
NIP: c00dd914 LR: c0018e50 CTR: 00000000
REGS: effe58a0 TRAP: 0700   Tainted: G      D W  O  (3.12.37-rt51+)
MSR: 00021002 <CE,ME>  CR: 24002084  XER: 00000000

GPR00: c0018e50 effe5950 eb225a40 00001000 00000001 00000001 f1000000 ffbfa000
GPR08: 000000d0 c001f828 effe4000 00000500 24002082 00000000 0000000c 00000003
GPR16: 00000010 c07867fc 00000001 00000000 00000000 2bbe0000 c08b0000 00000000
GPR24: f1000000 ffbfa000 c001f828 000000d0 00000001 00000001 00001000 c001f828
NIP [c00dd914] __get_vm_area_node.isra.37+0x34/0x110
LR [c0018e50] __ioremap_caller+0x1e0/0x220
Call Trace:
[effe5950] [c08b0000] boot_tvec_bases+0x0/0x1040 (unreliable)
[effe5980] [c0018e50] __ioremap_caller+0x1e0/0x220
[effe59b0] [c001f828] sys_writ+0x28/0xd0
[effe59d0] [c001f914] fsl_rstcr_restart+0x44/0x70
[effe59f0] [c000d428] machine_restart+0x48/0x60
[effe5a10] [c063d6fc] panic+0x198/0x1ec
[effe5a70] [c000b314] die+0x2f4/0x300
[effe5aa0] [c001050c] handle_page_fault+0x7c/0x80
--- Exception: 300 at ath10k_htt_tx+0x49c/0x5b0 [ath10k_core]
    LR = ath10k_htt_tx+0x17c/0x5b0 [ath10k_core]
[effe5b60] [f95d5a3c] ath10k_htt_tx+0xcc/0x5b0 [ath10k_core] (unreliable)
[effe5be0] [f95c48dc] ath10k_mac_tx+0x3bc/0x4b0 [ath10k_core]
[effe5c10] [f95ca2d0] ath10k_mac_tx_push_txq+0x180/0x270 [ath10k_core]
[effe5c40] [f95ca4ac] ath10k_mac_op_wake_tx_queue+0xec/0x150 [ath10k_core]
[effe5c70] [f950c900] ieee80211_queue_skb+0x280/0x350 [mac80211]
[effe5ca0] [f950e474] ieee80211_tx+0xc4/0x160 [mac80211]
[effe5d00] [f950f370] __ieee80211_subif_start_xmit+0x3b0/0x8a0 [mac80211]
[effe5da0] [f950f8a4] ieee80211_subif_start_xmit+0x44/0x340 [mac80211]
[effe5df0] [c04e7450] dev_hard_start_xmit+0x2d0/0x4d0
[effe5e20] [c04e7988] dev_queue_xmit+0x338/0x530
[effe5e50] [c05f99fc] br_dev_queue_push_xmit+0x6c/0xb0
[effe5e60] [c05f97d0] deliver_clone+0x40/0x80
[effe5e80] [c05fa944] br_handle_frame_finish+0xd4/0x240
[effe5ea0] [c05fac9c] br_handle_frame+0x1ec/0x2b0
[effe5ec0] [c04e2600] __netif_receive_skb_core+0x220/0x760
[effe5f30] [c04e5724] process_backlog+0xb4/0x1b0
[effe5f60] [c04e4f34] net_rx_action+0x1b4/0x240
[effe5f90] [c00330d0] __do_softirq+0x120/0x1f0
[effe5ff0] [c000e238] call_do_softirq+0x24/0x3c
[eb301e50] [c0004c24] do_softirq+0x94/0xc0
[eb301e70] [c0032acc] local_bh_enable+0xcc/0xf0
[eb301e80] [c0077ac0] irq_forced_thread_fn+0x50/0xa0
[eb301ea0] [c0077df0] irq_thread+0x100/0x130
[eb301ee0] [c0051f08] kthread+0x98/0xa0
[eb301f40] [c001011c] ret_from_kernel_thread+0x5c/0x64
Instruction dump:
7c0802a6 bf010010 542a0024 90010034 7c9d2378 7cbc2b78 7cd83378 816a000c
7cf93b78 7d1b4378 7d3a4b78 556b016e <0f0b0000> 70a90001 41c2002c 7c6a0034
---[ end trace c1700a8f67dfb3b0 ]---

















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
------- 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




More information about the ath10k mailing list