All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/9] ath5k: Add AHB support
       [not found] <5945195.181290764846445.JavaMail.wlan@CHBU500181>
@ 2010-11-26  9:56 ` Wojciech Dubowik
  0 siblings, 0 replies; only message in thread
From: Wojciech Dubowik @ 2010-11-26  9:56 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, nbd, ath5k-devel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-26  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5945195.181290764846445.JavaMail.wlan@CHBU500181>
2010-11-26  9:56 ` [PATCH v6 0/9] ath5k: Add AHB support Wojciech Dubowik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.