librecmc/open-ath9k-htc-firmware.git
11 years agoMerge pull request #4 from olerem/master
Adrian Chadd [Mon, 1 Apr 2013 16:16:16 +0000 (09:16 -0700)]
Merge pull request #4 from olerem/master

Merge build fixes from Oleksij! Thanks!

11 years agoBump master branch firmware version to 1.4.
Adrian Chadd [Mon, 1 Apr 2013 16:12:18 +0000 (09:12 -0700)]
Bump master branch firmware version to 1.4.

11 years agoMore licence file updates. 1.3 1.3.1
Adrian Chadd [Sat, 30 Mar 2013 16:35:57 +0000 (09:35 -0700)]
More licence file updates.

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 agoLicence updates.
Adrian Chadd [Sat, 30 Mar 2013 16:22:31 +0000 (09:22 -0700)]
Licence updates.

11 years ago* Add copyright headers to the .sh scripts
Adrian Chadd [Sat, 30 Mar 2013 16:16:20 +0000 (09:16 -0700)]
* Add copyright headers to the .sh scripts
* Remove binaries from the repository; we have source for these!

11 years agoAdd licences for each of these files.
Adrian Chadd [Sat, 30 Mar 2013 16:15:09 +0000 (09:15 -0700)]
Add licences for each of these files.

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.