diff mbox

qca6174 hw2.1 fw and kernel crash on 5GHz network connection attempt

Message ID CA+BoTQks1UZ8x1DiecRwO_xTPCBJSdvPE_mR_i8BHLq_VyQypg@mail.gmail.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Michal Kazior Aug. 6, 2015, 5:03 a.m. UTC
On 5 August 2015 at 15:25, Lapo Calamandrei <calamandrei@gmail.com> wrote:
> Hi,
>
> I have an alienware 17 r2 with a fedora 22 installed, I'm using kvalo
> ath kernel master branch from today, built with fedora rawhide
> 4.2.0-rc4 kernel config. The firmware is made following the
> instructions on the list by the windows drivers.
> I'm using skip_otp=1 on ath10k_core and irq_mode=1 on ath10k_pci
> otherwise I run into the same issues reported by Enrico Tagliavini.
> Everything works reasonably well on my 2.4GHz network, but trying to
> connect to my other 5Ghz I get a firmware crash followed by a kernel
> crash. Attached a dmesg output, feel free to ask any additional info.

There's no kernel crash here. It's just a warning splat with call
trace. This happens because - apparently - the device double-crashed
and got wedged so mac80211 complained verbosely.

The firmware crash itself seems to be related to TxBF. I'm guessing
the firmware wrongly advertises vht capabilities and crashes when
associating to TxBF capable AP.

As a temporary measure (and confirmation) you can try the diff below
(warning, whitespace damaged).


Micha?



        for (i = 0; i < 8; i++) {

Comments

Lapo Calamandrei Aug. 6, 2015, 2:47 p.m. UTC | #1
...and this is the dmesg output with yesterday's build with the patch applied.


2015-08-06 15:52 GMT+02:00 Lapo Calamandrei <calamandrei@gmail.com>:
> Hi Michal, first of all thank you for your time. So, looks like the
> patch provided makes no difference [to me], attached the dmesg output
> with and without the patch applied against a fresh checkout.
>
> Ciao
> Lapo
>
> 2015-08-06 7:03 GMT+02:00 Michal Kazior <michal.kazior@tieto.com>:
[SNIP]
ago 06 16:36:31 localhost.localdomain kernel: wlp3s0: authenticate with 10:bf:48:d8:91:74
ago 06 16:36:31 localhost.localdomain kernel: wlp3s0: send auth to 10:bf:48:d8:91:74 (try 1/3)
ago 06 16:36:31 localhost.localdomain kernel: wlp3s0: authenticated
ago 06 16:36:31 localhost.localdomain kernel: wlp3s0: associate with 10:bf:48:d8:91:74 (try 1/3)
ago 06 16:36:31 localhost.localdomain kernel: wlp3s0: RX AssocResp from 10:bf:48:d8:91:74 (capab=0x11 status=0 aid=2)
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware crashed! (uuid e745169f-b1a4-4197-bf50-fe2358311086)
ago 06 16:36:31 localhost.localdomain kernel: [231B blob data]
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware register dump:
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x000015B3 0x00939797 0x00955B31
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [04]: 0x00939797 0x00060330 0x00000000 0x00000000
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [08]: 0x00413980 0x0000FFFF 0x00000000 0x00000000
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [12]: 0x00000009 0xFFFFFFFF 0x0096C09C 0x0096C0A7
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [16]: 0x0096BDBC 0x009287BD 0x00000000 0x009287BD
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [20]: 0x40939797 0x0041A700 0x00407124 0x00000000
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [24]: 0x8093D6C4 0x0041A760 0x000000A8 0xC0939797
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [28]: 0x8094777F 0x0041A780 0x0046D5D8 0x00000001
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [32]: 0x800AA41F 0x0041A7B0 0x0046D5D8 0x00000001
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [36]: 0x800AA586 0x0041A7D0 0x004246F4 0x00000001
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [40]: 0x80994CC4 0x0041A7F0 0x004246F4 0x0041A838
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [44]: 0x80996CFA 0x0041A820 0x0046F888 0x00412984
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [48]: 0x800B43DD 0x0041A860 0x004221C8 0x00005008
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [52]: 0x809A69BC 0x0041A8F0 0x004291DC 0x0042C8F0
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [56]: 0x809A6010 0x0041A930 0x0041A958 0x00426FE0
ago 06 16:36:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to poke peer 10:bf:48:d8:91:74 param for ps workaround on vdev 0: -108
ago 06 16:36:31 localhost.localdomain kernel: wlp3s0: associated
ago 06 16:36:31 localhost.localdomain kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
ago 06 16:36:31 localhost.localdomain kernel: ieee80211 phy0: Hardware restart was requested
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware crashed! (uuid b3a0ceb0-6985-466a-9370-ffcd9b4ff51f)
ago 06 16:36:33 localhost.localdomain kernel: [231B blob data]
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware register dump:
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x000015B3 0x00939797 0x00955B31
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [04]: 0x00939797 0x00060330 0x00000000 0x00000000
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [08]: 0x00413980 0x0000FFFF 0x00000000 0x00000000
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [12]: 0x00000009 0xFFFFFFFF 0x0096C09C 0x0096C0A7
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [16]: 0x0096BDBC 0x009287BD 0x00000000 0x00000000
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [20]: 0x40939797 0x0041A700 0x00407124 0x00000000
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [24]: 0x8093D6C4 0x0041A760 0x000000A8 0xC0939797
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [28]: 0x8094777F 0x0041A780 0x0046D5D8 0x00000001
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [32]: 0x800AA41F 0x0041A7B0 0x0046D5D8 0x00000001
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [36]: 0x800AA586 0x0041A7D0 0x004246F4 0x00000001
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [40]: 0x80994CC4 0x0041A7F0 0x004246F4 0x0041A838
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [44]: 0x80996CFA 0x0041A820 0x0046F888 0x00412984
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [48]: 0x800B43DD 0x0041A860 0x004221C8 0x00005008
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [52]: 0x809A69BC 0x0041A8F0 0x004291DC 0x0042C8F0
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [56]: 0x809A6010 0x0041A930 0x0041A954 0x00426FE0
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set vdev 0 up: -108
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set 2g txpower 0: -108
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to setup tx power 0: -108
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to recalc tx power: -108
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set PS Mode 0 for vdev 0: -108
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to setup powersave: -108
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to setup ps on vdev 0: -108
ago 06 16:36:33 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: device successfully recovered
ago 06 16:36:33 localhost.localdomain kernel: ieee80211 phy0: Hardware restart was requested
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware crashed! (uuid 4ab5a35b-c3c3-441e-80fb-30d36c384ecf)
ago 06 16:36:34 localhost.localdomain kernel: [231B blob data]
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware register dump:
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x000015B3 0x00939797 0x00955B31
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [04]: 0x00939797 0x00060330 0x00000000 0x00000000
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [08]: 0x00413980 0x0000FFFF 0x00000000 0x00000000
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [12]: 0x00000009 0xFFFFFFFF 0x0096C09C 0x0096C0A7
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [16]: 0x0096BDBC 0x009287BD 0x00000000 0x00000000
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [20]: 0x40939797 0x0041A700 0x00407124 0x00000000
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [24]: 0x8093D6C4 0x0041A760 0x000000A8 0xC0939797
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [28]: 0x8094777F 0x0041A780 0x0046D5D8 0x00000001
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [32]: 0x800AA41F 0x0041A7B0 0x0046D5D8 0x00000001
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [36]: 0x800AA586 0x0041A7D0 0x004246F4 0x00000001
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [40]: 0x80994CC4 0x0041A7F0 0x004246F4 0x0041A838
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [44]: 0x80996CFA 0x0041A820 0x0046F888 0x00412984
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [48]: 0x800B43DD 0x0041A860 0x004221C8 0x00005008
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [52]: 0x809A69BC 0x0041A8F0 0x004291DC 0x0042C8F0
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [56]: 0x809A6010 0x0041A930 0x0041A954 0x00426FE0
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set vdev 0 up: -108
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set 2g txpower 0: -108
ago 06 16:36:34 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: device successfully recovered
ago 06 16:36:34 localhost.localdomain kernel: ieee80211 phy0: Hardware restart was requested
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware crashed! (uuid f2e68ed7-8abc-44b7-80e7-710dbf811507)
ago 06 16:36:36 localhost.localdomain kernel: [231B blob data]
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware register dump:
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x000015B3 0x00939797 0x00955B31
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [04]: 0x00939797 0x00060330 0x00000000 0x00000000
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [08]: 0x00413980 0x0000FFFF 0x00000000 0x00000000
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [12]: 0x00000009 0xFFFFFFFF 0x0096C09C 0x0096C0A7
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [16]: 0x0096BDBC 0x009287BD 0x00000000 0x00000000
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [20]: 0x40939797 0x0041A700 0x00407124 0x00000000
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [24]: 0x8093D6C4 0x0041A760 0x000000A8 0xC0939797
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [28]: 0x8094777F 0x0041A780 0x0046D5D8 0x00000001
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [32]: 0x800AA41F 0x0041A7B0 0x0046D5D8 0x00000001
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [36]: 0x800AA586 0x0041A7D0 0x004246F4 0x00000001
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [40]: 0x80994CC4 0x0041A7F0 0x004246F4 0x0041A838
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [44]: 0x80996CFA 0x0041A820 0x0046F888 0x00412984
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [48]: 0x800B43DD 0x0041A860 0x004221C8 0x00005008
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [52]: 0x809A69BC 0x0041A8F0 0x004291DC 0x0042C8F0
ago 06 16:36:36 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: [56]: 0x809A6010 0x0041A930 0x0041A954 0x00426FE0
ago 06 16:36:41 localhost.localdomain kernel: wlp3s0: deauthenticating from 10:bf:48:d8:91:74 by local choice (Reason: 3=DEAUTH_LEAVING)
ago 06 16:36:41 localhost.localdomain kernel: ath10k_warn: 13 callbacks suppressed
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to delete peer 10:bf:48:d8:91:74 for vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: ------------[ cut here ]------------
ago 06 16:36:41 localhost.localdomain kernel: WARNING: CPU: 1 PID: 1051 at net/mac80211/sta_info.c:922 __sta_info_destroy_part2+0x1a9/0x1c0 [mac80211]()
ago 06 16:36:41 localhost.localdomain kernel: Modules linked in: bnep fuse xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast arc4 ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw ath10k_pci ath10k_core ath vfat fat mac80211 snd_hda_codec_hdmi x86_pkg_temp_thermal snd_hda_codec_ca0132 coretemp kvm_intel snd_soc_rt5640 snd_soc_rl6231 snd_soc_core snd_hda_intel kvm snd_hda_codec uvcvideo iTCO_wdt snd_hda_core dell_wmi iTCO_vendor_support sparse_keymap snd_compress snd_pcm_dmaengine
ago 06 16:36:41 localhost.localdomain kernel:  snd_hwdep ac97_bus snd_seq videobuf2_vmalloc ath3k videobuf2_core btusb videobuf2_memops crct10dif_pclmul btrtl btbcm crc32_pclmul btintel snd_seq_device crc32c_intel v4l2_common rtsx_pci_ms cfg80211 bluetooth snd_pcm videodev ghash_clmulni_intel memstick mei_me snd_timer pcspkr joydev media mei shpchp snd lpc_ich i2c_i801 acpi_als nfsd kfifo_buf snd_soc_sst_acpi int3403_thermal soundcore dell_rbtn int3402_thermal dw_dmac int340x_thermal_zone industrialio i2c_designware_platform dw_dmac_core int3400_thermal i2c_designware_core rfkill acpi_thermal_rel acpi_pad auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch hid_logitech_hidpp nouveau i915 ttm i2c_algo_bit drm_kms_helper drm 8021q rtsx_pci_sdmmc rtsx_pci garp stp llc mrp sdhci_acpi sdhci mxm_wmi mmc_core alx serio_raw mdio wmi video
ago 06 16:36:41 localhost.localdomain kernel:  i2c_hid hid_logitech_dj
ago 06 16:36:41 localhost.localdomain kernel: CPU: 1 PID: 1051 Comm: wpa_supplicant Not tainted 4.2.0-rc4-old-wl-ath+ #1
ago 06 16:36:41 localhost.localdomain kernel: Hardware name: Alienware Alienware 17 R2/Alienware 17 R2, BIOS A05 06/17/2015
ago 06 16:36:41 localhost.localdomain kernel:  0000000000000000 00000000ca4f1625 ffff88041a0874a8 ffffffff81768491
ago 06 16:36:41 localhost.localdomain kernel:  0000000000000000 0000000000000000 ffff88041a0874e8 ffffffff8109b676
ago 06 16:36:41 localhost.localdomain kernel:  ffff88041065e000 ffff88041065e000 ffff88003df806e0 ffff88041a087508
ago 06 16:36:41 localhost.localdomain kernel: Call Trace:
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff81768491>] dump_stack+0x45/0x57
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8109b676>] warn_slowpath_common+0x86/0xc0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8109b7aa>] warn_slowpath_null+0x1a/0x20
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffffa0b7a479>] __sta_info_destroy_part2+0x1a9/0x1c0 [mac80211]
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffffa0b7a760>] __sta_info_flush+0x100/0x1b0 [mac80211]
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffffa0bbf4ea>] ieee80211_set_disassoc+0xba/0x3d0 [mac80211]
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffffa0bc4a38>] ieee80211_mgd_deauth+0xf8/0x280 [mac80211]
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffffa0b8e6d8>] ieee80211_deauth+0x18/0x20 [mac80211]
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffffa07c4ca2>] cfg80211_mlme_deauth+0xd2/0x130 [cfg80211]
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffffa07aa6b7>] nl80211_deauthenticate+0x127/0x170 [cfg80211]
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8168c821>] genl_family_rcv_msg+0x1b1/0x3c0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8168ca30>] ? genl_family_rcv_msg+0x3c0/0x3c0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8168caa6>] genl_rcv_msg+0x76/0xb0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8168bfa8>] netlink_rcv_skb+0xa8/0xd0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8168c65c>] genl_rcv+0x2c/0x40
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8168b777>] netlink_unicast+0x127/0x1a0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8168bc97>] netlink_sendmsg+0x4a7/0x600
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8163b638>] sock_sendmsg+0x38/0x50
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8163bfcb>] ___sys_sendmsg+0x28b/0x2a0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff81255326>] ? fsnotify+0x316/0x4a0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8163ca87>] __sys_sendmsg+0x57/0xa0
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8163cae2>] SyS_sendmsg+0x12/0x20
ago 06 16:36:41 localhost.localdomain kernel:  [<ffffffff8176ebae>] entry_SYSCALL_64_fastpath+0x12/0x71
ago 06 16:36:41 localhost.localdomain kernel: ---[ end trace e8c99095918e590f ]---
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to recalculate rts/cts prot for vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set protection mode 0 on vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set erp slot for vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set preamble for vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: faield to down vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to submit vdev param txbf 0x0: -108
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to recalc txbf for vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set vdev wmm params on vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to set vdev wmm params on vdev 0: -108
ago 06 16:36:41 localhost.localdomain kernel: cfg80211: World regulatory domain updated:
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:  DFS Master region: unset
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211: Regulatory domain changed to country: IT
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:  DFS Master region: ETSI
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
ago 06 16:36:41 localhost.localdomain kernel: cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
ago 06 16:36:46 localhost.localdomain kernel: ath10k_warn: 9 callbacks suppressed
ago 06 16:36:46 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:47 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:48 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:49 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:50 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:51 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:52 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:54 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:55 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:56 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:57 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:58 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:36:59 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:37:00 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:37:01 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:37:02 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:37:03 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:37:04 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to start hw scan: -108
ago 06 16:37:04 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to delete WMI vdev 1: -108
ago 06 16:37:04 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to delete WMI vdev 0: -108
ago 06 16:37:04 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: removing stale peer 10:bf:48:d8:91:74 from vdev_id 0
ago 06 16:37:04 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: could not suspend target (-108)
diff mbox

Patch

--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -6732,23 +6732,10 @@  static struct ieee80211_sta_vht_cap
ath10k_create_vht_cap(struct ath10k *ar)
        vht_cap.vht_supported = 1;
        vht_cap.cap = ar->vht_cap_info;

-       if (ar->vht_cap_info & (IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE |
-                               IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE)) {
-               val = ar->num_rf_chains - 1;
-               val <<= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT;
-               val &= IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK;
-
-               vht_cap.cap |= val;
-       }
-
-       if (ar->vht_cap_info & (IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE |
-                               IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE)) {
-               val = ar->num_rf_chains - 1;
-               val <<= IEEE80211_VHT_CAP_SOUNDING_DIMENSIONS_SHIFT;
-               val &= IEEE80211_VHT_CAP_SOUNDING_DIMENSIONS_MASK;
-
-               vht_cap.cap |= val;
-       }
+       ar->vht_cap_info &= ~(IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE |
+                             IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE |
+                             IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE |
+                             IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE);

        mcs_map = 0;