Christian Lamparter [Fri, 4 Mar 2011 20:08:49 +0000 (21:08 +0100)]
carl9170 firmware: merge CARL9170FW_PSM with the standard RF code
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 4 Mar 2011 19:49:57 +0000 (20:49 +0100)]
carl9170 firmware: always enable HW watchdog
Ultimately, this is a mandatory feature and
must be activated.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 4 Mar 2011 19:45:07 +0000 (20:45 +0100)]
carl9170 firmware: integrate TX_AMPDU & DELAYED_TX
This patch fixes a few outstanding issues with the
two options and integrates the features into the
default build.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 26 Feb 2011 22:34:26 +0000 (23:34 +0100)]
carl9170 firmware: fix ProbeReq WOL Kconfig selection
The config option CARL9170FW_WOL_CHECK was renamed
to CARL9170FW_WOL.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 26 Feb 2011 00:25:47 +0000 (01:25 +0100)]
Merge branch 'master' of git://git./linux/kernel/git/chr/carl9170fw
Christian Lamparter [Wed, 16 Feb 2011 18:53:08 +0000 (19:53 +0100)]
Merge branch 'master' of git://git./linux/kernel/git/chr/carl9170fw
Christian Lamparter [Tue, 15 Feb 2011 11:02:54 +0000 (12:02 +0100)]
carlu: fix error code propagation
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 14 Feb 2011 23:31:11 +0000 (00:31 +0100)]
carl9170 firmware: update copyright boilerplate
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 14 Feb 2011 22:45:01 +0000 (23:45 +0100)]
carl9170 firmware: various small updates
* remove outdated Kconfig option
* fix carlu firmware location
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 14 Feb 2011 14:32:15 +0000 (15:32 +0100)]
carl9170 firmware build: simplify build process
Several users tried to use the generated carl9170.fw
without applying the firmware descriptor first. This
will obviously not work... Now cmake takes care of
this step as well and I have to say that it now looks
less confusing than before ;).
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 11 Feb 2011 17:01:32 +0000 (18:01 +0100)]
carlu: fix hexdump formatting
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Amitkumar Karwar [Wed, 26 Jan 2011 15:25:20 +0000 (16:25 +0100)]
ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro
It is defined in include/linux/ieee80211.h. As per IEEE spec.
bit6 to bit15 in block ack parameter represents buffer size.
So the bitmask should be 0xFFC0.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Cc: stable@kernel.org
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 25 Jan 2011 14:26:51 +0000 (15:26 +0100)]
carl9170 firmware: Wake-up on rx'ed Probe Request
This option allows the firmware to wakeup the host,
when it receives a probe request for a given SSID.
The advantage of this solution is that it works with
almost all client devices and various operating
systems. No special injection or [unencrypted] network
setup is required, just "active scan".
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 23 Jan 2011 21:06:07 +0000 (22:06 +0100)]
carl9170 firmware: optimize carl9170_tx_superframe access
Setting __aligned allows gcc to produce more compact
binaries.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 23 Jan 2011 21:01:05 +0000 (22:01 +0100)]
carl9170 firmware: fix gcc alignment warnings
warning: cast increases required alignment of target type.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 22 Jan 2011 23:43:48 +0000 (00:43 +0100)]
carl9170 firmware tools: show number of generated frames
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 22 Jan 2011 19:52:56 +0000 (20:52 +0100)]
carl9170 firmware: per-vif tx sequence counter
mac80211 will properly assign sequence numbers to QoS-data frames
but cannot do so correctly for non-QoS-data and management frames
because beacons need them from that counter as well and mac80211
cannot guarantee proper sequencing.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 16 Jan 2011 14:17:48 +0000 (15:17 +0100)]
carl9170 firmware: reorder SUSPEND/RESUME/WOL paths
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 16 Jan 2011 14:16:06 +0000 (15:16 +0100)]
carl9170 firmware tools: wol stop after inject error
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 16 Jan 2011 02:10:54 +0000 (03:10 +0100)]
carl9170 firmware tools: sample WOL packet generator
Generates a MAGIC WOL packet.
- Note -
Monitor interfaces [with injection] can be easily created by "iw".
<http://wireless.kernel.org/en/users/Documentation/iw#Adding_interfaces_with_iw>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 16 Jan 2011 00:11:18 +0000 (01:11 +0100)]
carl9170 firmware: Wake-on-LAN support
With this feature enabled, the device will stay
active while the host goes into System Standby
[Suspend to RAM!].
Furthermore, it scans all incoming 802.11 data frames
for a MAGIC WOL pattern and - when found - propagates
the wake-up call to the USB Host.
Notes/Limitations:
* Your host has to support USB remote wake-up.
[In some cases, /proc/acpi/wakeup has to be
configured as well - see Google for more
details]
* The MAC address is taken from the device EEPROM.
[so, ifconfig dev hw ether overrides don't
work (yet)]
* The magic pattern has to be within the first
320 bytes of the data frame.
* The magic frames has to be send unencrypted.
Therefore the WOL initiator has to support
frame injection [not a problem for most
mac80211-based drivers].
* The initatior need to be in range and on the
same channel as well.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 16 Jan 2011 00:07:39 +0000 (01:07 +0100)]
carl9170 firmware: update headers for WOL
This patch adds a few definitions for wake up on LAN.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 16 Jan 2011 00:05:08 +0000 (01:05 +0100)]
ieee80211: add ieee80211_hdrlen helper from cfg80211.h
ieee80211_hdrlen is a non-standard extenstion,
therefore it has to go into a separate commit.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 13 Jan 2011 13:58:41 +0000 (14:58 +0100)]
carlu: random number generator test
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 13 Jan 2011 13:45:51 +0000 (14:45 +0100)]
carl9170 firmware tools: fix libcarlfw on 64bit cpus
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 13 Jan 2011 13:38:33 +0000 (14:38 +0100)]
carl9170 firmware tools: fix compiler warnings
fwinfo.c:258: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘size_t’
eeprom_fix.c:235: warning: overflow in implicit constant conversion
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 13 Jan 2011 12:13:39 +0000 (13:13 +0100)]
carl9170 firmware toolchain: newlib 1.19.0
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 13 Jan 2011 12:09:05 +0000 (13:09 +0100)]
carlu: fix conflicting function declaration types
rx.c:52: error: conflicting types for ‘carlu_handle_command’
carlu.h:143: note: previous declaration of ‘carlu_handle_command’ was here
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Javier Cardona [Fri, 17 Dec 2010 01:23:34 +0000 (17:23 -0800)]
mac80211: Remove unused third address from mesh address extension header.
The Mesh Control header only includes 0, 1 or 2 addresses. If there is
one address, it should be interpreted as Address 4. If there are 2,
they are interpreted as Addresses 5 and 6 (Address 4 being the 4th
address in the 802.11 header).
The address extension used to hold up to 3 addresses instead of the current 2.
I'm not sure which draft version changed this, but it is very unlikely that it
will change again given the state of the approval process of this draft. See
section 7.1.3.6.3 in current draft (8.0).
Also, note that the extra address that I'm removing was not being used, so this
change has no effect on over-the-air frame formats. But I thought I better
remove it before someone does start using it.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Javier Cardona [Fri, 17 Dec 2010 01:37:49 +0000 (17:37 -0800)]
mac80211: Let userspace enable and configure vendor specific path selection.
Userspace will now be allowed to toggle between the default path
selection algorithm (HWMP, implemented in the kernel), and a vendor
specific alternative. Also in the same patch, allow userspace to add
information elements to mesh beacons. This is accordance with the
Extensible Path Selection Framework specified in version 7.0 of the
802.11s draft.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Wed, 5 Jan 2011 18:27:46 +0000 (19:27 +0100)]
carl9170 firmware: fix CAB MAC RESET regression
commit "carl9170 firmware: improve tx ampdu ba_end handling"
introduced a serious regression.
Since the wlan_trigger was missing, the flushed CAB frames
were stuck in tx queue. This of course lead to countless
warnings from the tx watchdog as it reseted the MAC
processor over and over again.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Wed, 5 Jan 2011 16:14:59 +0000 (17:14 +0100)]
carl9170 firmware: fix inaccurate delay calculation
The internal refclock is set by the driver to either:
44MHz - when the device operates on a 2.4 GHz channel
40MHz - 5GHz Band
This patch removes the previously used "80MHz" constant
(that's wrong anyway since this is the HT40 AHB/CPU clock)
and enhance the code so it can deal with the slight clock
speed variations.
Reported-by: Ignacy Gawedzki <i@lri.fr>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 3 Jan 2011 21:53:46 +0000 (22:53 +0100)]
carl9170 firmware: improve tx ampdu ba_end handling
According to the documentation, the hardwire MAC helps
forming an aggregated frame.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 3 Jan 2011 21:22:51 +0000 (22:22 +0100)]
carl9170 firmware: fix CAB queue delivery
This patch fixes a problem were frames - destined for
after-DTIM delivery - would just skip the waiting stage.
However, DELAYED_TX is not enabled by default. So, only
the few people who use a custom, non-standard firmware
will be affected.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 3 Jan 2011 21:16:14 +0000 (22:16 +0100)]
carl9170 firmware: reorganize wlan context members
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 25 Dec 2010 17:11:31 +0000 (18:11 +0100)]
carl9170 firmware: return to the default clock rate before rebooting
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 25 Dec 2010 01:55:13 +0000 (02:55 +0100)]
carl9170 firmware: update version to 1.9.2
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 25 Dec 2010 01:50:34 +0000 (02:50 +0100)]
carl9170 firmware: replace a few FUSB200 magics
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 25 Dec 2010 01:23:28 +0000 (02:23 +0100)]
carl9170 firmware: refactor suspend/resume callbacks
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 25 Dec 2010 01:19:51 +0000 (02:19 +0100)]
carl9170 firmware: add some more Faraday's FUSB200 defs
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 21 Dec 2010 21:47:58 +0000 (22:47 +0100)]
carl9170 firmware: remove static rx chainmask register update
The driver takes care of both chainmasks values.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 17 Dec 2010 17:56:35 +0000 (18:56 +0100)]
carl9170 firmware: clarify aggregation vs. qos situation
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Bing Zhao [Fri, 10 Dec 2010 02:24:41 +0000 (18:24 -0800)]
ieee80211: add Parameter Set Count bitmask
WMM IE QoS Info field lower 4 bits: Parameter Set Count
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 16 Dec 2010 20:20:30 +0000 (21:20 +0100)]
carl9170 firmware: toolchain binutils 2.21
Finally, it's out.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Amitkumar Karwar [Tue, 7 Dec 2010 21:43:03 +0000 (13:43 -0800)]
cfg80211: add some element IDs in enum ieee80211_eid
1)WLAN_EID_BSS_COEX_2040
2)WLAN_EID_OVERLAP_BSS_SCAN_PARAM
3)WLAN_EID_EXT_CAPABILITY
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 6 Dec 2010 12:22:42 +0000 (13:22 +0100)]
carl9170 firmware: reset PTA-DMA registers before reboot
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 5 Dec 2010 20:31:34 +0000 (21:31 +0100)]
carl9170 firmware: add defs of the default interrupt table
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 4 Dec 2010 21:43:45 +0000 (22:43 +0100)]
carl9170 firmware: reinit stack pointer before jumping to bootcode
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 4 Dec 2010 21:39:39 +0000 (22:39 +0100)]
carl9170 firmware: cleanup dma memory before reset
While the documentation does not mention anything
in this regard. There's clearly some bootloader
action in the DMA memory region.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 15 Nov 2010 19:36:46 +0000 (20:36 +0100)]
carl9170 firmware: update version to 1.9.1
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 15 Nov 2010 19:29:13 +0000 (20:29 +0100)]
carl9170 firmware: fix random reboot failures
This patch improves the reliability of various
reboot paths.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 15 Nov 2010 19:27:08 +0000 (20:27 +0100)]
carl9170 firmware build: automatically apply miniboot.fw
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 29 Oct 2010 16:27:03 +0000 (18:27 +0200)]
carl9170 firmware: minor shared header clean up
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 23 Oct 2010 16:44:33 +0000 (18:44 +0200)]
carl9170 firmware: fix ar9170_stream struct
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 19 Oct 2010 18:38:50 +0000 (20:38 +0200)]
carlu: move from private carl9170_tx_status to public _carl9170_tx_status
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 19 Oct 2010 18:35:21 +0000 (20:35 +0200)]
carl9170 firmware: privatize firmware structs
This patch removes all public bit-packed structs
from the public view by making them private with
ifdef __CARL9170FW__.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 18 Oct 2010 20:01:27 +0000 (22:01 +0200)]
Revert "carl9170 firmware: toolchain binutils 2.20.51"
This reverts commit
1999e162e83656d48ede992f37923c6efa85b123.
Oops, 2.20.51 is not an official release.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 18 Oct 2010 19:54:02 +0000 (21:54 +0200)]
carl9170 firmware: fix build error
carlfw/usb/usb.c: In function 'usb_ep0setup':
carlfw/usb/usb.c:701: error: will never be executed
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Steve deRosier [Sun, 10 Oct 2010 00:23:28 +0000 (17:23 -0700)]
mac80211: Update mesh constants to approved IEEE ANA values
This patch updates IEEE802.11 mesh constants to be consistent with newly
approved values. It modifies some values, as well as adds many new constants
in preparation for updating mesh code to the current 802.11s drafts. ANA
numbers were taken from:
https://mentor.ieee.org/802.11/dcn/09/11-09-0031-12-0000-ana-database-assigned-number-authority.xls
A few notes are in order:
1. This will break backwards compatibility with existing Linux kernels as
over-the-air constants have changed.
2. Some old and obsolete constants have been retained for now as the mesh code
itself hasn't been updated yet to the new 802.11s draft. This was desired to
keep the existing mesh scheme working until it can be updated. Adding the
approved values is the first step in updating the mesh code.
3. Obsolete constants have been clearly marked.
4. All ANA approved 802.11s constants have been added.
Signed-off-by: Steve deRosier <steve@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 16 Oct 2010 16:42:35 +0000 (18:42 +0200)]
carl9170 firmware: introduce __aligned compiler attribute v2
This patch reduces the firmware image size considerably.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 15 Oct 2010 23:00:44 +0000 (01:00 +0200)]
carlu: carlu_regwrite wrappers
The wrappers will come in handy, once we
need to import code from the kernel driver.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 15 Oct 2010 22:57:59 +0000 (00:57 +0200)]
carlu: merge usb-frontend context carlusb into generic carlu struct
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 15 Oct 2010 21:35:57 +0000 (23:35 +0200)]
carlu: add missing endian conversion
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 15 Oct 2010 21:33:52 +0000 (23:33 +0200)]
carlu: add GPIO test
This new test allows flashes the LEDs and allows
the user to check if the WPS button works.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 15 Oct 2010 21:20:05 +0000 (23:20 +0200)]
carlu: put command definitions into separate header
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 15 Oct 2010 21:14:30 +0000 (23:14 +0200)]
carlu: support testing async commands
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 15 Oct 2010 20:12:45 +0000 (22:12 +0200)]
carlu: fix copy+paste error
Don't download and check the firmware image twice.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Wed, 13 Oct 2010 19:39:17 +0000 (21:39 +0200)]
carl9170 firmware: update pram size comment
Only 16 kbytes are reserved for the program ram (+ stack), or
at least visible for my customer device.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 12 Oct 2010 11:00:21 +0000 (13:00 +0200)]
carl9170 firmware: update API to 1.9.0
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 12 Oct 2010 10:36:05 +0000 (12:36 +0200)]
carl9170 firmware: reintegrate timer/clock routines
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 9 Oct 2010 20:00:31 +0000 (22:00 +0200)]
carl9170: fix total error filter bit handling
The total error (aka fatal error) bit was erroneously
prefixed as AR9170_RX_ERROR instead of AR9170_RX_STATUS.
(+ minor styling tweaks)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 3 Oct 2010 20:13:32 +0000 (22:13 +0200)]
carl9170 firwmare: toolchain gcc 4.4.5
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 30 Sep 2010 16:06:52 +0000 (18:06 +0200)]
carl9170 firmware tools: don't show null entries
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 30 Sep 2010 15:52:59 +0000 (17:52 +0200)]
carl9170 firmware: remove bogoclock
There's no need to measure the cpu clock. The internal clock
source is (always) set to 80Mhz and only timer 0 to 3 are
affected by under-/overclocking.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 30 Sep 2010 15:39:36 +0000 (17:39 +0200)]
carl9170 firmware: purge undefined function declarations
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 30 Sep 2010 15:34:47 +0000 (17:34 +0200)]
carl9170 firmware: introduce __noreturn attribute
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 30 Sep 2010 15:30:42 +0000 (17:30 +0200)]
carl9170 firmware: upgrade API struct layout checks
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 28 Sep 2010 17:47:31 +0000 (19:47 +0200)]
carl9170 firmware: update API to 1.8.8.3
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 28 Sep 2010 17:46:10 +0000 (19:46 +0200)]
carl9170 firmware: implement software rx filter
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 19 Sep 2010 22:13:12 +0000 (00:13 +0200)]
carl9170 firmware: toolchain binutils 2.20.51
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 16 Sep 2010 20:13:38 +0000 (22:13 +0200)]
carl9170 firmware: remove firmware context memset
There's no need to reinitialize the firmware context on boot.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 16 Sep 2010 19:59:46 +0000 (21:59 +0200)]
carl9170 firmware: abort build if stack frame > 128
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Tue, 14 Sep 2010 17:36:55 +0000 (19:36 +0200)]
carl9170 firmware: update default config
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 13 Sep 2010 21:21:44 +0000 (23:21 +0200)]
carl9170 firmware: update API to 1.8.8.2
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 13 Sep 2010 21:13:09 +0000 (23:13 +0200)]
carl9170 firmware: outsource obsolete TX DMA bump code
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 13 Sep 2010 21:03:01 +0000 (23:03 +0200)]
carl9170 firmware: update shared headers
* add SET_CONSTVAL helper
* cosmetic changes
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 13 Sep 2010 20:49:05 +0000 (22:49 +0200)]
carl9170 firmware: improve mac reset handling
Extensive testing has confirmed that the code from the original
firmware source might not be sufficient to restore the MAC-state
after a reset.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 13 Sep 2010 17:47:50 +0000 (19:47 +0200)]
carl9170 firmware: remove trailing semicolon from #define
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 5 Sep 2010 23:01:19 +0000 (01:01 +0200)]
carl9170 firmware: harmonize shared header layout
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Fri, 3 Sep 2010 17:23:24 +0000 (19:23 +0200)]
carl9170 firmware: purge duplicated registers
Felix kindly pointed out:
* SYNTH_CONTROL was introduced in the AR9002+ generation.
* TXPWRADJ is of little relevance for AR9001.
* M_SLEEP same as above, only of use on pre-11n chips.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 30 Aug 2010 04:09:41 +0000 (06:09 +0200)]
carl9170 firmware: update API to 1.8.8.1
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 30 Aug 2010 04:05:06 +0000 (06:05 +0200)]
carl9170 firmware tools: fix crash if source is a directory
The tools will no longer crash if the "firmware" file is
a directory.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 30 Aug 2010 03:42:49 +0000 (05:42 +0200)]
carl9170 firmware: move SRAM & PRAM definitions into shared headers
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Mon, 30 Aug 2010 03:30:25 +0000 (05:30 +0200)]
carl9170 firmware: modify the right beacon
Previously, the beacon address and length hardware registers
were (ab-)used as additional parameters for the beacon
modification functions. This idea worked fine, until I decided
to change the associated code and moved the beacon address and
length "set" _after_ the wlan_cab_modify_dtim_beacon...
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 29 Aug 2010 01:36:12 +0000 (03:36 +0200)]
carl9170 firmware: update API to 1.8.8
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sun, 29 Aug 2010 00:15:27 +0000 (02:15 +0200)]
carl9170 firmware: remove stale hw definitios
Looks like MAC vs. CAM name lead to some confusion.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 28 Aug 2010 22:43:04 +0000 (00:43 +0200)]
carl9170 firmware: rename cab_flush to bcn_ctrl and fix update delay
Along with the renaming, this patch fixes the weird
beacon update delay and removes the previously used
workaround for the problem.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 28 Aug 2010 22:29:46 +0000 (00:29 +0200)]
carl9170 firmware: add undocumented PRETBTT timer
There seems to be an additional timer in the MAC_PRETBTT
register. Unfortunately, the hardware specification does
not have any documentation about what this timer, (or
how it differs from the other for that matter).
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Sat, 28 Aug 2010 22:28:08 +0000 (00:28 +0200)]
carl9170 firmware: update copyright boilerplate
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Christian Lamparter [Thu, 26 Aug 2010 21:58:09 +0000 (23:58 +0200)]
carl9170 firmware: update API to 1.8.7.1
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>