summaryrefslogtreecommitdiff
path: root/drivers/staging
AgeCommit message (Collapse)Author
2011-09-19U8500 CM: execute services before detroying componentPierre Peiffer
Force MMDSP to have executed all previous services before detroying the components: service construct / start / stop on a component could remain on the pipe when the component is destroyed. ST-Ericsson ID: 358445 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Icd8c0fe7d567128562599e928b381514e4a71fa8
2011-09-19U8500 CM: Fix issue in component-preload mechanismPierre Peiffer
An address must not been assigned to preloaded component, but only with template ST-Ericsson ID: 358497 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I13a30973c27d757b48e35bf3f7f78b880ee3027a
2011-09-19U8500 CM: instantiate singleton in default domainPierre Peiffer
Singleton components are components used as shared lib on MMDSP and are allocated in the memory domain given at first instantiation. That domain will thus be seen as busy until all users have released their reference to this singleton component, preventing this domain to be released by its creator, even if it has released his reference. This patch assigns these singletons to a default domain once they are created to avoid this issue. ST-Ericsson ID: 356938 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Ie5590147624d3cb399469600bbc35359ef741295
2011-09-19U8500 CM: provide MMDSP dump in case of PanicPierre Peiffer
Implement support of debugfs: - Provide several live information through debugfs - Provide support of MMDSP core dump also through debugfs, when a panic occurs. Rework the allocator to enhance the MMDSP stack allocation. ST-Ericsson ID: 356478 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I19e21a8a0cfa23e9085c2c429ce13f973c552818
2011-09-19cg2900: Do not send RX data to wrong userPar-Gunnar Hjalmdahl
This patch corrects an issue where received data was sent to the wrong user depending on which user first opened the channel. ST-Ericsson Linux next: Not tested, ER 282957 ST-Ericsson ID: 333690 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I14c0bb64e2bd2c0d175da0407af3da179920d015 Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com> Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29927
2011-09-19cg2900: Use correct struct for SCO start streamPar-Gunnar Hjalmdahl
This patch corrects an issue where wrong structure was used when starting a SCO stream. ST-Ericsson Linux next: Not tested, ER 282957 ST-Ericsson ID: 333792 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia36809fa623d4957f962410a3416beca2f657b9f Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19948 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Henrik POSSUNG <henrik.possung@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29800 Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2011-09-19mfd/cg2900: Fix for memory leak when using logger.Lukasz Rymanowski
Remove memory leak when sending skb to logger. ST-Ericsson Linux next: Not tested, ER282957 ST-Ericsson ID: 329071 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I0880bc71b4fa654601d96dfdddeff17e64155e55 Signed-off-by: Lukasz Rymanowski <lukasz.rymanowski@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18452 Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Tested-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-by: Dariusz SZYMCZAK <dariusz.xd.szymczak@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Henrik POSSUNG <henrik.possung@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29798 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2011-09-19cg2900: Disable chip when init failedAndrzej Kaczmarek
Adds set_chip_power FALSE call to disable chip when it was not possible to read out revision from the chip (means that initialization failed). ST-Ericsson Linux next: Not tested, ER 351382 ST-Ericsson ID: 351382 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia3ace0b964095d679cb9c3885de2deaa1aa195a3 Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/28057 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QATEST Tested-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29797 Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2011-09-19cg2900: Fix crash when transport is closedPar-Gunnar Hjalmdahl
This patch fixes crashes caused by transport being removed while users of the CG2900 driver still exist. ST-Ericsson Linux next: Not tested, ER 336652 ST-Ericsson ID: 336652 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6318ce1086097a4fa63a1793b6795b01ea939715 Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21781 Reviewed-by: QATEST Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29795 Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2011-09-19u8500: vibra: fix sleeping fn. in atomic contextShreshtha Kumar Sahu
sleepable call - flush_workqueue called from atomic context of vibra_enable. ST-Ericsson Linux next: 332221 ST-Ericsson ID: ER 351276 ST-Ericsson FOSS-OUT ID: Trivial Ref: Commit-id: Ie61cd94bb43edd0e6f71b34d00e5f81d1ddeccb6 Signed-off-by: Avinash A <Avinash.a@stericsson.com> Change-Id: I32debc738d1cec9de0ddf5ae64a98e83db5d7ec8 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29707 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com>
2011-09-19u8500: optimize: linear vibra drv using vibra-pwmShreshtha Kumar Sahu
This patch optimizes the current implementation of "linear vibrator driver using vibra-pwm". Current implementation is CPU intensive and uses 100% of a CPU for the time period vibrator is used. ST-Ericsson Linux next: 332221 ST-Ericsson ID: ER 349958 ST-Ericsson FOSS-OUT ID: Trivial Ref: Commit-id: Ia928c732aa87410015c734d1da7209018c1d6707 Signed-off-by: Avinash A <Avinash.a@stericsson.com> Change-Id: I853905da79d79863f769fa13ab655c14295735aa Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29706 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com>
2011-09-19u5500: timed output driver for ab5500 vibratorShreshtha Kumar Sahu
Simple timed output vibrator driver for AB5500 MFD chips. This chip supports Rotary and Linear vibrator hardware types. Resonance frequency of 100-198 Hz is supported. ST-Ericsson Linux next: ER 336280 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson ID: WP 256408 Ref: Commit-id: Ie61cd94bb43edd0e6f71b34d00e5f81d1ddeccb6 Signed-off-by: Avinash A <Avinash.a@stericsson.com> Change-Id: I217b118e767a103f54152f76d9e82f70257f91c6 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29705 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com> Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-09-19U8500 CM: make call to stopper synchronousPierre Peiffer
When a component uses the MMDSP hardware pipe, make the call to the stopper synchronous. Otherwise, the hardware pipe is stopped before the stopper is called, which may be wrong if the stopper still needs to access the pipe. ST-Ericsson ID: 352780 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I9aaac434f2b11e25c54fae2c12ef3d812dd716ec Depends-On: I8c2e2d6f33af3c53d2438e57658337f6c9f91477
2011-09-19U8500 NMF-CM: Increase internal fifo sizePierre Peiffer
In some media usecase, this internal fifo becomes too small. Increase its size to fix media usecase. ST-Ericsson ID: 341141 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I3fe5195a3865b993783c0f1244eb89e7ce4c4f4a
2011-09-19U8500 NMF-CM: add support for component preloadingPierre Peiffer
Provide support for pre-loading some NMF components, used to pre-load some components that are on a time critical path. Having such components already pre-loaded decreases the time required to instantiate and deploy them. ST-Ericsson ID: 352754 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Depends-On: If8e129163e6c94b7c239c84af667b16d7a1b56ac, I73416c15f75afce61a056f318a448a034182acb2, Id40225d1ce93f2c9cfc085744717dc091add74c4 Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I4aecce1bcc63e6d4b04e251e821c8896ed63ba54
2011-09-19U8500 NMF-CM: make creation of domains more robustPierre Peiffer
CM_ENGINE_CreateMemoryDomain() allows the creation of domains for some other client (process ID). Today, it doesn't check the existance of the target client, what can lead to an unused domain. This patch fixes it for forbidding the creation of domain for a non-existing client. ST-Ericsson ID: 352761 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Icf81e9a9c18ce204d0f3c472a1ee05b140567738
2011-09-19U8500 NMF-CM: start DSP at 100 OPPPierre Peiffer
Start the DSP at 100OPP instead of 50 OPP to speed up the start of some audio usecases. ST-Ericsson ID: 351728 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: If10f593719fc5e7a933997e7c7464b673586f65b
2011-09-19U8500 NMF-CM: rework the DMA partPierre Peiffer
The addition of the DMA part within the driver has broken the OSI part. This prevents all easy merge of any new changes in this OSI part. This patch reworks this part by moving everything in linux specific files. ST-Ericsson ID: 343776 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iafaa4b36539729826442d0c2dd95c5bbc52bfddb Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
2011-09-19U8500 CM: protect driver against MMDSP corruptionPierre Peiffer
The loadmap of the MMDSP components is stored in shared memory (DDR memory shared between ARM and MMDSP). In case of corruption of this memory by some MMDSP firmware, current parsing of this loadmap on ARM side may lead to a kernel Panic. This patch makes the driver tolerant against any corruption ST-Ericsson Linux next: - ST-Ericsson ID: 351745 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
2011-09-19u8500 CM: use vmalloc() for big allocationsPierre Peiffer
Use vmalloc() instead of OSAL_Alloc() for "big" allocations. OSAL_Alloc() uses kmalloc by default and default to vmalloc() if kmalloc() fails. The logic works, but an ugly print appears in the console each time kmalloc() fails. We use now directly vmalloc() to avoid these ugly prints ST-Ericsson Linux next: - ST-Ericsson ID: 343810 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
2011-09-19Set Current Pid to Tidpsen
* in case of tid is zero * Check for KERNELRLEASE instead of MM_MAKEFILES_DIR in Makefile
2011-09-19ux500_ing05160_ab5500_sim_0.1: fix the resource leakBibek Basu
Commit id : I70c297af: staging ab5500-sim: fix the resource leak Build and boot test only done for 8500 config Booting will only happend properly if used Initramfs Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Change-Id: I8edbdb1dbf4282b8bfa4e6b5a3f4b0ca2b460138 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/28916
2011-09-19staging: cm: fix after API change introduced by "plist: Remove the need to ↵Philippe Langlais
supply locks to plist heads" Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2011-09-19staging: binder: Fix use of uninitialized variable.Nick Kralevich
Under an extremely rare condition, the variable return_error may not be set. This patch initializes the value to a known "bad" value, and checks before return to ensure return_error has been set. Signed-off-by: Nick Kralevich <nnk@google.com> Change-Id: Id768ac28e6ba9c80ff15696d55034998a94ab81d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19499 Tested-by: Piotr TOMASZEWSKI <piotr.tomaszewski@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19binder: Remove dead target debug printsJonas Aaberg
Remove some annoying binder debug prints by changing the default android debug level. ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: I9db858e3402512ffa7482ce00e4cbc071e2e532e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18727 Reviewed-by: Robert LIND <robert.lind@stericsson.com> Reviewed-by: Axel FAGERSTEDT <axel.fagerstedt@stericsson.com>
2011-09-19bluetooth: Add wake locks for CG2900Philippe Langlais
This patch corrects some bad behavior for the CG2900 driver when system suspends. Wake locks are added to stop Android from suspending when chip should be contacted. Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com>
2011-09-19synaptics:Disable touch screen vaux1 regulator during backlight offPhilippe Langlais
Disabled the Synaptics touch screen vaux1 regulator during backlight off by implementing the early suspend. Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> [ANDROID]: staging: ste_rmi4: synaptics rmi4: Fix ifdefs Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Fix to merge with latest rmi4 changes
2011-09-19staging: android: PWM-vibra for ASoCOla Lilja
PWM-vibra modified to use AB8500 ASoC-driver instead of audio_io-driver. To be merged with a54de41373f132e0ddb7ca6caedecff66cb755d0 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Ux500 ASoC: Set PWM-vibra duty cycle to zero when off When the PWM-vibra is turned off the duty cycle is set to zero. Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com>
2011-09-19Vibrator: Timed output vibrator driverMarcin Mielczarczyk
ST-Ericsson vibrator driver which registers in Android specific timed output device class. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com> Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@tieto.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Timed output vibrator: New functionality. This patch allows to form the vibration characteristic using few parameters defined in the platform data: - boost level and period for start condition - on level as moderate speed - off level and period for brake condition Detailed information can be found here: Documentation\DocBook\ste_timed_vibra.html Signed-off-by: Grzegorz Sygieda <grzegorz.sygieda@tieto.com> Signed-off-by: Krzysztof Antonowicz <krzysztof.antonowicz@tieto.com> Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com> vibrator: remove board specific control of vibrator Platform specific control of vibrator should be present in board file (here board-mop500.c). So, for example if GPIO pins are used to control the vibrator, its control function implemenation should be in board file. This patch provides the callback function support in the driver for the same. Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> android: vibrator: dont directly access ktime_t members Use ktime helper functions for converting ktime values Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> u8500: vibra: linear vibrators using vibra-pwm Linear vibrators operate on thier required resonance frequency (for COPAL and AAC its ~150Hz). This can be provided using AUDIO DA5 path. This software *workaround* enables linear vibrators using AB8500 vibra-pwm by generating required resonace frequency using software. In addition this patch provides support for separate platform data for Linear and Rotarty vibrators. Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> u8500: vibra: disable vibrator after vibration This patch disables vibrator i.e. configures the PWM duty cycle to zero after vibration duration is over. Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2011-09-19Merge linux-linaro-3.0-2011.07-1-android-1 into..Ulf Hansson
..linux-linaro-3.0-2011.07-1_glk3.0 Conflicts: arch/arm/common/Makefile drivers/misc/Kconfig drivers/misc/Makefile kernel/printk.c Change-Id: I126f34edb1879981909072beefb2738cad26f951
2011-09-19staging: mmio: enable extended DDR usageRajat Verma
Enables configuration of DDR usage size for camera firmware. Earlier it was fixed at 64 kB, now ISP can use upto 256 MB of DDR memory. ST-Ericsson Linux next: NA ST-Ericsson ID: 345711 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie5599f55176ccaf42ba76392803057d96c096e62 Signed-off-by: Rajat Verma <rajat.verma@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25193 Reviewed-by: QATOOLS Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19drivers:nmf-cm: Correct handling of CR registerRickard Andersson
This patch changes to using read-modify-write sequence when modifying content in the CR register in peripheral block 6. Without this patch secure world can hang during suspend/resume deep sleep with ESRAM0 turned off. This happend because important settings in CR register was lost. ST-Ericsson Linux next: - ST-Ericsson ID: ER345629 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I524e8ed307bca5645aecbcebf26317474234490b Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25174 Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19Stagging : AB5500 SIM interface DriverBibek Basu
SIM Interface driver provides interface to configure various parameters of AB5500 SIM Level Shifter. Support provided are: Configure Pull up on sim lines Configure Operation Mode Notify Sim Insert/Extract Interrupt ST-Ericsson Linux next: 336280 ST-Ericsson ID: 341172 ST-Ericsson FOSS-OUT ID:STETL-FOSS-OUT-10242 Change-Id: I5ef4b92384ca4da0f96839afae7c7468f244978f Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21582 Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-09-19staging: cg2900: Fix for gpio header moveRobert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-09-19staging: Kconfig fix merge with original commitRobert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-09-19staging: camera-flash: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-09-19staging: mmio: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-09-19staging: nmf-cm: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-09-19staging: cg2900: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-09-19cw1200: throughput optimization and fine-tuning.Dmitry Tarnyagin
* Fixed: Do not allocate a dedicated communication channel (buffer) for WSM command stream, use it for data traffic when needed. * Additional statistics added to DebugFS: counters for TX policy cache misses and unaligned skbs memmove. * Fixed: Strip IV/ICV in the driver to prevent mac80211 layer from double-verification. Change-Id: I600664466d577df4c2bc62ff49fb22f2d3b024cc Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24482 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25622 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: Remove link to platform_device from platform_data.Dmitry Tarnyagin
Pointer to platform_device was added to the cw1200 platform_data in the regulator support commit. It is not needed and breaks design: cw1200 platform_devce should not be exposed to the cw1200 driver. Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Change-Id: Ic880da9e4bc7ee4d3cfd759bf201c6f850509142 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25140 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: rate policy optimization.Dmitry Tarnyagin
Try to utilize higher rates as much as possible before switching to lower rates. Change-Id: Ieaba60bc17b9c8e4e676a6ed7e5061d2ba8eddcf Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24481 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25621 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: Document and optimize device reset sequence.Dmitry Tarnyagin
Some devices have problems with reset if WRESET is active (low) when device is being powered on. Additional WRESET cycle is required for these devices. Change-Id: I117c1776e3819260ec7f4aa4e0d14174eb3f7e82 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25624 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com> Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com>
2011-09-19cw1200: New option for 5GHz support.Dmitry Tarnyagin
5GHz band support is disabled by default in the driver. Use CW1200_5GHZ_SUPPORT kernel option to explicitly enable it if your hardware supports 5GHz band. Change-Id: I21c30ebd277ab19fcd92380f806111f2db668d0f Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25623 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: 11n verification and bugfixing.Dmitry Tarnyagin
* MCS rate indexes were wrongly interpreted by the driver as legacy rate offsets in both TX and RX directions. * HT rates have not been marked as MCS rates in rate description table. * Driver should not expose AMPDU aggregation capability to the mac80211 stack, aggrehation is fully controlled by the firmware. Firmware takes care of block ACK negotiation. * Block ACK action frames are filtered by driver: mac80211 layer is not involved into BA dialog. * Block ACK in TX direction is enabled. * Block ACK in SoftAP mode is enabled. * RX'ed frames should not be marked as "aggregated" for the mac80211 stack, it confuses rate control algorithm quite a lot. * CONFIG_CW1200_HT_SUPPORT option is removed: drivers always supports HT. TODO: - Modify minstrel rate policy "distillation" to prioritize higher bitrates. - Verify greenfield mode. Change-Id: I9288a2b99984785ae97d85de98ea79d3a49ea64f Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24480 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25620 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: stylistic change: move RX callback to txrx.cDmitry Tarnyagin
WSM RX callback is moved form sta.c to txrx. Change-Id: Id56e07c3b71d8a2fb52b3b974feaed8c48364390 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24479 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25619 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: Multi-tx confirmation is implemented.Dmitry Tarnyagin
Multi-tx offloads SDIO interface by reducing number of TX confirm messages. Multiple PDUs are acknowledged by a single multi-tx confirm message. Change-Id: Ie152a2dc9fc3ca18e2a8042965f626a6c2ec6409 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24478 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25618 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: AMSDU debug statisticsDmitry Tarnyagin
MSDU aggregation statistics are exposed to DebugFS. Change-Id: Ifb99ab3a206d50a3f86b791fbc505de0e9b64371 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24477 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25617 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: Support of WSM293+ firmware in STA mode.Dmitry Tarnyagin
WSM299 firmware is more strict in terms of when driver is allowed to send "Set PM" request. Change is done to move power management after join. Change-Id: I211ab9cf9ad3dc40f551e1b09f7b3d9179e02c74 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24297 Reviewed-by: Bartosz MARKOWSKI <bartosz.markowski@tieto.com> Reviewed-by: Janusz DZIEDZIC <janusz.dziedzic@tieto.com> Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25616 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-09-19cw1200: fix for locked datapath after deauth.Dmitry Tarnyagin
When AP sent more than one deauth requests in a row, datapath was remaining locked after deauthentication/unjoin. Result code of queue_work() was not checked and datapath was not unlocked if unjoin_work was already pending execution. Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Change-Id: I9c8394acd75e1aa828fad04c33bda118893ba031 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25615 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>