librecmc/open-ath9k-htc-firmware.git
11 years agobuild fix: buf_q is ath_tx_buf
Oleksij Rempel [Sun, 31 Mar 2013 15:34:15 +0000 (17:34 +0200)]
build fix: buf_q is ath_tx_buf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_txq_add_fn_t and ath_tx_comp_fn_t use ath_tx_buf
Oleksij Rempel [Sun, 31 Mar 2013 15:28:42 +0000 (17:28 +0200)]
build fix: ath_txq_add_fn_t and ath_tx_comp_fn_t use ath_tx_buf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_desc in ar5416ProcTxDesc_20
Oleksij Rempel [Sun, 31 Mar 2013 15:21:14 +0000 (17:21 +0200)]
build fix: use ath_tx_desc in ar5416ProcTxDesc_20

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_txq->axq_q is ath_tx_buf
Oleksij Rempel [Sun, 31 Mar 2013 15:15:53 +0000 (17:15 +0200)]
build fix: ath_txq->axq_q is ath_tx_buf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_decs in ar5416Set11nTxDesc_20
Oleksij Rempel [Sun, 31 Mar 2013 14:58:31 +0000 (16:58 +0200)]
build fix: use ath_tx_decs in ar5416Set11nTxDesc_20

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_desc in ar5416Set11nRateScenario_20
Oleksij Rempel [Sun, 31 Mar 2013 14:52:05 +0000 (16:52 +0200)]
build fix: use ath_tx_desc in ar5416Set11nRateScenario_20

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_desc in ar5416SetupTxDesc_20
Oleksij Rempel [Sun, 31 Mar 2013 14:46:37 +0000 (16:46 +0200)]
build fix: use ath_tx_desc in ar5416SetupTxDesc_20

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_beacon_setup should use ath_tx_desc
Oleksij Rempel [Sun, 31 Mar 2013 14:40:34 +0000 (16:40 +0200)]
build fix: ath_beacon_setup should use ath_tx_desc

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_tx_desc
Oleksij Rempel [Sun, 31 Mar 2013 14:35:30 +0000 (16:35 +0200)]
build fix: ath_tx_desc

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_hal_filltxdesc should use ath_tx_desc
Oleksij Rempel [Sun, 31 Mar 2013 14:24:57 +0000 (16:24 +0200)]
build fix: ath_hal_filltxdesc should use ath_tx_desc

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: move some parts away from ATH_GENERIC_BUF
Oleksij Rempel [Sun, 31 Mar 2013 14:22:27 +0000 (16:22 +0200)]
build fix: move some parts away from ATH_GENERIC_BUF

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_buf_toggle should return ath_tx_buf
Oleksij Rempel [Sun, 31 Mar 2013 14:02:55 +0000 (16:02 +0200)]
build fix: ath_buf_toggle should return ath_tx_buf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove non existing struct ath_softc
Oleksij Rempel [Sun, 31 Mar 2013 13:59:26 +0000 (15:59 +0200)]
build fix: remove non existing struct ath_softc

this struct is never declared, so remove it and
unused fucntion which used this struct.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove unused variable mem_start from ath_tgt_attach
Oleksij Rempel [Sun, 31 Mar 2013 13:33:10 +0000 (15:33 +0200)]
build fix: remove unused variable mem_start from ath_tgt_attach

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove unused variable HAL_BUS_HANDLE sh
Oleksij Rempel [Sun, 31 Mar 2013 13:28:55 +0000 (15:28 +0200)]
build fix: remove unused variable HAL_BUS_HANDLE sh

serie of function pass this vairiable but do not use it
on actual target.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_flushrecv_tgt uses ath_rx_buffer
Oleksij Rempel [Sun, 31 Mar 2013 13:09:12 +0000 (15:09 +0200)]
build fix: ath_flushrecv_tgt uses ath_rx_buffer

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: sc_txbuf_held is ath_tx_buf
Oleksij Rempel [Sun, 31 Mar 2013 13:06:53 +0000 (15:06 +0200)]
build fix: sc_txbuf_held is ath_tx_buf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: PHY_ADDR should be uint32
Oleksij Rempel [Sun, 31 Mar 2013 12:56:23 +0000 (14:56 +0200)]
build fix: PHY_ADDR should be uint32

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: add ath_rx_bufhead and ath_tx_bufhead
Oleksij Rempel [Sun, 31 Mar 2013 12:43:35 +0000 (14:43 +0200)]
build fix: add ath_rx_bufhead and ath_tx_bufhead

Normally we have two working type of buffers tx and rx.
In some generic situations, for example ath_descdma_setup,
we do not really care about buffer type, here we can use
ath_bufhead.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_rx_desc for ah_setupRxDesc and ah_procRxDescFast, part 2
Oleksij Rempel [Sun, 31 Mar 2013 07:38:10 +0000 (09:38 +0200)]
build fix: use ath_rx_desc for ah_setupRxDesc and ah_procRxDescFast, part 2

ar5416SetupRxDesc_20 and ar5416ProcRxDescFast_20 changed too.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuid fix: probably typo, ieee80211_node instead of ieee80211_node_target 4/head
Oleksij Rempel [Fri, 29 Mar 2013 08:30:06 +0000 (09:30 +0100)]
buid fix: probably typo, ieee80211_node instead of ieee80211_node_target

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_tgt_tx_prepare should return ath_tx_buf
Oleksij Rempel [Fri, 29 Mar 2013 08:15:05 +0000 (09:15 +0100)]
build fix: ath_tgt_tx_prepare should return ath_tx_buf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: fix wrong conversation of ath_vap_target to ieee80211vap_target
Oleksij Rempel [Fri, 29 Mar 2013 08:07:45 +0000 (09:07 +0100)]
build fix: fix wrong conversation of ath_vap_target to ieee80211vap_target

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_beacon_setup works only with ath_tx_buf
Oleksij Rempel [Fri, 29 Mar 2013 07:48:08 +0000 (08:48 +0100)]
build fix: ath_beacon_setup works only with ath_tx_buf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: wmi_event and wmi_cmd_rsp should use void *buffer
Oleksij Rempel [Fri, 29 Mar 2013 07:44:01 +0000 (08:44 +0100)]
build fix: wmi_event and wmi_cmd_rsp should use void *buffer

we pass different buffer types to this functions.
It makes no sense to define some concrect type here

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: add type conversation for asf_tailq_next
Oleksij Rempel [Fri, 29 Mar 2013 06:59:38 +0000 (07:59 +0100)]
build fix: add type conversation for asf_tailq_next

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ah_procRxDescFast should use ath_rx_desc
Oleksij Rempel [Thu, 28 Mar 2013 16:06:39 +0000 (17:06 +0100)]
build fix: ah_procRxDescFast should use ath_rx_desc

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ah_setupRxDesc should use ath_rx_desc
Oleksij Rempel [Thu, 28 Mar 2013 16:02:42 +0000 (17:02 +0100)]
build fix: ah_setupRxDesc should use ath_rx_desc

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: sc_rxdesc_held should be ath_rx_desc
Oleksij Rempel [Thu, 28 Mar 2013 15:54:41 +0000 (16:54 +0100)]
build fix: sc_rxdesc_held should be ath_rx_desc

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use struct ath_tx_buf for ath_dma_map and ath_dma_unmap
Oleksij Rempel [Thu, 28 Mar 2013 15:44:08 +0000 (16:44 +0100)]
build fix: use struct ath_tx_buf for ath_dma_map and ath_dma_unmap

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use arch safe uint32_t instead of unsigned long
Oleksij Rempel [Tue, 19 Mar 2013 15:36:09 +0000 (16:36 +0100)]
build fix: use arch safe uint32_t instead of unsigned long

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: change HAL_TXKEYIX_INVALID size
Oleksij Rempel [Tue, 19 Mar 2013 09:42:23 +0000 (10:42 +0100)]
build fix: change HAL_TXKEYIX_INVALID size

HAL_(R)XKEYIX_INVALID is a_uint8_t so i assume
HAL_(T)XKEYIX_INVALID should have same size.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use our internal memcpy, for now.
Oleksij Rempel [Tue, 19 Mar 2013 14:41:11 +0000 (15:41 +0100)]
build fix: use our internal memcpy, for now.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: replace struct with static
Oleksij Rempel [Tue, 19 Mar 2013 14:39:07 +0000 (15:39 +0100)]
build fix: replace struct with static

replace struct with static, it probably was typo.
It is already struct by type deffinition.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_hal_getrtsaggrlimit can be removed here
Oleksij Rempel [Sat, 30 Mar 2013 16:23:58 +0000 (17:23 +0100)]
build fix: ath_hal_getrtsaggrlimit can be removed here

reason for this part of code:
"AR5416/AR5418 doesn't work with RTS + aggregates longer than 8KiB,
so the driver has to either limit aggregate sizes to 8KiB or less,
or disable RTS on longer aggregates. This was fixed in subsequent chips.
...
 it's quite possible that there's some carrier / enterprise solution
somewhere that uses the AR7010 as an offload CPU for an AR5418 device.
...
I'd eventually like us to support the ethernet offload mode -
even if it's just as a reference we can use internally
at work when demo'ing stuff."
  Adrian Chadd

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove unused variables from if_owl.c
Oleksij Rempel [Tue, 19 Mar 2013 14:54:45 +0000 (15:54 +0100)]
build fix: remove unused variables from if_owl.c

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove unused dev_info in if_ath_pci.c
Oleksij Rempel [Mon, 18 Mar 2013 12:12:20 +0000 (13:12 +0100)]
build fix: remove unused dev_info in if_ath_pci.c

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: change return type of ath_detach_tgt
Oleksij Rempel [Tue, 19 Mar 2013 15:08:09 +0000 (16:08 +0100)]
build fix: change return type of ath_detach_tgt

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove unused variables from if_ath.c
Oleksij Rempel [Tue, 19 Mar 2013 15:06:39 +0000 (16:06 +0100)]
build fix: remove unused variables from if_ath.c

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ds_link should be compared with 0, not NULL
Oleksij Rempel [Tue, 19 Mar 2013 15:05:55 +0000 (16:05 +0100)]
build fix: ds_link should be compared with 0, not NULL

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove firts definition of ATH_NODE_TARGET
Oleksij Rempel [Mon, 18 Mar 2013 09:49:45 +0000 (10:49 +0100)]
build fix: remove firts definition of ATH_NODE_TARGET

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: predefine struct ath_tx_desc
Oleksij Rempel [Mon, 18 Mar 2013 09:46:31 +0000 (10:46 +0100)]
build fix: predefine struct ath_tx_desc

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: if_llc.h: __packed__ is ignored if not after "}"
Oleksij Rempel [Mon, 18 Mar 2013 09:28:32 +0000 (10:28 +0100)]
build fix: if_llc.h: __packed__ is ignored if not after "}"

gcc ignores atribut __packed__ if it is not right after "}"

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: adf_os_export_symbol is undefined
Oleksij Rempel [Sun, 17 Mar 2013 19:22:04 +0000 (20:22 +0100)]
build fix: adf_os_export_symbol is undefined

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ar5416_hw.c remove unused variables
Oleksij Rempel [Sun, 17 Mar 2013 19:13:51 +0000 (20:13 +0100)]
build fix: ar5416_hw.c remove unused variables

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: magpie..init.c remove unused variables
Oleksij Rempel [Sun, 17 Mar 2013 19:03:47 +0000 (20:03 +0100)]
build fix: magpie..init.c remove unused variables

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: fix array size
Oleksij Rempel [Fri, 29 Mar 2013 16:30:03 +0000 (17:30 +0100)]
build fix: fix array size

v2 - use #define..

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove byte order/swapping support
Oleksij Rempel [Sun, 17 Mar 2013 16:37:21 +0000 (17:37 +0100)]
build fix: remove byte order/swapping support

currently AH_BYTE_ORDER is not defined. So this parst is unused any way.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: src on memcpy is allways const
Oleksij Rempel [Sun, 17 Mar 2013 16:15:20 +0000 (17:15 +0100)]
build fix: src on memcpy is allways const

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove unused *ahp
Oleksij Rempel [Sun, 17 Mar 2013 16:31:28 +0000 (17:31 +0100)]
build fix: remove unused *ahp

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: Magpie_Sys_Commands_Tbl used only if MAGPIE_ENABLE_WLAN == 0
Oleksij Rempel [Sun, 17 Mar 2013 16:12:45 +0000 (17:12 +0100)]
build fix: Magpie_Sys_Commands_Tbl used only if MAGPIE_ENABLE_WLAN == 0

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoInclude licencing terms in the source files themselves.
Adrian Chadd [Sat, 30 Mar 2013 15:46:37 +0000 (08:46 -0700)]
Include licencing terms in the source files themselves.

11 years agoLicence updates for the buf pool code.
Adrian Chadd [Sat, 30 Mar 2013 15:33:28 +0000 (08:33 -0700)]
Licence updates for the buf pool code.

11 years agoLicence updates for the ADF code.
Adrian Chadd [Sat, 30 Mar 2013 15:32:21 +0000 (08:32 -0700)]
Licence updates for the ADF code.

11 years agoMore licence file updates.
Adrian Chadd [Sat, 30 Mar 2013 15:26:51 +0000 (08:26 -0700)]
More licence file updates.

11 years agoMark files without an existing BSD licence as having a QCA ClearBSD
Adrian Chadd [Sat, 30 Mar 2013 01:27:19 +0000 (18:27 -0700)]
Mark files without an existing BSD licence as having a QCA ClearBSD
licence.

Signed-off-by: Adrian Chadd <adrian@freebsd.org>

11 years agoMerge pull request #3 from KrasnikovEugene/master
Adrian Chadd [Fri, 22 Mar 2013 13:46:21 +0000 (06:46 -0700)]
Merge pull request #3 from KrasnikovEugene/master

Fix for issue #2 - make clean cause buid error

11 years agoMove config files from toolchain folder 3/head
Eugene Krasnikov [Fri, 15 Feb 2013 07:55:36 +0000 (08:55 +0100)]
Move config files from toolchain folder

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
11 years agoUpdate to clearbsd/isc licence; this is what it should've been.
Adrian Chadd [Wed, 13 Mar 2013 01:21:00 +0000 (18:21 -0700)]
Update to clearbsd/isc licence; this is what it should've been.

Sorry!

11 years agoClarify the licence terms a little more. It seems people think
Adrian Chadd [Tue, 12 Mar 2013 19:51:48 +0000 (12:51 -0700)]
Clarify the licence terms a little more. It seems people think
the firmware is (part, full) GPLv2, which is actually totally untrue.

11 years agoFix README - there are no AR9285+AR7010 cards.
Adrian Chadd [Sat, 9 Mar 2013 03:53:31 +0000 (19:53 -0800)]
Fix README - there are no AR9285+AR7010 cards.

Signed-off-by: Sujith Manoharan <sujith@msujith.org>

11 years agoAdd mailing lists and bug information.
Adrian Chadd [Fri, 8 Mar 2013 23:52:20 +0000 (15:52 -0800)]
Add mailing lists and bug information.

11 years agoAdd local patches.
Adrian Chadd [Fri, 8 Mar 2013 22:57:39 +0000 (14:57 -0800)]
Add local patches.

11 years agoAdd a README.
Adrian Chadd [Fri, 8 Mar 2013 22:57:11 +0000 (14:57 -0800)]
Add a README.

11 years ago..oops, this is a shell script, not a makefile. Silly me.
Adrian Chadd [Fri, 8 Mar 2013 22:46:00 +0000 (14:46 -0800)]
..oops, this is a shell script, not a makefile.  Silly me.

11 years agoInitial cut of the open ath9k htc firmware.
Adrian Chadd [Fri, 8 Mar 2013 22:45:06 +0000 (14:45 -0800)]
Initial cut of the open ath9k htc firmware.