greearb / ath10k-ct

Stand-alone ath10k driver based on Candela Technologies Linux kernel.
111 stars 41 forks source link

Driver Crash - Ubuntu Kernel 5.4.0.99 - ATH10K-CT 5.4 Driver #199

Closed nashford77 closed 2 years ago

nashford77 commented 2 years ago

After compiling ok, rebooting etc., no dice on driver load.

[ 7.817813] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x46. [ 7.817834] ath10k_mac_create, priv_size: 1624 hw: 0000000082c9b9d6 hw->priv: 00000000372b5840 [ 7.825682] ath10k_pci 0000:07:00.0: enabling device (0000 -> 0002) [ 7.826187] ath10k_pci 0000:07:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 7.938322] ath10k_pci 0000:07:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [ 7.938324] ath10k_pci 0000:07:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 1 testmode 1 [ 7.938615] ath10k_pci 0000:07:00.0: firmware ver 10.4b-ct-9984-fW-13-774502ee5 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 5ffda406 [ 9.201581] ath10k_pci 0000:07:00.0: board_file api 2 bmi_id 0:31 crc32 85498734 [ 11.676616] ath10k_pci 0000:07:00.0: unsupported HTC service id: 1536 [ 11.676866] ath10k_pci 0000:07:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96 [ 11.676867] ath10k_pci 0000:07:00.0: msdu-desc: 2500 skid: 32 [ 11.755011] ath10k_pci 0000:07:00.0: wmi print 'ChipType 1100 ChipTypeID 0 BoardID 2 P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0' [ 11.755784] ath10k_pci 0000:07:00.0: wmi print 'free: 85084 iram: 18852 sram: 12824' [ 11.913112] ath10k_pci 0000:07:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 32 raw 0 hwcrypto 1 [ 12.100804] Modules linked in: aufs xt_state iptable_raw wireguard xt_MASQUERADE ip6_udp_tunnel udp_tunnel iptable_nat bpfilter overlay nls_iso8859_1 xfs dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua ath10k_pci ath10k_core iwlmvm ath snd_hda_codec_realtek btusb snd_hda_codec_generic btrtl ledtrig_audio btbcm snd_hda_codec_hdmi btintel joydev amd64_edac_mod input_leds edac_mce_amd bluetooth snd_hda_intel snd_intel_dspcfg mac80211 ecdh_generic snd_hda_codec ecc iwlwifi snd_hda_core wmi_bmof snd_hwdep snd_pcm snd_timer snd k10temp soundcore cfg80211 libarc4 mac_hid veth nf_log_ipv6 sch_fq_codel ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt nf_log_ipv4 nf_log_common ipt_REJECT nf_reject_ipv4 openvswitch xt_LOG nsh nf_conncount nf_nat vhost_net xt_limit vhost tap xt_addrtype xt_tcpudp kvm_amd ccp xt_conntrack kvm ip6table_filter ip_vs iptable_filter nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables msr br_netfilter bridge stp llc ip_tables x_tables autofs4 btrfs zstd_compress raid456 [ 12.100856] Workqueue: ath10k_wq ath10k_core_register_work [ath10k_core] [ 12.100895] ath10k_mac_register+0x85a/0xf30 [ath10k_core] [ 12.100900] ath10k_core_register_work+0x32/0x120 [ath10k_core] [ 12.100939] ath10k_pci 0000:07:00.0: failed to register ieee80211: -22 [ 12.102333] ath10k_pci 0000:07:00.0: could not register to mac80211 (-22)

I am trying to now add https://github.com/greearb/ath10k-ct/blob/master/patches/0001-wireless-Relax-beacon_int_min_gcd-and-ADHOC-check.patch

Will report back .... seems strange.

nashford77 commented 2 years ago

The patch fixed me - good to go ;0

nashford77 commented 2 years ago

Even though the driver loads, its performance is very bad - but tracking in another ticket so i will close.