Rafał Miłecki | 20 Apr 20:30 2014
Picon

[wireless-next][PATCH 1/2] b43: ssb: refuse to support more than IEEE 802.11 core

Some ancient Broadcom devices had one core per band, e.g.:
ssb: Found chip with id 0x4306, rev 0x02 and package 0x00
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x02, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x04, vendor 0x4243)
ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x01, vendor 0x4243)
ssb: Core 3 found: V90 (cc 0x807, rev 0x01, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x07, vendor 0x4243)
ssb: Core 5 found: IEEE 802.11 (cc 0x812, rev 0x04, vendor 0x4243)

This hardware model was dropped for newer devices handled by b43.

Signed-off-by: Rafał Miłecki <zajec5@...>
---
With this patchset I'm still able to use my BCM4321, so I guess it's
alright & safe :)
---
 drivers/net/wireless/b43/main.c | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 69fc3d6..cf84cf2 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
 <at>  <at>  -5486,39 +5486,42  <at>  <at>  int b43_ssb_probe(struct ssb_device *sdev, const struct ssb_device_id *id)
 	struct b43_bus_dev *dev;
 	struct b43_wl *wl;
 	int err;
-	int first = 0;

 	dev = b43_bus_dev_ssb_init(sdev);
(Continue reading)

Rafał Miłecki | 20 Apr 13:05 2014
Picon

[PATCH 0/9][wireless-next] b43: update N-PHY code

John,

This patchset contains
1) Fixes for some mistakes noticed while comparing MMIO dumps
2) Preparing code for some newer hw support
3) Calibration fixes

It was tested for obvious regressions (in a simple home environment) using:
1) BCM4321
2) BCM4322
3) BCM43224
(connectivity to PSK2 and performance with iperf was tested).

I believe BCM43224 behaves a bit more stable, I expect this patchset to
improve situation with BCM43222 a bit as well.

Rafał Miłecki (9):
  b43: N-PHY: drop second noise variance table
  b43: N-PHY: rev3+: complete workarounds
  b43: N-PHY: random updates and typo fixes all around
  b43: N-PHY: implement reading support for radio 0x2057
  b43: N-PHY: implement RF control INTC for revs 7+
  b43: N-PHY: prepare for rev 7+ RSSI calibration
  b43: N-PHY: add init & calib values for radio 0x2056 rev 11
  b43: N-PHY: fix selection of init & calib values
  b43: N-PHY: enable forgotten write of hw power adjust table

 drivers/net/wireless/b43/phy_n.c       | 272 ++++++++++++++++++---
 drivers/net/wireless/b43/radio_2056.c  | 418 +++++++++++++++++++++++++++------
 drivers/net/wireless/b43/tables_nphy.c |  72 +-----
(Continue reading)

Rafał Miłecki | 19 Apr 23:10 2014
Picon

[PATCH][next] b43: G-PHY: fix random mistakes to match specs

Signed-off-by: Rafał Miłecki <zajec5@...>
---
That are pretty minor changes, but I have them queued for years, so I
guess it's finally time to do some cleaning.
---
 drivers/net/wireless/b43/phy_g.c | 6 +++---
 drivers/net/wireless/b43/wa.c    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/wireless/b43/phy_g.c b/drivers/net/wireless/b43/phy_g.c
index 12f467b..8f5c14b 100644
--- a/drivers/net/wireless/b43/phy_g.c
+++ b/drivers/net/wireless/b43/phy_g.c
 <at>  <at>  -1587,6 +1587,7  <at>  <at>  static void b43_phy_initb5(struct b43_wldev *dev)
 	b43_write16(dev, 0x03E4, (b43_read16(dev, 0x03E4) & 0xFFC0) | 0x0004);
 }

+/* http://bcm-v4.sipsolutions.net/802.11/PHY/Init/B6 */
 static void b43_phy_initb6(struct b43_wldev *dev)
 {
 	struct b43_phy *phy = &dev->phy;
 <at>  <at>  -1670,7 +1671,7  <at>  <at>  static void b43_phy_initb6(struct b43_wldev *dev)
 		b43_radio_write16(dev, 0x50, 0x20);
 	}
 	if (phy->radio_rev <= 2) {
-		b43_radio_write16(dev, 0x7C, 0x20);
+		b43_radio_write16(dev, 0x50, 0x20);
 		b43_radio_write16(dev, 0x5A, 0x70);
 		b43_radio_write16(dev, 0x5B, 0x7B);
 		b43_radio_write16(dev, 0x5C, 0xB0);
(Continue reading)

Gertjan van Wingerde | 19 Apr 19:48 2014
Picon

[PATCH] rt2x00: Remove myself as maintainer.

Let's formalize what must have been blatantly clear from my level
of activity is the past year(s).
I simply do not have time for this anymore.

Signed-off-by: Gertjan van Wingerde <gwingerde@...>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 6dc67b1..a80a586 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
 <at>  <at>  -7277,7 +7277,6  <at>  <at>  F:        drivers/video/aty/aty128fb.c
 RALINK RT2X00 WIRELESS LAN DRIVER
 P:     rt2x00 project
 M:     Ivo van Doorn <IvDoorn@...>
-M:     Gertjan van Wingerde <gwingerde@...>
 M:     Helmut Schaa <helmut.schaa@...>
 L:     linux-wireless@...
 L:     users@... (moderated for non-subscribers)
--

-- 
1.8.4.3
--
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

Zhao, Gang | 19 Apr 18:32 2014
Picon

[PATCH 0/3] fix and improvements

I think the first patch should also be applied to 3.15.

Zhao, Gang (3):
  cfg80211: fix incorrect checking of return value
  cfg80211/mac80211: rename cfg80211_chandef_dfs_required()
  cfg80211: change variable name

 include/net/cfg80211.h |   6 +--
 net/mac80211/ibss.c    |  40 ++++++++---------
 net/mac80211/mesh.c    |  16 +++----
 net/wireless/chan.c    |  32 +++++++------
 net/wireless/mesh.c    |  22 ++++-----
 net/wireless/nl80211.c | 120 ++++++++++++++++++++++++-------------------------
 net/wireless/trace.h   |   2 +-
 7 files changed, 118 insertions(+), 120 deletions(-)

--

-- 
1.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

Jean Delvare | 19 Apr 13:03 2014
Picon

[PATCH] NFC: The linux-nfc list is subscribers-only

According to the automatic reply I received when trying to send a
message to the linux-nfc list, it is not only moderated, it is
actually subscribers-only.

Signed-off-by: Jean Delvare <jdelvare@...>
Cc: Lauro Ramos Venancio <lauro.venancio@...>
Cc: Aloisio Almeida Jr <aloisio.almeida@...>
Cc: Samuel Ortiz <sameo@...>
---
 MAINTAINERS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.15-rc1.orig/MAINTAINERS	2014-04-18 16:47:16.044614592 +0200
+++ linux-3.15-rc1/MAINTAINERS	2014-04-19 12:54:11.072671978 +0200
 <at>  <at>  -6197,7 +6197,7  <at>  <at>  M:	Lauro Ramos Venancio <lauro.venancio <at> 
 M:	Aloisio Almeida Jr <aloisio.almeida@...>
 M:	Samuel Ortiz <sameo@...>
 L:	linux-wireless@...
-L:	linux-nfc@... (moderated for non-subscribers)
+L:	linux-nfc@... (subscribers-only)
 S:	Supported
 F:	net/nfc/
 F:	include/net/nfc/

--

-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
(Continue reading)

Jean Delvare | 19 Apr 12:52 2014
Picon

[PATCH] NFC: nfcmrvl: Auto-select core module

As I understand it, the core nfcmrvl module is useless without the
USB access module. So hide NFC_MRVL and select it automatically if
NFC_MRVL_USB is selected.

This avoids presenting NFC_MRVL when NFC_MRVL_USB can't be selected.

Signed-off-by: Jean Delvare <jdelvare@...>
Cc: Lauro Ramos Venancio <lauro.venancio@...>
Cc: Aloisio Almeida Jr <aloisio.almeida@...>
Cc: Samuel Ortiz <sameo@...>
---
 drivers/nfc/nfcmrvl/Kconfig |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

--- linux-3.15-rc1.orig/drivers/nfc/nfcmrvl/Kconfig	2014-03-31 05:40:15.000000000 +0200
+++ linux-3.15-rc1/drivers/nfc/nfcmrvl/Kconfig	2014-04-18 21:10:14.493649773 +0200
 <at>  <at>  -1,18 +1,15  <at>  <at> 
 config NFC_MRVL
-	tristate "Marvell NFC driver support"
-	depends on NFC_NCI
+	tristate
 	help
 	  The core driver to support Marvell NFC devices.

 	  This driver is required if you want to support
 	  Marvell NFC device 8897.

-	  Say Y here to compile Marvell NFC driver into the kernel or
-	  say M to compile it as module.
(Continue reading)

Jean Delvare | 19 Apr 12:12 2014
Picon

[PATCH] NFC: microread: Auto-select core module

As I understand it, the core nfc_microread module is useless without
either the I2C or the MEI access module. So hide NFC_MICROREAD and
select it automatically if either NFC_MICROREAD_I2C or
NFC_MICROREAD_MEI is selected.

This avoids presenting NFC_MICROREAD when neither NFC_MICROREAD_I2C
nor NFC_MICROREAD_MEI can be selected.

Signed-off-by: Jean Delvare <jdelvare@...>
Cc: Lauro Ramos Venancio <lauro.venancio@...>
Cc: Aloisio Almeida Jr <aloisio.almeida@...>
Cc: Samuel Ortiz <sameo@...>
---
 drivers/nfc/microread/Kconfig |   18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

--- linux-3.15-rc1.orig/drivers/nfc/microread/Kconfig	2014-03-31 05:40:15.000000000 +0200
+++ linux-3.15-rc1/drivers/nfc/microread/Kconfig	2014-04-18 18:50:54.969927674 +0200
 <at>  <at>  -1,20 +1,15  <at>  <at> 
 config NFC_MICROREAD
-	tristate "Inside Secure microread NFC driver"
-	depends on NFC_HCI
+	tristate
 	select CRC_CCITT
-	default n
 	---help---
 	  This module contains the main code for Inside Secure microread
 	  NFC chipsets. It implements the chipset HCI logic and hooks into
 	  the NFC kernel APIs. Physical layers will register against it.

(Continue reading)

Jean Delvare | 19 Apr 12:06 2014
Picon

[PATCH] NFC: pn544: Auto-select core module

As I understand it, the core nfc_pn544 module is useless without
either the I2C or the MEI access module. So hide NFC_PN544 and
select it automatically if either NFC_PN544_I2C or NFC_PN544_MEI is
selected.

This avoids presenting NFC_PN544 when neither NFC_PN544_I2C nor
NFC_PN544_MEI can be selected.

Signed-off-by: Jean Delvare <jdelvare@...>
Cc: Lauro Ramos Venancio <lauro.venancio@...>
Cc: Aloisio Almeida Jr <aloisio.almeida@...>
Cc: Samuel Ortiz <sameo@...>
---
 drivers/nfc/pn544/Kconfig |   18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

--- linux-3.15-rc1.orig/drivers/nfc/pn544/Kconfig	2014-04-18 19:18:55.998723014 +0200
+++ linux-3.15-rc1/drivers/nfc/pn544/Kconfig	2014-04-18 19:19:16.195149146 +0200
 <at>  <at>  -1,20 +1,15  <at>  <at> 
 config NFC_PN544
-	tristate "NXP PN544 NFC driver"
-	depends on NFC_HCI
+	tristate
 	select CRC_CCITT
-	default n
 	---help---
 	  NXP PN544 core driver.
 	  This is a driver based on the HCI NFC kernel layers and
 	  will thus not work with NXP libnfc library.

(Continue reading)

Michael Leun | 19 Apr 03:15 2014
Picon

3.14 Regression, kernel panic when suspend, looks ath9k / wireless related

Hi,

since 3.14 I get an kernel panic when trying to suspend or hibernate (and in several other situations).
Looks ath9k or wireless related, does not happen when I for test remove
/lib/modules/3.14.1/kernel/net/wireless/ath* (also from initrd).

Did not bisect yet, but could if needed.

[  116.006227] PM: Syncing filesystems ... done.
[  116.238271] PM: Preparing system for mem sleep
[  116.382917] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  116.384816] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  116.386178] PM: Entering mem sleep
[  116.386855] wlan0: deauthenticating from 90:f6:52:4e:ba:b6 by local choice (reason=3)
[  116.406743] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  116.406926] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
[  116.407009] IP:[  116.407022] sd 0:0:0:0: [sda] Stopping disk

[  116.407092]  [<ffffffffa002c1f1>] reg_todo+0xc1/0x4c0 [cfg80211]
[  116.407151] PGD 366ad067 PUD 366ac067 PMD 0 
[  116.407212] Oops: 0000 [#1] SMP 
[  116.407258] Modules linked in: netconsole configfs bnep bluetooth 6lowpan_iphc ipt_REJECT xt_LOG
xt_limit xt_recent iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4
iptable_filter nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack xt_tcpudp ip6table_filter
ip6_tables nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack ip_tables x_tables ctr ccm
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec
snd_hwdep snd_pcm_oss snd_pcm snd_seq iTCO_wdt acer_wmi sparse_keymap iTCO_vendor_support ath9k
snd_seq_device snd_timer snd_mixer_oss snd atl1c coretemp shpchp lpc_ich pcspkr joydev i2c_i801
hid_multitouch serio_raw mfd_core ac wmi battery acpi_cpufreq soundcore sg sha256_ssse3
sha256_generic cbc linear md_mod af_packet usbhid i915 uhci_hcd i
(Continue reading)

John Tobias | 19 Apr 01:51 2014
Picon

Testing WMM

Hello Guys,

I would like to test the following WMM features of the wifi driver.

wmm_ac_vo
wmm_ac_vi
wmm_ac_be
wmm_ac_bk

What tools did you use to test it?.

Regards,

john
--
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


Gmane