Search Linux Wireless

Re: [RFC] mac80211: fix software decryption with b43legacy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Larry Finger wrote:

> I have added the lists to this message.
> 
> I got b43legacy up and running with the software decryption modifications. 
> It started OK with WPA-PSK TKIP encryption, but soon thereafter, I got this 
> message:
> 
> eth1: No ProbeResp from current AP 00:1a:70:46:ba:b1 - assume out of range
> 

Since the git tree reorg wireless-dev branch created comparable
problems for zd1211rw-mac80211 too. It might be related:

Aug 19 07:08:51 keks kernel: [   83.572628] wlan0: CCMP replay detected for RX frame from 00:04:0e:68:ad:70 (RX PN 00000000000c <= prev. PN 00000000000c)
Aug 19 07:08:54 keks kernel: [   87.432010] usb 1-2: handle_regs_int() regs interrupt ignored
Aug 19 07:08:55 keks kernel: [   87.898447] wlan0: No ProbeResp from current AP 00:04:0e:68:ad:70 - assume out of range
Aug 19 07:08:55 keks kernel: [   87.899649] wmaster0: Removed STA 00:04:0e:68:ad:70
Aug 19 07:08:55 keks kernel: [   87.901406] wlan0: set_encrypt - unknown addr 00:04:0e:68:ad:70

The first message might be a simple duplicate. The
handle_regs_int() is absolutely suspicious and I cannot really
explain it right now. The "No ProbeResp" might be a follow-up
problem. The whole USB subsystem becomes absolutely instable to
the point that I can't use keyboard and mouse anymore. 

I will try Johannes' patch tomorrow.

BTW the wireless-dev reorg makes it impossible to actually use
git-bisect to find the patch, which caused the problem. 

BTW the current Linus tree following patch doesn't work with the
current zd1211rw-mac80211. The offending patch is the following one:

commit b9bf1e60a294fc7795d5198f94a917290e52865b
Author: John W. Linville <linville@xxxxxxxxxxxxx>
Date:   Tue Aug 7 16:33:15 2007 -0400

    [PATCH] mac80211: probe for hidden SSIDs in pre-auth scan
    
    Probe for hidden SSIDs if initiating pre-authentication scan and SSID
    is set for STA interface.
    
    Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>

diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 7ba352e..0d99b68 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -2154,7 +2154,11 @@ static int ieee80211_sta_config_auth(struct net_device *dev,
 		return 0;
 	} else {
 		if (ifsta->state != IEEE80211_AUTHENTICATE) {
-			ieee80211_sta_start_scan(dev, NULL, 0);
+			if (ifsta->auto_ssid_sel)
+				ieee80211_sta_start_scan(dev, NULL, 0);
+			else
+				ieee80211_sta_start_scan(dev, ifsta->ssid,
+							 ifsta->ssid_len);
 			ifsta->state = IEEE80211_AUTHENTICATE;
 			set_bit(IEEE80211_STA_REQ_AUTH, &ifsta->request);
 		} else

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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux