Oleksij Rempel [Thu, 3 Nov 2016 12:25:23 +0000 (13:25 +0100)]
remove duplicate: cmnos_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 11:56:23 +0000 (12:56 +0100)]
remove not directly used includes
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 11:37:06 +0000 (12:37 +0100)]
remove duplicate: uart_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 11:36:50 +0000 (12:36 +0100)]
remove duplicate: hif_pci.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 11:29:38 +0000 (12:29 +0100)]
remove duplicate: usb_table.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 11:29:24 +0000 (12:29 +0100)]
remove duplicate: magpie_regdump.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 11:29:18 +0000 (12:29 +0100)]
remove duplicate: intr_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 11:29:12 +0000 (12:29 +0100)]
remove duplicate: hif_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 11:29:07 +0000 (12:29 +0100)]
remove duplicate: athos_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:39:48 +0000 (11:39 +0100)]
remove unused htc_tgt.c
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:39:41 +0000 (11:39 +0100)]
remove unused buf_pool_dynamic.c
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:39:37 +0000 (11:39 +0100)]
remove unused cmnos_clock.c
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:38:06 +0000 (11:38 +0100)]
remove unused OTUS_htc.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:38:02 +0000 (11:38 +0100)]
remove unused OTUS_misc.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:37:56 +0000 (11:37 +0100)]
remove unused adf_os_pseudo.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:37:12 +0000 (11:37 +0100)]
remove unused magpie_mem.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:37:03 +0000 (11:37 +0100)]
remove unused opt_ah.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:36:56 +0000 (11:36 +0100)]
remove unused adf_os_bitops.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:36:52 +0000 (11:36 +0100)]
remove unused adf_os_crypto.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:36:44 +0000 (11:36 +0100)]
remove unused asf_sm.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:11:21 +0000 (11:11 +0100)]
remove duplicate: hif_gmac.h
same checksum
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:07:21 +0000 (11:07 +0100)]
remove duplicate: cmnos_api.h
resulting same binary checksum
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:05:41 +0000 (11:05 +0100)]
remove duplicate: adf_nbuf_pvt.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 10:02:33 +0000 (11:02 +0100)]
remove duplicate: clock_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 09:41:45 +0000 (10:41 +0100)]
remove duplicate: clock_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 09:28:22 +0000 (10:28 +0100)]
remove duplicate: buf_pool_api.h and htc_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 09:18:49 +0000 (10:18 +0100)]
remove duplicate: printf_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 09:15:32 +0000 (10:15 +0100)]
remove duplicate: romp_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 09:12:33 +0000 (10:12 +0100)]
remove duplicate: hif_usb.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:57:13 +0000 (09:57 +0100)]
remove duplicate: dma_engine_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:55:26 +0000 (09:55 +0100)]
remove duplicate: dma_lib.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:53:45 +0000 (09:53 +0100)]
remove duplicate: wdt_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:51:39 +0000 (09:51 +0100)]
remove duplicate: vdesc_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:49:19 +0000 (09:49 +0100)]
remove duplicate: opt_ah.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:44:32 +0000 (09:44 +0100)]
remove duplicate: string_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:42:55 +0000 (09:42 +0100)]
remove duplicate: regdump.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:41:06 +0000 (09:41 +0100)]
remove duplicate: timer_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 3 Nov 2016 08:40:02 +0000 (09:40 +0100)]
remove duplicate: tasklet_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Wed, 2 Nov 2016 10:26:06 +0000 (11:26 +0100)]
remove duplicate: vbuf_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Wed, 2 Nov 2016 10:22:19 +0000 (11:22 +0100)]
remove duplicate: misc_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Wed, 2 Nov 2016 10:20:54 +0000 (11:20 +0100)]
remove duplicate: mem_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Wed, 2 Nov 2016 10:17:57 +0000 (11:17 +0100)]
remove duplicate: eeprom_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Wed, 2 Nov 2016 10:11:20 +0000 (11:11 +0100)]
remove duplicate: allocram_api.h
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Adrian Chadd [Sat, 29 Oct 2016 15:48:42 +0000 (08:48 -0700)]
Merge pull request #106 from olerem/clean-2016.10.15
Clean 2016.10.15
Adrian Chadd [Wed, 19 Oct 2016 16:01:33 +0000 (09:01 -0700)]
Merge pull request #100 from RyDroid/editorconfig
Adding a file for EditorConfig
Adrian Chadd [Mon, 17 Oct 2016 17:00:05 +0000 (10:00 -0700)]
Merge pull request #97 from DC-fgervais/xretries
Only increment xretries statistic for unicast frames
Oleksij Rempel [Thu, 13 Oct 2016 08:12:51 +0000 (10:12 +0200)]
docs: remove *png files
debian asks to remove pngs and generate it from svg on make, if needed.
For now, just remove it.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 13 Oct 2016 07:48:20 +0000 (09:48 +0200)]
fix all Wunused-but-set-variable varnings.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 13 Oct 2016 07:44:52 +0000 (09:44 +0200)]
remove all trailing whitespaces in one run
and convert dos to unix files. no other changes made here.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 13 Oct 2016 07:41:06 +0000 (09:41 +0200)]
add -Wunused-but-set-variable
we can't just now use -Wall. So lets add them step by step.
-Wunused-but-set-variable seems to be a good start :)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Adrian Chadd [Tue, 11 Oct 2016 14:24:46 +0000 (07:24 -0700)]
Merge pull request #102 from RyDroid/travis
Adding a file for Travis CI
Adrian Chadd [Sun, 9 Oct 2016 15:54:29 +0000 (08:54 -0700)]
Merge pull request #104 from olerem/pre_debian-2016.10.05
make toolchain path configurable
Paul Fertser [Sat, 1 Oct 2016 16:46:25 +0000 (18:46 +0200)]
make toolchain path configurable
this is needed to make it work with debian
cross-toolchain
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Nicola Spanti (RyDroid) [Tue, 4 Oct 2016 21:59:14 +0000 (23:59 +0200)]
Adding a file for EditorConfig
Nicola Spanti (RyDroid) [Tue, 4 Oct 2016 21:56:24 +0000 (23:56 +0200)]
Adding a file for Travis CI
Adrian Chadd [Sun, 2 Oct 2016 18:37:42 +0000 (11:37 -0700)]
Merge pull request #99 from olerem/pre_debian-2016.10.02
Pre debian 2016.10.02
Oleksij Rempel [Sat, 1 Oct 2016 12:10:41 +0000 (14:10 +0200)]
remove unused cmnos_printf.c
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sat, 1 Oct 2016 11:59:13 +0000 (13:59 +0200)]
remove linux/compiler.h, mosty it is not used
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sat, 1 Oct 2016 11:37:54 +0000 (13:37 +0200)]
change licese for atheros files
fix license issues for debian packaging: licensecheck --copyright -r target_firmware
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sat, 1 Oct 2016 11:24:54 +0000 (13:24 +0200)]
change xtansa licesed files
fix license issues for debian packaging: licensecheck --copyright -r target_firmware
With permission from Tensilica, Inc, these files have been relicensed.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sat, 1 Oct 2016 08:03:37 +0000 (10:03 +0200)]
fix missing licenses
fix license issues for debian packaging: licensecheck --copyright -r target_firmware
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sat, 1 Oct 2016 07:33:53 +0000 (09:33 +0200)]
Fix FSF adress in GPLv2 files
fix license issues for debian packaging:
licensecheck --copyright -r target_firmware
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sat, 1 Oct 2016 07:08:57 +0000 (09:08 +0200)]
fix path for a sboot file
sboot was move to other location.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 29 Sep 2016 19:35:36 +0000 (21:35 +0200)]
use binutils 2.27
to provide debian package we need to use binutils 2.27.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sat, 1 Oct 2016 14:24:32 +0000 (16:24 +0200)]
CMakeLists.txt: add -fno-lto
this option is needed to make compile work with cross-toolchain properly.
We are not using LTO any way, but for some reasons if cross-tolachain
is compailed without LTO, then FW compilation will fail.
With and without this option FW has same md5sum - So it should be save
to use this option.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Francois Gervais [Wed, 21 Sep 2016 18:33:41 +0000 (14:33 -0400)]
Only increment xretries statistic for unicast frames
It looks like the ar5416 only has the AR_ExcessiveRetries flag
to let the outside know it didn't receive an ACK.
So in case of broadcast/multicast it gets set even though it's
not "excessive retry" per se. These frames just don't
acknowledge/retry in a 802.11 transmission.
This patch makes sure broadcast/multicast transmissions won't
increment the xretries statistic.
Adrian Chadd [Tue, 20 Sep 2016 18:17:55 +0000 (11:17 -0700)]
Merge pull request #94 from olerem/crypto
add cryptographic assurances when fetching the toolchain
Daniel Kahn Gillmor [Tue, 20 Sep 2016 17:38:03 +0000 (19:38 +0200)]
add cryptographic assurances when fetching the toolchain
Previously, anyone tampering with the network could have modified the
toolchain source code in transit and the build would have proceeded as
expected.
With this patch, we can ensure that we're getting the expected
tarballs from upstream.
If the required toolchain packages change in the future, the sha256
digests of the new packages should be updated in Makefile as well.
Updated-by: Oleksij Rempel <linux@rempel-privat.de>
Adrian Chadd [Tue, 20 Sep 2016 16:19:48 +0000 (09:19 -0700)]
Merge pull request #93 from olerem/gcc-clean-2016.09.19.1
Gcc clean 2016.09.19.1
Oleksij Rempel [Fri, 16 Sep 2016 08:23:13 +0000 (10:23 +0200)]
fix compile warnings for gcc 6.2.0
Most of issues discovered by gcc 6.2.0 are:
warning: implicit declaration of function '...'
which make sense since this functions was never declared,
espesially functions provided by ROM.
In the last case, correct usage of this functions was never
checked by compiler.
So, wellcome in to GCC 6.2.0 age ;)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Fri, 16 Sep 2016 06:14:08 +0000 (08:14 +0200)]
Revert "Add a patch for binutils 2.23.1"
This reverts commit
24b475841870cc495417619637c42d65381be38e.
We are using now binutils 2.26.1. So we can drop this patch.
Oleksij Rempel [Thu, 15 Sep 2016 18:11:01 +0000 (20:11 +0200)]
update binutils.patch for 2.26.1
and drop useless update of copy right - it prevent us from
reusing this patch for latest binutils.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 15 Sep 2016 17:45:09 +0000 (19:45 +0200)]
update gcc.patch for gcc 6.2.0
and drop useless update of copy right - it prevent us from
reusing this patch for latest gcc.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Thu, 15 Sep 2016 18:11:01 +0000 (20:11 +0200)]
bump gcc to 6.2.0
gcc 6.2.0 builds with texinfo versions 6.x .
update other dependencies too.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Adrian Chadd [Fri, 16 Sep 2016 16:10:43 +0000 (09:10 -0700)]
Merge pull request #92 from olerem/date-2016.09.16
remove __DATE__ and __TIME__
Oleksij Rempel [Fri, 16 Sep 2016 07:17:23 +0000 (09:17 +0200)]
remove __DATE__ and __TIME__, make builds reproducible.
__DATE__ and __TIME__ are mostly useless information.
Even more, it makes builds not reprodusable which is evil.
Read more about reproducible builds here:
https://reproducible-builds.org/
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Adrian Chadd [Thu, 11 Aug 2016 20:32:34 +0000 (13:32 -0700)]
Merge pull request #79 from kpengboy/master
Fix license missed during initial conversion
Kevin Peng [Tue, 1 Sep 2015 23:14:31 +0000 (16:14 -0700)]
Fix license missed during initial conversion
Requested by Adrian Chadd
Adrian Chadd [Sun, 16 Nov 2014 02:36:43 +0000 (18:36 -0800)]
Merge pull request #69 from chunyeow/master
ath9k_htc_firmware: check only the mesh control present subfield
Adrian Chadd [Sun, 16 Nov 2014 02:36:17 +0000 (18:36 -0800)]
Merge pull request #67 from IanR778/timestamp_fix
Timestamp fix - looks good! Thanks!
Adrian Chadd [Sun, 16 Nov 2014 02:34:45 +0000 (18:34 -0800)]
Fix the licence - i missed this with my initial conversion
of the licences.
Adrian Chadd [Sat, 15 Nov 2014 20:53:47 +0000 (12:53 -0800)]
Update build instructions for FreeBSD.
Chun-Yeow Yeoh [Fri, 14 Nov 2014 04:50:09 +0000 (12:50 +0800)]
ath9k_htc_firmware: check only the mesh control present subfield
This is related to the previous patch "fix the offset of
CCMP header for mesh data frame". Check only the Mesh
Control Present subfield on QoS Control field to determine
whether it is a mesh data frame.
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
IanR778 [Wed, 8 Oct 2014 22:56:44 +0000 (23:56 +0100)]
Fix: bug in extend_tsf near 0x8000000 values
Bugfix + added more test cases.
IanR778 [Wed, 8 Oct 2014 20:00:37 +0000 (21:00 +0100)]
FIX: support rstamps from the future too.
* Extend a 32 bit TSF to nearest 64 bit TSF value.
* When the adapter is a STATION, its local TSF is periodically modified by
* the hardware to match the BSS TSF (as received in beacon packets), and
* rstamp may appear to be from the future or from the past (with reference
* to the current local TSF) because of jitter. This is mostly noticable in
* highly congested channels. The code uses signed modulo arithmetic to
* handle both past/future cases and signed-extension to avoid branches.
* Test cases:
* extend(0x0000001200000004, 0x00000006) == 0x0000001200000006
* extend(0x0000001200000004, 0x00000002) == 0x0000001200000002
* extend(0x0000001200000004, 0xfffffffe) == 0x00000011fffffffe ! tsfhigh--
* extend(0x00000012fffffffc, 0xfffffffe) == 0x00000012fffffffe
* extend(0x00000012fffffffc, 0xfffffffa) == 0x00000012fffffffa
* extend(0x00000012fffffffc, 0x00000002) == 0x0000001300000002 ! tsfhigh++
IanR778 [Wed, 8 Oct 2014 00:14:01 +0000 (01:14 +0100)]
Firmware sometimes returns erroneous timestamps(2)
Fixed incorrect wrapping handling in ath_extend_tsf().
IanR778 [Wed, 8 Oct 2014 00:11:04 +0000 (01:11 +0100)]
Firmware sometimes returns erroneous timestamps
Added proper synchronization while handling lower 32 bit and upper 32 bit parts in ar5416GetTsf64().
Adrian Chadd [Thu, 11 Sep 2014 18:35:37 +0000 (11:35 -0700)]
Merge pull request #64 from iazz/master
Fix resetting of txstatus flags.
Ignacy Gawędzki [Thu, 11 Sep 2014 09:56:36 +0000 (11:56 +0200)]
Fix resetting of txstatus flags.
Adrian Chadd [Mon, 30 Jun 2014 04:12:00 +0000 (21:12 -0700)]
Merge pull request #61 from sudoman/sudoman-fixes
minimal changes to fix the toolchain build process on some newer systems
Andrew Engelbrecht [Mon, 30 Jun 2014 01:04:09 +0000 (21:04 -0400)]
bump gcc to newer revision
gcc 4.7.4 builds with texinfo versions 5.x .
Andrew Engelbrecht [Mon, 30 Jun 2014 00:56:37 +0000 (20:56 -0400)]
fix binutils build with new gcc versions
disabling -Werror while building binutils ignores the following
warnings on systems using -Werror and -Wall by default:
-Wunused-value
oblique [Wed, 8 May 2013 16:21:31 +0000 (19:21 +0300)]
Add a patch for binutils 2.23.1
Without this patch, binutils fails to compile.
This patch will not be needed for binutils 2.24.
Adrian Chadd [Fri, 23 May 2014 17:00:00 +0000 (10:00 -0700)]
Merge pull request #57 from olerem/io_clean-2014.05.23
Io clean 2014.05.23
Oleksij Rempel [Fri, 23 May 2014 16:36:16 +0000 (18:36 +0200)]
remove all HAL_*_READ/WRITE defines
we do not need them any more
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Mon, 28 Apr 2014 18:08:59 +0000 (20:08 +0200)]
dbg_api.c: use new io funcs
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sun, 27 Apr 2014 14:47:47 +0000 (16:47 +0200)]
cmnos_sflash.c: use new io funcs
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sun, 27 Apr 2014 14:09:00 +0000 (16:09 +0200)]
app_start.c: use new io funcs
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sun, 27 Apr 2014 13:29:58 +0000 (15:29 +0200)]
usb_api_main_patch.c use new io funcs
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Oleksij Rempel [Sun, 27 Apr 2014 13:27:26 +0000 (15:27 +0200)]
usb_api_k2_patch.c: use new io functions
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>