Search Linux Wireless

[PATCH v6 0/9] ath5k: Add AHB support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series of patches implements AHB bus support for ath5k driver.

General comments for AHB bus support in ath5k:
        * original patches came from Felix Fetikau. I have just made them
		  working on latest wireless testing.
        * tried with access point functionality with WPA2 and without
		  encryption
        * tested on AR5312 and AR2313 for AHB and AR5414 and AR5212 for PCI
        * tested with 2.4GHz and 5GHz band. It seems that some older chipsets
		  including AR5312 need tx descriptor byteswap on big endian systems in
		  software. I can observe that beacons all auto generated frames are
		  sent but software generated frames not. AR2313 deosn't need
		  it and both 11a and 11g seem functional. In madwifi-project, these
		  were platfroms which specify AH_NEED_DESC_SWAP. Second radio on
		  AR5312 seems to work even if byteswapping is set in hardware and not
		  in software. HW bug? At the moment in ath5k byteswapping for TX desc
		  is done in hardware only.
        * compat wireless 2010-11-20 from openwrt was used for testing
        * last two patches have to be applied together because otherwise
          hardware will crash on reset if only number 9 is committed.
          I have kept them separated for better visibility.
          There are three false positive checkpatch warnings from them.

Changes since v5 of the patch:
        * patch 8/9: add missing register accessor functions for AHB from original
         patches. It was causing a crash on module unload.
        * rebased on master-2010-11-23

Felix Fietkau (9):
  ath5k: Use Generic DMA for later support of AHB bus.
  ath5k: Introduce ath5k_init_softc function as in ath9k
  ath5k: Move PCI bus functions to separate file.
  ath5k: Use generic eeprom read from common ath_bus_opts struct.
  ath5k: Check if pci pdev struct is initialized in common functions.
  ath5k: Add a function to read chipset's MAC revision
  ath5k: Add initial registers values for radio RF2317 chip.
  ath5k: Add AHB bus support.
  ath5k: Fix reset and interrupts for AHB type of devices.

 drivers/net/wireless/ath/ath5k/Kconfig    |   17 +-
 drivers/net/wireless/ath/ath5k/Makefile   |    2 +
 drivers/net/wireless/ath/ath5k/ahb.c      |  219 ++++++++++
 drivers/net/wireless/ath/ath5k/ath5k.h    |   65 +++-
 drivers/net/wireless/ath/ath5k/attach.c   |   26 +-
 drivers/net/wireless/ath/ath5k/base.c     |  626 ++++++++++-------------------
 drivers/net/wireless/ath/ath5k/base.h     |    5 +-
 drivers/net/wireless/ath/ath5k/eeprom.c   |   40 +--
 drivers/net/wireless/ath/ath5k/eeprom.h   |    2 +-
 drivers/net/wireless/ath/ath5k/initvals.c |   23 +
 drivers/net/wireless/ath/ath5k/led.c      |   11 +-
 drivers/net/wireless/ath/ath5k/pci.c      |  326 +++++++++++++++
 drivers/net/wireless/ath/ath5k/reg.h      |   25 ++
 drivers/net/wireless/ath/ath5k/reset.c    |  116 ++++--
 drivers/net/wireless/ath/ath5k/sysfs.c    |    4 +-
 15 files changed, 1016 insertions(+), 491 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath5k/ahb.c
 create mode 100644 drivers/net/wireless/ath/ath5k/pci.c

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux