OpenCloudOS-Kernel/drivers/net/wireless/ath/ath9k
Luis R. Rodriguez 49101676b2 ath9k_hw: restore mac address reading logic
Once upon a time the AR_EEPROM_MAC macro was added to let us
add a random attribute to the three 4-bytes of MAC addresses
entries we read from the EEPROM. This was good while a random
high-enough value was used which did not conflict with any
of the already existing enum eeprom_param values. With AR9003
support the enums overlap and it means we either increment
the random offset or just restore the reading logic to match
what the HAL has. I choose to do the later to synchronize
the logic on both code bases.

This should fix reading the MAC address from the EEPROM
on AR9003 hardware.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-04-16 15:43:36 -04:00
..
Kconfig ath9k_htc: Support for AR9271 chipset. 2010-03-23 16:50:17 -04:00
Makefile ath9k_hw: split the generic hardware code by hardware family 2010-04-16 15:43:32 -04:00
ahb.c ath: Add a bus type field 2010-04-06 16:55:09 -04:00
ani.c ath9k_hw: Split off ANI control to the PHY ops 2010-04-16 15:43:25 -04:00
ani.h ath9k: Nuke struct ath9k_node_stats 2009-08-20 11:36:08 -04:00
ar5008_initvals.h ath9k_hw: split initvals.h by hardware family 2010-04-16 15:43:24 -04:00
ar5008_phy.c ath9k_hw: abstract loading noisefloor 2010-04-16 15:43:34 -04:00
ar9001_initvals.h ath9k_hw: split initvals.h by hardware family 2010-04-16 15:43:24 -04:00
ar9002_calib.c ath9k_hw: fill in the callbacks for calibration for AR9003 2010-04-16 15:43:35 -04:00
ar9002_hw.c ath9k_hw: move TX/RX gain INI stuff to its own hardware family code 2010-04-16 15:43:33 -04:00
ar9002_initvals.h ath9k_hw: split initvals.h by hardware family 2010-04-16 15:43:24 -04:00
ar9002_phy.c ath9k_hw: Split out the function for reading the noise floor 2010-04-16 15:43:27 -04:00
ar9002_phy.h ath9k_hw: abstract the AR_PHY_AGC_CONTROL register access 2010-04-16 15:43:34 -04:00
ar9003_calib.c ath9k_hw: complete AR9003 calibration 2010-04-16 15:43:35 -04:00
ar9003_hw.c ath9k_hw: move TX/RX gain INI stuff to its own hardware family code 2010-04-16 15:43:33 -04:00
ar9003_initvals.h ath9k_hw: add initvals for the AR9003 hardware family 2010-04-16 15:43:24 -04:00
ar9003_mac.c ath9k_hw: Abstract the routine which returns interrupt status 2010-04-16 15:43:34 -04:00
ar9003_mac.h ath9k_hw: Define tx control struct for AR9003 2010-04-16 15:43:25 -04:00
ar9003_phy.c ath9k_hw: complete AR9003 calibration 2010-04-16 15:43:35 -04:00
ar9003_phy.h ath9k_hw: abstract the AR_PHY_AGC_CONTROL register access 2010-04-16 15:43:34 -04:00
ath9k.h ath9k: Add Rx EDMA support 2010-04-16 15:43:26 -04:00
beacon.c ath9k_hw: Move code which populates ds_data to ath9k_hw 2010-04-16 15:43:25 -04:00
btcoex.c ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
btcoex.h ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
calib.c ath9k_hw: abstract loading noisefloor 2010-04-16 15:43:34 -04:00
calib.h ath9k_hw: fill in the callbacks for calibration for AR9003 2010-04-16 15:43:35 -04:00
common.c ath9k: Do not indicate RX_FLAG_DECRYPTED for unprotected frames 2010-03-31 14:46:42 -04:00
common.h ath9k: Make bf_desc of ath_buf opaque 2010-04-16 15:43:26 -04:00
debug.c wireless/ath: remove trailing space in messages 2010-04-08 15:20:44 -04:00
debug.h ath9k: fix compile error without debug enabled 2010-04-06 16:55:09 -04:00
eeprom.c ath9k_hw: rename eep_AR9287_ops to eep_ar9287_ops 2010-04-16 15:43:35 -04:00
eeprom.h ath9k_hw: restore mac address reading logic 2010-04-16 15:43:36 -04:00
eeprom_4k.c ath9k_hw: restore mac address reading logic 2010-04-16 15:43:36 -04:00
eeprom_9287.c ath9k_hw: restore mac address reading logic 2010-04-16 15:43:36 -04:00
eeprom_def.c ath9k_hw: restore mac address reading logic 2010-04-16 15:43:36 -04:00
gpio.c wireless/ath: remove trailing space in messages 2010-04-08 15:20:44 -04:00
hif_usb.c ath9k-htc: fix lockdep warning and kernel warning after unplugging ar9271 usb device 2010-04-14 14:58:37 -04:00
hif_usb.h ath9k_htc: Use anchors for REGOUT pipe 2010-04-08 15:24:10 -04:00
htc.h ath9k_htc: Configure the beacon timers once the scan is completed. 2010-04-07 14:37:59 -04:00
htc_drv_beacon.c ath9k_htc: Configure the beacon timers once the scan is completed. 2010-04-07 14:37:59 -04:00
htc_drv_init.c ath9k_htc: Add support for power save. 2010-04-07 14:37:58 -04:00
htc_drv_main.c ath9k_htc: Configure the beacon timers once the scan is completed. 2010-04-07 14:37:59 -04:00
htc_drv_txrx.c ath9k_htc: Add support for power save. 2010-04-07 14:37:58 -04:00
htc_hst.c ath9k-htc:respect usb buffer cacheline alignment in reg out path 2010-04-14 14:52:43 -04:00
htc_hst.h ath9k_htc: Support for AR9271 chipset. 2010-03-23 16:50:17 -04:00
hw-ops.h ath9k_hw: abstract loading noisefloor 2010-04-16 15:43:34 -04:00
hw.c ath9k_hw: restore mac address reading logic 2010-04-16 15:43:36 -04:00
hw.h ath9k_hw: complete AR9003 calibration 2010-04-16 15:43:35 -04:00
init.c ath9k_hw: Move some RF ops to the private callbacks 2010-04-16 15:43:19 -04:00
mac.c ath9k_hw: Abstract the routine which returns interrupt status 2010-04-16 15:43:34 -04:00
mac.h ath9k_hw: Abstract the routine which returns interrupt status 2010-04-16 15:43:34 -04:00
main.c ath9k: Add Rx EDMA support 2010-04-16 15:43:26 -04:00
pci.c ath: Add a bus type field 2010-04-06 16:55:09 -04:00
phy.h ath9k_hw: add common channel select helpers for ar900[23] 2010-04-16 15:43:23 -04:00
rc.c ath9k: fix rate control tx status handling for A-MPDU 2010-03-10 17:44:45 -05:00
rc.h ath9k: rename symbols in enum ath9k_internal_frame_type to avoid confusion 2010-04-06 16:55:08 -04:00
recv.c ath9k: Add Rx EDMA support 2010-04-16 15:43:26 -04:00
reg.h ath9k_hw: abstract the AR_PHY_AGC_CONTROL register access 2010-04-16 15:43:34 -04:00
virtual.c ath9k: rename symbols in enum ath9k_internal_frame_type to avoid confusion 2010-04-06 16:55:08 -04:00
wmi.c ath9k-htc:respect usb buffer cacheline alignment in reg out path 2010-04-14 14:52:43 -04:00
wmi.h ath9k_htc: Support for AR9271 chipset. 2010-03-23 16:50:17 -04:00
xmit.c ath9k: Remove ATH9K_TX_SW_ABORTED and introduce a bool for this purpose 2010-04-16 15:43:26 -04:00