Re: [PATCH 1/2] dt-bindings: document common IEEE 802.11 frequency properties

2016-12-28 Thread Rafał Miłecki
On 28 December 2016 at 22:35, Felix Fietkau wrote: > On 2016-12-28 16:59, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> This new file should be used for properties handled at higher level and >> so usable with all drivers. >> >> Signed-off-by: Rafał Miłecki >> --- >> .../devicetree/bindings

[PATCH] rtlwifi: Fix alignment issues

2016-12-28 Thread Larry Finger
From: Ping-Ke Shih The addresses of Wlan NIC registers are natural alignment, but some drivers have bugs. These are evident on platforms that need natural alignment to access registers. This change contains the following: 1. Function _rtl8821ae_dbi_read() is used to read one byte from DBI,

Re: [PATCH 2/2] cfg80211: reg: support ieee80211-(min|max)-center-freq DT properties

2016-12-28 Thread Rafał Miłecki
On 28 December 2016 at 22:07, Arend van Spriel wrote: > On 28-12-16 16:59, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> They allow specifying hardware limitations of supported channels. This >> may be useful for specifying single band devices or devices that support >> only some part of the

Re: [PATCH 1/2] dt-bindings: document common IEEE 802.11 frequency properties

2016-12-28 Thread Felix Fietkau
On 2016-12-28 16:59, Rafał Miłecki wrote: > From: Rafał Miłecki > > This new file should be used for properties handled at higher level and > so usable with all drivers. > > Signed-off-by: Rafał Miłecki > --- > .../devicetree/bindings/net/wireless/ieee80211.txt | 16 > >

Re: [PATCH 2/2] cfg80211: reg: support ieee80211-(min|max)-center-freq DT properties

2016-12-28 Thread Rafał Miłecki
On 28 December 2016 at 22:28, Rafał Miłecki wrote: > On 28 December 2016 at 22:07, Arend van Spriel > wrote: >> On 28-12-16 16:59, Rafał Miłecki wrote: >>> From: Rafał Miłecki >>> >>> They allow specifying hardware limitations of supported channels. This >>> may be useful for specifying single b

Re: [PATCH 2/2] cfg80211: reg: support ieee80211-(min|max)-center-freq DT properties

2016-12-28 Thread Arend van Spriel
On 28-12-16 16:59, Rafał Miłecki wrote: > From: Rafał Miłecki > > They allow specifying hardware limitations of supported channels. This > may be useful for specifying single band devices or devices that support > only some part of the whole band. > E.g. some tri-band routers have separated radio

Re: [PATCH 1/2] dt-bindings: document common IEEE 802.11 frequency properties

2016-12-28 Thread Rafał Miłecki
On 28 December 2016 at 21:39, Martin Blumenstingl wrote: > On Wed, Dec 28, 2016 at 9:32 PM, Rafał Miłecki wrote: >> On 28 December 2016 at 21:05, Arend van Spriel >> wrote: >>> On 28-12-16 16:59, Rafał Miłecki wrote: From: Rafał Miłecki This new file should be used for properties

Re: [PATCH 1/2] dt-bindings: document common IEEE 802.11 frequency properties

2016-12-28 Thread Martin Blumenstingl
On Wed, Dec 28, 2016 at 9:32 PM, Rafał Miłecki wrote: > On 28 December 2016 at 21:05, Arend van Spriel > wrote: >> On 28-12-16 16:59, Rafał Miłecki wrote: >>> From: Rafał Miłecki >>> >>> This new file should be used for properties handled at higher level and >>> so usable with all drivers. >>> >

Re: [PATCH 1/2] dt-bindings: document common IEEE 802.11 frequency properties

2016-12-28 Thread Rafał Miłecki
On 28 December 2016 at 21:05, Arend van Spriel wrote: > On 28-12-16 16:59, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> This new file should be used for properties handled at higher level and >> so usable with all drivers. >> >> Signed-off-by: Rafał Miłecki >> --- >> .../devicetree/binding

Re: [PATCH 1/2] dt-bindings: document common IEEE 802.11 frequency properties

2016-12-28 Thread Arend van Spriel
On 28-12-16 16:59, Rafał Miłecki wrote: > From: Rafał Miłecki > > This new file should be used for properties handled at higher level and > so usable with all drivers. > > Signed-off-by: Rafał Miłecki > --- > .../devicetree/bindings/net/wireless/ieee80211.txt | 16 > >

[PATCH 1/3] NFC: pn533: change order of free_irq and dev unregistration

2016-12-28 Thread Andrey Rusalin
Change order of free_irq and dev unregistration. It fixes situation when device already unregistered and an interrupt happens and nobody can handle it. Signed-off-by: Andrey Rusalin --- drivers/nfc/pn533/i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nfc/pn

[PATCH 2/3] NFC: pn533: improve cmd queue handling

2016-12-28 Thread Andrey Rusalin
Make sure cmd is set before a frame is passed to the transport layer for sending. In addition pn533_send_async_complete checks if cmd is set before accessing its members. Signed-off-by: Michael Thalmeier Rework a little bit changes in pn532_send_async_complete. Signed-off-by: Andrey Rusalin --

[PATCH 0/3] NFC: pn533: fixes for i2c driver

2016-12-28 Thread Andrey Rusalin
Each of these patches fix some oops that I met during tests of the driver with itead pn532 nfc module. First and third patches related to order of initialization driver, where interrupt handler was registered before work queues were ready to handle it. Also iqr was freed already after work queue

[PATCH 3/3] NFC: pn533: change order operations in dev registation

2016-12-28 Thread Andrey Rusalin
Sometimes during probing and registration of pn533_i2c NULL pointer dereference happens. Reproduced in cycle of inserting and removing pn533_i2c and pn533 modules. Backtrace: [<8004205c>] (__queue_work) from [<80042324>] (queue_work_on+0x50/0x5c) r10:acdc7c80 r9:8006b330 r8:ac0dfb40 r7:ac50c600 r6

BCM43602 -- Bluetooth while WiFi on 2.4GHz networks

2016-12-28 Thread Greg Oliver
I have been fighting this laptop (MacBookPro11,5) for a year now with linux (mainly on Thunderbolt and power issues), but this is one of the last ones that remains. The system contains a BCM 43602 (rebranded by Apple of course): 04:00.0 Network controller [0280]: Broadcom Limited BCM43602 802.11a

[PATCH 2/2] cfg80211: reg: support ieee80211-(min|max)-center-freq DT properties

2016-12-28 Thread Rafał Miłecki
From: Rafał Miłecki They allow specifying hardware limitations of supported channels. This may be useful for specifying single band devices or devices that support only some part of the whole band. E.g. some tri-band routers have separated radios for lower and higher part of 5 GHz band. Signed-o

[PATCH 1/2] dt-bindings: document common IEEE 802.11 frequency properties

2016-12-28 Thread Rafał Miłecki
From: Rafał Miłecki This new file should be used for properties handled at higher level and so usable with all drivers. Signed-off-by: Rafał Miłecki --- .../devicetree/bindings/net/wireless/ieee80211.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Document

Re: [PATCH v3 1/3] Documentation: dt: net: add mt76 wireless device binding

2016-12-28 Thread Rafał Miłecki
On 28 December 2016 at 14:28, Rafał Miłecki wrote: > On 28 December 2016 at 11:43, Martin Blumenstingl > wrote: >> should we describe the center freq in Hz or MHz (cfg80211's >> ieee80211_channel uses the latter)? > > Is there any case that may require HZ accuracy? I was thinking about using > M

Re: [PATCH v3 1/3] Documentation: dt: net: add mt76 wireless device binding

2016-12-28 Thread Rafał Miłecki
On 28 December 2016 at 11:43, Martin Blumenstingl wrote: > On Wed, Dec 28, 2016 at 11:08 AM, Rafał Miłecki wrote: >> On 3 October 2016 at 15:29, Kalle Valo wrote: >>> Arnd Bergmann writes: >>> On Friday 30 September 2016, Felix Fietkau wrote: > >> >> >> + device_type =

Re: Intel Wireless 7260 failed to work

2016-12-28 Thread Kalle Valo
Luca Coelho writes: > On Wed, 2016-12-28 at 11:59 +0800, Peter Xu wrote: >> On Tue, Dec 27, 2016 at 09:46:55PM +0200, Kalle Valo wrote: >> > Peter Xu writes: >> > >> > > Looks like latest Linux master (4.10-rc1, 7ce7d89f) cannot work well >> > > with my wireless card, which is: >> > > >> > >

Re: [PATCH v3 1/3] Documentation: dt: net: add mt76 wireless device binding

2016-12-28 Thread Martin Blumenstingl
On Wed, Dec 28, 2016 at 11:08 AM, Rafał Miłecki wrote: > On 3 October 2016 at 15:29, Kalle Valo wrote: >> Arnd Bergmann writes: >> >>> On Friday 30 September 2016, Felix Fietkau wrote: >> >> >> + device_type = "pci"; >> >> >> + mediatek,mtd-eeprom = <&fa

Re: [PATCH v3 1/3] Documentation: dt: net: add mt76 wireless device binding

2016-12-28 Thread Rafał Miłecki
On 3 October 2016 at 15:29, Kalle Valo wrote: > Arnd Bergmann writes: > >> On Friday 30 September 2016, Felix Fietkau wrote: >>> >> >> >> + device_type = "pci"; >>> >> >> >> + mediatek,mtd-eeprom = <&factory 0x8000>; >>> >> >> >> + mediatek,2ghz = <

Re: Intel Wireless 7260 failed to work

2016-12-28 Thread Luca Coelho
On Wed, 2016-12-28 at 10:17 +0200, Emmanuel Grumbach wrote: > On Wed, Dec 28, 2016 at 10:10 AM, Peter Xu wrote: > > On Wed, Dec 28, 2016 at 09:27:15AM +0200, Luca Coelho wrote: > > > > [...] > > > > > > > > Is this a known issue? Please let me know if anyone wants more info > > > > > > or > >

Re: Intel Wireless 7260 failed to work

2016-12-28 Thread Emmanuel Grumbach
On Wed, Dec 28, 2016 at 10:10 AM, Peter Xu wrote: > On Wed, Dec 28, 2016 at 09:27:15AM +0200, Luca Coelho wrote: > > [...] > >> > > > Is this a known issue? Please let me know if anyone wants more info or >> > > > logs, since this error triggers easily (everytime I boot). >> > > >> > > The error m

Re: Intel Wireless 7260 failed to work

2016-12-28 Thread Peter Xu
On Wed, Dec 28, 2016 at 09:27:15AM +0200, Luca Coelho wrote: [...] > > > > Is this a known issue? Please let me know if anyone wants more info or > > > > logs, since this error triggers easily (everytime I boot). > > > > > > The error message isn't really telling much to the user (hint hint) but