open-ath9k-htc-firmware.git
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 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 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>
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 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>