[PATCH iw v2 1/2] update nl80211.h

2014-11-28 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com Signed-off-by: Luciano Coelho luciano.coe...@intel.com --- nl80211.h | 119 +++--- 1 file changed, 115 insertions(+), 4 deletions(-) diff --git a/nl80211.h b/nl80211.h index f7daae5..d775245

[PATCH iw v2 2/2] add WoWLAN net-detect trigger

2014-11-28 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com Adds a netdetect option to the wowlan triggers that allows the user to request network detection to be started when the device goes to suspend mode. Signed-off-by: Luciano Coelho luciano.coe...@intel.com --- In v2: * renamed the option in the

Multiple-BSSID issues with hostapd

2014-11-28 Thread Arend van Spriel
Hi Jouni, For the brcmfmac we started working on Multiple-BSSID support and came across some issues with hostapd that are listed listed below. BSS1 setup on netdev wlan0 BSS2 setup on netdev wlan0_0 * get_station() done on wrong netdev observed: Upon association of STA1 with BSS2 (wlan0_0) a

[patch] brcmsmac: NULL dereferences in brcms_c_detach_mfree()

2014-11-28 Thread Dan Carpenter
The brcms_c_attach_malloc() function can call this with a NULL wlc-corestate or wlc-hw. Also I threw in a bonus cleanup by deleting an obvious comment and a no-op NULL assignment. :) Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

Re: [patch] brcmsmac: NULL dereferences in brcms_c_detach_mfree()

2014-11-28 Thread Arend van Spriel
On 28-11-14 10:43, Dan Carpenter wrote: The brcms_c_attach_malloc() function can call this with a NULL wlc-corestate or wlc-hw. Also I threw in a bonus cleanup by deleting an obvious comment and a no-op NULL assignment. :) Thanks for the patch+bonus Acked-by: Arend van Spriel

Re: [PATCH v4 1/2] dt: bindings: add ath10k wireless device

2014-11-28 Thread Arnd Bergmann
On Friday 28 November 2014 11:54:39 Kalle Valo wrote: Right now ath10k does not support that, but in the future we might want to add mac address as well. We need to do some testing with the firmware to make sure that we can safely change the main address from ath10k. This is from

[PATCH] cfg80211: make WEXT compatibility unselectable

2014-11-28 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com This will signal people who are actually still using it even though it has been deprecated and disabled for a long time. They can still get it back, but only by patching the kernel. Signed-off-by: Johannes Berg johannes.b...@intel.com ---

[PATCH v2] cfg80211: make WEXT compatibility unselectable

2014-11-28 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com This option has been marked for deprecation and removal for a little more than two years, but it's not been very clearly signalled since it was always possible to just select it. Make it unselectable now to signal anyone who's still using it after all

Re: [PATCH 1/3] ath10k: embed supported chip ids in hw_params

2014-11-28 Thread Michal Kazior
On 28 November 2014 at 08:10, Kalle Valo kv...@qca.qualcomm.com wrote: Michal Kazior michal.kaz...@tieto.com writes: Hmm.. I have a couple of ideas: [...] 2. Have a dedicatd pci-specific structure: struct ath10k_pci_supported_chip { u16 dev_id; u32 chip_id; }; struct

Re: [PATCH] nl80211: Fix a null dereference issue in nl80211_send_iface on removal

2014-11-28 Thread Johannes Berg
On Fri, 2014-11-28 at 13:32 +0200, Tomasz Bursztyka wrote: There is no need trying to add any channels information in the nelink message when the interface is being removed. Already fixed. johannes -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a

Re: [PATCH] nfc drivers: don't include linux/unaligned/access_ok.h

2014-11-28 Thread Samuel Ortiz
Hi Johannes, On Wed, Nov 19, 2014 at 09:17:22PM +0100, Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com This is a specific implementation, asm/unaligned.h is the multiplexer that has the arch-specific knowledge of which of the implementations needs to be used, so include

[PATCH] Drivers:staging:rtl8723au:core: Fixed checkpatch error

2014-11-28 Thread Athira Lekshmi
Fixed the checkpatch error: ERROR: spaces required around that '' Signed-off-by: Athira Lekshmi andnlnb...@gmail.com --- drivers/staging/rtl8723au/core/rtw_cmd.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c

Re: [PATCH v4 1/2] dt: bindings: add ath10k wireless device

2014-11-28 Thread Kalle Valo
Arnd Bergmann a...@arndb.de writes: On Friday 28 November 2014 11:54:39 Kalle Valo wrote: Right now ath10k does not support that, but in the future we might want to add mac address as well. We need to do some testing with the firmware to make sure that we can safely change the main address

Re: [PATCH v8 2/2] nl80211: Convert sched_scan_req pointer to RCU pointer

2014-11-28 Thread Johannes Berg
+++ b/net/wireless/nl80211.c @@ -6077,30 +6078,34 @@ static int nl80211_start_sched_scan(struct sk_buff *skb, if (rdev-sched_scan_req) return -EINPROGRESS; - rdev-sched_scan_req = nl80211_parse_sched_scan(rdev-wiphy, wdev, -

Re: [PATCH] Drivers:staging:rtl8723au:core: Fixed checkpatch error

2014-11-28 Thread Jes Sorensen
Athira Lekshmi andnlnb...@gmail.com writes: Fixed the checkpatch error: ERROR: spaces required around that '' Signed-off-by: Athira Lekshmi andnlnb...@gmail.com --- drivers/staging/rtl8723au/core/rtw_cmd.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] NFC: llcp: Use list_for_each_entry in llcp_accept_poll

2014-11-28 Thread Samuel Ortiz
Hi Axel, On Thu, Nov 06, 2014 at 06:20:41PM +0800, Axel Lin wrote: list_for_each_entry_safe() is necessary if list objects are deleted from the list while traversing it. Not the case here, so we can use the base list_for_each_entry variant. Signed-off-by: Axel Lin axel@ingics.com ---

Re: [PATCH] mac80211: enable TPC through mac80211 stack

2014-11-28 Thread Johannes Berg
I would like to enable TPC in ath9k using iw command: iw dev wlan0 set txpower auto I knew user_power_level is set to IEEE80211_UNSET_POWER_LEVEL in that case. Is there a better way than to check user_power_level? But ... the API already allows for that flexibility? I think if anything

Re: [PATCH v5 1/4] cfg80211: leave invalid channels on regdomain change

2014-11-28 Thread Johannes Berg
On Thu, 2014-11-27 at 09:44 +0200, Arik Nemtsov wrote: When the regulatory settings change, some channels might become invalid. Disconnect interfaces acting on these channels, after giving userspace code a grace period to leave them. This mode is currently opt-in, and not all interface

Re: [PATCH v5 2/4] cfg80211: allow usermode to query wiphy specific regdom

2014-11-28 Thread Johannes Berg
On Thu, 2014-11-27 at 09:44 +0200, Arik Nemtsov wrote: If a wiphy-idx is specified, the kernel will return the wiphy specific regdomain, if such exists. Otherwise return the global regdom. When no wiphy-idx is specified, return the global regdomain as well as all wiphy-specific regulatory

Re: [PATCH v2 1/7] mac80211: minstrel_ht: move aggregation check to .get_rate()

2014-11-28 Thread Johannes Berg
On Wed, 2014-11-19 at 20:08 +0100, Felix Fietkau wrote: Preparation for adding a no-skb tx status path Looks fine, applied all 7. johannes -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] mac80211: enable TPC through mac80211 stack

2014-11-28 Thread Lorenzo Bianconi
I would like to enable TPC in ath9k using iw command: iw dev wlan0 set txpower auto I knew user_power_level is set to IEEE80211_UNSET_POWER_LEVEL in that case. Is there a better way than to check user_power_level? But ... the API already allows for that flexibility? I think if anything

Re: [PATCH] cfg80211: do not check for carrier during start_radar_detect

2014-11-28 Thread Johannes Berg
On Fri, 2014-11-28 at 16:58 +0530, Avinash Patil wrote: Radar detection happens before starting AP; so netdev carrier may be dormant at this time. Remove this check from cfg80211_start_radar_detection. Looks fine to me, but I wonder how it ever worked? johannes -- To unsubscribe from this

[PATCH 0/3 for 3.18] rtlwifi: rtl8192ce: Patches to fix the regression reported in Bug #88951

2014-11-28 Thread Larry Finger
These three patches are needed to fix a regression in kernel 3.18 that is reported in Bug #88951. I hate to be the guy with the last-minute fixes; however, this regression reminded me of the children's game called Whack-a-mole. Whenever I thought that I had found the problem, the bug popped up

[PATCH 2/3 for 3.18] rtlwifi: rtl8192ce: Fix kernel crashes due to missing callback entry

2014-11-28 Thread Larry Finger
In the major update of the rtlwifi-family of drivers, one of the callback entries was missed, which leads to memory corruption. Unfortunately, this corruption never caused a kernel oops, but showed up in other parts of the system. This patch is one of three needed to fix the kernel regression

[PATCH 3/3 for 3.18] rtlwifi: rtl8192ce: Fix missing interrupt ready flag

2014-11-28 Thread Larry Finger
Proper operation with the rewritten PCI mini driver requires that a flag be set when interrupts are enabled. This flag was missed. This patch is one of three needed to fix the kernel regression reported at https://bugzilla.kernel.org/show_bug.cgi?id=88951. Signed-off-by: Larry Finger

[PATCH 1/3 for 3.18] rtlwifi: rtl8192ce: Fix editing error that causes silent memory corruption

2014-11-28 Thread Larry Finger
In the major update of the rtlwifi-family of drivers, there was an editing mistake. Unfortunately, this particular error leads to memory corruption that silently leads to failure of the system. This patch is one of three needed to fix the kernel regression reported at

[PATCH iw v3 3/3] parse net detect wowlan configuration information

2014-11-28 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com Parse the net detect information when it is reported. This includes the scan interval, SSIDs to match and frequencies to scan. Signed-off-by: Luciano Coelho luciano.coe...@intel.com --- wowlan.c | 39 ++- 1 file

Re: [PATCH v5 2/4] cfg80211: allow usermode to query wiphy specific regdom

2014-11-28 Thread Luis R. Rodriguez
On Fri, Nov 28, 2014 at 02:46:27PM +0100, Johannes Berg wrote: On Thu, 2014-11-27 at 09:44 +0200, Arik Nemtsov wrote: If a wiphy-idx is specified, the kernel will return the wiphy specific regdomain, if such exists. Otherwise return the global regdom. When no wiphy-idx is specified,

Re: [PATCH v5 2/4] cfg80211: allow usermode to query wiphy specific regdom

2014-11-28 Thread Luis R. Rodriguez
On Thu, Nov 27, 2014 at 09:44:56AM +0200, Arik Nemtsov wrote: If a wiphy-idx is specified, the kernel will return the wiphy specific regdomain, if such exists. Otherwise return the global regdom. When no wiphy-idx is specified, return the global regdomain as well as all wiphy-specific

Re: [PATCH] drivers:net:wireless: Add mutex locking for function, b43_op_beacon_set_time in main.c

2014-11-28 Thread Rafał Miłecki
On 28 November 2014 at 23:16, Nicholas Krause xerofo...@gmail.com wrote: Adds needed mutex lockng of wl-mutex in order to prevent issues with separate threads executing on the b43_update_templates function call in the function, b43_op_beacon_set_time at the same time. For all kind of

Re: [PATCH] drivers:net:wireless: Add mutex locking for function, b43_op_beacon_set_time in main.c

2014-11-28 Thread Michael Büsch
On Fri, 28 Nov 2014 23:40:46 +0100 Rafał Miłecki zaj...@gmail.com wrote: @@ -5094,8 +5094,9 @@ static int b43_op_beacon_set_tim(struct ieee80211_hw *hw, { struct b43_wl *wl = hw_to_b43_wl(hw); - /* FIXME: add locking */ + mutex_lock(wl-mutex);

[PATCH 1/6] staging: vt6655: remove duplicate MACvSetPacketFilter

2014-11-28 Thread Malcolm Priestley
Packet filtering is already done in vnt_configure. A call to MACvSetPacketFilter is not necessary in MACvInitialize as this will be done by vnt_configure when interface is up. Also remove macros associated with this function. Signed-off-by: Malcolm Priestley tvbox...@gmail.com ---

[PATCH 2/6] staging: vt6655: srom remove dead functions

2014-11-28 Thread Malcolm Priestley
Remove these unused functions SROMbWriteEmbedded SROMvRegBitsOn SROMvRegBitsOff SROMbIsRegBitsOn SROMbIsRegBitsOff SROMvWriteAllContents SROMvWriteEtherAddress SROMvReadSubSysVenId SROMbAutoLoad Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/staging/vt6655/srom.c | 251

[PATCH 4/6] staging: vt6655: s_cbFillTxBufHead remove unused parameter *puMACfragNum

2014-11-28 Thread Malcolm Priestley
*puMACfragNum was part of old legacy functions. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/staging/vt6655/rxtx.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index

[PATCH 3/6] staging: vt6655: remove unused typedef struct tagSSromReg

2014-11-28 Thread Malcolm Priestley
Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/staging/vt6655/srom.h | 34 -- 1 file changed, 34 deletions(-) diff --git a/drivers/staging/vt6655/srom.h b/drivers/staging/vt6655/srom.h index cab638b..7d3e3ef 100644 ---

[PATCH 5/6] staging: vt6655: s_cbFillTxBufHead remove parameter *pPacket

2014-11-28 Thread Malcolm Priestley
skb-data is available locally so use that instead. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/staging/vt6655/rxtx.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index