1. 07 Nov, 2020 18 commits
    • Lee Jones's avatar
      ath: dfs_pri_detector: Demote zero/half completed kernel-doc headers · 748d2507
      Lee Jones authored
      There are only a couple of these and none of them are conformant.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/net/wireless/ath/dfs_pri_detector.c:39: warning: Function parameter or member 'head' not described in 'pulse_elem'
       drivers/net/wireless/ath/dfs_pri_detector.c:46: warning: Function parameter or member 'val' not described in 'pde_get_multiple'
       drivers/net/wireless/ath/dfs_pri_detector.c:46: warning: Function parameter or member 'fraction' not described in 'pde_get_multiple'
       drivers/net/wireless/ath/dfs_pri_detector.c:46: warning: Function parameter or member 'tolerance' not described in 'pde_get_multiple'
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201102112410.1049272-23-lee.jones@linaro.org
      748d2507
    • Lee Jones's avatar
      ath: dfs_pattern_detector: Fix some function kernel-doc headers · 206cd580
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/net/wireless/ath/dfs_pattern_detector.c:34: warning: Function parameter or member 'region' not described in 'radar_types'
       drivers/net/wireless/ath/dfs_pattern_detector.c:141: warning: Function parameter or member 'region' not described in 'get_dfs_domain_radar_types'
       drivers/net/wireless/ath/dfs_pattern_detector.c:239: warning: Function parameter or member 'dpd' not described in 'channel_detector_get'
       drivers/net/wireless/ath/dfs_pattern_detector.c:239: warning: Function parameter or member 'freq' not described in 'channel_detector_get'
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201102112410.1049272-22-lee.jones@linaro.org
      206cd580
    • Lee Jones's avatar
      ath: regd: Provide description for ath_reg_apply_ir_flags's 'reg' param · aed7ee04
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/net/wireless/ath/regd.c:378: warning: Function parameter or member 'reg' not described in 'ath_reg_apply_ir_flags'
      
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201102112410.1049272-20-lee.jones@linaro.org
      aed7ee04
    • Lavanya Suresh's avatar
      ath11k: Add new dfs region name for JP · 47f1a84e
      Lavanya Suresh authored
      Japan has new Radar types as per latest regulatory,
      included under MKK_N in FW. So adding new enum in
      ath11k to support it.
      
      Tested-on: IPQ8074 hw2.0 PCI WLAN.HK.2.4.0.1-00041-QCAHKSWPL_SILICONZ-1
      Signed-off-by: default avatarLavanya Suresh <lavaks@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1604563475-5782-1-git-send-email-lavaks@codeaurora.org
      47f1a84e
    • Karthikeyan Periyasamy's avatar
      ath11k: fix wmi init configuration · 36c7c640
      Karthikeyan Periyasamy authored
      Assign the correct hw_op ath11k_init_wmi_config_ipq8074 to
      the hw IPQ8074. Also update the correct TWT radio count.
      Incorrect TWT radio count cause TWT feature fails on radio2
      because physical device count is hardcoded to 2. so set
      the value dynamically.
      
      Found this during code review.
      
      Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
      
      Fixes: 2d4bcbed ("ath11k: initialize wmi config based on hw_params")
      Signed-off-by: default avatarKarthikeyan Periyasamy <periyasa@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1604512020-25197-1-git-send-email-periyasa@codeaurora.org
      36c7c640
    • Karthikeyan Periyasamy's avatar
      ath11k: Fix the hal descriptor mask · ab041d06
      Karthikeyan Periyasamy authored
      Below listed hal descriptor mask are incorrect, so modify it to correct one
       - CE destination status description meta info mask is increased from
         8 bits to 16 bits from the 0th bit position
       - Rx Reo queue duplicate count mask is decreased from 22 bits to 16 bits
       - Reo threshold status counter sum mask is increased from 24 bits to 26 bits
      
      No functionality impact, these descriptors are currently not used in any
      supported platform. But in future if someone referred these descriptor then
      ended with wrong values.
      
      Found this during code review.
      
      Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
      Signed-off-by: default avatarKarthikeyan Periyasamy <periyasa@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1604511921-24840-1-git-send-email-periyasa@codeaurora.org
      ab041d06
    • Karthikeyan Periyasamy's avatar
      ath11k: Fix single phy hw mode · 9fb13b81
      Karthikeyan Periyasamy authored
      driver not able to bootup in the single radio configured board.
      single phy hw mode is converted to invalid hw mode and sent to FW
      through wmi init cmd. In that case driver is not receiving wmi
      ready event which leads to driver bootup fail. single phy hw mode
      is a valid for single radio configured board. so removed the
      conversion logic.
      
      Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
      Signed-off-by: default avatarKarthikeyan Periyasamy <periyasa@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1604511331-22477-1-git-send-email-periyasa@codeaurora.org
      9fb13b81
    • Sven Eckelmann's avatar
      ath11k: Fix number of rules in filtered ETSI regdomain · 6189be7d
      Sven Eckelmann authored
      The ath11k code will try to insert wheather rader related limits when the
      DFS region is set to ETSI. For this reason, it will add two more entries in
      the array of reg_rules. But the 2.4.0.1 firmware is prefiltering the list
      of reg rules it returns for 2.4GHz PHYs. They will then not contain the
      list of 5GHz rules and thus no wheather radar band rules were inserted by
      this code.
      
      But the code didn't fix the n_reg_rules for this regulatory domain and PHY
      when this happened. This resulted in a rejection by is_valid_rd because it
      found rules which start and end at 0khz. This resulted in a splat like:
      
        Invalid regulatory domain detected
        ------------[ cut here ]------------
        WARNING: at backports-20200628-4.4.60-9a94b73e75/net/wireless/reg.c:3721
        [...]
        ath11k c000000.wifi1: failed to perform regd update : -22
      
      The number of rules must therefore be saved after they were converted from
      the ath11k format to the ieee80211_regdomain format and not before.
      
      Tested with IPQ8074 WLAN.HK.2.4.0.1.r1-00019-QCAHKSWPL_SILICONZ-1
      
      Fixes: d5c65159 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201030101940.2387952-1-sven@narfation.org
      6189be7d
    • Govind Singh's avatar
      ath11k: Remove unused param from wmi_mgmt_params · ff34107c
      Govind Singh authored
      qdf_ctx is not used in wmi_mgmt_params, remove this
      un-used variable.
      
      Compile tested only.
      Signed-off-by: default avatarGovind Singh <govinds@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1603339175-12706-1-git-send-email-govinds@codeaurora.org
      ff34107c
    • Sven Eckelmann's avatar
      ath11k: Initialize complete alpha2 for regulatory change · 383a32cd
      Sven Eckelmann authored
      The function ath11k_wmi_send_init_country_cmd is taking 3 byte from alpha2
      of the structure wmi_init_country_params. But the function
      ath11k_reg_notifier is only initializing 2 bytes. The third byte is
      therefore always an uninitialized value.
      
      The command can happen to look like
      
        0c 00 87 02 01 00 00 00 00 00 00 00 43 41 f8 00
      
      instead of
      
        0c 00 87 02 01 00 00 00 00 00 00 00 43 41 00 00
      
      Tested-on: IPQ8074 hw2.0 WLAN.HK.2.1.0.1-01161-QCAHKSWPL_SILICONZ-1
      Tested-on: IPQ8074 hw2.0 WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1
      Tested-on: IPQ8074 hw2.0 WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
      Tested-on: IPQ8074 hw2.0 WLAN.HK.2.4.0.1.r1-00019-QCAHKSWPL_SILICONZ-1
      Tested-on: IPQ8074 hw2.0 WLAN.HK.2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2
      
      Fixes: d5c65159 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201021140555.4114715-1-sven@narfation.org
      383a32cd
    • Govindaraj Saminathan's avatar
      ath11k: cold boot calibration support · 02f9d3c1
      Govindaraj Saminathan authored
      cold boot calibration is the process to calibrate all the channels
      during the boot-up to avoid the calibration delay during the
      channel change.
      During the boot-up, firmware started in cold boot calibration mode
      Firmware calibrate all channels and generate CalDb(DDR).
      Subsequent wifi bringup will reuse the same CalDb.
      Firmware is restarted in normal mode to continue the normal operation.
      
      caldb memory address send to firmware through the QMI message.Firmware
      use this address to store the caldb data and use it until next reboot.
      
      This will give the improvement during the channel change. But it is
      increasing the boot-up time(up to 15sec depend on number of radios).
      So if the user want to reduce the boot-up time and accepting for channel
      change delay, user can disable this feature using the module param
      cold_boot_cal=0.
      
      Tested-on: IPQ8074 WLAN.HK.2.4.0.1-01162-QCAHKSWPL_SILICONZ-1
      Signed-off-by: default avatarGovindaraj Saminathan <gsamin@codeaurora.org>
      Co-developed-by: default avatarSowmiya Sree Elavalagan <ssreeela@codeaurora.org>
      Signed-off-by: default avatarSowmiya Sree Elavalagan <ssreeela@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1602862111-14063-1-git-send-email-ssreeela@codeaurora.org
      02f9d3c1
    • Sven Eckelmann's avatar
      ath11k: search DT for qcom,ath11k-calibration-variant · 14f43c5f
      Sven Eckelmann authored
      Board Data File (BDF) is loaded upon driver boot-up procedure. The right
      board data file is identified on IPQ6018 using bus, qmi-chip-id and
      qmi-board-id.
      
      The problem, however, can occur when the (default) board data file cannot
      fulfill with the vendor requirements and it is necessary to use a different
      board data file.
      
      This problem was already solved on ath10k by adding a ",variant=.*" at the
      end of the board name. The same functionality must also be provided for
      ath11k.
      
      The device tree requires an additional string to define the variant name
      
          wifi@c000000 {
              status = "okay";
              qcom,ath11k-calibration-variant = "Cigtech-WF-188";
          };
      
      This would create the boarddata identifier for the board-2.bin search
      
       *  bus=ahb,qmi-chip-id=0,qmi-board-id=18,variant=Cigtech-WF-188
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201015131501.1939685-2-sven@narfation.org
      14f43c5f
    • Sven Eckelmann's avatar
      dt: bindings: add new dt entry for ath11k calibration variant · 77581df8
      Sven Eckelmann authored
      The bus + qmi-chip-id + qmi-board-id is not enough to identify the correct
      board data file on IPQ6018 based devices. Multiple different boards share
      the same values. Only the original reference designs can currently be
      identified and loaded from the board-2.bin. But these will not result in
      the correct calibration data when combined with the pre-calibration data
      from the device.
      
      An additional "variant" information has to be provided to select the
      correct board data for a design which was modified by an ODM. This follows
      the same approach as ath10k.
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201015131501.1939685-1-sven@narfation.org
      77581df8
    • Vasanthakumar Thiagarajan's avatar
      ath11k: Remove unnecessary data sync to cpu on monitor buffer · bafdbd79
      Vasanthakumar Thiagarajan authored
      Monitor ring Rx buffer is not really modified between dma map
      and unmap. So remove the unnecssary data sync before dma unmap.
      This does not fix any visible issue, found in code review.
      
      Compile tested only.
      Signed-off-by: default avatarVasanthakumar Thiagarajan <vthiagar@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1602744454-22969-1-git-send-email-vthiagar@codeaurora.org
      bafdbd79
    • Allen Pais's avatar
      ath11k: convert tasklets to use new tasklet_setup() API · 0f01dcb8
      Allen Pais authored
      In preparation for unconditionally passing the
      struct tasklet_struct pointer to all tasklet
      callbacks, switch to using the new tasklet_setup()
      and from_tasklet() to pass the tasklet pointer explicitly.
      Signed-off-by: default avatarRomain Perier <romain.perier@gmail.com>
      Signed-off-by: default avatarAllen Pais <apais@linux.microsoft.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201007103309.363737-4-allen.lkml@gmail.com
      0f01dcb8
    • Wen Gong's avatar
      ath10k: cancel rx worker in hif_stop for SDIO · 9501bc2b
      Wen Gong authored
      The rx worker of SDIO should be cancelled after disable interrupt, and
      release rx sk_buff in queue, otherwise the rx worker maybe still run
      after hif_stop. And it should be cancelled before napi_synchronize in
      hif_stop, because the rx worker of SDIO will call napi_schedule, it
      should have no napi_schedule before napi_synchronize, otherwise it
      lead napi_synchronize wait untill napi_complete.
      
      Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00049
      Signed-off-by: default avatarWen Gong <wgong@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1604558036-4056-1-git-send-email-wgong@codeaurora.org
      9501bc2b
    • Ben Greear's avatar
      ath10k: Don't iterate over not-sdata-in-driver interfaces. · ee06fcb9
      Ben Greear authored
      This fixes possible crash scenario where interfaces that were not
      set up in the driver yet might still be iterated over.  When originally
      debugged on the ath10k-ct driver, the crash looked like this:
      
      kernel BUG at /home/greearb/git/linux-4.7.dev.y/drivers/net/wireless/ath/ath10k/wmi.c:1781!
      invalid opcode: 0000 [#1] PREEMPT SMP KASAN
      Modules linked in: nf_conntrack_netlink nf_conntrack nfnetlink nf_defrag_ipv4 bridge carl9170 mac80211_hwsim ath10k_pci ath10k_core ath5k ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 8021q garp mrp stp llc bnep bluetooth fuse macvlan pktgen rpcsec_gss_krb5 nfsv4 nfs fscache snd_hda_codec_hdmi coretemp hwmon intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek snd_hda_codec_generic kvm iTCO_wdt irqbypass iTCO_vendor_support joydev snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq snd_seq_device pcspkr snd_pcm snd_timer shpchp snd i2c_i801 lpc_ich soundcore tpm_tis tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc i915 serio_raw i2c_algo_bit drm_kms_helper ata_generic e1000e pata_acpi drm ptp pps_core i2c_core fjes video ipv6 [last unloaded: nf_conntrack]
      CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.7.10+ #15
      Hardware name: To be filled by O.E.M. To be filled by O.E.M./ChiefRiver, BIOS 4.6.5 06/07/2013
      task: ffff8801d4f20000 ti: ffff8801d4f28000 task.ti: ffff8801d4f28000
      RIP: 0010:[<ffffffffa0efbcfb>]  [<ffffffffa0efbcfb>] ath10k_wmi_tx_beacons_iter+0x28b/0x290 [ath10k_core]
      RSP: 0018:ffff8801d6447a98  EFLAGS: 00010293
      RAX: 0000000000000018 RBX: ffff8801ce97e1d8 RCX: 0000000000000000
      RDX: 0000000000000018 RSI: 0000000000000003 RDI: ffffed003ac88f49
      RBP: ffff8801d6447af0 R08: 0000000000000003 R09: 0000000000000000
      R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
      R13: ffff8801ce97e320 R14: ffff8801ce97e378 R15: ffff8801ce97ca40
      FS:  0000000000000000(0000) GS:ffff8801d6440000(0000) knlGS:0000000000000000
      CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      CR2: 00007eff191ef1ab CR3: 000000000260a000 CR4: 00000000001406e0
      Stack:
       1ffff1003ac88f59 0000000041b58ab3 ffffffffa0f4d52a ffff8801d4f20000
       0000000000000246 0000000000000002 ffff8801ce97e1d8 ffff8801bd5d39b8
       0000000000000002 0000000000000001 ffff8801ce97ca40 ffff8801d6447b48
      Call Trace:
       <IRQ>
       [<ffffffffa0d03e5c>] __iterate_interfaces+0xfc/0x1d0 [mac80211]
       [<ffffffffa0efba70>] ? ath10k_wmi_cmd_send_nowait+0x260/0x260 [ath10k_core]
       [<ffffffffa0efba70>] ? ath10k_wmi_cmd_send_nowait+0x260/0x260 [ath10k_core]
       [<ffffffffa0d04477>] ieee80211_iterate_active_interfaces_atomic+0x67/0x100 [mac80211]
       [<ffffffffa0d04410>] ? ieee80211_handle_reconfig_failure+0x140/0x140 [mac80211]
       [<ffffffffa0ef4060>] ? ath10k_tpc_config_disp_tables+0x620/0x620 [ath10k_core]
       [<ffffffffa0ef408b>] ath10k_wmi_op_ep_tx_credits+0x2b/0x50 [ath10k_core]
       [<ffffffffa0ee2fd2>] ath10k_htc_rx_completion_handler+0x422/0x5c0 [ath10k_core]
       [<ffffffffa0b4301e>] ath10k_pci_process_rx_cb+0x37e/0x430 [ath10k_pci]
       [<ffffffffa0ee2bb0>] ? ath10k_htc_build_tx_ctrl_skb+0xc0/0xc0 [ath10k_core]
       [<ffffffffa0b42ca0>] ? ath10k_pci_rx_post_pipe+0x550/0x550 [ath10k_pci]
       [<ffffffff8120cbe5>] ? debug_lockdep_rcu_enabled+0x35/0x40
       [<ffffffff811e1893>] ? mark_held_locks+0x23/0xc0
       [<ffffffff8116019a>] ? __local_bh_enable_ip+0x6a/0xd0
       [<ffffffff811e1abb>] ? trace_hardirqs_on_caller+0x18b/0x290
       [<ffffffff811e1bcd>] ? trace_hardirqs_on+0xd/0x10
       [<ffffffff8116019a>] ? __local_bh_enable_ip+0x6a/0xd0
       [<ffffffff81df11d0>] ? _raw_spin_unlock_bh+0x30/0x40
       [<ffffffffa0b4902e>] ? ath10k_ce_per_engine_service+0xee/0x100 [ath10k_pci]
       [<ffffffffa0b43139>] ath10k_pci_htt_htc_rx_cb+0x29/0x30 [ath10k_pci]
       [<ffffffffa0b48fe6>] ath10k_ce_per_engine_service+0xa6/0x100 [ath10k_pci]
       [<ffffffffa0b49116>] ath10k_ce_per_engine_service_any+0xd6/0xf0 [ath10k_pci]
       [<ffffffffa0b45800>] ? ath10k_pci_enable_legacy_irq+0xe0/0xe0 [ath10k_pci]
       [<ffffffffa0b4585f>] ath10k_pci_tasklet+0x5f/0xb0 [ath10k_pci]
       [<ffffffff81160445>] tasklet_action+0x245/0x2b0
       [<ffffffff81df4831>] __do_softirq+0x181/0x595
       [<ffffffff8116137c>] irq_exit+0xbc/0xc0
       [<ffffffff81df423c>] do_IRQ+0x7c/0x150
       [<ffffffff81df23cc>] common_interrupt+0x8c/0x8c
       <EOI>
       [<ffffffff811e1abb>] ? trace_hardirqs_on_caller+0x18b/0x290
       [<ffffffff81b722ae>] ? cpuidle_enter_state+0x1ae/0x4b0
       [<ffffffff81b722a7>] ? cpuidle_enter_state+0x1a7/0x4b0
       [<ffffffff81b72602>] cpuidle_enter+0x12/0x20
       [<ffffffff811d0b6e>] call_cpuidle+0x4e/0x90
       [<ffffffff811d10e7>] cpu_startup_entry+0x3f7/0x540
       [<ffffffff811d0cf0>] ? default_idle_call+0x50/0x50
       [<ffffffff81234bdf>] ? clockevents_config_and_register+0x5f/0x70
       [<ffffffff81085a9a>] ? setup_APIC_timer+0xfa/0x110
       [<ffffffff81083b63>] start_secondary+0x253/0x2b0
       [<ffffffff81083910>] ? set_cpu_sibling_map+0x920/0x920
      Code: 4d 49 e0 8b b3 48 01 00 00 48 c7 c7 a0 ee f3 a0 e8 d9 c2 3f e0 49 81 fd 3f 1f 00 00 76 0f 49 81 fc 3f 1f 00 00 0f 87 c0 fd ff ff <0f> 0b 0f 0b 90 55 48 89 e5 41 57 41 56 48 8d 85 58 ff ff ff 41
      RIP  [<ffffffffa0efbcfb>] ath10k_wmi_tx_beacons_iter+0x28b/0x290 [ath10k_core]
       RSP <ffff8801d6447a98>
      ---[ end trace 6588464714e5163a ]---
      
      Similar logic was tested for years in ath10k-ct driver and various firmware.
      
      Also tested with stock kernel plus this patch, with firmware
      10.2.4-1.0-00037
      
      This test case was to bring up 5 vap on a radio and fake a firmware
      crash.  Make sure ap interfaces continue to function properly.
      Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20200922191957.25257-2-greearb@candelatech.com
      ee06fcb9
    • Tamizh Chelvam's avatar
      ath10k: fix compilation warning · b9162645
      Tamizh Chelvam authored
      This change fixes below compilation warning.
      
      smatch warnings:
       drivers/net/wireless/ath/ath10k/mac.c:9125 ath10k_mac_op_set_tid_config() error: uninitialized symbol 'ret'.
      
      No functional changes. Compile tested only.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarTamizh Chelvam <tamizhr@codeaurora.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/1604507837-29361-1-git-send-email-tamizhr@codeaurora.org
      b9162645
  2. 06 Nov, 2020 2 commits
  3. 28 Oct, 2020 3 commits
  4. 25 Oct, 2020 17 commits