Re: [PATCH v4 6/6] ath10k: introduce basic tdls functionality

2015-03-27 Thread Marek Puzyniak
Hi Kalle, On 20 March 2015 at 07:02, Marek Puzyniak wrote: > This patch introduces tdls without tdls peer uapsd > and tdls channel switching. > Transmitting tdls data frames works only for ethernet > type frames, that's why data addressed to tdls sta > is in ethernet fo

Re: [PATCH v4 5/6] ath10k: add wmi support for tdls

2015-03-24 Thread Marek Puzyniak
On 23 March 2015 at 11:53, Kalle Valo wrote: > Marek Puzyniak writes: > >> As a part of tdls implementation introduce >> tdls related wmi data structures, constant >> values and functions. >> >> Signed-off-by: Marek Puzyniak > > This patch had non-tr

Re: [PATCH v4 5/6] ath10k: add wmi support for tdls

2015-03-23 Thread Marek Puzyniak
On 23 March 2015 at 09:09, Michal Kazior wrote: > On 22 March 2015 at 08:49, Arik Nemtsov wrote: >> On Fri, Mar 20, 2015 at 1:02 PM, Marek Puzyniak >> wrote: >>> As a part of tdls implementation introduce >>> tdls related wmi data structures, constant >>

[PATCH v4 5/6] ath10k: add wmi support for tdls

2015-03-20 Thread Marek Puzyniak
As a part of tdls implementation introduce tdls related wmi data structures, constant values and functions. Signed-off-by: Marek Puzyniak --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 42 drivers/net/wireless/ath/ath10k/wmi-tlv.c | 153 ++ drivers/net

[PATCH v4 4/6] ath10k: update station counting

2015-03-20 Thread Marek Puzyniak
Currently station counting functions (inc_num_stations/dec_num_stations) does not handle tdls type of stations. Tdls station should be counted because it consumes peer in firmware. Only not tdls stations are excluded from this counting. Signed-off-by: Marek Puzyniak --- drivers/net/wireless/ath

[PATCH v4 6/6] ath10k: introduce basic tdls functionality

2015-03-20 Thread Marek Puzyniak
igned-off-by: Michal Kazior Signed-off-by: Marek Kwaczynski Signed-off-by: Marek Puzyniak --- drivers/net/wireless/ath/ath10k/mac.c | 205 -- 1 file changed, 197 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wir

[PATCH v4 3/6] ath10k: store max tdls vdevs that fw can handle

2015-03-20 Thread Marek Puzyniak
Currently number of tdls vdevs supported by firmware is hardcoded. For future usage it is stored in ath10k structure based on defined value. Signed-off-by: Marek Puzyniak --- drivers/net/wireless/ath/ath10k/core.c| 1 + drivers/net/wireless/ath/ath10k/core.h| 1 + drivers/net/wireless

[PATCH v4 2/6] ath10k: make peer type configurable

2015-03-20 Thread Marek Puzyniak
Peer type was hardcoded to default value. For future implementation it is required to make is configurable. Signed-off-by: Marek Puzyniak Signed-off-by: Marek Kwaczynski --- drivers/net/wireless/ath/ath10k/mac.c | 17 +++-- drivers/net/wireless/ath/ath10k/wmi-ops.h | 8

[PATCH v4 1/6] ath10k: unify tx mode and dispatch

2015-03-20 Thread Marek Puzyniak
From: Michal Kazior There are a few different tx paths depending on firmware and frame itself. Creating a uniform decision will make it possible to switch between different txmode easier, both for testing and for future features as well. Signed-off-by: Michal Kazior Signed-off-by: Marek

[PATCH v4 0/6] ath10k: add basic tdls support

2015-03-20 Thread Marek Puzyniak
after review v3: -more minor changes after review -replace tdls peer counter variable by iterate station function v4: -provide functions for counting tdls station per vif and tdls vifs -handle maximum number of tdls vifs -split code into more patches Marek Puzyniak (5): ath10k: make peer type

Re: [PATCH v3 0/3] ath10k: add basic tdls support

2015-03-11 Thread Marek Puzyniak
On 9 March 2015 at 13:45, Marek Puzyniak wrote: > This patchset introduces tdls funtionality without tdls peer uapsd > and tdls channel switching. Tdls is supported by qca6174 hardware > what is indicated by firmware through supported services. [...] > Marek Puzyniak (2): > at

[PATCH v3 2/3] ath10k: make peer type configurable

2015-03-09 Thread Marek Puzyniak
Peer type was hardcoded to default value. For future implementation it is required to make is configurable. Signed-off-by: Marek Puzyniak Signed-off-by: Marek Kwaczynski --- drivers/net/wireless/ath/ath10k/mac.c | 17 +++-- drivers/net/wireless/ath/ath10k/wmi-ops.h | 8

[PATCH v3 3/3] ath10k: introduce basic tdls functionality

2015-03-09 Thread Marek Puzyniak
ormat. Tdls functionality for ath10k requires changes in mac80211 provided in patch: mac80211: initialize rate control earlier for tdls station Signed-off-by: Michal Kazior Signed-off-by: Marek Kwaczynski Signed-off-by: Marek Puzyniak --- drivers/net/wireless/ath/ath10k/mac.c

[PATCH v3 1/3] ath10k: unify tx mode and dispatch

2015-03-09 Thread Marek Puzyniak
From: Michal Kazior There are a few different tx paths depending on firmware and frame itself. Creating a uniform decision will make it possible to switch between different txmode easier, both for testing and for future features as well. Signed-off-by: Michal Kazior Signed-off-by: Marek

[PATCH v3 0/3] ath10k: add basic tdls support

2015-03-09 Thread Marek Puzyniak
: -introduce tdls peer counter -minor changes after review v3: -more minor changes after review -replace tdls peer counter variable by iterate station function Marek Puzyniak (2): ath10k: make peer type configurable ath10k: introduce basic tdls functionality Michal Kazior (1): ath10k: unify tx

Re: [PATCH v2 3/4] mac80211: initialize rate control earlier for tdls station

2015-03-04 Thread Marek Puzyniak
On 4 March 2015 at 11:04, Arik Nemtsov wrote: > I can do it, but I'll probably only get to it next week. I will try to prepare patch this week, if not I will wait for Arik's proposition. For ath10k rate control need to be initialised before moving to STA_AUTHORIZED, so initialising rate control

[PATCH v2 4/4] ath10k: introduce basic tdls functionality

2015-02-24 Thread Marek Puzyniak
ormat. Tdls functionality for ath10k requires changes in mac80211 provided in patch: mac80211: initialize rate control earlier for tdls station Signed-off-by: Michal Kazior Signed-off-by: Marek Kwaczynski Signed-off-by: Marek Puzyniak --- drivers/net/wireless/ath/ath10k/core.h| 1 + driver

[PATCH v2 3/4] mac80211: initialize rate control earlier for tdls station

2015-02-24 Thread Marek Puzyniak
control after station transition to authorized state but before notifying driver about that. Signed-off-by: Marek Puzyniak --- net/mac80211/cfg.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index dd4ff36..ae24ed3

[PATCH v2 1/4] ath10k: unify tx mode and dispatch

2015-02-24 Thread Marek Puzyniak
From: Michal Kazior There are a few different tx paths depending on firmware and frame itself. Creating a uniform decision will make it possible to switch between different txmode easier, both for testing and for future features as well. Signed-off-by: Michal Kazior Signed-off-by: Marek

[PATCH v2 2/4] ath10k: make peer type configurable

2015-02-24 Thread Marek Puzyniak
Peer type was hardcoded to default value. For future implementation it is required to make is configurable. Signed-off-by: Marek Puzyniak Signed-off-by: Marek Kwaczynski --- drivers/net/wireless/ath/ath10k/mac.c | 17 +++-- drivers/net/wireless/ath/ath10k/wmi-ops.h | 8

[PATCH v2 0/4] ath10k: add basic tdls support

2015-02-24 Thread Marek Puzyniak
. Because of that this patches contains one patch for mac80211 which moves rate control initialization before calling drivers station state with transition to authorized state. v2: -introduce tdls peer counter -minor changes after review Marek Puzyniak (3): ath10k: make peer type configurable

[PATCH v2] ath10k: fix wmm params per vdev

2015-02-10 Thread Marek Puzyniak
During wmm tests changing wmm parameters did not change anything. This was because of mismatch in WMM params per vdev command. WMM params per vdev uses different command structure than wmm params per pdev command. Patch concerns qca6174. Signed-off-by: Marek Puzyniak --- v2: * removed txop

Re: [PATCH] ath10k: fix wmm params per vdev

2015-02-10 Thread Marek Puzyniak
On 6 February 2015 at 14:41, Marek Puzyniak wrote: > During wmm tests changing wmm parameters did not change anything. > This was because of mismatch in WMM params per vdev command. > WMM params per vdev uses different command structure than wmm params > per pdev command. Also txop

[PATCH] ath10k: fix wmm params per vdev

2015-02-06 Thread Marek Puzyniak
concerns qca6174. Signed-off-by: Marek Puzyniak --- drivers/net/wireless/ath/ath10k/mac.c | 17 - drivers/net/wireless/ath/ath10k/wmi-tlv.c | 15 +-- drivers/net/wireless/ath/ath10k/wmi-tlv.h | 6 ++ 3 files changed, 19 insertions(+), 19 deletions(-) diff

[RFC 2/4] ath10k: make peer type configurable

2015-02-03 Thread Marek Puzyniak
Peer type was hardcoded to default value. For future implementation it is required to make is configurable. Signed-off-by: Marek Puzyniak Signed-off-by: Marek Kwaczynski --- drivers/net/wireless/ath/ath10k/mac.c | 14 +- drivers/net/wireless/ath/ath10k/wmi-ops.h | 8

[RFC 1/4] ath10k: unify tx mode and dispatch

2015-02-03 Thread Marek Puzyniak
From: Michal Kazior There are a few different tx paths depending on firmware and frame itself. Creating a uniform decision will make it possible to switch between different txmode easier, both for testing and for future features as well. Signed-off-by: Michal Kazior Signed-off-by: Marek

[RFC 3/4] mac80211: initialize rate control earlier for tdls station

2015-02-03 Thread Marek Puzyniak
control after station transition to authorized state but before notifying driver about that. Signed-off-by: Marek Puzyniak --- net/mac80211/cfg.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index a777114..3849054

[RFC 4/4] ath10k: introduce basic tdls functionality

2015-02-03 Thread Marek Puzyniak
ormat. Tdls functionality for ath10k requires changes in mac80211 provided in patch: mac80211: initialize rate control earlier for tdls station Signed-off-by: Michal Kazior Signed-off-by: Marek Kwaczynski Signed-off-by: Marek Puzyniak --- drivers/net/wireless/ath/ath10k/mac.c

[RFC 0/4] ath10k: add basic tdls support

2015-02-03 Thread Marek Puzyniak
review. Marek Puzyniak (3): ath10k: make peer type configurable mac80211: initialize rate control earlier for tdls station ath10k: introduce basic tdls functionality Michal Kazior (1): ath10k: unify tx mode and dispatch drivers/net/wireless/ath/ath10k/core.h| 2 + drivers/net

[PATCH] ath9k_htc: avoid kernel panic in ath9k_hw_reset

2014-10-07 Thread Marek Puzyniak
hw pointer of ath_hw is not assigned to proper value in function ath9k_hw_reset what finally causes kernel panic. This can be solved by proper initialization of ath_hw in ath9k_init_priv. Signed-off-by: Marek Puzyniak --- [432866.234088] BUG: unable to handle kernel NULL pointer dereference at