staging: add ath6kl driver for AR6003 chip
authorVipin Mehta <vmehta@atheros.com>
Wed, 1 Sep 2010 19:06:33 +0000 (12:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Sep 2010 18:43:26 +0000 (11:43 -0700)
commit30295c8936f3a426985e99bebb17d72bd7847910
tree28ff0c23bfa931b73a35e7b11df1bf104260c6fa
parent9b9913d80b2896ecd9e0a1a8f167ccad66fac79c
staging: add ath6kl driver for AR6003 chip

AR6003 is a single stream, SDIO based 802.11 chipset from
Atheros optimized for mobile and embedded devices. ath6kl is a
cfg80211 driver for AR6003 and supports both the station and
AP mode of operation.

Station mode supports 802.11 a/b/g/n with HT20 on 2.4/5GHz and
HT40 only on 5GHz. Some of the other features include WPA/WPA2,
WPS, WMM, WMM-PS, and BT coexistence. AP mode can be operated
only in b/g mode with support for a subset of features mentioned
above.

The driver supports cfg80211 but comes with its own set of
wext ioctls which have historically supported some of our
customers with features like BT 3.0 and AP mode of operation.

For further details, please refer to:

http://wireless.kernel.org/en/users/Drivers/ath6kl

The driver requires firmware that runs on the chip's network
processor. The majority of it is stored in ROM. The binaries
that are downloaded and executed from RAM are as follows:

1) Patch against the code in ROM for bug fixes and feature
   enhancements.
2) Code to copy the data from the OTP region of the memory
   into RAM.
3) Calibration file carrying board specific data.

The above files need to be present in the directory
'/lib/firmware/ath6k/AR6003/hw2.0/' for the driver to initialize
the chip upon enumeration. The files can be downloaded from the
link specified at the following location:

http://wireless.kernel.org/en/users/Drivers/ath6kl#Download

This driver is only provided in the interim while we work on
the mac80211 replacement, ath6k. Once the mac80211 driver
achieves feature parity with the ath6kl driver, the ath6kl will
be deprecated and removed from staging.

Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
162 files changed:
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/ath6kl/Kconfig [new file with mode: 0644]
drivers/staging/ath6kl/Makefile [new file with mode: 0644]
drivers/staging/ath6kl/TODO [new file with mode: 0644]
drivers/staging/ath6kl/bmi/include/bmi_internal.h [new file with mode: 0644]
drivers/staging/ath6kl/bmi/src/bmi.c [new file with mode: 0644]
drivers/staging/ath6kl/hif/common/hif_sdio_common.h [new file with mode: 0644]
drivers/staging/ath6kl/hif/sdio/linux_sdio/include/hif_internal.h [new file with mode: 0644]
drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c [new file with mode: 0644]
drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c [new file with mode: 0644]
drivers/staging/ath6kl/htc2/AR6000/ar6k.c [new file with mode: 0644]
drivers/staging/ath6kl/htc2/AR6000/ar6k.h [new file with mode: 0644]
drivers/staging/ath6kl/htc2/AR6000/ar6k_events.c [new file with mode: 0644]
drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox.c [new file with mode: 0644]
drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c [new file with mode: 0644]
drivers/staging/ath6kl/htc2/htc.c [new file with mode: 0644]
drivers/staging/ath6kl/htc2/htc_debug.h [new file with mode: 0644]
drivers/staging/ath6kl/htc2/htc_internal.h [new file with mode: 0644]
drivers/staging/ath6kl/htc2/htc_recv.c [new file with mode: 0644]
drivers/staging/ath6kl/htc2/htc_send.c [new file with mode: 0644]
drivers/staging/ath6kl/htc2/htc_services.c [new file with mode: 0644]
drivers/staging/ath6kl/include/a_config.h [new file with mode: 0644]
drivers/staging/ath6kl/include/a_debug.h [new file with mode: 0644]
drivers/staging/ath6kl/include/a_drv.h [new file with mode: 0644]
drivers/staging/ath6kl/include/a_drv_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/a_osapi.h [new file with mode: 0644]
drivers/staging/ath6kl/include/a_types.h [new file with mode: 0644]
drivers/staging/ath6kl/include/aggr_recv_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/ar3kconfig.h [new file with mode: 0644]
drivers/staging/ath6kl/include/ar6000_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/ar6000_diag.h [new file with mode: 0644]
drivers/staging/ath6kl/include/ar6kap_common.h [new file with mode: 0644]
drivers/staging/ath6kl/include/athbtfilter.h [new file with mode: 0644]
drivers/staging/ath6kl/include/athendpack.h [new file with mode: 0644]
drivers/staging/ath6kl/include/athstartpack.h [new file with mode: 0644]
drivers/staging/ath6kl/include/bmi.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/AR6002_regdump.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/AR6K_version.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/addrs.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/analog_intf_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/analog_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/apb_map.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/gpio_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/mbox_host_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/mbox_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/rtc_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/si_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/uart_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw.0/vmc_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw2.0/hw [new symlink]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/analog_intf_ares_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/analog_intf_athr_wlan_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/analog_intf_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/apb_athr_wlan_map.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/apb_map.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/bb_lc_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/efuse_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/gpio_athr_wlan_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/gpio_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/mac_dma_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/mac_pcu_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/mbox_host_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/mbox_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/mbox_wlan_host_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/mbox_wlan_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/rdma_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/rtc_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/rtc_wlan_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/si_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/uart_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/umbox_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/umbox_wlan_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/vmc_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/AR6002/hw4.0/hw/vmc_wlan_reg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/a_hci.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/athdefs.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/bmi_msg.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/btcoexGpio.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/cnxmgmt.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/dbglog.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/dbglog_id.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/discovery.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/dset_internal.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/dsetid.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/epping_test.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/gmboxif.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/gpio.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/htc.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/htc_services.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/ini_dset.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/pkt_log.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/regDb.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/regdump.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/regulatory/reg_dbschema.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/regulatory/reg_dbvalues.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/roaming.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/targaddrs.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/testcmd.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/tlpm.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/wlan_defs.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/wlan_dset.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/wmi.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/wmi_thin.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common/wmix.h [new file with mode: 0644]
drivers/staging/ath6kl/include/common_drv.h [new file with mode: 0644]
drivers/staging/ath6kl/include/dbglog_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/dl_list.h [new file with mode: 0644]
drivers/staging/ath6kl/include/dset_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/gpio_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/hci_transport_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/hif.h [new file with mode: 0644]
drivers/staging/ath6kl/include/host_version.h [new file with mode: 0644]
drivers/staging/ath6kl/include/htc_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/htc_packet.h [new file with mode: 0644]
drivers/staging/ath6kl/include/target_reg_table.h [new file with mode: 0644]
drivers/staging/ath6kl/include/wlan_api.h [new file with mode: 0644]
drivers/staging/ath6kl/include/wmi_api.h [new file with mode: 0644]
drivers/staging/ath6kl/miscdrv/ar3kconfig.c [new file with mode: 0644]
drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.c [new file with mode: 0644]
drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h [new file with mode: 0644]
drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c [new file with mode: 0644]
drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.h [new file with mode: 0644]
drivers/staging/ath6kl/miscdrv/common_drv.c [new file with mode: 0644]
drivers/staging/ath6kl/miscdrv/credit_dist.c [new file with mode: 0644]
drivers/staging/ath6kl/miscdrv/miscdrv.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/ar6000_android.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/ar6000_drv.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/ar6000_pm.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/ar6000_raw_if.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/ar6k_pal.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/cfg80211.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/eeprom.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/export_hci_transport.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/hci_bridge.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/ar6000_drv.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/ar6k_pal.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/ar6xapi_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/athdrv_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/athendpack_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/athstartpack_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/athtypes_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/cfg80211.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/config_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/debug_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/export_hci_transport.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/ieee80211_ioctl.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/osapi_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/wlan_config.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/include/wmi_filter_linux.h [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/ioctl.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/netbuf.c [new file with mode: 0644]
drivers/staging/ath6kl/os/linux/wireless_ext.c [new file with mode: 0644]
drivers/staging/ath6kl/reorder/aggr_rx_internal.h [new file with mode: 0644]
drivers/staging/ath6kl/reorder/rcv_aggr.c [new file with mode: 0644]
drivers/staging/ath6kl/wlan/include/ieee80211.h [new file with mode: 0644]
drivers/staging/ath6kl/wlan/include/ieee80211_node.h [new file with mode: 0644]
drivers/staging/ath6kl/wlan/src/wlan_node.c [new file with mode: 0644]
drivers/staging/ath6kl/wlan/src/wlan_recv_beacon.c [new file with mode: 0644]
drivers/staging/ath6kl/wlan/src/wlan_utils.c [new file with mode: 0644]
drivers/staging/ath6kl/wmi/wmi.c [new file with mode: 0644]
drivers/staging/ath6kl/wmi/wmi_host.h [new file with mode: 0644]