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 marek.puzyn...@tieto.com 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 format

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 kv...@qca.qualcomm.com wrote: Marek Puzyniak marek.puzyn...@tieto.com writes: As a part of tdls implementation introduce tdls related wmi data structures, constant values and functions. Signed-off-by: Marek Puzyniak marek.puzyn...@tieto.com This patch

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 michal.kaz...@tieto.com wrote: On 22 March 2015 at 08:49, Arik Nemtsov a...@wizery.com wrote: On Fri, Mar 20, 2015 at 1:02 PM, Marek Puzyniak marek.puzyn...@tieto.com wrote: As a part of tdls implementation introduce tdls related wmi data structures

[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

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

2015-03-20 Thread Marek Puzyniak
michal.kaz...@tieto.com Signed-off-by: Marek Puzyniak marek.puzyn...@tieto.com --- drivers/net/wireless/ath/ath10k/core.h | 2 + drivers/net/wireless/ath/ath10k/htt_rx.c | 8 -- drivers/net/wireless/ath/ath10k/htt_tx.c | 30 +++--- drivers/net/wireless/ath/ath10k/mac.c| 155

[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 marek.puzyn...@tieto.com

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

2015-03-20 Thread Marek Puzyniak
-off-by: Michal Kazior michal.kaz...@tieto.com Signed-off-by: Marek Kwaczynski marek.kwaczyn...@tieto.com Signed-off-by: Marek Puzyniak marek.puzyn...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 205 -- 1 file changed, 197 insertions(+), 8 deletions(-) diff

[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 marek.puzyn...@tieto.com --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 42 drivers/net/wireless/ath/ath10k/wmi-tlv.c | 153

[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 marek.puzyn...@tieto.com Signed-off-by: Marek Kwaczynski marek.kwaczyn...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 17

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 marek.puzyn...@tieto.com 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

[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

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

2015-03-09 Thread Marek Puzyniak
. Tdls functionality for ath10k requires changes in mac80211 provided in patch: mac80211: initialize rate control earlier for tdls station Signed-off-by: Michal Kazior michal.kaz...@tieto.com Signed-off-by: Marek Kwaczynski marek.kwaczyn...@tieto.com Signed-off-by: Marek Puzyniak marek.puzyn

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

2015-03-09 Thread Marek Puzyniak
michal.kaz...@tieto.com Signed-off-by: Marek Puzyniak marek.puzyn...@tieto.com --- drivers/net/wireless/ath/ath10k/core.h | 2 + drivers/net/wireless/ath/ath10k/htt_rx.c | 8 -- drivers/net/wireless/ath/ath10k/htt_tx.c | 30 +++--- drivers/net/wireless/ath/ath10k/mac.c| 155

[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 marek.puzyn...@tieto.com Signed-off-by: Marek Kwaczynski marek.kwaczyn...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 17

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 a...@wizery.com 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

[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 marek.puzyn...@tieto.com --- net/mac80211/cfg.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c

[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 marek.puzyn...@tieto.com Signed-off-by: Marek Kwaczynski marek.kwaczyn...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 17

[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 4/4] ath10k: introduce basic tdls functionality

2015-02-24 Thread Marek Puzyniak
. Tdls functionality for ath10k requires changes in mac80211 provided in patch: mac80211: initialize rate control earlier for tdls station Signed-off-by: Michal Kazior michal.kaz...@tieto.com Signed-off-by: Marek Kwaczynski marek.kwaczyn...@tieto.com Signed-off-by: Marek Puzyniak marek.puzyn

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

2015-02-10 Thread Marek Puzyniak
On 6 February 2015 at 14:41, Marek Puzyniak marek.puzyn...@tieto.com 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

[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 marek.puzyn...@tieto.com

[PATCH] ath10k: fix wmm params per vdev

2015-02-06 Thread Marek Puzyniak
concerns qca6174. Signed-off-by: Marek Puzyniak marek.puzyn...@tieto.com --- 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

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

2015-02-03 Thread Marek Puzyniak
. Tdls functionality for ath10k requires changes in mac80211 provided in patch: mac80211: initialize rate control earlier for tdls station Signed-off-by: Michal Kazior michal.kaz...@tieto.com Signed-off-by: Marek Kwaczynski marek.kwaczyn...@tieto.com Signed-off-by: Marek Puzyniak marek.puzyn

[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

[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 marek.puzyn...@tieto.com Signed-off-by: Marek Kwaczynski marek.kwaczyn...@tieto.com --- drivers/net/wireless/ath/ath10k/mac.c | 14 +- drivers

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

2015-02-03 Thread Marek Puzyniak
michal.kaz...@tieto.com Signed-off-by: Marek Puzyniak marek.puzyn...@tieto.com --- drivers/net/wireless/ath/ath10k/core.h | 2 + drivers/net/wireless/ath/ath10k/htt_rx.c | 8 -- drivers/net/wireless/ath/ath10k/htt_tx.c | 30 drivers/net/wireless/ath/ath10k/mac.c| 128

[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 marek.puzyn...@tieto.com --- net/mac80211/cfg.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c

[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 marek.puzyn...@tieto.com --- [432866.234088] BUG: unable to handle kernel NULL