[bug report] NFC: nci: Add HCI over NCI protocol support

2018-02-02 Thread Dan Carpenter
Hello Christophe Ricard, The patch 11f54f228643: "NFC: nci: Add HCI over NCI protocol support" from Feb 1, 2015, leads to the following static checker warning: net/nfc/nci/hci.c:297 nci_hci_cmd_received() error: buffer overflow 'ndev->hci_dev->pipes' 127 <= 127 net/nfc/nci/hci.c

[PATCH] mac80211: Adjust TSQ pacing shift

2018-02-02 Thread Toke Høiland-Jørgensen
Since we now have the convenient helper to do so, actually adjust the TSQ pacing shift for packets going out over a WiFi interface. This significantly improves throughput for locally-originated TCP connections. The default pacing shift of 10 corresponds to ~1ms of queued packet data. Adjusting

[PATCH] cfg80211: fix cfg80211_beacon_dup

2018-02-02 Thread Arnd Bergmann
gcc-8 warns about some obviously incorrect code: net/mac80211/cfg.c: In function 'cfg80211_beacon_dup': net/mac80211/cfg.c:2896:3: error: 'memcpy' source argument is the same as destination [-Werror=restrict] >From the context, I conclude that we want to copy from beacon into new_beacon, as we

RE: [Make-wifi-fast] [PATCH] mac80211: Adjust TSQ pacing shift

2018-02-02 Thread dpr...@deepplum.com
I'm curious about the "WiFi Aware" initiative by the WiFi Alliance. Does LEDE and/or Linux support this protocol? I know gSupplicant is potentially the way such things are supposed to work, at least according to its supporters. The general NAN (Neighborhood-Aware-Networking) concept makes a lot

Get Your Dream Car Now

2018-02-02 Thread KOJO MOTORS
--- 千葉大学医学部学部学務係 学生生活担当   E-mail:sae5...@office.chiba-u.jp  〒260-8670 千葉市中央区亥鼻1-8-1 TEL:直通043(226)2011 内線5035/5036 FAX:  043(226)2502 内線5061 ---

[PATCH] mac80211: remove redundant initialization to pointer 'hdr'

2018-02-02 Thread Colin King
From: Colin Ian King The pointer hrd is being initialized with a value that is never read and re-assigned a little later, hence the initialization is redundant and can be removed. Cleans up clang warning: net/mac80211/tx.c:1924:24: warning: Value stored to 'hdr' during

Re: rtl8821ae keep alive not set, connection lost

2018-02-02 Thread Larry Finger
On 02/02/2018 01:50 AM, Pkshih wrote: Hi James, In my experiment, unaligned-word-access may get wrong values that are different from the value by byte-access. Actually, it can simply verified by using 'lspci' to check PCI configuration space. DBI read 0x70f: _rtl8821ae_dbi_read:1127 r8 0x34f =

Re: [Make-wifi-fast] [PATCH] mac80211: Adjust TSQ pacing shift

2018-02-02 Thread Arend van Spriel
On 2/2/2018 5:55 PM, dpr...@deepplum.com wrote: I'm curious about the "WiFi Aware" initiative by the WiFi Alliance. Does LEDE and/or Linux support this protocol? I know gSupplicant is potentially the way such things are supposed to work, at least according to its supporters. The general NAN

Re: rtl8821ae keep alive not set, connection lost

2018-02-02 Thread Larry Finger
On 02/02/2018 01:50 AM, Pkshih wrote: Hi James, In my experiment, unaligned-word-access may get wrong values that are different from the value by byte-access. Actually, it can simply verified by using 'lspci' to check PCI configuration space. DBI read 0x70f: _rtl8821ae_dbi_read:1127 r8 0x34f

Re: rtl8821ae keep alive not set, connection lost

2018-02-02 Thread Pkshih
On Fri, 2018-02-02 at 14:13 -0600, Larry Finger wrote: > On 02/02/2018 01:50 AM, Pkshih wrote: > > Hi James, > >  > > In my experiment, unaligned-word-access may get wrong values that > > are different from the value by byte-access. Actually, it can simply > > verified by using 'lspci' to check

Re: [PATCH 0/5] iwlwifi: updates intended for v4.16 2017-12-23

2018-02-02 Thread Luca Coelho
Hi, On Sun, 2018-01-14 at 12:26 +0200, Kalle Valo wrote: > "Grumbach, Emmanuel" writes: > > > On Fri, 2018-01-12 at 13:31 +0200, Kalle Valo wrote: > > > From: Luca Coelho > > > > > > > Luca Coelho (1): > > > > iwlwifi: mvm: check if

Re: lockdep warning in mac80211/tx.c, 4.13.16+ kernel, ath9k related

2018-02-02 Thread Toke Høiland-Jørgensen
Ben Greear writes: > On 02/01/2018 02:47 PM, Johannes Berg wrote: >> On Thu, 2018-02-01 at 23:40 +0100, Johannes Berg wrote: >>> >>> The code does a plain rcu_dereference(), no locking other than >>> rcu_read_lock() involved. >>> >>> On second thought though, I'm not

[PATCH] nl80211: Fix external_auth check for offloaded authentication

2018-02-02 Thread Jouni Malinen
From: Srinivas Dasari Unfortunately removal of the ext_feature flag in the last revision of the patch ended up negating the comparison and prevented the command from being processed (either nl80211_external_auth() or rdev_external_auth() returns -EOPNOTSUPP). Fix this by

[PATCH] ath9k: Protect queue draining by rcu_read_lock()

2018-02-02 Thread Toke Høiland-Jørgensen
When ath9k was switched over to use the mac80211 intermediate queues, node cleanup now drains the mac80211 queues. However, this call path is not protected by rcu_read_lock() as it was previously entirely internal to the driver which uses its own locking. This leads to a possible

Re: [PATCH] ath10k: Support mgt frame per-chain rssi

2018-02-02 Thread Arend van Spriel
On 2/2/2018 2:03 AM, gree...@candelatech.com wrote: From: Ben Greear This provides per-chain rssh for management frames received 'rssh' should be 'rssi'. Regards, Arend over wmi. Signed-off-by: Ben Greear ---