Re: [ath9k-devel] [PATCH 05/12] ath9k: use u32 when calculate tsf

2015-11-12 Thread Kalle Valo
Janusz Dziedzic writes: > Signed-off-by: Janusz Dziedzic Why? And no empty commit logs, please. -- Kalle Valo ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org

Re: [ath9k-devel] [PATCH] ath9k: incorrect queue may be stopped/awaken

2015-11-12 Thread Kalle Valo
Borja Salazar writes: > When channel context is enabled, we could be > stopping/awakening an incorrect queue. Signed-off-by line is missing, I can't take this. -- Kalle Valo ___ ath9k-devel mailing list

Re: [ath9k-devel] [PATCH] ath9k: incorrect queue may be stopped/awaken

2015-11-12 Thread Janusz Dziedzic
On 3 November 2015 at 18:37, Borja Salazar wrote: > When channel context is enabled, we could be > stopping/awakening an incorrect queue. > --- > drivers/net/wireless/ath/ath9k/xmit.c | 22 -- > 1 file changed, 12 insertions(+), 10 deletions(-) > > diff

[ath9k-devel] [PATCH 02/12] ath9k: print real timer value

2015-11-12 Thread Janusz Dziedzic
In case of low HZ before this patch we saw wrong values in debug message. Print real timeout value. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[ath9k-devel] [PATCH 07/12] ath9k: MCC enable Opportunistic Power Save

2015-11-12 Thread Janusz Dziedzic
When adding NOA attr enable Opportunistiv Power Save. Before we calculate ctwindow but didn't enable oppps. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[ath9k-devel] [PATCH 03/12] ath9k: queue null frames in case of MCC

2015-11-12 Thread Janusz Dziedzic
While mac80211 using null frames when connection polling, we should queue this frames while NOA could be there, and AP, P2P_GO could be not present. Without this patch, with no traffic we often saw disconnections while we try to send nullfunc when AP/GO wasn't present. Signed-off-by: Janusz

[ath9k-devel] [PATCH 06/12] ath9k: setup correct skb priority for nullfunc

2015-11-12 Thread Janusz Dziedzic
After queue nullfunc for MCC case, we hit WARN_ON in xmit.c:2398 while skb priority wasn't set. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath9k/channel.c

[ath9k-devel] [PATCH 01/12] ath9k: add debug messages to aggr/chanctx funcs

2015-11-12 Thread Janusz Dziedzic
Add/extend debug messages when chanctx used. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 11 --- drivers/net/wireless/ath/ath9k/hw.c | 8 drivers/net/wireless/ath/ath9k/xmit.c| 15 +++ 3 files

[ath9k-devel] [PATCH 05/12] ath9k: use u32 when calculate tsf

2015-11-12 Thread Janusz Dziedzic
Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c index 5640e88..d86566b 100644 ---

[ath9k-devel] [PATCH 10/12] ath9k: MCC, add NOA also in case of an AP

2015-11-12 Thread Janusz Dziedzic
In case of MCC and AP interface, add also NOA attr that will inform stations about absence of an AP. There is a chance that some stations will handle this NOA attr correctly and will know exactly when AP is present/absent. Signed-off-by: Janusz Dziedzic ---

[ath9k-devel] [PATCH 09/12] ath9k: request NOA update when chanctx active

2015-11-12 Thread Janusz Dziedzic
Request NOA update when chanctx active, also in case of STA. Signed-off-by: Janusz Dziedzic --- This depends on: [PATCH] mac80211: add new IEEE80211_VIF_GET_NOA_UPDATE flag drivers/net/wireless/ath/ath9k/channel.c | 2 +- drivers/net/wireless/ath/ath9k/main.c| 5

[ath9k-devel] [PATCH 11/12] ath9k: MCC add sta_ap_ratio module param

2015-11-12 Thread Janusz Dziedzic
In case of MCC we can setup STA/AP(GO) ratio. Eg. setting sta_ap_ratio=80 STA will get 80% of time, while AP(GO) 20%. Setup correct ctwindow. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/ath9k.h | 2 + drivers/net/wireless/ath/ath9k/channel.c |

[ath9k-devel] [PATCH 12/12] ath9k: MCC, print time elapsed between events

2015-11-12 Thread Janusz Dziedzic
This is useful for MCC debugging and bug fixing. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/ath9k.h | 1 + drivers/net/wireless/ath/ath9k/channel.c | 19 +-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git

[ath9k-devel] [PATCH 04/12] ath9k: P2P_CLIENT, send frames after 1ms AP/GO will aprear

2015-11-12 Thread Janusz Dziedzic
AP/GO will aprear after NOA, wait 1ms to be sure AP could receive/answer this frames. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/channel.c

[ath9k-devel] [PATCH 08/12] ath9k: P2P_CLIENT, get/set NOA correctly

2015-11-12 Thread Janusz Dziedzic
In case we get BSS_CHANGED_P2P_PS early, from mac80211, we didn't set NOA timer correctly, while p2p_ps_vif was NULL. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git