Brian Candler | 24 Jul 12:31 2016
Picon

Problem with b43 monitor mode (14e4:4331)

I am trying to get monitor mode working on a Macmini6,2 (late 2012 
server) running Linux. This device has built-in Broadcom wifi. However I 
can only see Beacon and Probe frames, not user traffic.

OS: Ubuntu 14.04, but with the linux-generic-lts-xenial kernel (4.4.0). 
The server is connected to wired ethernet, so the wifi interface is 
unused apart from this attempt to monitor other wireless traffic.

The broadcom device has PCI ID *14e4:4331* which I see listed as 
supported at 
<https://wireless.wiki.kernel.org/en/users/Drivers/b43#Known_PCI_devices> 
<https://wireless.wiki.kernel.org/en/users/Drivers/b43#Known_PCI_devices>

Here is how I'm trying to set it up, following 
<http://sandilands.info/sgordon/capturing-wireless-lan-with-ubuntu-tcpdump-kismet>

root <at> brian:/data# ifconfig wlan0 down
root <at> brian:/data# iwconfig wlan0 mode monitor
root <at> brian:/data# iwconfig wlan0
wlan0     IEEE 802.11bg  Mode:Monitor  Tx-Power=0 dBm
           Retry short limit:7   RTS thr:off   Fragment thr:off
           Power Management:on
root <at> brian:/data# ifconfig wlan0 up
root <at> brian:/data# iwconfig wlan0 chan 6
root <at> brian:/data# tcpdump -i wlan0 -n -s0 -c 10000 -w file.pcap
tcpdump: WARNING: wlan0: no IPv4 address assigned
tcpdump: listening on wlan0, link-type IEEE802_11_RADIO (802.11 plus 
radiotap header), capture size 65535 bytes

Then I try generating some wireless traffic on the same channel from a 
(Continue reading)

Christopher Williamson | 22 Jul 23:47 2016
Gravatar

Re: Problem connecting to wifi on libertas_cpio (sd8686)

Hi all,

So I decided to have another fiddle with this and managed to get the
WiFi working perfectly first time on an ArchLinux LiveCD so it looks
like this issue is Ubuntu specific.

I’m going to copy the firmware files and check if they’re responsible
and work my way through the various differences but at least I know
this device can work properly on the Linux 4.6.3 (which the livecd is
based on.)

I’ll follow up if and when I find out what the cause of the problem was.

Christopher Williamson

On 22 July 2016 at 22:42:50, Christopher
Williamson
(home@...(mailto:home@...)) wrote:

> Hi all,
>
> So I decided to have another fiddle with this and managed to get the WiFi working perfectly first time on an
ArchLinux LiveCD so it looks like this issue is Ubuntu specific.
>
> I’m going to copy the firmware files and check if they’re responsible and work my way through the
various differences but at least I know this device can work properly on the Linux 4.6.3 (which the livecd
is based on.)
>
> I’ll follow up if and when I find out what the cause of the problem was.
> Christopher Williamson
(Continue reading)

Wei Yongjun | 22 Jul 16:08 2016
Picon

[PATCH -next] wlcore: spi: fix non static symbol warning

Fixes the following sparse warning:

drivers/net/wireless/ti/wlcore/spi.c:87:34: warning:
 symbol 'wilink_data' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyj.lk@...>
---
 drivers/net/wireless/ti/wlcore/spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ti/wlcore/spi.c b/drivers/net/wireless/ti/wlcore/spi.c
index 6d24040..0ed526e 100644
--- a/drivers/net/wireless/ti/wlcore/spi.c
+++ b/drivers/net/wireless/ti/wlcore/spi.c
 <at>  <at>  -84,7 +84,7  <at>  <at>  struct wilink_familiy_data {
 	char name[8];
 };

-const struct wilink_familiy_data *wilink_data;
+static const struct wilink_familiy_data *wilink_data;

 static const struct wilink_familiy_data wl18xx_data = {
 	.name = "wl18xx",

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Purushottam Kushwaha | 22 Jul 11:42 2016

[PATCH v3] cfg80211: Allow different beacon interval if driver supports

Driver may allow support for different beacon interval on virtual interfaces.
Allow if such support is advertised by driver. This adds new ext_feature as
NL80211_EXT_FEATURE_DIFF_BEACON_INTERVAL.

Signed-off-by: Purushottam Kushwaha <pkushwah@...>
---
 include/uapi/linux/nl80211.h | 3 +++
 net/wireless/util.c          | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 2206941..a910d0e 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
 <at>  <at>  -4551,6 +4551,8  <at>  <at>  enum nl80211_feature_flags {
  *	(if available).
  *  <at> NL80211_EXT_FEATURE_SET_SCAN_DWELL: This driver supports configuration of
  *	channel dwell time.
+ *  <at> NL80211_EXT_FEATURE_DIFF_BEACON_INTERVAL: This driver supports different
+ *	beacon interval on virtual interfaces.
  *
  *  <at> NUM_NL80211_EXT_FEATURES: number of extended features.
  *  <at> MAX_NL80211_EXT_FEATURES: highest extended feature index.
 <at>  <at>  -4562,6 +4564,7  <at>  <at>  enum nl80211_ext_feature_index {
 	NL80211_EXT_FEATURE_SCAN_START_TIME,
 	NL80211_EXT_FEATURE_BSS_PARENT_TSF,
 	NL80211_EXT_FEATURE_SET_SCAN_DWELL,
+	NL80211_EXT_FEATURE_DIFF_BEACON_INTERVAL,

 	/* add new features before the definition below */
(Continue reading)

Bob Copeland | 21 Jul 18:31 2016
Gravatar

[PATCH] ath9k: fix misleading indent

Fixes smatch warning:

ath9k_vif_iter_set_beacon() warn if statement not indented

Signed-off-by: Bob Copeland <me@...>
---
 drivers/net/wireless/ath/ath9k/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 7594650..70ca746 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
 <at>  <at>  -919,7 +919,7  <at>  <at>  static void ath9k_vif_iter_set_beacon(struct ath9k_vif_iter_data *iter_data,
 	} else {
 		if (iter_data->primary_beacon_vif->type != NL80211_IFTYPE_AP &&
 		    vif->type == NL80211_IFTYPE_AP)
-		iter_data->primary_beacon_vif = vif;
+			iter_data->primary_beacon_vif = vif;
 	}

 	iter_data->beacons = true;
--

-- 
2.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Bob Copeland | 21 Jul 17:39 2016
Gravatar

[PATCH] iw: display 5/10 MHz channel widths

iw was showing 'width: unknown' for channels on OCB interfaces; teach
it the values for 5/10 MHz so it will show the configured width.

Signed-off-by: Bob Copeland <me@...>
---
 interface.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/interface.c b/interface.c
index 209561d..2802235 100644
--- a/interface.c
+++ b/interface.c
 <at>  <at>  -295,6 +295,10  <at>  <at>  char *channel_width_name(enum nl80211_chan_width width)
 		return "80+80 MHz";
 	case NL80211_CHAN_WIDTH_160:
 		return "160 MHz";
+	case NL80211_CHAN_WIDTH_5:
+		return "5 MHz";
+	case NL80211_CHAN_WIDTH_10:
+		return "10 MHz";
 	default:
 		return "unknown";
 	}
--

-- 
2.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html
(Continue reading)

Amitkumar Karwar | 21 Jul 13:00 2016

[PATCH] mwifiex: fix large amsdu packets causing firmware hang

From: Cathy Luo <cluo@...>

Sometimes host prepares and downloads a large amsdu packet to firmware
which leads to a memory corruption in firmware.
The reason is __dev_alloc_skb() may allocate larger buffer than required
size. This patch solves the problem by checking "adapter->tx_buf_size"
instead of relying on skb_tailroom().

Signed-off-by: Cathy Luo <cluo@...>
Signed-off-by: Amitkumar Karwar <akarwar@...>
---
 drivers/net/wireless/marvell/mwifiex/11n_aggr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/marvell/mwifiex/11n_aggr.c b/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
index dc49c3d..c47d636 100644
--- a/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
+++ b/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
 <at>  <at>  -205,7 +205,8  <at>  <at>  mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,

 	do {
 		/* Check if AMSDU can accommodate this MSDU */
-		if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))
+		if ((skb_aggr->len + skb_src->len + LLC_SNAP_LEN) >
+		    adapter->tx_buf_size)
 			break;

 		skb_src = skb_dequeue(&pra_list->skb_head);
--

-- 
1.9.1
(Continue reading)

Mrs. Aishah Ahmed | 21 Jul 10:07 2016

VERY IMPORTANT MESSAGE !!!

Hello

Please I have something very important to tell you. I come to you in
peace, i will give you more clarification on my details.

 Regards

 Mrs. Aishah Ahmed Aziz
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Rajan Vaja | 21 Jul 10:14 2016
Picon

[PATCH] hostap: Use memdup_user() to reuse code

Fix coccicheck warning which recommends to
use memdup_user() instead of reimplementing its
code.

This patch fixes below coccicheck warnings:

drivers/net/wireless/intersil/hostap/hostap_ioctl.c:3044:9-16: WARNING
opportunity for memdup_user
drivers/net/wireless/intersil/hostap/hostap_ioctl.c:3806:9-16: WARNING
opportunity for memdup_user

Signed-off-by: Rajan Vaja <rajan.vaja@...>
---
 drivers/net/wireless/intersil/hostap/hostap_ioctl.c | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/drivers/net/wireless/intersil/hostap/hostap_ioctl.c b/drivers/net/wireless/intersil/hostap/hostap_ioctl.c
index 3e5fa78..a5656bc 100644
--- a/drivers/net/wireless/intersil/hostap/hostap_ioctl.c
+++ b/drivers/net/wireless/intersil/hostap/hostap_ioctl.c
 <at>  <at>  -3041,13 +3041,9  <at>  <at>  static int prism2_ioctl_priv_download(local_info_t *local, struct iw_point *p)
 	    p->length > 1024 || !p->pointer)
 		return -EINVAL;

-	param = kmalloc(p->length, GFP_KERNEL);
-	if (param == NULL)
-		return -ENOMEM;
-
-	if (copy_from_user(param, p->pointer, p->length)) {
-		ret = -EFAULT;
(Continue reading)

Rajkumar Manoharan | 21 Jul 08:20 2016

[PATCH v2] ath10k: implement NAPI support

Add NAPI support for rx and tx completion. NAPI poll is scheduled
from interrupt handler. The design is as below

 - on interrupt
     - schedule napi and mask interrupts
 - on poll
   - process all pipes (no actual Tx/Rx)
   - process Rx within budget
   - if quota exceeds budget reschedule napi poll by returning budget
   - process Tx completions and update budget if necessary
   - process Tx fetch indications (pull-push)
   - push any other pending Tx (if possible)
   - before resched or napi completion replenish htt rx ring buffer
   - if work done < budget, complete napi poll and unmask interrupts

This change also get rid of two tasklets (intr_tq and txrx_compl_task).

Measured peak throughput with NAPI on IPQ4019 platform in controlled
environment. No noticeable reduction in throughput is seen and also
observed improvements in CPU usage. Approx. 15% CPU usage got reduced
in UDP uplink case.

DL: AP DUT Tx
UL: AP DUT Rx

IPQ4019 (avg. cpu usage %)
========
                TOT              +NAPI
              ===========      =============
TCP DL       644 Mbps (42%)    645 Mbps (36%)
(Continue reading)

FedEx Courier Service | 21 Jul 07:21 2016
Picon

Delivery notification..(View the attachment for confirmation of your delivery address)

gmane.linux.kernel.wireless.general
Attachment (FedEx-Delivery Post.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 31 KiB

Gmane