Benoit PAPILLAULT | 1 Jan 10:07
Picon
Favicon

Issue connecting to an HT40 AP that sends a Country IE

Hello,

I'd like to report an issue I have when trying to connect a laptop
running ath9k to a 802.11n AP in HT40 mode. What happens is that the
laptop cannot associate if the AP is running in HT40 mode. Association
is OK if the AP is running in HT20 mode. Here is an excerpt from syslog :

[  577.166241] wlan0: associate with AP 00:15:6d:e8:88:84 (try 1)
[  577.167448] wlan0: RX AssocResp from 00:15:6d:e8:88:84 (capab=0x411 
status=10 aid=257)
[  577.167451] wlan0: AP denied association (code=10)
[  577.167460] wlan0: deauthenticating from 00:15:6d:e8:88:84 by local
choice (reason=3)

What's wrong is that the Associate Request (built by
ieee80211_send_assoc) does not set the bit in HT Capabilities IE saying
: "The station supports both HT20 & HT40".

Looking into the code, it appears that both (flags &
IEEE80211_CHAN_NO_HT40PLUS) and (flags & IEEE80211_CHAN_NO_HT40MINUS)
are true, thus disabling the IEEE80211_HT_CAP_SUP_WIDTH_20_40 which is
the culprit mentioned above.

Digging further down, both flags are set in reg.c by :
    if (freq_range->max_bandwidth_khz < MHZ_TO_KHZ(40))
        bw_flags = IEEE80211_CHAN_NO_HT40;

Indeed, at this stage, max_bandwidth_khz is 20 MHz only... Looking up in
my syslog, I found this :

(Continue reading)

Maciej Rutecki | 1 Jan 15:19
Picon
Gravatar

Re: 2.6.33-rc1 - Weird hard hangs when rendering 'some' web-sites in Firefox

2010/1/1 David <david@...>:

>>
>
> Mine is a wired connection, so it seems unconnected with that. I've
> replaced the motherboard here and have had no further problems. There is
> now a configuration difference though as I've had to disable radeon kms
> (with radeon.modeset=0) for the new on-board graphics.
>
> My guess is that this is radeon related, and I'm going to set-up the old
> motherboard in a spare case & see what I can work out.
>

I'm not sure. I don't use radeon hardware, only Intel:
cat /boot/config-2.6.33-rc2 | grep -i radeon
# CONFIG_DRM_RADEON is not set
# CONFIG_FB_RADEON is not set

cat /boot/config-2.6.33-rc2 | grep -i kms
CONFIG_DRM_KMS_HELPER=m
# CONFIG_DRM_I915_KMS is not set

Regards

--

-- 
Maciej Rutecki
http://www.maciek.unixy.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
(Continue reading)

Maciej Rutecki | 1 Jan 17:07
Picon
Gravatar

Re: 2.6.33-rc1 - Weird hard hangs when rendering 'some' web-sites in Firefox

2010/1/1 David <david@...>:

> The mystery deepens :-) Maybe these are separate issues?

Maybe. I observed big activity LED light from wireless card, when system hangs.

Regards
--

-- 
Maciej Rutecki
http://www.maciek.unixy.pl
--
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

Hauke Mehrtens | 1 Jan 17:21
Picon

[PATCH 0/5] compat-wireless: Activate ssb and libertas, refresh script

The first two patches were already send some time ago, but not applied, 
the second patch was applied partly. Patch 3 adds an refresh option to 
admin-update.sh and it was used in patch 4. The last patch fixes some 
small problems in admin-update.sh

Hauke Mehrtens (5):
  [RESEND] compat-wireless: Activate ssb and libertas
  compat-wireless: Add missing file
  This adds a refresh option to admin-update.sh using quilt.
  compat-wireless: Refresh patches
  compat-wireless: small fixes to admin-update.sh

 Makefile                                     |    5 +-
 config.mk                                    |    2 +-
 patches/01-netdev.patch                      |  165 +++++-----
 patches/02-ksize.patch                       |    6 +-
 patches/03-rfkill.patch                      |   44 ++--
 patches/04-netns.patch                       |    6 +-
 patches/05-usb.patch                         |    6 +-
 patches/06-header-changes.patch              |   12 +-
 patches/07-change-default-rate-alg.patch     |    4 +-
 patches/08-rename-iwl4965-config.patch       |   10 +-
 patches/09-threaded-irq.patch                |   16 +-
 patches/10-add-wext-handlers-to-netdev.patch |    6 +-
 patches/11-dev-pm-ops.patch                  |    8 +-
 patches/12-iw_handler-changes.patch          |    6 +-
 patches/13-trace.patch                       |   10 +-
 patches/14-device-type.patch                 |   10 +-
 patches/15-symbol-export-conflicts.patch     |    6 +-
 patches/16-bluetooth.patch                   |  481 ++++++++++++--------------
(Continue reading)

Hauke Mehrtens | 1 Jan 17:21
Picon

[PATCH 1/5] [RESEND] compat-wireless: Activate ssb and libertas

Pcmcia is backported now. So activate ssb and libertas again.

Signed-off-by: Hauke Mehrtens <hauke@...>
---
 Makefile                          |    5 +----
 config.mk                         |    2 +-
 patches/99-change-makefiles.patch |   13 +++++--------
 scripts/admin-update.sh           |    2 +-
 4 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/Makefile b/Makefile
index 24f1aab..7322279 100644
--- a/Makefile
+++ b/Makefile
@@ -28,15 +28,12 @@ obj-$(CONFIG_COMPAT_WIRELESS_MODULES) += drivers/net/wireless/
 obj-$(CONFIG_COMPAT_NET_USB_MODULES) += drivers/net/usb/
 
 obj-$(CONFIG_COMPAT_NETWORK_MODULES) += drivers/net/
-obj-$(CONFIG_COMPAT_VAR_MODULES) +=  drivers/misc/eeprom/
+obj-$(CONFIG_COMPAT_VAR_MODULES) +=  drivers/ssb/ drivers/misc/eeprom/
 endif

 obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/
 obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/
 
-# Sorry ssb requires pcmica backport for 2.6.33 which is not done yet
-#					drivers/ssb/
-
 else

(Continue reading)

Hauke Mehrtens | 1 Jan 17:21
Picon

[PATCH 2/5] compat-wireless: Add missing file

Add file missing in commit 377a5538e1edf8bdf432cc95abe806754de9cda3
	compat-wireless: activate usbnet for kernel > 2.6.28

Signed-off-by: Hauke Mehrtens <hauke@...>
---
 patches/18-rename-usb-net-symbols.patch |   58 +++++++++++++++++++++++++++++++
 1 files changed, 58 insertions(+), 0 deletions(-)
 create mode 100644 patches/18-rename-usb-net-symbols.patch

diff --git a/patches/18-rename-usb-net-symbols.patch b/patches/18-rename-usb-net-symbols.patch
new file mode 100644
index 0000000..d8f6ca3
--- /dev/null
+++ b/patches/18-rename-usb-net-symbols.patch
@@ -0,0 +1,58 @@
+Rename config names for usbnet to deactivate them also if activated in
+the main kernel configuration. This is needed because
+usb_autopm_put_interface_async and usb_autopm_get_interface_async are
+not backported to kernel 2.6.28 and earlier.
+Remove this patch if these symbols are backported.
+
+diff --git a/drivers/net/usb/Makefile b/drivers/net/usb/Makefile
+index e17afb7..ddea3ae 100644
+--- a/drivers/net/usb/Makefile
++++ b/drivers/net/usb/Makefile
+@@ -8,18 +8,18 @@ obj-$(CONFIG_USB_PEGASUS)	+= pegasus.o
+ obj-$(CONFIG_USB_RTL8150)	+= rtl8150.o
+ obj-$(CONFIG_USB_HSO)		+= hso.o
+ obj-$(CONFIG_USB_NET_AX8817X)	+= asix.o
+-obj-$(CONFIG_USB_NET_CDCETHER)	+= cdc_ether.o
(Continue reading)

Hauke Mehrtens | 1 Jan 17:21
Picon

[PATCH 3/5] This adds a refresh option to admin-update.sh using quilt.

It must run before applying all patches so an extra script will not work
so good. It applies all patches using quilt and automatically refreshes
then.

Signed-off-by: Hauke Mehrtens <hauke@...>
---
 scripts/admin-refresh.sh |    4 ++--
 scripts/admin-update.sh  |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/scripts/admin-refresh.sh b/scripts/admin-refresh.sh
index 743ecd4..5848b1e 100755
--- a/scripts/admin-refresh.sh
+++ b/scripts/admin-refresh.sh
@@ -1,3 +1,3 @@
 #!/bin/bash
-./scripts/admin-clean.sh
-./scripts/admin-update.sh
+./scripts/admin-clean.sh $@
+./scripts/admin-update.sh $@
diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index d029451..7c63202 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -237,6 +237,40 @@ cp $GIT_COMPAT_TREE/compat/Makefile $COMPAT/
 cp $GIT_COMPAT_TREE/include/linux/*.h include/linux/
 rm -f $COMPAT/*.mod.c

+# Refresh patches using quilt
+patchRefresh() {
(Continue reading)

Hauke Mehrtens | 1 Jan 17:21
Picon

[PATCH 5/5] compat-wireless: small fixes to admin-update.sh


Signed-off-by: Hauke Mehrtens <hauke@...>
---
 scripts/admin-update.sh |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index 7c63202..ddc64da 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -59,13 +59,13 @@ if [ -z $GIT_TREE ]; then
 		exit 1
 	fi
 else
-	echo "You said to use git tree at: $GIT_TREE for wireless"
+	echo "You said to use git tree at: $GIT_TREE for linux-next"
 fi

 if [ -z $GIT_COMPAT_TREE ]; then
 	GIT_COMPAT_TREE="/home/$USER/compat/"
 	if [ ! -d $GIT_COMPAT_TREE ]; then
-		echo "Please tell me where your bluetooth-testing git tree is."
+		echo "Please tell me where your compat git tree is."
 		echo "You can do this by exporting its location as follows:"
 		echo
 		echo "  export GIT_COMPAT_TREE=/home/$USER/compat/"
@@ -75,7 +75,7 @@ if [ -z $GIT_COMPAT_TREE ]; then
 		exit 1
 	fi
 else
(Continue reading)

Hauke Mehrtens | 1 Jan 17:21
Picon

[PATCH 4/5] compat-wireless: Refresh patches

This was done with "./scripts/admin-refresh.sh refresh"

Signed-off-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw <at> public.gmane.org>
---
 patches/01-netdev.patch                      |  165 +++++-----
 patches/02-ksize.patch                       |    6 +-
 patches/03-rfkill.patch                      |   44 ++--
 patches/04-netns.patch                       |    6 +-
 patches/05-usb.patch                         |    6 +-
 patches/06-header-changes.patch              |   12 +-
 patches/07-change-default-rate-alg.patch     |    4 +-
 patches/08-rename-iwl4965-config.patch       |   10 +-
 patches/09-threaded-irq.patch                |   16 +-
 patches/10-add-wext-handlers-to-netdev.patch |    6 +-
 patches/11-dev-pm-ops.patch                  |    8 +-
 patches/12-iw_handler-changes.patch          |    6 +-
 patches/13-trace.patch                       |   10 +-
 patches/14-device-type.patch                 |   10 +-
 patches/15-symbol-export-conflicts.patch     |    6 +-
 patches/16-bluetooth.patch                   |  481 ++++++++++++--------------
 patches/17-netdev-queue.patch                |    8 +-
 patches/18-rename-usb-net-symbols.patch      |    6 -
 patches/19-kfifo.patch                       |    4 +-
 patches/99-change-makefiles.patch            |   14 +-
 20 files changed, 399 insertions(+), 429 deletions(-)

diff --git a/patches/01-netdev.patch b/patches/01-netdev.patch
index a970622..9fd8ff7 100644
--- a/patches/01-netdev.patch
+++ b/patches/01-netdev.patch
(Continue reading)

Carl Fürstenberg | 2 Jan 00:07
Picon
Gravatar

libnl, bug question, and lib query

I'll start this up with three different question, hope that's not a
problem instead of sending three different mails.

First I wonder if I should, in a production environment using the
nl80211, stick to use libnl 1.* or should I use use the git 2.0?

Second I have noticed a problem regarding reg set/get which I can't
pin down where it goes wrong (reboot resolves the issue). Following is
how I can reproduce it. Notice all the nonsense input I used. I don't
know what exactly triggers it, but the "set DU seems to be a good
candidate"
wlan:/home/test# iw reg set US
wlan:/home/test# iw reg get
country US:
	(2402 - 2472 @ 40), (3, 27)
	(5170 - 5250 @ 40), (3, 17)
	(5250 - 5330 @ 40), (3, 20), DFS
	(5490 - 5600 @ 40), (3, 20), DFS
	(5650 - 5710 @ 40), (3, 20), DFS
	(5735 - 5835 @ 40), (3, 30)
wlan:/home/test# iw reg set CH
wlan:/home/test# iw reg get
country CH:
	(2402 - 2482 @ 40), (N/A, 20)
	(5170 - 5250 @ 40), (N/A, 20)
	(5250 - 5330 @ 40), (N/A, 20), DFS
	(5490 - 5710 @ 40), (N/A, 27), DFS
wlan:/home/test#  iw reg set DU
wlan:/home/test# iw reg get
country CH:
(Continue reading)


Gmane