Re: [PATCH v3 00/27] kill devm_ioremap_nocache

2018-01-02 Thread Yisheng Xie
+ cris/ia64/mn10300/openrisc maintainers On 2017/12/25 9:09, Yisheng Xie wrote: > hi Christophe and Greg, > > On 2017/12/24 16:55, christophe leroy wrote: >> >> >> Le 23/12/2017 à 16:57, Guenter Roeck a écrit : >>> On 12/23/2017 05:48 AM, Greg KH wrote: On Sat, Dec 23, 2017 at 06:55:25PM

[PATCH] nl80211: Check for the required netlink attribute presence

2018-01-02 Thread Hao Chen
nl80211_nan_add_func() does not check if the required attribute NL80211_NAN_FUNC_FOLLOW_UP_DEST is present when processing NL80211_CMD_ADD_NAN_FUNCTION request. This request can be issued by users with CAP_NET_ADMIN privilege and may result in NULL dereference and a system crash. Add a check for

[PATCH] ath10k: Support use of channel 173

2018-01-02 Thread greearb
From: Ben Greear The India regulatory domain allows CH 173, so add that to the available channel list. I verified basic connectivity between a 9880 and 9984 NIC. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/core.h | 3 ++-

[PATCH] rtlwifi: rtl8723de: Add firmware for new driver/device

2018-01-02 Thread Larry Finger
A driver for the RTL8723DE is nearing submission to staging. This commit supplies the firmware for it. Signed-off-by: Larry Finger Cc: Ping-Ke Shih --- WHENCE | 9 + rtlwifi/rtl8723defw.bin | Bin 0 -> 27726 bytes 2

Re: [RFC 4/4] nl80211: Implement TX of control port frames

2018-01-02 Thread Johannes Berg
On Tue, 2018-01-02 at 12:22 -0600, Denis Kenzior wrote: > > There are cases where CONTROL_PORT_ETHERTYPE_NO_ENCRYPT should be > > unset, but specific frames still shouldn't be encrypted. > > > > So I think for this particular path it would be better to deprecate > >

[PATCH] ath10k: Report and display mem use for 10.4, 10.2 firmware.

2018-01-02 Thread greearb
From: Ben Greear The 10.4 'mem' reporting struct had the wrong order vs the 10.2, so just make a new _10_4 specific struct. Save these reported values and make them available via debugfs. Stock 10.4 firmware probably reports zero values for this currently, but they

Re: [PATCH v2 0/6] wl1251: Fix MAC address for Nokia N900

2018-01-02 Thread Pali Rohár
On Friday 10 November 2017 00:38:22 Pali Rohár wrote: > This patch series fix processing MAC address for wl1251 chip found in Nokia > N900. > > Changes since v1: > * Added Acked-by for Pavel Machek > * Fixed grammar > * Magic numbers for NVS offsets are replaced by defines > * Check for validity

Re: [RFC 4/4] nl80211: Implement TX of control port frames

2018-01-02 Thread Denis Kenzior
Hi Johannes, On 01/02/2018 07:30 AM, Johannes Berg wrote: On Thu, 2017-12-28 at 11:58 -0600, Denis Kenzior wrote: This commit implements the TX side of NL80211_CMD_CONTROL_PORT_FRAME. Userspace provides the raw EAPoL frame using NL80211_ATTR_FRAME. A skbuf is built and then injected onto the

[PATCH] ath10k: Report rx-timeout errors.

2018-01-02 Thread greearb
From: Ben Greear The rx pdev related stats do not match the 10.4 firmware stats struct. The pdev-rx-timeout field needs to be added. Stock firmware may not actually ever increment that value, but this should at least help the other stats be aligned properly.

Re: [RFC 4/4] nl80211: Implement TX of control port frames

2018-01-02 Thread Johannes Berg
On Thu, 2017-12-28 at 11:58 -0600, Denis Kenzior wrote: > This commit implements the TX side of NL80211_CMD_CONTROL_PORT_FRAME. > Userspace provides the raw EAPoL frame using NL80211_ATTR_FRAME. A > skbuf is built and then injected onto the netdev of the wireless device. > The

Re: [RFC 0/4] EAPoL over NL80211

2018-01-02 Thread Johannes Berg
On Fri, 2017-12-29 at 12:29 -0600, Denis Kenzior wrote: > Agreed, requiring both attributes is less than ideal, but I tried to > make the initial RFC as minimal as possible. It also helped that iwd > uses SOCKET_OWNER by default. What can be done is to always set > conn_owner_nlportid and