2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/wireless/ath/ath9k
Dmitry Antipov a72eaa1756 wifi: ath9k: cleanup ath9k_hw_get_nf_hist_mid()
In 'ath9k_hw_get_nf_hist_mid()', prefer 'memcpy()' and 'sort()'
over an ad-hoc things. Briefly tested as a separate module.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20250109080703.106692-1-dmantipov@yandex.ru
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-01-10 14:42:51 -08:00
..
ahb.c wifi: Switch back to struct platform_driver::remove() 2024-11-11 14:10:45 +02:00
ani.c
ani.h
antenna.c wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
ar953x_initvals.h
ar955x_1p0_initvals.h
ar956x_initvals.h
ar5008_initvals.h
ar5008_phy.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9001_initvals.h
ar9002_calib.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9002_hw.c wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
ar9002_initvals.h
ar9002_mac.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9002_phy.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9002_phy.h
ar9003_2p2_initvals.h
ar9003_aic.c wifi: ath9k: use clamp() in ar9003_aic_cal_post_process() 2024-09-14 14:45:57 +03:00
ar9003_aic.h
ar9003_buffalo_initvals.h
ar9003_calib.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9003_eeprom.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ar9003_eeprom.h wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9003_hw.c wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
ar9003_mac.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9003_mac.h
ar9003_mci.c wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
ar9003_mci.h
ar9003_paprd.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9003_phy.c wifi: ath9k: use u32 for txgain indexes 2023-09-20 16:16:12 +03:00
ar9003_phy.h wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
ar9003_rtt.c
ar9003_rtt.h
ar9003_wow.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9330_1p1_initvals.h
ar9330_1p2_initvals.h
ar9340_initvals.h
ar9462_2p0_initvals.h
ar9462_2p1_initvals.h
ar9485_initvals.h
ar9565_1p0_initvals.h
ar9565_1p1_initvals.h
ar9580_1p0_initvals.h
ath9k_pci_owl_loader.c wifi: ath9k: remove ath9k_platform_data 2024-09-18 20:01:09 +03:00
ath9k.h wifi: ath9k: simplify internal time management 2024-12-19 09:41:03 -08:00
beacon.c wifi: ath9k: simplify internal time management 2024-12-19 09:41:03 -08:00
btcoex.c wifi: ath9k: btcoex: remove platform_data 2024-09-18 20:01:08 +03:00
btcoex.h
calib.c wifi: ath9k: cleanup ath9k_hw_get_nf_hist_mid() 2025-01-10 14:42:51 -08:00
calib.h
channel.c wifi: ath9k: simplify internal time management 2024-12-19 09:41:03 -08:00
common-beacon.c
common-beacon.h
common-debug.c
common-debug.h
common-init.c wifi: ath9k: Remove unnecessary (void*) conversions 2023-11-29 13:28:05 +02:00
common-init.h
common-spectral.c wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
common-spectral.h
common.c
common.h wifi: ath9k: Remove unused declarations 2023-08-22 16:39:23 +03:00
debug_sta.c mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
debug.c wifi: ath9k: Add RX inactivity detection and reset chip when it occurs 2024-11-19 07:32:16 -08:00
debug.h wifi: ath9k: Add RX inactivity detection and reset chip when it occurs 2024-11-19 07:32:16 -08:00
dfs_debug.c wifi: mac80211: handle ieee80211_radar_detected() for MLO 2024-09-06 13:01:05 +02:00
dfs_debug.h
dfs.c wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
dfs.h
dynack.c
dynack.h
eeprom_4k.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
eeprom_9287.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
eeprom_def.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
eeprom.c wifi: ath9k: eeprom: remove platform data 2024-09-18 20:01:08 +03:00
eeprom.h wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
gpio.c
hif_usb.c wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
hif_usb.h wifi: ath9k_htc: fix format-truncation warning 2023-10-23 20:24:40 +03:00
htc_drv_beacon.c wifi: mac80211: check beacon countdown is complete on per link basis 2024-02-21 15:19:03 +01:00
htc_drv_debug.c wifi: ath9k: Remove error checks when creating debugfs entries 2024-08-07 11:09:11 +03:00
htc_drv_gpio.c
htc_drv_init.c wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete 2024-02-02 13:39:58 +02:00
htc_drv_main.c wifi: mac80211: call rate_control_rate_update() for link STA 2024-10-23 16:43:27 +02:00
htc_drv_txrx.c wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete 2024-02-02 13:39:58 +02:00
htc_hst.c wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service() 2024-09-14 14:46:27 +03:00
htc_hst.h
htc.h wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete 2024-02-02 13:39:58 +02:00
hw-ops.h
hw.c wifi: ath9k: simplify internal time management 2024-12-19 09:41:03 -08:00
hw.h wifi: ath9k: simplify internal time management 2024-12-19 09:41:03 -08:00
init.c wifi: ath9k: remove ath9k_platform_data 2024-09-18 20:01:09 +03:00
Kconfig wifi: mac80211: use wiphy locked debugfs helpers for agg_status 2023-11-27 11:25:01 +01:00
link.c wifi: ath9k: Add RX inactivity detection and reset chip when it occurs 2024-11-19 07:32:16 -08:00
mac.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
mac.h wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
main.c wifi: ath9k: simplify internal time management 2024-12-19 09:41:03 -08:00
Makefile wifi: ath9k: Remove -Warray-bounds exception 2022-10-11 07:39:11 +03:00
mci.c wifi: ath9k: Don't mark channelmap stack variable read-only in ath9k_mci_update_wlan_channels() 2023-04-19 17:24:47 +03:00
mci.h
pci.c Revert "wifi: ath9k: use devm for request_irq()" 2024-08-10 10:21:58 +03:00
phy.h
recv.c wifi: ath9k: cleanup a few (mostly) TX-related routines 2024-12-19 09:41:03 -08:00
reg_aic.h wifi: ath9k: delete some unused/duplicate macros 2023-12-18 20:44:58 +02:00
reg_mci.h
reg_wow.h
reg.h wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
rng.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
tx99.c wifi: ath9k: consistently use kstrtoX_from_user() functions 2023-08-22 16:37:53 +03:00
wmi.c wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete 2024-02-02 13:39:58 +02:00
wmi.h
wow.c wifi: ath9k: miscellaneous spelling fixes 2024-11-12 16:44:54 -08:00
xmit.c wifi: ath9k: cleanup a few (mostly) TX-related routines 2024-12-19 09:41:03 -08:00