Re: Ralink - rt2800usb

2017-03-17 Thread Dan Williams
On Fri, 2017-03-17 at 13:26 -0700, Nikita N. wrote: > Hi All, > I'm addressing to the maintainers of Ralink driver rt2800usb > (RT2870,RT3070). > To who can I send my request? This mailing list (linux-wireless@) is the right place. Dan

Re: How to use netlink to determine wifi protection WEP

2017-04-05 Thread Dan Williams
On Wed, 2017-04-05 at 09:27 +0200, Thomas Thielemann wrote: > Hello! > > I need a solution to determine whether a WiFi is using WEP. I know > there is a protection flag within MAC frame but do not know how to > access. > > To detect whether a WiFi i protected by WPA2 I found the following > solut

Re: How to use netlink to determine wifi protection WEP

2017-04-06 Thread Dan Williams
obviously in here Dan > Regards, > Thomas > > > > Am 05.04.2017 um 19:24 schrieb Dan Williams : > > > > On Wed, 2017-04-05 at 09:27 +0200, Thomas Thielemann wrote: > > > Hello! > > > > > > I need a solution to determine whether a WiFi is u

Re: mwifiex won't connect to WPA2 anymore

2017-05-03 Thread Dan Williams
On Wed, 2017-05-03 at 22:33 +0200, Julien Cubizolles wrote: > Julien Cubizolles writes: > > > I can't connect anymore to my home wifi since upgrading my machine > > from > > Ubuntu 16.10 to Ubuntu 17.04. > > It turns out that the problem lies with NetworkManager, I managed to > get > the wifi wo

Re: mwifiex won't connect to WPA2 anymore

2017-05-04 Thread Dan Williams
On Thu, 2017-05-04 at 23:27 +0200, Julien Cubizolles wrote: > Dan Williams writes: > > > On Wed, 2017-05-03 at 22:33 +0200, Julien Cubizolles wrote: > > > It turns out that the problem lies with NetworkManager, I managed > > > to > > > get >

Re: mwifiex won't connect to WPA2 anymore

2017-05-06 Thread Dan Williams
On Sat, 2017-05-06 at 10:41 +0200, Julien Cubizolles wrote: > Dan Williams writes: > > > > Just to test, could you add: > > > > auth_alg=OPEN > > key_mgmt=WPA-PSK > > scan_ssid=1 > > > > to the block and retry with the supplicant?  I don&#x

Re: mwifiex won't connect to WPA2 anymore

2017-05-08 Thread Dan Williams
On Sat, 2017-05-06 at 22:22 +0200, Julien Cubizolles wrote: > Dan Williams writes: > > > > Ok, at this point the only thing I can think of is the MAC > > randomization that NM has.  Please see: > > > > https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoo

Re: [PATCH] ath9k: introduce endian_check module parameter

2018-02-26 Thread Dan Williams
On Mon, 2018-02-26 at 17:44 +0100, Bas Vermeulen wrote: > On 26-02-18 17:32, Larry Finger wrote: > > On 02/26/2018 04:07 AM, Bas Vermeulen wrote: > > > On 26-02-18 10:54, Kalle Valo wrote: > > > > Bas Vermeulen writes: > > > > > > > > > A random (little endian eeprom'd) ar9278 card didn't work on

Re: [v2 PATCH] mwifiex: parse key management suite from RSN IE

2018-04-10 Thread Dan Williams
On Tue, 2018-04-10 at 02:19 +, Xinming Hu wrote: > Hi Kalle, > > > -Original Message- > > From: Kalle Valo [mailto:kv...@codeaurora.org] > > Sent: 2018年4月9日 18:51 > > To: Xinming Hu > > Cc: Linux Wireless ; Brian Norris > > ; Dmitry Torokhov ; > > raja...@google.com; Zhiyuan Yang ; Ti

Re: second wifi card enforce CN reg dom

2018-04-12 Thread Dan Williams
On Thu, 2018-04-12 at 08:18 -0700, Steve deRosier wrote: > On Thu, Apr 12, 2018 at 3:51 AM, Arend van Spriel > wrote: > > On 4/12/2018 10:42 AM, solsTiCe d'Hiver wrote: > > > > > > Hi. > > > > > > This is beyond my comprehension that you could assert this is a > > > non issue. > > > > > > Well

Re: [PATCH 2/2] ath10k: support MAC address randomization in scan

2018-04-17 Thread Dan Williams
On Tue, 2018-04-17 at 15:26 -0700, Brian Norris wrote: > On Tue, Apr 17, 2018 at 2:49 PM, Arend van Spriel > wrote: > > On 4/17/2018 6:07 PM, Brian Norris wrote: > > > On Tue, Apr 17, 2018 at 10:22:13AM +0200, Arend van Spriel wrote: > > > > I believe checking command support is not really recomme

brcmfmac MAC address change delay and 500ms down delay

2016-09-15 Thread Dan Williams
Hi, While refining NetworkManager's MAC address randomization behavior we came across two issues with brcmfmac: 1) when changing the MAC address, the driver schedules work for the new change and returns success, but doesn't actually change the MAC until the work is scheduled.  Because it returns

Re: brcmfmac MAC address change delay and 500ms down delay

2016-09-19 Thread Dan Williams
On Fri, 2016-09-16 at 11:58 +0200, Arend Van Spriel wrote: > On 15-9-2016 16:42, Dan Williams wrote: > > > > Hi, > > > > While refining NetworkManager's MAC address randomization behavior > > we > > came across two issues with brcmfmac: > >

Re: [PATCH] brcmfmac: implement more accurate skb tracking

2016-09-26 Thread Dan Williams
On Mon, 2016-09-26 at 14:13 +0200, Rafał Miłecki wrote: > On 26 September 2016 at 13:46, Arend Van Spriel > wrote: > > > > On 26-9-2016 12:23, Rafał Miłecki wrote: > > > > > > From: Rafał Miłecki > > > > > > We need to track 802.1x packets to know if there are any pending > > > ones > > > for

Re: [PATCH 1/5] nl80211: allow reporting RTT information in scan results

2016-11-17 Thread Dan Williams
On Thu, 2016-11-17 at 11:39 +, Arend van Spriel wrote: > Add distance and its variance to the BSS structure so drivers > may provide RTT information for BSS instances found during > scanning. > > Reviewed-by: Hante Meuleman > Reviewed-by: Pieter-Paul Giesberts m> > Reviewed-by: Franky Lin >

Re: [PATCH] cfg80211/nl80211: add wifi tx power mode switching support

2016-05-11 Thread Dan Williams
On Wed, 2016-05-11 at 13:03 +0800, Wei-Ning Huang wrote: > On Fri, May 6, 2016 at 4:19 PM, Wei-Ning Huang > wrote: > > > > On Fri, May 6, 2016 at 12:07 AM, Dan Williams > > wrote: > > > > > > > > > On Thu, 2016-05-05 at 14:44 +0800, Wei-Nin

Re: Where to post Wireless Tools Patches

2016-06-01 Thread Dan Williams
On Wed, 2016-06-01 at 21:42 +0530, Dibyajyoti Ghosh wrote: > Hi, > > I want to know the mail id list to send a patch on Wireless Tools. > Kindly reply ASAP. Assuming you mean the "wireless-tools" package, this list is OK.  But probably nobody will apply the patches, since wireless-tools and the W

Re: Where to post Wireless Tools Patches

2016-06-01 Thread Dan Williams
On Wed, 2016-06-01 at 19:38 +0200, Johannes Berg wrote: > On Wed, 2016-06-01 at 12:20 -0500, Dan Williams wrote: > > > > > Assuming you mean the "wireless-tools" package, this list is OK. > >  But > > probably nobody will apply the patches, since wireless

Re: [ldv-project] [net] libertas: potential race condition

2016-06-07 Thread Dan Williams
On Tue, 2016-06-07 at 13:30 +0400, Pavel Andrianov wrote: > Hi! > > There is a potential race condition in  > drivers/net/wireless/libertas/libertas.ko. > In the function lbs_hard_start_xmit(..), line 159, a socket buffer > is  > written to priv->current_skb with a spin_lock protection. > In the f

Re: Problem connecting to wifi on libertas_cpio (sd8686)

2016-07-19 Thread Dan Williams
On Tue, 2016-07-19 at 12:06 -0400, Christopher Williamson wrote: > Hi everyone! > > I’ve just got myself a Viliv N5 and am trying to get the integrated > Wifi chipset working on it. > > I am able to see networks around me but any attempts to connect them > appear to time out and fail. > > I have

Re: Problem connecting to wifi on libertas_cpio (sd8686)

2016-07-20 Thread Dan Williams
nnamed net_device) > > > (uninitialized): PREP_CMD: command 0x00a3 failed: 2 > > > [ 212.936190] libertas_sdio mmc1:0001:1 wlan0: Marvell WLAN > > > 802.11 adapter > > > [ 213.053612] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready > > > > > > > >

Re: Problem connecting to wifi on libertas_cpio (sd8686)

2016-07-20 Thread Dan Williams
On Wed, 2016-07-20 at 13:06 -0700, Christopher Williamson wrote: > Hi Dan, > > Ah - yeah I hadn’t thought it may be a kernel build option. I’ve now > built that and dmesg is a much more lively place! > > I’ve provided output logs for both when the device is connected and > when a connection attem

Re: Problem connecting to wifi on libertas_cpio (sd8686)

2016-07-21 Thread Dan Williams
ince it’s over 700 lines. Can you try with "-D nl80211" instead of using the WEXT supplicant driver?  NM is likely going to use nl80211 since the driver has some  support for cfg80211/nl80211 and only does WEXT through the glue layer. Dan > Christopher Williamson > > >

Re: Problem connecting to wifi on libertas_cpio (sd8686)

2016-07-21 Thread Dan Williams
56, Christopher Williamson > (h...@chrisaw.com(mailto:h...@chrisaw.com)) wrote: > > > > > > > Sure, here are the results: > > > > http://termbin.com/e8e2 > > > > Christopher Williamson > > > > > > On 21 July 2016 at 16:37:24

Re: Problem connecting to wifi on libertas_cpio (sd8686)

2016-07-22 Thread Dan Williams
gt; > > Arend > > > > > > > > > > > Christopher Williamson > > > > > > > > > > > > > > > > > > > > On 21 July 2016 at 22:00:02, Christopher Williamson > > > > (h...@chrisaw.com(mailto:h...@chrisaw.com)) wro

Re: Problem connecting to wifi on libertas_cpio (sd8686)

2016-07-25 Thread Dan Williams
s sd8686 > > > > > > > chipset. > > > > > > > > > > > > > > I do currently use pfSense as a firewall box behind my > > > > > > > wireless router (acting as an AP) and can see that no > > > > > > > DHCP request

Re: [RFC v0 3/8] firmware: Factor out firmware load helpers

2016-07-28 Thread Dan Williams
On Thu, 2016-07-28 at 09:55 +0200, Daniel Wagner wrote: > From: Daniel Wagner > > Factor out the firmware loading synchronization code in order to > allow > drivers to reuse it. This also documents more clearly what is > happening. This is especial useful the drivers which will be > converted > a

Re: [PATCHv2 00/10] RFKill airplane-mode indicator

2016-02-22 Thread Dan Williams
On Mon, 2016-02-22 at 11:36 -0500, João Paulo Rechi Vita wrote: > This series implements an airplane-mode indicator LED trigger, which > can be > used by platform drivers. The default policy have have airplane-mode > set when > all the radios known by RFKill are OFF, and unset otherwise. This > pol

Re: [PATCH] cfg80211/nl80211: add wifi tx power mode switching support

2016-05-05 Thread Dan Williams
On Thu, 2016-05-05 at 14:44 +0800, Wei-Ning Huang wrote: > Recent new hardware has the ability to switch between tablet mode and > clamshell mode. To optimize WiFi performance, we want to be able to > use > different power table between modes. This patch adds a new netlink > message type and cfg802

Re: [RFC V3 03/11] nl80211: add support for gscan

2016-12-12 Thread Dan Williams
On Mon, 2016-12-12 at 11:59 +, Arend van Spriel wrote: > This patch adds support for GScan which is a scan offload feature > used in Android. > > Reviewed-by: Hante Meuleman > Reviewed-by: Pieter-Paul Giesberts m> > Reviewed-by: Franky Lin > Signed-off-by: Arend van Spriel > --- > Changes:

Re: iwl3945 randomly crashes

2016-12-20 Thread Dan Williams
On Tue, 2016-12-20 at 17:24 +0100, Łukasz Walewski wrote: > Hi, > > I am using the latest Lubuntu 16.10 with fairly recent kernel > > ljw@hideo:~$ uname -a > Linux hideo 4.8.0-30-generic #32-Ubuntu SMP Fri Dec 2 03:43:33 UTC > 2016 i686 i686 i686 GNU/Linux > > on an old Toshiba laptop (Satellite

Re: [PATCH v2] cfg80211: add set/get link loss profile

2016-12-20 Thread Dan Williams
On Mon, 2016-12-19 at 12:58 +0200, Lazar, Alexei Avshalom wrote: > From 7e41d45179a8762a7d2e1653db35751c19c8c747 Mon Sep 17 00:00:00 > 2001 > From: Alexei Avshalom Lazar > Date: Sun, 18 Dec 2016 15:06:38 +0200 > Subject: [PATCH] cfg80211: add set/get link loss profile > > Introduce NL80211_CMD_SE

Re: iwl3945 randomly crashes

2016-12-20 Thread Dan Williams
On Tue, 2016-12-20 at 18:11 +0100, Łukasz Walewski wrote: > On Tue, 20 Dec 2016 10:49:52 -0600 > Dan Williams wrote: > > > > > On Tue, 2016-12-20 at 17:24 +0100, Łukasz Walewski wrote: > > > > > > Hi, > > > > > > I am using the latest

Re: [PATCH] nl80211: Introduce scan flags to emphasize requested scan behavior

2017-12-13 Thread Dan Williams
On Wed, 2017-12-13 at 19:52 +0200, Jouni Malinen wrote: > From: Sunil Dutt > > This commit defines new scan flags (LOW_SPAN, LOW_POWER, > HIGH_LATENCY) > to emphasize the requested scan behavior for the driver. These flags > are > optional and are mutually exclusive. Driver shall resort to defaul

[PATCH 11/18] cw1200: prevent bounds-check bypass via speculative execution

2018-01-05 Thread Dan Williams
ger.kernel.org Signed-off-by: Elena Reshetova Signed-off-by: Dan Williams --- drivers/net/wireless/st/cw1200/sta.c | 10 ++ drivers/net/wireless/st/cw1200/wsm.h |4 +--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/st/cw1200/sta.c b/dr

[PATCH 09/18] p54: prevent bounds-check bypass via speculative execution

2018-01-05 Thread Dan Williams
issue reads based on an invalid result of 'priv->qos_params[queue]'. Based on an original patch by Elena Reshetova. Cc: Christian Lamparter Cc: Kalle Valo Cc: linux-wireless@vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Elena Reshetova Signed-off-by: Dan Williams --- driv

[PATCH 08/18] carl9170: prevent bounds-check bypass via speculative execution

2018-01-05 Thread Dan Williams
vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Elena Reshetova Signed-off-by: Dan Williams --- drivers/net/wireless/ath/carl9170/main.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/ca

[PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-05 Thread Dan Williams
x86, barrier: stop speculation for failed access_ok Dan Williams (13): x86: implement nospec_barrier() [media] uvcvideo: prevent bounds-check bypass via speculative execution carl9170: prevent bounds-check bypass via speculative execution p54: prevent bounds-check bypass

Re: [PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-05 Thread Dan Williams
On Fri, Jan 5, 2018 at 6:22 PM, Eric W. Biederman wrote: > Dan Williams writes: > >> Quoting Mark's original RFC: >> >> "Recently, Google Project Zero discovered several classes of attack >> against speculative execution. One of these, known as variant-1

Re: [PATCH 08/18] carl9170: prevent bounds-check bypass via speculative execution

2018-01-06 Thread Dan Williams
On Sat, Jan 6, 2018 at 6:23 AM, Christian Lamparter wrote: > On Saturday, January 6, 2018 2:10:37 AM CET Dan Williams wrote: >> Static analysis reports that 'queue' may be a user controlled value that >> is used as a data dependency to read from the 'ar9170_qma

Re: [PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-06 Thread Dan Williams
On Fri, Jan 5, 2018 at 5:09 PM, Dan Williams wrote: > Quoting Mark's original RFC: > > "Recently, Google Project Zero discovered several classes of attack > against speculative execution. One of these, known as variant-1, allows > explicit bounds checks to be bypassed und

Re: [PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-06 Thread Dan Williams
On Sat, Jan 6, 2018 at 11:37 AM, Dan Williams wrote: > On Fri, Jan 5, 2018 at 5:09 PM, Dan Williams wrote: >> Quoting Mark's original RFC: >> >> "Recently, Google Project Zero discovered several classes of attack >> against speculative execution. One

Re: [PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-09 Thread Dan Williams
On Tue, Jan 9, 2018 at 11:34 AM, Jiri Kosina wrote: > On Fri, 5 Jan 2018, Dan Williams wrote: > > [ ... snip ... ] >> Andi Kleen (1): >> x86, barrier: stop speculation for failed access_ok >> >> Dan Williams (13): >> x86: implement nospec_barri

Re: [PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
On Thu, Jan 11, 2018 at 1:54 AM, Jiri Kosina wrote: > On Tue, 9 Jan 2018, Josh Poimboeuf wrote: > >> On Tue, Jan 09, 2018 at 11:44:05AM -0800, Dan Williams wrote: >> > On Tue, Jan 9, 2018 at 11:34 AM, Jiri Kosina wrote: >> > > On Fri, 5 Jan 2018, Dan William

[PATCH v2 18/19] cw1200: prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
ger.kernel.org Signed-off-by: Elena Reshetova Signed-off-by: Dan Williams --- drivers/net/wireless/st/cw1200/sta.c | 11 +++ drivers/net/wireless/st/cw1200/wsm.h |4 +--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/st/cw1200/sta.c b/dr

[PATCH v2 15/19] carl9170: prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Elena Reshetova Signed-off-by: Dan Williams --- drivers/net/wireless/ath/carl9170/main.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/ca

[PATCH v2 16/19] p54: prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
issue reads based on an invalid result of 'priv->qos_params[queue]'. Based on an original patch by Elena Reshetova. Cc: Christian Lamparter Cc: Kalle Valo Cc: linux-wireless@vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Elena Reshetova Signed-off-by: Dan Williams --- driv

[PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
git branch here: git://git.kernel.org/pub/scm/linux/kernel/git/djbw/linux nospec-v2 Note that the BPF fix for Spectre variant1 is merged in the bpf.git tree [4], and is not included in this branch. [2]: https://googleprojectzero.blogspot.co.uk/2018/01/reading-privileged-memor

Re: [PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
On Thu, Jan 11, 2018 at 5:19 PM, Linus Torvalds wrote: > On Thu, Jan 11, 2018 at 4:46 PM, Dan Williams > wrote: >> >> This series incorporates Mark Rutland's latest ARM changes and adds >> the x86 specific implementation of 'ifence_array_ptr'. That ifence

Re: [PATCH v2 15/19] carl9170: prevent bounds-check bypass via speculative execution

2018-01-12 Thread Dan Williams
On Fri, Jan 12, 2018 at 6:42 AM, Christian Lamparter wrote: > On Friday, January 12, 2018 1:47:46 AM CET Dan Williams wrote: >> Static analysis reports that 'queue' may be a user controlled value that >> is used as a data dependency to read from the 'ar9170_qma

Re: [PATCH v2 15/19] carl9170: prevent bounds-check bypass via speculative execution

2018-01-12 Thread Dan Williams
On Fri, Jan 12, 2018 at 12:01 PM, Christian Lamparter wrote: > On Friday, January 12, 2018 7:39:50 PM CET Dan Williams wrote: >> On Fri, Jan 12, 2018 at 6:42 AM, Christian Lamparter >> wrote: >> > On Friday, January 12, 2018 1:47:46 AM CET Dan Williams wrote: >> &

Re: [PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-18 Thread Dan Williams
On Thu, Jan 18, 2018 at 5:18 AM, Will Deacon wrote: > Hi Dan, Linus, > > On Thu, Jan 11, 2018 at 05:41:08PM -0800, Dan Williams wrote: >> On Thu, Jan 11, 2018 at 5:19 PM, Linus Torvalds >> wrote: >> > On Thu, Jan 11, 2018 at 4:46 PM, Dan Williams >&

[PATCH v4 00/10] prevent bounds-check bypass via speculative execution

2018-01-18 Thread Dan Williams
get in the kernel. These patches are also available via the 'nospec-v4' git branch here: git://git.kernel.org/pub/scm/linux/kernel/git/djbw/linux nospec-v4 Note that the BPF fix for Spectre variant1 is merged for 4.15-rc8. [2]: https://googleprojectzero.blogspot.co.uk/2018/01/readi

[PATCH v4 10/10] nl80211: sanitize array index in parse_txq_params

2018-01-18 Thread Dan Williams
hat any speculation into ->conf_tx() handlers is done with a value of txq_params->ac that is within the bounds of [0, NL80211_NUM_ACS). Reported-by: Christian Lamparter Reported-by: Elena Reshetova Cc: Johannes Berg Cc: "David S. Miller" Cc: linux-wireless@vger.kernel.org Signed-

Re: [PATCH v4 00/10] prevent bounds-check bypass via speculative execution

2018-01-19 Thread Dan Williams
On Thu, Jan 18, 2018 at 4:01 PM, Dan Williams wrote: > Changes since v3 [1] > * Drop 'ifence_array_ptr' and associated compile-time + run-time > switching and just use the masking approach all the time. > > * Convert 'get_user' to use pointer sanitization

[PATCH v4.1 00/10] spectre variant1 mitigations for tip/x86/pti

2018-01-20 Thread Dan Williams
itizes user input and the actual usage of the array index is in a different compilation unit in the low-level driver. [1]: https://lkml.org/lkml/2018/1/17/929 [2]: https://www.spinics.net/lists/netdev/msg477542.html --- Dan Williams (9): asm/nospec, array_ptr: sanitize specul

[PATCH v4.1 10/10] nl80211: sanitize array index in parse_txq_params

2018-01-20 Thread Dan Williams
hat any speculation into ->conf_tx() handlers is done with a value of txq_params->ac that is within the bounds of [0, NL80211_NUM_ACS). Reported-by: Christian Lamparter Reported-by: Elena Reshetova Cc: Johannes Berg Cc: "David S. Miller" Cc: linux-wireless@vger.kernel.org Signed-

[PATCH v5 00/12] spectre variant1 mitigations for tip/x86/pti

2018-01-27 Thread Dan Williams
path syscall table lookups. * Redo the array_ptr conversions with array_idx. * Update /sys/devices/system/cpu/vulnerabilities/spectre_v1 to indicate the new protections. It now reports "Vulnerable: Minimal user pointer sanitization". (Jiri) --- Dan Williams (11): ar

[PATCH v5 11/12] nl80211: sanitize array index in parse_txq_params

2018-01-27 Thread Dan Williams
hat any speculation into ->conf_tx() handlers is done with a value of txq_params->ac that is within the bounds of [0, NL80211_NUM_ACS). Reported-by: Christian Lamparter Reported-by: Elena Reshetova Acked-by: Johannes Berg Cc: "David S. Miller" Cc: linux-wireless@vger.kernel.o

Re: [PATCH v5 00/12] spectre variant1 mitigations for tip/x86/pti

2018-01-27 Thread Dan Williams
;w=2 https://marc.info/?l=linux-arch&m=151704030525028&w=2 https://marc.info/?l=linux-arch&m=151704031125029&w=2 https://marc.info/?l=linux-arch&m=151704032225034&w=2 https://marc.info/?l=linux-arch&m=151704032625035&w=2 https://marc.info/?l=linux-arch&m=151704032725037&

[PATCH v6 12/13] nl80211: sanitize array index in parse_txq_params

2018-01-29 Thread Dan Williams
ny speculation into ->conf_tx() handlers is done with a value of txq_params->ac that is within the bounds of [0, NL80211_NUM_ACS). Reported-by: Christian Lamparter Reported-by: Elena Reshetova Acked-by: Johannes Berg Cc: "David S. Miller" Cc: linux-wireless@vger.kernel.o

[PATCH v6 00/13] spectre variant1 mitigations for tip/x86/pti

2018-01-29 Thread Dan Williams
_begin_nospec() helper. (Ingo) * Change the contents of the 'bug/spectre_v1' sysfs file to: "Mitigation: __user pointer sanitization" since these changes do raise the kernel's defenses. (Ingo) [1]: https://www.spinics.net/lists/linux-arch/msg44193.html --- Dan Willia

Re: [PATCH v3 1/2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-21 Thread Dan Williams
On Mon, 2015-09-21 at 15:44 +0200, Ondrej Zary wrote: > IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as > wpa_supplicant uses it for both no encryption and WEP open system. > Cache the last mode set (only of these two) and use it here. > > This allows wpa_supplicant to work with unencr

Re: ipw2200-bss

2015-09-30 Thread Dan Williams
On Wed, 2015-09-30 at 15:21 +, Aaron Kempf wrote: > I am a tiny bit confused why this 'centrino' driver isn't in the 650mb > cd download for Debian 8.2 The driver is included in the kernel, so it should be there already. What may not be included on the CD is the firmware, which you may have to

Re: [RFC PATCH 2/2] airo: fix scan after SIOCSIWAP (airo_set_wap)

2015-10-09 Thread Dan Williams
On Thu, 2015-10-08 at 20:14 +0200, Ondrej Zary wrote: > SIOCSIWAP (airo_set_wap) affects scan: only the AP specified by > SIOCSIWAP is present in scan results. > > This makes NetworkManager work for the first time but then unable to > find any other APs. > > Clear APList before starting scan and

Re: mwifiex problem: incompatible network settings

2015-10-26 Thread Dan Williams
On Mon, 2015-10-26 at 16:51 +0100, Julien Cubizolles wrote: > I can't connect anymore to my home wifi since upgrading my machine from > Ubuntu 15.04 to Ubuntuy 15.10. I was previously running kernel 4.3.0-rc2 > from kernel.org without any problem. After the upgrade, and with the > same kernel, I co

Re: mwifiex problem: incompatible network settings

2015-10-27 Thread Dan Williams
On Mon, 2015-10-26 at 22:50 +0100, Julien Cubizolles wrote: > Dan Williams writes: > > > On Mon, 2015-10-26 at 16:51 +0100, Julien Cubizolles wrote: > >> I can't connect anymore to my home wifi since upgrading my machine from > >> Ubuntu 15.04 to Ubuntuy 15.

Re: mwifiex problem: incompatible network settings

2015-10-28 Thread Dan Williams
On Tue, 2015-10-27 at 22:44 +0100, Julien Cubizolles wrote: > Amitkumar Karwar writes: > > > Hi Julien, > > > >>Yes, I'm using NetworkManager, version 1.0.4-ubuntu5, and I'm guessing > >>it's using wpa_supplicant. I deleted the configuration for this network > >>and created it again. The network

Re: mwifiex problem: incompatible network settings

2015-10-29 Thread Dan Williams
On Thu, 2015-10-29 at 12:27 +, Amitkumar Karwar wrote: > Hi Julien, > > > From: Julien Cubizolles [mailto:j.cubizol...@free.fr] > > Sent: Thursday, October 29, 2015 3:09 AM > > To: Dan Williams > > Cc: Amitkumar Karwar; linux-wireless@vger.kernel.org &g

Re: how can we fast roaming between multi-aps

2014-09-26 Thread Dan Williams
On Fri, 2014-09-26 at 11:22 +0800, jammy wrote: > Hi all, > > I have build a multi-aps network,and there are wifi clients roaming in the > network. Now I use the standard ath9k driver,and I found that the time of > handoff is as long as 3 to 4 seconds,it is too long to process the Voip > servic

Re: how can we fast roaming between multi-aps

2014-09-29 Thread Dan Williams
On Sat, 2014-09-27 at 16:18 +0800, jammy wrote: > Hi DAN, > 1,Are all the SSIDs the same? > A:yes,SSIDs are same. > 2,What kind of authentication? WPA Enterprise/802.1x? What EAP methods? > A:there are no authentication,and no EAP methods > 3,Is pre-authentication enabled on the network and in th

Re: RTL8188SU(rtl8192su) - unavailable

2014-09-29 Thread Dan Williams
On Mon, 2014-09-29 at 11:29 +0200, poma wrote: > [platform/nm-platform.c:806] nm_platform_link_set_up(): link: setting up > 'wlp0s4f1u1' (4) > [platform/nm-linux-platform.c:2356] link_change_flags(): link: change 4: > flags set 'up' (1) > [platform/nm-linux-platform.c:2250] link_change(): Netlink

Re: wl1271 driver on Linux 3.10 for SabreSD

2014-10-08 Thread Dan Williams
On Wed, 2014-10-08 at 15:37 +0200, CHAUMETTE Hubert wrote: > Hi all, > > I need to activate the wl12xx driver (from drivers/net/wireless/ti/) on a > (Android) Linux 3.10.31 kernel on an i.MX6Q SabreSD board. The wl1271 is to > communicate with the board through an SDIO interface (SD2 on the boar

Re: wl1271 driver on Linux 3.10 for SabreSD

2014-10-08 Thread Dan Williams
On Wed, 2014-10-08 at 12:52 -0500, Dan Williams wrote: > On Wed, 2014-10-08 at 15:37 +0200, CHAUMETTE Hubert wrote: > > Hi all, > > > > I need to activate the wl12xx driver (from drivers/net/wireless/ti/) on a > > (Android) Linux 3.10.31 kernel on an i.MX6Q Sabr

Re: RTL8188SU(rtl8192su) & rtl8192sufw-ap.bin

2014-10-14 Thread Dan Williams
On Tue, 2014-10-14 at 02:59 +0200, poma wrote: > Realtek RTL8188SU/RTL8191SU/RTL8192SU driver > https://github.com/chunkeey/rtl8192su > & > RTL8188SU > It looks like everything worked correctly here for AP mode, at least from the NM logs. Is that correct? Dan > - lsusb > > Bus 002 Device 003:

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-16 Thread Dan Williams
On Thu, 2014-10-16 at 15:48 +0300, Laurențiu Nicola wrote: > Hello, > > I'm using iwlwifi for a Centrino Ultimate-N 6300 on 3.14.4 and 3.17.1. > Connect to my wireless network works, but I get disconnected every 60 > seconds or so. The dmesg output looks like > https://bpaste.net/show/1623a8ae5dc6

Re: MAC acl equivalent to iwpriv for nl80211 drivers

2014-11-12 Thread Dan Williams
On Wed, 2014-11-12 at 14:31 +, Patrick Bosch wrote: > Hello everybody > > I hope I do post this in the correct mailing list. > > My problem is the following: > > I want to add/delete new MAC addresses to the acl without restarting > anything. Without restarting I mean that there shouldn't be

Re: Can fb4e156886ce6e8309e912d8b370d192330d19d3 be reverted ?

2014-11-13 Thread Dan Williams
On Thu, 2014-11-13 at 22:41 +0900, Marcel Holtmann wrote: > Hi Johannes, > > >> I've updated wireless code on RHEL and get complain that now > >> cfg80211 and rfkill modules are loaded on machines that do not have > >> wireless hardware. Modules are auto-loaded because NetworkManager send > >> nl8

Re: [PATCH] cfg80211: remove net-pf-16-proto-16-family-nl80211 module alias

2014-11-13 Thread Dan Williams
On Thu, 2014-11-13 at 22:48 +0900, Marcel Holtmann wrote: > Hi Stanislaw, > > >>> With the alias cfg80211 module is loaded on systems without the wireless > >>> hardware when user-space use nl80211 to discover if there are wireless > >>> devices, what is considered as resources wastage. On systems

Re: Can fb4e156886ce6e8309e912d8b370d192330d19d3 be reverted ?

2014-11-14 Thread Dan Williams
On Fri, 2014-11-14 at 16:02 +0900, Marcel Holtmann wrote: > Hi Dan, > > I've updated wireless code on RHEL and get complain that now > cfg80211 and rfkill modules are loaded on machines that do not have > wireless hardware. Modules are auto-loaded because NetworkManager send >

Re: Can fb4e156886ce6e8309e912d8b370d192330d19d3 be reverted ?

2014-11-14 Thread Dan Williams
On Fri, 2014-11-14 at 10:02 -0600, Dan Williams wrote: > On Fri, 2014-11-14 at 16:02 +0900, Marcel Holtmann wrote: > > Hi Dan, > > > > >>>> I've updated wireless code on RHEL and get complain that now > > >>>> cfg80211 and rfkill modules a

Re: Can fb4e156886ce6e8309e912d8b370d192330d19d3 be reverted ?

2014-11-19 Thread Dan Williams
On Fri, 2014-11-14 at 11:10 -0600, Dan Williams wrote: > On Fri, 2014-11-14 at 10:02 -0600, Dan Williams wrote: > > On Fri, 2014-11-14 at 16:02 +0900, Marcel Holtmann wrote: > > > Hi Dan, > > > > > > >>>> I've updated wireless code on RHEL and

Re: Setting WLAN RF Sensitivity value

2014-11-25 Thread Dan Williams
On Wed, 2014-11-26 at 02:12 +0300, Sergey Ryazanov wrote: > 2014-11-25 19:21 GMT+03:00 Mohammad Ali Ma Abu Shattal > : > > Dear Sir/Madam, > > > > I'm working on a project in which we need to set and get RF sensitivity of > > WLAN device. > Could you specify, what exactly parameter do you want to

Re: Laptop disassociating by local choice (reason=17)

2014-12-02 Thread Dan Williams
On Tue, 2014-12-02 at 16:35 -0600, Brent Taylor wrote: > 1417557229.339147: WPA: RSN IE in EAPOL-Key - hexdump(len=22): 30 14 > 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 > 1417557229.339179: WPA: RSN IE in Beacon/ProbeResp - hexdump(len=26): > 30 18 01 00 00 0f ac 04 02 00 00 0f a

Re: iwlwifi 6235 AGN: hardware limitation on number of stations that can connect in ap mode ?

2014-12-05 Thread Dan Williams
On Fri, 2014-12-05 at 10:55 +0100, Sander Eikelenboom wrote: > Hi Johannes, > > I'm trying to use an Intel Corporation Centrino Advanced-N 6235 (rev 24) with > openwrt and hostapd to provide router functionality. > That all works fine, except that it at max accepts 12 wireless clients. > I have t

Re: wl1251: NVS firmware data

2014-12-08 Thread Dan Williams
On Mon, 2014-12-08 at 20:15 +0100, Pali Rohár wrote: > On Monday 08 December 2014 19:50:17 Marcel Holtmann wrote: > > Hi Pali, > > > > >> On Saturday 06 December 2014 13:49:54 Pavel Machek > > >> wrote: /** > > >> > > >> + * request_firmware_prefer_user: - prefer usermode > >

Re: wl1251: NVS firmware data

2014-12-08 Thread Dan Williams
On Mon, 2014-12-08 at 21:42 +0200, Ivaylo Dimitrov wrote: > > On 8.12.2014 21:26, Dan Williams wrote: > > > > a) change driver to prefer a new "wl1251-nvs-n900.bin" file, but fall > > back to "wl1251-nvs.bin" if the first one isn't present >

Re: wl1251: NVS firmware data

2014-12-08 Thread Dan Williams
On Mon, 2014-12-08 at 20:36 +0100, Pali Rohár wrote: > On Monday 08 December 2014 20:26:53 Dan Williams wrote: > > On Mon, 2014-12-08 at 20:15 +0100, Pali Rohár wrote: > > > On Monday 08 December 2014 19:50:17 Marcel Holtmann wrote: > > > > Hi Pali, > > > &g

Re: wl1251: NVS firmware data

2014-12-08 Thread Dan Williams
On Tue, 2014-12-09 at 00:23 +0100, Pali Rohár wrote: > On Monday 08 December 2014 23:51:07 Dan Williams wrote: > > Is the CAL data format generic to all wl1251 devices? Or is > > the stuff in the CAL partition Nokia-specific? > > > > Specific for Nokia devices.

Re: changes to Linux wireless maintenance

2014-12-18 Thread Dan Williams
On Wed, 2014-12-17 at 10:59 -0500, John W. Linville wrote: > Greetings, > > Almost 9 years ago, Jeff Garzik wrote a message on LKML detailing > the sad state of wireless LANs in the Linux world. The point of his > message was "So... there it is. We suck. There's hope. No Luke > Skywalker in si

Re: [PATCH 08/11] brcmfmac: Make 5G join preference configurable.

2015-12-02 Thread Dan Williams
On Wed, 2015-12-02 at 14:32 +0100, Arend van Spriel wrote: > On 12/01/2015 12:08 PM, Jouni Malinen wrote: > > On Tue, Dec 01, 2015 at 11:48:32AM +0200, Kalle Valo wrote: > > > Arend van Spriel writes: > > > > It solves a problem for us, but admittedly it is not something > > > > that is > > > > ve

Re: [PATCH 08/11] brcmfmac: Make 5G join preference configurable.

2015-12-02 Thread Dan Williams
hat a (given version of a) driver is expected to act > with respect to this property so we can flag issues with the > implementation. Agreed. Dan > On Wed, Dec 2, 2015 at 8:38 AM, Dan Williams wrote: > > On Wed, 2015-12-02 at 14:32 +0100, Arend van Spriel wrote: > > > On 12/0

Re: power save settings for WiFi

2016-01-04 Thread Dan Williams
On Sun, 2016-01-03 at 12:17 +0200, Emmanuel Grumbach wrote: > Hi Dan, > > I wanted to debug something with power save control and saw that NM > disables power save by default. This was a complete surprise for me. > This probably is because Ubuntu upgraded my NM version to 1.0.4. Note that upstrea

Re: [PATCH 8/9] rfkill: Userspace control for airplane mode

2016-02-08 Thread Dan Williams
On Mon, 2016-02-08 at 10:41 -0500, João Paulo Rechi Vita wrote: > Provide an interface for the airplane-mode indicator be controlled > from > userspace. User has to first acquire the control through > RFKILL_OP_AIRPLANE_MODE_ACQUIRE and keep the fd open for the whole > time > it wants to be in cont

Re: [PATCH 8/9] rfkill: Userspace control for airplane mode

2016-02-10 Thread Dan Williams
On Wed, 2016-02-10 at 17:07 +0100, Johannes Berg wrote: > On Mon, 2016-02-08 at 10:11 -0600, Dan Williams wrote: > > I'd like to clarify a bit, so tell me if I'm correct or not.  Using > > RFKILL_OP_AIRPLANE_MODE_CHANGE does not actually change any device > > state.

Re: Virtual Interfaces with iwlwifi

2015-03-09 Thread Dan Williams
On Mon, 2015-03-09 at 16:53 +, Risse Kilian wrote: > Hi > > I tried to create a second interface and connect to another AP. But I was > unable to do so. As I tried to enable the second interface I got an error: > Device or resource busy. So am I right assuming that this is not possible > wi

Re: Looking for Orinoco USB dongles

2015-03-11 Thread Dan Williams
On Wed, 2015-03-11 at 15:15 -0400, Jes Sorensen wrote: > Hi, > > For the Outreachy project I am trying to track down 1-2 Orinoco USB > dongles. If anyone has one sitting in a drawer and would be interested > in reclaiming their drawer space, please shoot me an email off-list. > > I'm happy to pay

Re: ARP dropped during WPA handshake

2015-03-13 Thread Dan Williams
On Fri, 2015-03-13 at 14:41 +0100, voncken wrote: > > > > > > On 03/13/2015 12:36 PM, Cedric VONCKEN wrote: > > > My test plateforme is very simple, One sta (with openwrt), one AP and > > > a computer connected to the AP. > > > I launch iperf on the sta and power up the AP. > > > > > > With wires

Re: ARP dropped during WPA handshake

2015-03-13 Thread Dan Williams
On Fri, 2015-03-13 at 16:53 +0100, voncken wrote: > > > Below, a tcpdump capture from sta. > > > 17:43:12.964096 EAPOL key (3) v2, len 95 > > > 17:43:12.998439 EAPOL key (3) v1, len 117 > > > 17:43:13.062409 ARP, Request who-has 10.32.61.100 tell 10.32.0.1, > > > length 28 > > > 17:43:13.079989 EAP

Re: ARP dropped during WPA handshake

2015-03-17 Thread Dan Williams
On Tue, 2015-03-17 at 16:02 +0100, voncken wrote: > > > > > During the initial WPA handshake the connection is not fully set up, > > > > and so no general traffic can (nor should) pass between the STA and AP. > > > > That includes ARP and any L2/L3+ protocols, except for EAP and wifi > > > > manag

  1   2   >