{"action":"created","issue":{"url":"https://api.github.com/repos/greearb/ath10k-ct/issues/17","repository_url":"https://api.github.com/repos/greearb/ath10k-ct","labels_url":"https://api.github.com/repos/greearb/ath10k-ct/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/greearb/ath10k-ct/issues/17/comments","events_url":"https://api.github.com/repos/greearb/ath10k-ct/issues/17/events","html_url":"https://github.com/greearb/ath10k-ct/issues/17","id":295030447,"number":17,"title":"Compex WLE650V5-18A (QCA9888) not working - Firmware crashes","user":{"login":"gojpdchx","id":31640891,"avatar_url":"https://avatars0.githubusercontent.com/u/31640891?v=4","gravatar_id":"","url":"https://api.github.com/users/gojpdchx","html_url":"https://github.com/gojpdchx","followers_url":"https://api.github.com/users/gojpdchx/followers","following_url":"https://api.github.com/users/gojpdchx/following{/other_user}","gists_url":"https://api.github.com/users/gojpdchx/gists{/gist_id}","starred_url":"https://api.github.com/users/gojpdchx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gojpdchx/subscriptions","organizations_url":"https://api.github.com/users/gojpdchx/orgs","repos_url":"https://api.github.com/users/gojpdchx/repos","events_url":"https://api.github.com/users/gojpdchx/events{/privacy}","received_events_url":"https://api.github.com/users/gojpdchx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-07T07:15:31Z","updated_at":"2018-02-12T21:17:04Z","closed_at":null,"author_association":"NONE","body":"**PROBLEM DESCRIPTION**\r\nMy Compex WLE650V5-18A WiFi module does not work using Candela Technologies (CT) firmware.\r\nFrom the log, it appears that the firmware crashes.\r\nThe stock firmware from https://github.com/kvalo/ath10k-firmware also crashes, too. [1]\r\n\r\n**SOFTWARE**\r\n**Operating System**: LEDE (Version: OpenWrt SNAPSHOT r5997-ecc347d [2])\r\n**Kernel**: 4.9.77 (LEDE stock kernel)\r\n**Firmware / Driver**: \r\n`board-2.bin`: Obtained from https://github.com/kvalo/ath10k-firmware/blob/master/QCA9888/hw2.0/board-2.bin . \r\n`firmware-5.bin`: Version `10.4-ct-9888-fW-009-2559479`(http://www.candelatech.com/downloads/ath10k-9888-10-4/firmware-5-ct-full-community.bin)\r\nAlso tested (However it still does not solve the problem):\r\nath10k CT 10.4.3 Beta 10: http://www.candelatech.com/downloads/ath10k-9888-10-4/ath10k-fw-beta/firmware-5-ct-full-community.bin\r\n\r\n**HARDWARE**\r\n**Board**: UniElec U7621-06\r\n**WiFi Card 1 (Problematic with CT firmware)**: WLE650V5-18A (_\"Model: WLE650V5-18A 7A\" is printed on the card, as shown in https://www.compex.com.sg/wp-content/uploads/2016/08/WLE650V5-18A_HEATSINK_TRANS_1-1500.png_)\r\n**WiFi Card 2 (Works fine with CT firmware 10.1-ct-8x-__xtW-019-395e9f1)**: SparkLAN WPEA-352ACN\r\n**LOGS**\r\n`dmesg`:\r\n```\r\n[   13.382385] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0\r\n[   13.580675] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2\r\n[   13.591373] ath10k_pci 0000:02:00.0: Falling back to user helper\r\n[   13.634860] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed\r\n[   13.644388] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2\r\n[   13.654749] ath10k_pci 0000:02:00.0: Falling back to user helper\r\n[   13.725709] firmware ath10k!cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed\r\n[   13.736189] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA9888/hw2.0/firmware-6.bin failed with error -2\r\n[   13.746941] ath10k_pci 0000:02:00.0: Falling back to user helper\r\n[   13.812923] firmware ath10k!QCA9888!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed\r\n[   14.480678] ath10k_pci 0000:02:00.0: Unknown FW IE: 30\r\n[   14.485847] ath10k_pci 0000:02:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000\r\n[   14.495066] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1\r\n[   14.515364] ath10k_pci 0000:02:00.0: firmware ver 10.4-ct-9888-fW-009-2559479 api 5 features peer-flow-ctrl crc32 331b488d\r\n[   16.605446] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id 0:17 crc32 74a04250\r\n[   20.056984] ath10k_pci 0000:02:00.0: firmware crashed! (guid 4c26a6ee-bac8-40f4-8c0f-fac426ec2c3d)\r\n[   20.065976] ath10k_pci 0000:02:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000\r\n[   20.075166] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1\r\n[   20.095432] ath10k_pci 0000:02:00.0: firmware ver 10.4-ct-9888-fW-009-2559479 api 5 features peer-flow-ctrl crc32 331b488d\r\n[   20.107940] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id 0:17 crc32 74a04250\r\n[   20.115321] ath10k_pci 0000:02:00.0: htt-ver 0.0 wmi-op 6 htt-op 4 cal otp max-sta 32 raw 0 hwcrypto 1\r\n[   20.126664] ath10k_pci 0000:02:00.0: firmware register dump:\r\n[   20.132307] ath10k_pci 0000:02:00.0: [00]: 0x01000000 0x000015B3 0x009B2221 0x00975B31\r\n[   20.140205] ath10k_pci 0000:02:00.0: [04]: 0x009B2221 0x00060730 0x0000001E 0x0004A000\r\n[   20.148102] ath10k_pci 0000:02:00.0: [08]: 0x00000000 0x00000050 0x0000000D 0x40000060\r\n[   20.156001] ath10k_pci 0000:02:00.0: [12]: 0x00000009 0x00000000 0x009735D1 0x009735DF\r\n[   20.163882] ath10k_pci 0000:02:00.0: [16]: 0x00973820 0x009606B8 0x00000000 0x00000000\r\n[   20.171779] ath10k_pci 0000:02:00.0: [20]: 0x409B2221 0x0040604C 0xFFFEFFFF 0x0000000D\r\n[   20.179678] ath10k_pci 0000:02:00.0: [24]: 0x809B226A 0x004060AC 0x00402130 0xC09B2221\r\n[   20.187579] ath10k_pci 0000:02:00.0: [28]: 0x8098002B 0x004060CC 0x00448001 0x0000000D\r\n[   20.195478] ath10k_pci 0000:02:00.0: [32]: 0x809607C1 0x004060EC 0xD8400100 0x004060FC\r\n[   20.203358] ath10k_pci 0000:02:00.0: [36]: 0x80960892 0x0040610C 0x00000000 0x00000008\r\n[   20.211255] ath10k_pci 0000:02:00.0: [40]: 0x80960E81 0x0040612C 0x00400000 0x00400600\r\n[   20.219153] ath10k_pci 0000:02:00.0: [44]: 0x80960EE5 0x0040614C 0x00000000 0x00400600\r\n[   20.227052] ath10k_pci 0000:02:00.0: [48]: 0x40960024 0x0040616C 0x00403830 0x00403830\r\n[   20.234933] ath10k_pci 0000:02:00.0: [52]: 0x00000000 0x0040618C 0x00448001 0x00040020\r\n[   20.242830] ath10k_pci 0000:02:00.0: [56]: 0x80960EE5 0x0040614C 0x00000000 0x00400600\r\n[   20.250731] ath10k_pci 0000:02:00.0: Copy Engine register dump:\r\n[   20.256650] ath10k_pci 0000:02:00.0: [00]: 0x0004a000  12  12  29  28\r\n[   20.263066] ath10k_pci 0000:02:00.0: [01]: 0x0004a400   6   6   6   6\r\n[   20.269498] ath10k_pci 0000:02:00.0: [02]: 0x0004a800   0   0   0   0\r\n[   20.275933] ath10k_pci 0000:02:00.0: [03]: 0x0004ac00   0   0   0   0\r\n[   20.282350] ath10k_pci 0000:02:00.0: [04]: 0x0004b000   0   0   0   0\r\n[   20.288783] ath10k_pci 0000:02:00.0: [05]: 0x0004b400   0   0   0   0\r\n[   20.295212] ath10k_pci 0000:02:00.0: [06]: 0x0004b800   0   0   0   0\r\n[   20.301629] ath10k_pci 0000:02:00.0: [07]: 0x0004bc00   1   1   1   1\r\n[   20.308061] ath10k_pci 0000:02:00.0: [08]: 0x0004c000   0   0   0   0\r\n[   20.314478] ath10k_pci 0000:02:00.0: [09]: 0x0004c400   0   0   0   0\r\n[   20.320911] ath10k_pci 0000:02:00.0: [10]: 0x0004c800   0   0   0   0\r\n[   20.327346] ath10k_pci 0000:02:00.0: [11]: 0x0004cc00   0   0   0   0\r\n[   21.405080] ath10k_pci 0000:02:00.0: failed to receive control response completion, polling..\r\n[   22.445066] ath10k_pci 0000:02:00.0: ctl_resp never came in (-145)\r\n[   22.451222] ath10k_pci 0000:02:00.0: failed to connect to HTC: -145\r\n[   22.546290] ath10k_pci 0000:02:00.0: could not init core (-145)\r\n[   22.552382] ath10k_pci 0000:02:00.0: could not probe fw (-145)\r\n[   22.559503] ath10k_pci 0000:03:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0\r\n[   22.595101] ath10k_pci 0000:02:00.0: cannot restart a device that hasn't been started\r\n[   22.838153] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2\r\n[   22.848852] ath10k_pci 0000:03:00.0: Falling back to user helper\r\n[   22.888925] firmware ath10k!pre-cal-pci-0000:03:00.0.bin: firmware_loading_store: map pages failed\r\n[   22.898396] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2\r\n[   22.908775] ath10k_pci 0000:03:00.0: Falling back to user helper\r\n[   22.979264] firmware ath10k!cal-pci-0000:03:00.0.bin: firmware_loading_store: map pages failed\r\n[   22.989412] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2\r\n[   23.000170] ath10k_pci 0000:03:00.0: Falling back to user helper\r\n[   23.066676] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed\r\n[   23.076184] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2\r\n[   23.086953] ath10k_pci 0000:03:00.0: Falling back to user helper\r\n[   23.157441] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed\r\n[   23.166936] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2\r\n[   23.177690] ath10k_pci 0000:03:00.0: Falling back to user helper\r\n[   23.248137] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed\r\n[   23.257522] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2\r\n[   23.268236] ath10k_pci 0000:03:00.0: Falling back to user helper\r\n[   23.338612] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed\r\n[   23.553178] ath10k_pci 0000:03:00.0: Unknown FW IE: 30\r\n[   23.558388] ath10k_pci 0000:03:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000\r\n[   23.567610] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1\r\n[   23.579825] ath10k_pci 0000:03:00.0: firmware ver 10.1-ct-8x-__xtW-019-395e9f1 api 2 features wmi-10.x,has-wmi-mgmt-tx crc32 7d9c7869\r\n[   23.619610] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2\r\n[   23.630034] ath10k_pci 0000:03:00.0: Falling back to user helper\r\n[   23.670228] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed\r\n[   23.681505] ath10k_pci 0000:03:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08\r\n[   24.553454] ath10k_pci 0000:03:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1\r\n[   24.696850] ath: EEPROM regdomain: 0x6a\r\n[   24.696861] ath: EEPROM indicates we should expect a direct regpair map\r\n[   24.696882] ath: Country alpha2 being used: 00\r\n```\r\n`lspci`:\r\n```\r\n02:00.0 Network controller: Qualcomm Atheros Device 0056\r\n03:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter\r\n```\r\n```\r\n02:00.0 0280: 168c:0056\r\n03:00.0 0280: 168c:003c\r\n```\r\n\r\n[1] I have tested versions `10.4-3.5.1-00014`, `10.4-3.5.3-00053`, `10.4-3.2-00072`, `10.4-3.4-00104` from kvalo's repository, but none of them works. `dmesg` output is the same except the firmware version.\r\n[2] Downloaded from https://downloads.lede-project.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-u7621-06-256M-16M-squashfs-sysupgrade.bin . This links to the latest snapshot, which is usually updated daily. I downloaded on 2018/02/05, which corresponds to r5997-ecc347d."},"comment":{"url":"https://api.github.com/repos/greearb/ath10k-ct/issues/comments/365064820","html_url":"https://github.com/greearb/ath10k-ct/issues/17#issuecomment-365064820","issue_url":"https://api.github.com/repos/greearb/ath10k-ct/issues/17","id":365064820,"user":{"login":"greearb","id":292522,"avatar_url":"https://avatars0.githubusercontent.com/u/292522?v=4","gravatar_id":"","url":"https://api.github.com/users/greearb","html_url":"https://github.com/greearb","followers_url":"https://api.github.com/users/greearb/followers","following_url":"https://api.github.com/users/greearb/following{/other_user}","gists_url":"https://api.github.com/users/greearb/gists{/gist_id}","starred_url":"https://api.github.com/users/greearb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greearb/subscriptions","organizations_url":"https://api.github.com/users/greearb/orgs","repos_url":"https://api.github.com/users/greearb/repos","events_url":"https://api.github.com/users/greearb/events{/privacy}","received_events_url":"https://api.github.com/users/greearb/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T21:17:04Z","updated_at":"2018-02-12T21:17:04Z","author_association":"OWNER","body":"Please try this firmware and send me the full dmesg log of it booting (or crashing), with the ath10k-ct driver.\r\n\r\n[firmware-5-full-community.bin.gz](https://github.com/greearb/ath10k-ct/files/1717748/firmware-5-full-community.bin.gz)\r\n\r\nThanks,\r\nBen\r\n"}}
{"actor":{"display_login":"greearb"}}