linux_dsm_epyc7002/drivers/net/wireless/ath/ath9k
Joe Perches 07b2fa5a23 ath9k: Use static const
Using static const generally increases object text and decreases data size.
It also generally decreases overall object size.

   text	   data	    bss	    dec	    hex	filename
  11161	     56	   2136	  13353	   3429	drivers/net/wireless/ath/ath9k/ar9003_paprd.o.new
  11167	     56	   2136	  13359	   342f	drivers/net/wireless/ath/ath9k/ar9003_paprd.o.old
  15428	     56	   3056	  18540	   486c	drivers/net/wireless/ath/ath9k/eeprom_4k.o.old
  15451	     56	   3056	  18563	   4883	drivers/net/wireless/ath/ath9k/eeprom_4k.o.new
  14087	     56	   2560	  16703	   413f	drivers/net/wireless/ath/ath9k/eeprom_9287.o.old
  14036	     56	   2560	  16652	   410c	drivers/net/wireless/ath/ath9k/eeprom_9287.o.new
  10041	     56	   2384	  12481	   30c1	drivers/net/wireless/ath/ath9k/ani.o.new
  10088	     56	   2384	  12528	   30f0	drivers/net/wireless/ath/ath9k/ani.o.old
   9316	   1580	   2304	  13200	   3390	drivers/net/wireless/ath/ath9k/htc_drv_init.o.new
   9316	   1580	   2304	  13200	   3390	drivers/net/wireless/ath/ath9k/htc_drv_init.o.old
  16483	     56	   3432	  19971	   4e03	drivers/net/wireless/ath/ath9k/ar9003_phy.o.new
  16517	     56	   3432	  20005	   4e25	drivers/net/wireless/ath/ath9k/ar9003_phy.o.old
  18221	    104	   2960	  21285	   5325	drivers/net/wireless/ath/ath9k/rc.o.old
  18203	    104	   2960	  21267	   5313	drivers/net/wireless/ath/ath9k/rc.o.new
  19985	     56	   4288	  24329	   5f09	drivers/net/wireless/ath/ath9k/eeprom_def.o.new
  20040	     56	   4288	  24384	   5f40	drivers/net/wireless/ath/ath9k/eeprom_def.o.old
  23997	     56	   4984	  29037	   716d	drivers/net/wireless/ath/ath9k/ar5008_phy.o.old
  23846	     56	   4984	  28886	   70d6	drivers/net/wireless/ath/ath9k/ar5008_phy.o.new
  24285	     56	   3184	  27525	   6b85	drivers/net/wireless/ath/ath9k/ar9003_eeprom.o.old
  24101	     56	   3184	  27341	   6acd	drivers/net/wireless/ath/ath9k/ar9003_eeprom.o.new
   6834	     56	   1032	   7922	   1ef2	drivers/net/wireless/ath/ath9k/ar9002_phy.o.old
   6780	     56	   1032	   7868	   1ebc	drivers/net/wireless/ath/ath9k/ar9002_phy.o.new
  36211	     64	   8624	  44899	   af63	drivers/net/wireless/ath/ath9k/hw.o.new
  36401	     64	   8624	  45089	   b021	drivers/net/wireless/ath/ath9k/hw.o.old
   9281	     56	   1496	  10833	   2a51	drivers/net/wireless/ath/ath9k/ar9003_calib.o.old
   9150	     56	   1496	  10702	   29ce	drivers/net/wireless/ath/ath9k/ar9003_calib.o.new

Use ARRAY_SIZE instead of a magic number.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-11-22 15:58:44 -05:00
..
ahb.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
ani.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
ani.h ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
ar5008_initvals.h
ar5008_phy.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
ar9001_initvals.h
ar9002_calib.c ath9k_hw: clean up register write buffering 2010-10-06 16:30:38 -04:00
ar9002_hw.c ath9k_hw: merge ath9k_hw_ani_monitor_old and ath9k_hw_ani_monitor_new 2010-10-06 16:30:39 -04:00
ar9002_initvals.h ath9k_hw: remove initvals for hardware which was never sold 2010-07-14 13:52:46 -04:00
ar9002_mac.c ath9k_hw: fix potential spurious tx error bit interpretation 2010-11-15 13:24:19 -05:00
ar9002_phy.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
ar9002_phy.h ath9k_hw: Add functions to get/set antenna diversity configuration 2010-09-07 13:54:33 -04:00
ar9003_2p2_initvals.h ath9k_hw: Fix TX carrier leakage for IEEE compliance on AR9003 2.2 2010-10-25 14:43:14 -04:00
ar9003_calib.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
ar9003_eeprom.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
ar9003_eeprom.h ath9k_hw: add support for reading EEPROM data from the internal OTP ROM 2010-11-17 16:19:30 -05:00
ar9003_hw.c ath9k_hw: remove AR9003 2.0 support 2010-10-15 15:57:39 -04:00
ar9003_mac.c ath9k_hw: Fix low throughput issue with AR93xx 2010-11-16 16:37:07 -05:00
ar9003_mac.h ath9k_hw: optimize all descriptor access functions 2010-11-09 16:13:25 -05:00
ar9003_paprd.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
ar9003_phy.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
ar9003_phy.h
ath9k.h ath9k: store frame information used by aggregation inside the skb tx info 2010-11-17 16:19:29 -05:00
beacon.c ath9k: clean up code duplication around ath_tx_start 2010-11-17 16:19:23 -05:00
btcoex.c ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
btcoex.h
calib.c ath9k_hw: clean up register write buffering 2010-10-06 16:30:38 -04:00
calib.h ath9k_hw: clean up calibration flags 2010-10-06 16:26:01 -04:00
common.c ath9k: initialize per-channel tx power limits instead of hardcoding them 2010-11-15 13:23:15 -05:00
common.h ath9k: rework tx queue selection and fix queue stopping/waking 2010-11-15 13:25:54 -05:00
debug.c ath9k: rework tx queue selection and fix queue stopping/waking 2010-11-15 13:25:54 -05:00
debug.h ath9k: rework tx queue selection and fix queue stopping/waking 2010-11-15 13:25:54 -05:00
eeprom_4k.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
eeprom_9287.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
eeprom_def.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
eeprom.c
eeprom.h ath9k_hw: extend ath9k_hw_set_txpowerlimit to test channel txpower 2010-11-15 13:23:14 -05:00
gpio.c ath9k: remove a redundant call to ath9k_hw_gettsf32 2010-11-09 16:13:25 -05:00
hif_usb.c ath9k_htc: Set proper firmware offset for Netgear WNDA3200 2010-10-27 15:46:50 -04:00
hif_usb.h
htc_drv_beacon.c ath9k_htc: Fix beacon distribution in IBSS mode 2010-09-24 15:54:32 -04:00
htc_drv_gpio.c ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
htc_drv_init.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
htc_drv_main.c ath9k_htc: Handle monitor mode properly for HTC devices 2010-11-15 13:24:42 -05:00
htc_drv_txrx.c ath9k: rework tx queue selection and fix queue stopping/waking 2010-11-15 13:25:54 -05:00
htc_hst.c ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
htc_hst.h ath9k_htc: Add support for bluetooth coexistence. 2010-08-24 16:32:05 -04:00
htc.h ath9k_htc: Use macro for caldata array size 2010-11-16 16:39:09 -05:00
hw-ops.h ath9k_hw: merge ath9k_hw_ani_monitor_old and ath9k_hw_ani_monitor_new 2010-10-06 16:30:39 -04:00
hw.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
hw.h ath9k_hw: set default values for radar pulse detection 2010-11-17 16:19:01 -05:00
init.c ath9k: add support for reading eeprom from platform data on PCI devices 2010-11-18 14:22:23 -05:00
Kconfig ath9k: make the driver specific rate control module optional 2010-09-21 11:05:35 -04:00
mac.c ath9k_hw: optimize interrupt mask changes 2010-11-09 16:13:24 -05:00
mac.h ath9k_hw: optimize all descriptor access functions 2010-11-09 16:13:25 -05:00
main.c ath9k: block new AMPDU sessions if SC_OP_TXAGGR is not set 2010-11-17 16:19:25 -05:00
Makefile ath9k: make the driver specific rate control module optional 2010-09-21 11:05:35 -04:00
pci.c ath9k: add support for reading eeprom from platform data on PCI devices 2010-11-18 14:22:23 -05:00
phy.h ath9k: Use common ath key management functions 2010-09-16 15:22:10 -04:00
rc.c ath9k: Use static const 2010-11-22 15:58:44 -05:00
rc.h ath9k: remove the tx info padding byte abuse 2010-11-16 16:37:07 -05:00
recv.c ath9k: move the PCU lock to the sc structure 2010-11-15 13:24:46 -05:00
reg.h ath9k_hw: Fix low throughput issue with AR93xx 2010-11-16 16:37:07 -05:00
virtual.c ath9k: remove the tx info padding byte abuse 2010-11-16 16:37:07 -05:00
wmi.c ath9k_htc: Fix memory leak on WMI event handler 2010-09-14 16:14:26 -04:00
wmi.h ath9k_htc: Fix memory leak on WMI event handler 2010-09-14 16:14:26 -04:00
xmit.c ath9k: fix recursive locking in the tx flush path 2010-11-22 15:58:38 -05:00