build fix: Magpie_Sys_Commands_Tbl used only if MAGPIE_ENABLE_WLAN == 0

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: remove unused *ahp

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: src on memcpy is allways const

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

v2 - use #define..

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: magpie..init.c remove unused variables

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: ar5416_hw.c remove unused variables

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: adf_os_export_symbol is undefined

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

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: remove firts definition of ATH_NODE_TARGET

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: ds_link should be compared with 0, not NULL

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: remove unused variables from if_ath.c

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: change return type of ath_detach_tgt

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: remove unused dev_info in if_ath_pci.c

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: remove unused variables from if_owl.c

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
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>
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>
build fix: use our internal memcpy, for now.

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