Re: [PATCH 00/24] staging: wilc1000: avoid use of static and global variable

2018-08-27 Thread Ajay Singh
Hi Greg, On Mon, 27 Aug 2018 19:10:47 +0200 Greg KH wrote: > On Tue, Aug 14, 2018 at 12:19:52PM +0530, Ajay Singh wrote: > > This patch set mainly contains changes to avoid the use of static > > and global variables. Also contains few patch to avoid the > > checkpatch warning arise due to code

Re: [PATCH 20/24] staging: wilc1000: avoid line over 80 chars in tcp_process()

2018-08-27 Thread Ajay Singh
Hi Dan, On Mon, 27 Aug 2018 15:00:50 +0300 Dan Carpenter wrote: > On Mon, Aug 27, 2018 at 10:54:38AM +0530, Ajay Singh wrote: > > Hi Claudiu, > > > > On Fri, 24 Aug 2018 12:31:28 +0300 > > Claudiu Beznea wrote: > > > > > On 23.08.2018 13:33, Ajay Singh wrote: > > > > On Thu, 23 Aug 2018

YOUR PRODUCT

2018-08-27 Thread Rafaa Esawi
Greetings, We are rebuilding Iraq after years of conflicts and we are inviting you to take up contracts. We are determined to purchase your products in large quantities, for use in all over our 18 governorates(provinces) as the task of re-building Iraq covers every single sectormand facet of

Re: [PATCH v2 05/17] mt76: fix mt76x02-lib module license

2018-08-27 Thread Felix Fietkau
On 2018-08-27 16:56, Stanislaw Gruszka wrote: > Add module license. > > Signed-off-by: Stanislaw Gruszka Please merge this into the previous patch. - Felix

Re: [RFC 3/3] mac80211: add ieee80211_reorder_txq

2018-08-27 Thread Rajkumar Manoharan
On 2018-08-22 04:10, Toke Høiland-Jørgensen wrote: Rajkumar Manoharan writes: On 2018-08-21 05:24, Toke Høiland-Jørgensen wrote: Rajkumar Manoharan writes: [...] Yeah, but the fairness comes from all TXQs being given the *same amount* of deficit increase. I.e., with reorder_txq() there

[PATCH v3 13/17] iwlwifi: mvm: move he RX handling to a separate function

2018-08-27 Thread Luca Coelho
From: Sara Sharon The HE code is bloating the RX handling, and makes it too big. Signed-off-by: Sara Sharon Signed-off-by: Luca Coelho --- In v3: remove smatch warning reported by Dan Carpenter. Just removed the "if (he)" because it must be set at this point.

Re: [PATCH 00/24] staging: wilc1000: avoid use of static and global variable

2018-08-27 Thread Greg KH
On Tue, Aug 14, 2018 at 12:19:52PM +0530, Ajay Singh wrote: > This patch set mainly contains changes to avoid the use of static > and global variables. Also contains few patch to avoid the checkpatch > warning arise due to code refactor. I'm dropping this whole series from my review queue as I

Neighbor Awareness Networking status inquiry

2018-08-27 Thread Milan Stute
Hi all, Can you tell me what is the status of bringing Neighbor Awareness Networking (NAN) to the Linux WLAN stack? The last entry in the mailing list I found dates back to 2016-10-04. Google introduced NAN support in Android 8.0 but requires a manufacturer-depended firmware implementation.

[PATCH] b43: Fix regression in kernel 4.18

2018-08-27 Thread Larry Finger
In commit 66cffd6daab7 ("b43: fix transmit failure when VT is switched"), a condition is noted where the network controller needs to be reset. Note that this situation happens when running the open-source firmware (http://netweb.ing.unibs.it/~openfwwf/), plus a number of other special conditions.

[PATCH v2 13/17] mt76: unify mt76x02_vif struct

2018-08-27 Thread Stanislaw Gruszka
Private vif structures definitions are the same for mt76x2 and mt76x0. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x0/init.c| 2 +- drivers/net/wireless/mediatek/mt76/mt76x0/main.c| 8 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h

[PATCH v2 15/17] mt76: unify sta structure part 2

2018-08-27 Thread Stanislaw Gruszka
Second part of unifying mt76x02_sta structure between mt76x0 and mt76x2. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x02_mac.h | 7 +++ drivers/net/wireless/mediatek/mt76/mt76x2.h | 20 +++-

[PATCH v2 14/17] mt76: unify sta structure part 1

2018-08-27 Thread Stanislaw Gruszka
First part of unifying mt76x02_sta structure between mt76x0 and mt76x2. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 25 + drivers/net/wireless/mediatek/mt76/mt76x02_mac.h | 21 +

[PATCH v2 17/17] mt76x0: use mt76x02_sta and mt76x02_tx_status

2018-08-27 Thread Stanislaw Gruszka
Use common mt76x02_sta and mt76x02_tx_status structures in mt76x0 sub-driver. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x0/mac.c| 14 +++--- drivers/net/wireless/mediatek/mt76/mt76x0/mac.h

[PATCH v2 16/17] mt76x0: initalize custom tx queues

2018-08-27 Thread Stanislaw Gruszka
Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/main.c b/drivers/net/wireless/mediatek/mt76/mt76x0/main.c index 1cf06bffaa71..fd92a67dc379 100644 ---

[PATCH v2 12/17] mt76x0: use mt76_wcid_free in mt76x0

2018-08-27 Thread Stanislaw Gruszka
Use helper from util instead of custom code. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/main.c

[PATCH v2 11/17] mt76: use mac_wcid_set_drop in mt76x0

2018-08-27 Thread Stanislaw Gruszka
Move mt76x02_mac_wcid_set_drop to common code and use it in mt76x0. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 3 ++- drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 11 +++ drivers/net/wireless/mediatek/mt76/mt76x02_mac.h

[PATCH v2 10/17] mt76: unify mac_wcid_setup

2018-08-27 Thread Stanislaw Gruszka
Merge mt76x{0,2}_mac_wcid_setup into common code. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x0/mac.c| 17 drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 6 +++--- drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h | 2 --

[PATCH v2 09/17] mt76: unify mt76x02_mac_wcid_set_key

2018-08-27 Thread Stanislaw Gruszka
Merge mt76x{0,2}_mac_wcid_set_key into common code. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76.h | 3 ++ drivers/net/wireless/mediatek/mt76/mt76x0/mac.c| 41 -- drivers/net/wireless/mediatek/mt76/mt76x0/mac.h| 2 --

[PATCH v2 05/17] mt76: fix mt76x02-lib module license

2018-08-27 Thread Stanislaw Gruszka
Add module license. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c index

[PATCH v2 06/17] mt76: unify mac_get_key_info

2018-08-27 Thread Stanislaw Gruszka
Merge mt76x{0,2} mac_get_key_info into new mt76x02_mac.c file. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/Makefile| 2 +- drivers/net/wireless/mediatek/mt76/mt76x0/mac.c| 30 +- drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 46

[PATCH v2 04/17] mt76: create new mt76x02-lib module for common mt76x{0,2} code

2018-08-27 Thread Stanislaw Gruszka
Move rxfilter and mutex to common structure. Create mt76x02-lib.ko for mt76x0 and mt76x2 common functions and create new unified mt76x02_configure_filter() function there. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/Kconfig | 6 ++

[PATCH v2 08/17] mt76: unify mac_shared_key_setup

2018-08-27 Thread Stanislaw Gruszka
Merge mt76x{0,2} mac_shared_key_setup into common code. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x0/mac.c| 24 -- drivers/net/wireless/mediatek/mt76/mt76x0/mac.h| 2 -- drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 2 +-

[PATCH v2 07/17] mt76: add helpers for register access with mt76_dev struct

2018-08-27 Thread Stanislaw Gruszka
Add helpers for register access from common code. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index

[PATCH v2 03/17] mt76: merge mt76x0/regs.h into mt76x02_regs.h

2018-08-27 Thread Stanislaw Gruszka
Add missed definitions for mt76x0 into mt76x02_regs.h. Remove mt76x0/regs.h and fixup mt76x0 code to adjust to some diffrent registers/fields names. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 16 +- drivers/net/wireless/mediatek/mt76/mt76x0/mac.c

[PATCH v2 02/17] mt76: rename mt76x2_regs.h

2018-08-27 Thread Stanislaw Gruszka
MAC registers are the same for mt76x0 and mt76x2. Rename mt76x2_regs.h file to reflect that. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/mediatek/mt76/mt76x02_regs.h | 619 ++ drivers/net/wireless/mediatek/mt76/mt76x2.h | 2 +-

[PATCH v2 00/17] mt76 patches 2018-08-24 v2

2018-08-27 Thread Stanislaw Gruszka
This is the begin work of integration between mt76x0 and mt76x2. Further development can be seen here: https://github.com/sgruszka/wireless-drivers-next/commits/mt76x0-draft-v2 v1 -> v2: - rename mt76xx to mt76x02 to reflect that common code is for mt76x0 and mt76x2 only, not for new chips. -

Re: [PATCH 20/24] staging: wilc1000: avoid line over 80 chars in tcp_process()

2018-08-27 Thread Dan Carpenter
On Mon, Aug 27, 2018 at 10:54:38AM +0530, Ajay Singh wrote: > Hi Claudiu, > > On Fri, 24 Aug 2018 12:31:28 +0300 > Claudiu Beznea wrote: > > > On 23.08.2018 13:33, Ajay Singh wrote: > > > On Thu, 23 Aug 2018 11:12:08 +0300 > > > Claudiu Beznea wrote: > > > > > >> On 14.08.2018 09:50, Ajay

[PATCH 2/2] rsi: improve kernel thread handling to fix kernel panic

2018-08-27 Thread Siva Rebbagondla
From: Siva Rebbagondla While running regressions, observed below kernel panic when sdio disconnect called. This is because of, kthread_stop() is taking care of wait_for_completion() by default. When wait_for_completion triggered in kthread_stop and as it was done already, giving kernel panic.

[PATCH 1/2] rsi: fix memory alignment issue in ARM32 platforms

2018-08-27 Thread Siva Rebbagondla
From: Siva Rebbagondla During testing in ARM32 platforms, observed below kernel panic, as driver accessing data beyond the allocated memory while submitting URB to USB. Fix: Resolved this by specifying correct length by considering 64 bit alignment. so that, USB bus driver will access only