open-ath9k-htc-firmware.git
11 years agouse ah_stopDmaReceive directly
Oleksij Rempel [Sat, 11 May 2013 08:52:30 +0000 (10:52 +0200)]
use ah_stopDmaReceive directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_setRxDP directly
Oleksij Rempel [Sat, 11 May 2013 08:50:11 +0000 (10:50 +0200)]
use ah_setRxDP directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove ar5416GetRxDP
Oleksij Rempel [Sat, 11 May 2013 08:47:26 +0000 (10:47 +0200)]
remove ar5416GetRxDP

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_setRxFilter directly
Oleksij Rempel [Sat, 11 May 2013 08:44:39 +0000 (10:44 +0200)]
use ah_setRxFilter directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove ar5416ResetTsf
Oleksij Rempel [Sat, 11 May 2013 08:42:01 +0000 (10:42 +0200)]
remove ar5416ResetTsf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_getTsf64 directly
Oleksij Rempel [Sat, 11 May 2013 08:39:21 +0000 (10:39 +0200)]
use ah_getTsf64 directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove ar5416GetTsf32
Oleksij Rempel [Sat, 11 May 2013 08:34:17 +0000 (10:34 +0200)]
remove ar5416GetTsf32

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_abortTxDma directly
Oleksij Rempel [Sat, 11 May 2013 08:29:57 +0000 (10:29 +0200)]
use ah_abortTxDma directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove ah_getTxIntrQueue
Oleksij Rempel [Sat, 11 May 2013 08:27:34 +0000 (10:27 +0200)]
remove ah_getTxIntrQueue

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_stopTxDma directly
Oleksij Rempel [Sat, 11 May 2013 08:08:17 +0000 (10:08 +0200)]
use ah_stopTxDma directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_startTxDma directly
Oleksij Rempel [Sat, 11 May 2013 08:08:17 +0000 (10:08 +0200)]
use ah_startTxDma directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_numTxPending directly
Oleksij Rempel [Sat, 11 May 2013 08:05:06 +0000 (10:05 +0200)]
use ah_numTxPending directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_setTxDP directly
Oleksij Rempel [Sat, 11 May 2013 08:01:32 +0000 (10:01 +0200)]
use ah_setTxDP directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove ar5416GetTxDP
Oleksij Rempel [Sat, 11 May 2013 07:57:45 +0000 (09:57 +0200)]
remove ar5416GetTxDP

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_updateTxTrigLevel directly
Oleksij Rempel [Sat, 11 May 2013 07:54:37 +0000 (09:54 +0200)]
use ah_updateTxTrigLevel directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_detach directly
Oleksij Rempel [Sat, 11 May 2013 07:47:42 +0000 (09:47 +0200)]
use ah_detach directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agouse ah_getRateTable directly
Oleksij Rempel [Sat, 11 May 2013 07:40:29 +0000 (09:40 +0200)]
use ah_getRateTable directly

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoar5416_hw.c: remove ar5416GetCapability
Oleksij Rempel [Sat, 11 May 2013 07:10:46 +0000 (09:10 +0200)]
ar5416_hw.c: remove ar5416GetCapability

Chain call of this function looks like this:
ath_hal_getcapability(makro) -> ar5416GetCapability -> ath_hal_getcapability(funct)

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove wlan/if_ethersubr.h
Oleksij Rempel [Fri, 10 May 2013 23:37:39 +0000 (01:37 +0200)]
remove wlan/if_ethersubr.h

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoratectrl_11n_ln.c: remove unused includes
Oleksij Rempel [Fri, 10 May 2013 23:29:01 +0000 (01:29 +0200)]
ratectrl_11n_ln.c: remove unused includes

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoif_owl.c: remove unused includes
Oleksij Rempel [Fri, 10 May 2013 23:27:49 +0000 (01:27 +0200)]
if_owl.c: remove unused includes

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agowlan/if_ath_pci.c: remove unused inlcudes
Oleksij Rempel [Fri, 10 May 2013 23:56:38 +0000 (01:56 +0200)]
wlan/if_ath_pci.c: remove unused inlcudes

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agowlan/if_ath.c: remove unused includes
Oleksij Rempel [Fri, 10 May 2013 23:54:27 +0000 (01:54 +0200)]
wlan/if_ath.c: remove unused includes

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoieee80211_output.c: remove unused includes
Oleksij Rempel [Fri, 10 May 2013 23:18:18 +0000 (01:18 +0200)]
ieee80211_output.c: remove unused includes

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoar5416_phy.c: don't include opt_ah.h
Oleksij Rempel [Fri, 10 May 2013 23:14:18 +0000 (01:14 +0200)]
ar5416_phy.c: don't include opt_ah.h

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoah_osdep.c: don't include adf_net_types.h
Oleksij Rempel [Fri, 10 May 2013 23:12:24 +0000 (01:12 +0200)]
ah_osdep.c: don't include adf_net_types.h

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoah.c: do not inclue opt_ah.h
Oleksij Rempel [Fri, 10 May 2013 23:09:28 +0000 (01:09 +0200)]
ah.c: do not inclue opt_ah.h

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodo not include opt_ah.h, it is not used by ar5416_hw.c
Oleksij Rempel [Fri, 10 May 2013 23:00:30 +0000 (01:00 +0200)]
do not include opt_ah.h, it is not used by ar5416_hw.c

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove unused wlan/queue.h
Oleksij Rempel [Fri, 10 May 2013 22:53:50 +0000 (00:53 +0200)]
remove unused wlan/queue.h

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove ar5416phy.h, we do not use it
Oleksij Rempel [Fri, 10 May 2013 22:49:41 +0000 (00:49 +0200)]
remove ar5416phy.h, we do not use it

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agonuke ath_hal_*xstbcsupport 34/head
Oleksij Rempel [Sun, 5 May 2013 19:38:23 +0000 (21:38 +0200)]
nuke ath_hal_*xstbcsupport

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoratectrl_11n_ln: nuke rcSibUpdate_11n
Oleksij Rempel [Sat, 11 May 2013 05:49:08 +0000 (07:49 +0200)]
ratectrl_11n_ln: nuke rcSibUpdate_11n

This function is reather useless. Side effect of it is a
filter for some bits which can be in other way implemented.
For now, i do not see any sense for this filter.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agosimplify STBC handling
Oleksij Rempel [Wed, 8 May 2013 08:57:51 +0000 (10:57 +0200)]
simplify STBC handling

Current STBC handler was waiting for peer caps to make decision.
Better way will be to make right decision on the host
and tell firmware what it can use.

This patch changes behaviour of firmware. Up now
host should send ATH_RC_TX_STBC_FLAG to enable STBC.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoMerge pull request #30 from greearb/master 1.3.2
Adrian Chadd [Wed, 8 May 2013 23:08:24 +0000 (16:08 -0700)]
Merge pull request #30 from greearb/master

 Update build instructions.

11 years agoUpdate build instructions. 30/head
Ben Greear [Wed, 1 May 2013 18:18:38 +0000 (11:18 -0700)]
Update build instructions.

I found no ./build script, but 'make firmware' appears to
do the trick.

Signed-off-by: Ben Greear <greearb@candelatech.com>
11 years agoMerge pull request #22 from nbd168/master
Adrian Chadd [Fri, 26 Apr 2013 14:53:07 +0000 (07:53 -0700)]
Merge pull request #22 from nbd168/master

Rewrite the firmware and toolchain build system

11 years agofirmware: rewrite build system using cmake 22/head
Felix Fietkau [Sat, 6 Apr 2013 11:39:33 +0000 (13:39 +0200)]
firmware: rewrite build system using cmake

Call the firmware build from the top-level Makefile (depends
on the toolchain build).

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
11 years agoadd .gitignore
Felix Fietkau [Thu, 14 Mar 2013 00:49:10 +0000 (01:49 +0100)]
add .gitignore

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
11 years agotoolchain: rewrite the build system to allow parallelizing builds
Felix Fietkau [Thu, 14 Mar 2013 00:22:25 +0000 (01:22 +0100)]
toolchain: rewrite the build system to allow parallelizing builds

Use stampfiles for builds and proper dependencies to allow running
make with -j<N>. The jobserver is also passed to the package make
processes to further optimize build time.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
11 years agoMerge pull request #21 from olerem/buildfixes
Adrian Chadd [Thu, 25 Apr 2013 22:54:00 +0000 (15:54 -0700)]
Merge pull request #21 from olerem/buildfixes

Buildfixes, final pull

11 years agoMerge pull request #20 from olerem/dbg
Adrian Chadd [Thu, 25 Apr 2013 22:48:42 +0000 (15:48 -0700)]
Merge pull request #20 from olerem/dbg

More debug API work!

11 years agobuild fix: use ath_hal_memcpy instead of memcpy 21/head
Oleksij Rempel [Wed, 24 Apr 2013 20:46:41 +0000 (22:46 +0200)]
build fix: use ath_hal_memcpy instead of memcpy

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: convert type for VBUF_GET_DATA_ADDR
Oleksij Rempel [Wed, 24 Apr 2013 17:20:02 +0000 (19:20 +0200)]
build fix: convert type for VBUF_GET_DATA_ADDR

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: adf_os_export_symbol is a dead end macro
Oleksij Rempel [Wed, 24 Apr 2013 17:14:06 +0000 (19:14 +0200)]
build fix: adf_os_export_symbol is a dead end macro

adf_os_export_symbol points to __adf_os_export_symbol
but __adf_os_export_symbol is not defined.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodbg: use default xxd style for memdmp 20/head
Oleksij Rempel [Wed, 24 Apr 2013 16:41:09 +0000 (18:41 +0200)]
dbg: use default xxd style for memdmp

result will looks like this:
533f70: 0000 0000 0900 0024 4243 5e00 0201 0000  .......$BC^.....
533f80: 0000 0000 00ff 0000 4801 0000 7431 7062  ........H...t1pb
533f90: d3cf 4c60 de83 9b2a 7431 7062 d3cf f00c  ..L`...*t1pb....

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodbg: add new db_unknown_command function to reduce redundand code
Oleksij Rempel [Tue, 23 Apr 2013 20:11:50 +0000 (22:11 +0200)]
dbg: add new db_unknown_command function to reduce redundand code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoMerge pull request #19 from olerem/dbg
Adrian Chadd [Tue, 23 Apr 2013 18:52:51 +0000 (11:52 -0700)]
Merge pull request #19 from olerem/dbg

debug work from olerem!

11 years agogdb: remove some chars from db_wdt_cmd
Oleksij Rempel [Tue, 23 Apr 2013 17:41:31 +0000 (19:41 +0200)]
gdb: remove some chars from db_wdt_cmd

hope this reduce some bits from memory.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodbg: add db_incorect_format
Oleksij Rempel [Tue, 23 Apr 2013 17:13:31 +0000 (19:13 +0200)]
dbg: add db_incorect_format

Replace duplicated code with db_incorect_format function.

ram usage before patch:
>info ram
ALLOCRAM Current Addr 0x5352bc
ALLOCRAM Remaining Bytes 42308

after patch:
>info ram
ALLOCRAM Current Addr 0x535234
ALLOCRAM Remaining Bytes 42444

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodbg: remove dead code 19/head
Oleksij Rempel [Tue, 23 Apr 2013 14:39:19 +0000 (16:39 +0200)]
dbg: remove dead code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodbg: make local functions static
Oleksij Rempel [Tue, 23 Apr 2013 14:26:04 +0000 (16:26 +0200)]
dbg: make local functions static

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodbg: remove empty functions
Oleksij Rempel [Tue, 23 Apr 2013 14:04:48 +0000 (16:04 +0200)]
dbg: remove empty functions

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodbg: remove db_dump_memory
Oleksij Rempel [Tue, 23 Apr 2013 13:52:04 +0000 (15:52 +0200)]
dbg: remove db_dump_memory

db_dump_memory is not correctly. Also functionality of this caommand
overlap with db_cmd_memdump. There place only for one of this functions :)

This patch fix a build warning too.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agodbg: replace zm_uart_send with A_PRINTF
Oleksij Rempel [Tue, 23 Apr 2013 13:41:35 +0000 (15:41 +0200)]
dbg: replace zm_uart_send with A_PRINTF

theoretically zm_uart_send should work like snprintf with
limiting size of the string. Practically, string size was ignored:
zm_uart_send(x, y) A_PUTS(x)

As result, terminal was trashed with not printable chars.
We replacing it with A_PRINTF.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoremove useless checks in wlan_task
Oleksij Rempel [Mon, 22 Apr 2013 15:03:58 +0000 (17:03 +0200)]
remove useless checks in wlan_task

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoMerge pull request #15 from KrasnikovEugene/master
Adrian Chadd [Sun, 14 Apr 2013 22:56:03 +0000 (15:56 -0700)]
Merge pull request #15 from KrasnikovEugene/master

Add UART documentation

11 years agoAdd UART documentation 15/head
Eugene Krasnikov [Mon, 8 Apr 2013 20:45:41 +0000 (22:45 +0200)]
Add UART documentation

Specify to which pin/GPIO UART is connected
for both AR9271 and AR7010

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
11 years agoMerge pull request #12 from KrasnikovEugene/master
Adrian Chadd [Wed, 10 Apr 2013 08:32:43 +0000 (01:32 -0700)]
Merge pull request #12 from KrasnikovEugene/master

Build warning fix

11 years agoMerge pull request #13 from olerem/buildfixes
Adrian Chadd [Wed, 10 Apr 2013 08:24:10 +0000 (01:24 -0700)]
Merge pull request #13 from olerem/buildfixes

Buildfixes part4v2

11 years agobuild fix: disable check for currently dead code 13/head
Oleksij Rempel [Mon, 8 Apr 2013 08:08:46 +0000 (10:08 +0200)]
build fix: disable check for currently dead code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove dead code
Oleksij Rempel [Mon, 8 Apr 2013 07:59:57 +0000 (09:59 +0200)]
build fix: remove dead code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoDo not remove bin dir 12/head
Eugene Krasnikov [Mon, 8 Apr 2013 11:29:19 +0000 (13:29 +0200)]
Do not remove bin dir

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
11 years agoChange save_cmnos_printf type to function pointer
Eugene Krasnikov [Mon, 18 Mar 2013 16:46:38 +0000 (17:46 +0100)]
Change save_cmnos_printf type to function pointer

save_cmnos_printf is always used as a function pointer
and never as integer

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
11 years agobuild fix: use native string functions
Oleksij Rempel [Sun, 7 Apr 2013 17:36:53 +0000 (19:36 +0200)]
build fix: use native string functions

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: pSib used only with MAGPIE_MERLIN
Oleksij Rempel [Sun, 7 Apr 2013 15:26:04 +0000 (17:26 +0200)]
build fix: pSib used only with MAGPIE_MERLIN

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: add missing type converter ATH_NODE_TARGET
Oleksij Rempel [Sun, 7 Apr 2013 15:22:16 +0000 (17:22 +0200)]
build fix: add missing type converter ATH_NODE_TARGET

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: stbcsupport used only with MAGPIE_MERLIN
Oleksij Rempel [Sun, 7 Apr 2013 15:02:51 +0000 (17:02 +0200)]
build fix: stbcsupport used only with MAGPIE_MERLIN

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use adf_os_mem_set instead of memset
Oleksij Rempel [Sun, 7 Apr 2013 15:00:32 +0000 (17:00 +0200)]
build fix: use adf_os_mem_set instead of memset

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoMerge pull request #10 from olerem/buildfixes
Adrian Chadd [Sun, 7 Apr 2013 08:01:33 +0000 (01:01 -0700)]
Merge pull request #10 from olerem/buildfixes

Build fixes - remove unused variables; add a pre-commit hook for people who wish to use it!

Thanks!

11 years agoadd scripts/checkpatch.pl 10/head
Oleksij Rempel [Sun, 7 Apr 2013 07:02:31 +0000 (09:02 +0200)]
add scripts/checkpatch.pl

currently developers should manually add this check with this command:
ln -s ../../scripts/pre-commit.sh .git/hooks/pre-commit

to do it automatically we need to add this command to autogen.sh or
what ever build system which we will use.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove unused variables in usb_api_patch.c
Oleksij Rempel [Sat, 6 Apr 2013 15:49:54 +0000 (17:49 +0200)]
build fix: remove unused variables in usb_api_patch.c

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agoMerge pull request #9 from KrasnikovEugene/master
Adrian Chadd [Fri, 5 Apr 2013 17:30:57 +0000 (10:30 -0700)]
Merge pull request #9 from KrasnikovEugene/master

Fix for https://github.com/qca/open-ath9k-htc-firmware/issues/8

11 years agoMerge pull request #5 from olerem/buildfixes
Adrian Chadd [Fri, 5 Apr 2013 17:28:39 +0000 (10:28 -0700)]
Merge pull request #5 from olerem/buildfixes

Buildfixes part 2

11 years agoCreate output directory for bin2hex before compiling 9/head
Eugene Krasnikov [Wed, 3 Apr 2013 18:40:57 +0000 (20:40 +0200)]
Create output directory for bin2hex before compiling

If target_firmware/magpie_fw_dev/build/utility/bin is not created
before compiling bin2hex build will fail.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
11 years agoAdd back 'bin'; it's required to build the binary helper tools.
Adrian Chadd [Wed, 3 Apr 2013 18:20:05 +0000 (11:20 -0700)]
Add back 'bin'; it's required to build the binary helper tools.

Issue: #8

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 agobuild fix: add type convert ath_desc ath_rx_desc 5/head
Oleksij Rempel [Mon, 1 Apr 2013 06:26:41 +0000 (08:26 +0200)]
build fix: add type convert ath_desc ath_rx_desc

in this case there is nothing to fix. dd_desc can be used by different
struct types, rx and tx.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove unused variables in ratectrl_11n_ln.c
Oleksij Rempel [Sun, 31 Mar 2013 17:44:15 +0000 (19:44 +0200)]
build fix: remove unused variables in ratectrl_11n_ln.c

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

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

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

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: lots of ath_tx_desc fixes
Oleksij Rempel [Sun, 31 Mar 2013 16:27:53 +0000 (18:27 +0200)]
build fix: lots of ath_tx_desc fixes

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_* ath_tgt_tx_form_aggr
Oleksij Rempel [Sun, 31 Mar 2013 17:32:15 +0000 (19:32 +0200)]
build fix: use ath_tx_* ath_tgt_tx_form_aggr

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_* in ath_tx_retry_subframe
Oleksij Rempel [Sun, 31 Mar 2013 17:30:52 +0000 (19:30 +0200)]
build fix: use ath_tx_* in ath_tx_retry_subframe

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_desc in ar5416Set11nAggrLast_20 and ar5416Set11nAggrMiddle_20
Oleksij Rempel [Sun, 31 Mar 2013 16:33:02 +0000 (18:33 +0200)]
build fix: use ath_tx_desc in ar5416Set11nAggrLast_20 and ar5416Set11nAggrMiddle_20

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_bufhead
Oleksij Rempel [Sun, 31 Mar 2013 16:29:08 +0000 (18:29 +0200)]
build fix: use ath_tx_bufhead

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ATH_NODE_TARGET for type conversation
Oleksij Rempel [Sun, 31 Mar 2013 16:28:46 +0000 (18:28 +0200)]
build fix: use ATH_NODE_TARGET for type conversation

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

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_buf in ath_tgt_txqaddbuf
Oleksij Rempel [Sun, 31 Mar 2013 16:26:50 +0000 (18:26 +0200)]
build fix: use ath_tx_buf in ath_tgt_txqaddbuf

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

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: sue ath_tx_desc in ar5416FillKeyTxDesc_20
Oleksij Rempel [Sun, 31 Mar 2013 16:15:07 +0000 (18:15 +0200)]
build fix: sue ath_tx_desc in ar5416FillKeyTxDesc_20

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_Desc in ar5416Set11nVirtualMoreFrag_20
Oleksij Rempel [Sun, 31 Mar 2013 16:10:59 +0000 (18:10 +0200)]
build fix: use ath_tx_Desc in ar5416Set11nVirtualMoreFrag_20

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

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

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: use ath_tx_buf in ar5416Clr11nAggr_20
Oleksij Rempel [Sun, 31 Mar 2013 16:04:23 +0000 (18:04 +0200)]
build fix: use ath_tx_buf in ar5416Clr11nAggr_20

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: ath_get_pktlen is tx specific, so use ath_tx_buf
Oleksij Rempel [Sun, 31 Mar 2013 15:45:21 +0000 (17:45 +0200)]
build fix: ath_get_pktlen is tx specific, so use ath_tx_buf

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: remove type reconversation
Oleksij Rempel [Sun, 31 Mar 2013 15:40:36 +0000 (17:40 +0200)]
build fix: remove type reconversation

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
11 years agobuild fix: fix retrun type for ath_buf_alloc
Oleksij Rempel [Sun, 31 Mar 2013 15:38:11 +0000 (17:38 +0200)]
build fix: fix retrun type for ath_buf_alloc

ath_buf_alloc is tx specific function. Rename it and fix return type

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
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>