OpenCloudOS-Kernel/drivers/net/wireless/ath/ath5k
Peter Seiderer dff39ad93d ath5k: fix ah_txq_isr_txok_all setting
The struct ath5k_hw member ah_txq_isr_txok_all is never reset/assigned
outside of ath5k_hw_get_isr() and with the used bitwise-or in the
interrupt handling accumulates all ever set interrupt flags.

Fix this by clearing ah_txq_isr_txok_all before assigning.

Patch tested with Senao NMP-8602 card

  Qualcomm Atheros AR5413/AR5414 Wireless Network Adapter [AR5006X(S) 802.11abg] (rev 01)
  ath5k: phy6: Atheros AR5413 chip found (MAC: 0xa4, PHY: 0x61)

running IBSS mode against Atheros (ath9k) card using
ping and iperf traffic.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220110223021.17655-5-ps.report@gmx.net
2022-01-17 14:38:27 +02:00
..
Kconfig ath5k: fix building with LEDS=m 2021-09-24 14:08:10 +03:00
Makefile ath: fix SPDX tags 2019-06-26 18:11:06 +03:00
ahb.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
ani.c ath5k: remove conversion to bool in ath5k_ani_calibration() 2020-04-28 12:11:27 +03:00
ani.h
ath5k.h ath5k: remove unused ah_txq_isr_txurn member from struct ath5k_hw 2022-01-17 14:38:26 +02:00
attach.c ath: Remove unnecessary ath_bcast_mac and use eth_broadcast_addr 2018-03-29 12:10:26 +03:00
base.c ath5k: switch to rate table based lookup 2021-12-20 18:02:12 +02:00
base.h
caps.c
debug.c ath5k: convert to use DEFINE_SEQ_ATTRIBUTE macro 2020-09-22 10:46:21 +03:00
debug.h
desc.c locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_ONCE()/WRITE_ONCE() 2017-10-25 11:01:08 +02:00
desc.h
dma.c ath5k: fix ah_txq_isr_txok_all setting 2022-01-17 14:38:27 +02:00
eeprom.c ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111 2022-01-12 10:13:51 +02:00
eeprom.h
gpio.c
initvals.c
led.c ath5k: fix building with LEDS=m 2021-09-24 14:08:10 +03:00
mac80211-ops.c ath: Modify ath_key_delete() to not need full key entry 2020-12-17 08:51:17 +02:00
pci.c ath: switch from 'pci_' to 'dma_' API 2021-07-02 14:39:59 +03:00
pcu.c ath5k: Fix wrong function name in comments 2021-06-15 17:01:24 +03:00
phy.c ath5k: Use fallthrough pseudo-keyword 2020-08-17 13:19:33 +03:00
qcu.c ath5k: remove duplicated re-assignment to pointer 'tq' 2018-02-27 18:45:48 +02:00
reg.h
reset.c ath5k: Use fallthrough pseudo-keyword 2020-08-17 13:19:33 +03:00
rfbuffer.h ath5k: Replace HTTP links with HTTPS ones 2020-08-14 18:06:36 +03:00
rfgain.h
rfkill.c ath5k: convert tasklets to use new tasklet_setup() API 2020-08-27 13:15:25 +03:00
sysfs.c ath5k: replace snprintf in show functions with sysfs_emit 2021-10-18 15:33:42 +03:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00