1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/ath/ath9k
Toke Høiland-Jørgensen b956e3110a wifi: ath9k: Don't mark channelmap stack variable read-only in ath9k_mci_update_wlan_channels()
This partially reverts commit e161d4b60a.

Turns out the channelmap variable is not actually read-only, it's modified
through the MCI_GPM_CLR_CHANNEL_BIT() macro further down in the function,
so making it read-only causes page faults when that code is hit.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=217183
Fixes: e161d4b60a ("wifi: ath9k: Make arrays prof_prio and channelmap static const")
Cc: stable@vger.kernel.org
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230413214118.153781-1-toke@toke.dk
2023-04-19 17:24:47 +03:00
..
ahb.c ath9k: Remove unnecessary print function dev_err() 2022-04-12 16:13:43 +03:00
ani.c ath9k: Replace HTTP links with HTTPS ones 2020-08-14 17:44:14 +03:00
ani.h
antenna.c ath9k: fix RX_STAT_INC() etc macros 2018-10-13 20:27:35 +03:00
ar953x_initvals.h
ar955x_1p0_initvals.h
ar956x_initvals.h
ar5008_initvals.h ath9k: ar5008_initvals: Move ar5416Bank{0,1,2,3,7} to where they are used 2020-08-27 13:17:40 +03:00
ar5008_phy.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9001_initvals.h ath9k: ar9001_initvals: Remove unused array 'ar5416Bank6_9100' 2020-08-27 13:17:35 +03:00
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: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9002_initvals.h ath9k: ar9002_initvals: Remove unused array 'ar9280PciePhy_clkreq_off_L1_9280' 2020-08-27 13:17:32 +03:00
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 ath9k_hw: fix spectral scan on AR9285 and newer 2016-07-19 20:58:07 +03:00
ar9003_2p2_initvals.h ath9k: ar9003_2p2_initvals: Remove unused const variables 2020-11-07 10:07:48 +02:00
ar9003_aic.c ath9k: use true,false for bool variable 2020-01-26 12:19:02 +02: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 wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02: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: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02: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: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02: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: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
ar9003_phy.h wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02: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 ath9k: ar9330_1p1_initvals: Remove unused const variable 'ar9331_common_tx_gain_offset1_1' 2020-11-07 10:07:39 +02:00
ar9330_1p2_initvals.h
ar9340_initvals.h ath9k: ar9340_initvals: Remove unused const variable 'ar9340Modes_ub124_tx_gain_table_1p0' 2020-11-07 10:07:42 +02:00
ar9462_2p0_initvals.h
ar9462_2p1_initvals.h
ar9485_initvals.h ath9k: ar9485_initvals: Remove unused const variable 'ar9485_fast_clock_1_1_baseband_postamble' 2020-11-07 10:07:45 +02:00
ar9565_1p0_initvals.h
ar9565_1p1_initvals.h
ar9580_1p0_initvals.h ath9k: Remove set but not used variable 2020-09-29 11:29:20 +03:00
ath9k.h wifi: Use kstrtobool() instead of strtobool() 2022-11-08 09:39:04 +02:00
ath9k_pci_owl_loader.c ath9k: owl-loader: fetch pci init values through nvmem 2021-09-16 11:07:41 +03:00
beacon.c wifi: mac80211: return a beacon for a specific link 2022-06-20 12:57:08 +02:00
btcoex.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
btcoex.h ath9k: fix BTCoex configuration for SOC chips 2016-03-11 14:00:04 +02:00
calib.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
calib.h
channel.c wifi: mac80211: extend ieee80211_nullfunc_get() for MLO 2022-09-06 10:14:24 +02:00
common-beacon.c
common-beacon.h
common-debug.c ath9k: remove trailing semicolon in macro definition 2020-12-07 18:13:18 +02:00
common-debug.h ath9k: add counters for good and errorneous FFT/spectral frames 2018-10-02 07:43:32 +03:00
common-init.c ath9k: spelling s/premble/preamble/ 2018-03-26 18:22:44 +03:00
common-init.h
common-spectral.c ath9k: make relay callbacks const 2020-12-15 22:46:18 -08:00
common-spectral.h ath9k: fix and simplify FFT max index retrieval 2018-10-02 07:43:56 +03:00
common.c Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2017-05-19 11:47:44 +03:00
common.h ath9k: Fix beacon configuration for addition/removal of interfaces 2016-07-08 17:03:41 +03:00
debug.c ath9k: add option to reset the wifi chip via debugfs 2021-10-05 17:27:31 +03:00
debug.h ath9k: add option to reset the wifi chip via debugfs 2021-10-05 17:27:31 +03:00
debug_sta.c mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
dfs.c ath9k: replace ternary operator with max() 2022-05-22 15:31:18 +03:00
dfs.h
dfs_debug.c ath9k: remove trailing semicolon in macro definition 2020-12-07 18:13:18 +02:00
dfs_debug.h
dynack.c ath9k: work around false-positive gcc warning 2020-11-10 20:12:42 +02:00
dynack.h ath9k: dynack: make ewma estimation faster 2018-11-06 18:26:50 +02:00
eeprom.c ath9k: remove redundant status variable 2022-01-17 14:43:02 +02:00
eeprom.h wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
eeprom_4k.c ath9k: Differentiate between max combined and per chain power 2019-04-29 17:53:43 +03:00
eeprom_9287.c ath9k: move RELAY and DEBUG_FS to ATH9K[_HTC]_DEBUGFS 2017-01-13 15:29:24 +02:00
eeprom_def.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
gpio.c ath: Convert timers to use timer_setup() 2017-10-27 16:54:19 +03:00
hif_usb.c wifi: ath9k: Remove Qwest/Actiontec 802AIN ID 2023-03-15 12:14:51 +02:00
hif_usb.h ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb 2020-04-07 07:57:26 +03:00
htc.h wifi: ath9k: use proper statements in conditionals 2022-12-20 15:02:37 +02:00
htc_drv_beacon.c wifi: mac80211: return a beacon for a specific link 2022-06-20 12:57:08 +02:00
htc_drv_debug.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
htc_drv_gpio.c ath9k: free GPIO resource for SOC GPIOs 2016-03-11 14:00:02 +02:00
htc_drv_init.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
htc_drv_main.c wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
htc_drv_txrx.c ath9k: htc: clean up statistics macros 2022-06-20 13:02:17 +03:00
htc_hst.c wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function 2023-01-17 13:52:35 +02:00
htc_hst.h
hw-ops.h
hw.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
hw.h wifi: ath9k: fix repeated to words in a comment 2022-09-22 10:19:51 +03:00
init.c ath9k: fix an IS_ERR() vs NULL check 2021-10-13 08:48:14 +03:00
Kconfig ath9k: fix build error with LEDS_CLASS=m 2021-01-28 09:29:34 +02:00
link.c ath: Convert timers to use timer_setup() 2017-10-27 16:54:19 +03:00
mac.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
mac.h ath9k: split set11nRateFlags and set11nChainSel 2022-03-25 12:32:25 +02:00
main.c wifi: mac80211: replace link_id with link_conf in switch/(un)assign_vif_chanctx() 2022-07-15 11:43:20 +02: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 wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
phy.h
recv.c ath9k: Set RX filter based to allow broadcast Action frame RX 2020-05-30 17:17:20 +03:00
reg.h wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
reg_aic.h
reg_mci.h
reg_wow.h
rng.c wifi: ath9k: remove most hidden macro dependencies on ah 2022-12-22 19:13:39 +02:00
tx99.c wifi: Use kstrtobool() instead of strtobool() 2022-11-08 09:39:04 +02:00
wmi.c wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback() 2023-01-17 13:54:25 +02:00
wmi.h ath9k: convert tasklets to use new tasklet_setup() API 2020-08-27 13:16:18 +03:00
wow.c
xmit.c wifi: ath9k: fix per-packet TX-power cap for TPC 2023-04-17 13:31:52 +03:00