11 Dec, 2006
1 commit
-
Fix ieee80211-softmac compile problem where it's using schedule_work() on a
delayed_work struct.Signed-off-by: David Howells
Cc: "John W. Linville"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Dec, 2006
1 commit
-
…e/wireless-2.6 into upstream
Conflicts:
drivers/net/wireless/zd1211rw/zd_mac.h
net/ieee80211/softmac/ieee80211softmac_assoc.c
06 Dec, 2006
3 commits
-
Routine ieee80211softmac_wx_set_mlme has one return that fails
to release a mutex acquired at entry.Signed-off-by: Maxime Austruy
Signed-off-by: Larry Finger
Signed-off-by: John W. Linville -
In 2.6.19 a deauthentication from the AP doesn't start a
reassociation by the softmac code. It appears that
mac->associnfo.associating must be set and the
ieee80211softmac_assoc_work function must be scheduled. This patch
fixes that.Signed-off-by: Ulrich Kunitz
Signed-off-by: John W. Linville -
Conflicts:
drivers/ata/libata-scsi.c
include/linux/libata.hFuther merge of Linus's head and compilation fixups.
Signed-Off-By: David Howells
05 Dec, 2006
1 commit
-
Conflicts:
drivers/infiniband/core/iwcm.c
drivers/net/chelsio/cxgb2.c
drivers/net/wireless/bcm43xx/bcm43xx_main.c
drivers/net/wireless/prism54/islpci_eth.c
drivers/usb/core/hub.h
drivers/usb/input/hid-core.c
net/core/netpoll.cFix up merge failures with Linus's head and fix new compilation failures.
Signed-Off-By: David Howells
04 Dec, 2006
1 commit
-
Signed-off-by: Al Viro
02 Dec, 2006
7 commits
-
When scanning in debug mode, softmac is very chatty in that it puts
3 lines in the logs for each time it scans. This patch has only one
line containing all the information previously reported.Signed-off-by: Larry Finger
Signed-off-by: John W. Linville -
bcm43xx and ipw2100 currently duplicate the same simplistic get_stats
handler. Additionally, zd1211rw requires the same handler to fix a
bug where all stats are reported as 0.This patch adds a generic implementation to the ieee80211 layer,
which drivers are free to override.Signed-off-by: Daniel Drake
Signed-off-by: John W. Linville -
And use kmemdup and kzalloc where applicable
Signed-off-by: Arnaldo Carvalho de Melo
Signed-off-by: John W. Linville -
SoftMAC contains a number of debug-type messages that continue to print
even when debugging is turned off. This patch substitutes dprintkl for
printkl for those lines.Signed-off-by: Larry Finger
Acked-by: Johannes Berg
Signed-off-by: John W. Linville -
In the SoftMAC version of the IEEE 802.11 stack, not all duplicate messages are
detected. For the most part, there is no difficulty; however for TKIP and CCMP
encryption, the duplicates result in a "replay detected" log message where the
received and previous values of the TSC are identical. This change adds a new
variable to the ieee80211_device structure that holds the 'seq_ctl' value for
the previous frame. When a new frame repeats the value, the frame is dropped and
the appropriate counter is incremented.Signed-off-by: Larry Finger
Signed-off-by: John W. Linville -
Hi
this patch allow to set the mtu between 1500 and 2304 (max octets in an
MSDU) for devices using ieee80211 linux stack.Signed-off-by: Matthieu CASTET
Signed-off-by: John W. Linville -
This patch adds a host_strip_iv_icv flag to ieee80211 which indicates that
ieee80211_rx should strip the IV/ICV/other security features from the payload.
This saves on some memmove() calls in the driver and seems like something that
belongs in the stack as it can be used by bcm43xx, ipw2200, and zd1211rwI will submit the ipw2200 patch separately as it needs testing.
This patch also adds some sensible variable reuse (idx vs keyidx) in
ieee80211_rxSigned-off-by: Daniel Drake
Acked-by: Johannes Berg
Signed-off-by: John W. Linville
29 Nov, 2006
1 commit
-
In the scan section of ieee80211softmac, network transmits are
disabled. When SoftMAC re-enables transmits, it may override the
wishes of a driver that may have very good reasons for disabling
transmits. At least one failure in bcm43xx can be traced to this
problem. In addition, several unexplained problems may arise from
the unexpected enabling of transmits. Note that making this change
introduces a new bug that would allow transmits for the current session
to be transmitted on the wrong channel; however, the new bug is much
less severe than the one being fixed, as the new one only leads to
a few retransmits, whereas the old one can bring the interface down.A fix that will not introduce new bugs is being investigated; however,
the current, more serious one should be fixed now.Signed-off-by: Michael Buesch
Signed-off-by: Larry Finger
Signed-off-by: John W. Linville
22 Nov, 2006
1 commit
-
Fix up for make allyesconfig.
Signed-Off-By: David Howells
15 Nov, 2006
1 commit
-
The 802.11 header length is affected by the wireless mode (WDS or not) and
type (QoS or not). We should use the variable hdr_len instead of the
hard coded IEEE80211_3ADDR_LEN, otherwise we may touch invalid memory.Signed-off-by: Zhu Yi
Signed-off-by: John W. Linville
01 Nov, 2006
1 commit
-
The "ieee80211: Workaround malformed 802.11 frames from AP" patch (see
http://kernel.org/git/?p=linux/kernel/git/linville/wireless-2.6.git;a=commit;h=f09fc44d8c25f22c4d985bb93857338ed02feac6 )
fixes the problem with some buggy APs but also converts debug message into
an error one. This floods the log with errors when you are near such AP (you
get a message for every beacon). This patch reverts the error message back
to the debug one.Signed-off-by: Jiri Benc
Signed-off-by: John W. Linville
25 Oct, 2006
1 commit
-
CRYPTO_MANAGER is selected automatically by CONFIG_ECB and CONFIG_CBC.
config CRYPTO_ECB
tristate "ECB support"
select CRYPTO_BLKCIPHER
select CRYPTO_MANAGERI've added CONFIG_ECB to the ones you mentioned and CONFIG_CBC to
gssapi.Signed-off-by: Patrick McHardy
Signed-off-by: Herbert Xu
17 Oct, 2006
2 commits
-
Fix a slab corruption in ieee80211softmac_auth(). The size of a buffer
was miscomputed.see http://bugzilla.kernel.org/show_bug.cgi?id=7245
Acked-by: Daniel Drake
Signed-off-by: Laurent Riffard
Signed-off-by: John W. Linville -
This fixes some race conditions in the WirelessExtension
handling and association handling code.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
26 Sep, 2006
1 commit
-
Patch to make bcm43xx-softmac be compatible with the revised SSID
length of WE-21.Signed-off-by: Larry Finger
Signed-off-by: John W. Linville
23 Sep, 2006
2 commits
-
Signed-off-by: Jeff Garzik
-
Conflicts:
net/ieee80211/ieee80211_crypt_tkip.c
net/ieee80211/ieee80211_crypt_wep.c
21 Sep, 2006
2 commits
-
This patch converts all remaining crypto_digest users to use the new
crypto_hash interface.Signed-off-by: Herbert Xu
-
This patch converts all remaining users to use the new block cipher type
where applicable. It also changes all simple cipher operations to use
the new encrypt_one/decrypt_one interface.Signed-off-by: Herbert Xu
30 Aug, 2006
5 commits
-
Stop processing further but return success when we receive a malformed
packet from the AP. We need this patch to workaround some AP bugs. For
example, the beacon frames from the Orinoco AP1000 contains an IE (value
= 128) with length equals to 8 but the actual frame length is only 7.Signed-off-by: Zhu Yi
Signed-off-by: John W. Linville -
The IEEE80211 TKIP and WEP Tx and Rx paths use the same crypto_tfm to encrypt
and decrypt data. During the encrypt and decrypt process, both of them will
set a new key to crypto_tfm. If they happen on the same time, it will
corrupt the crypto_tfm. Thus users will receive an ICV error or Michael MIC
error. This only likely to happen on SMP box with heavy traffic both on Tx
and Rx. The patch use two sets of crypto_tfms to avoid this problem.Signed-off-by: Hong Liu
Signed-off-by: Zhu Yi
Signed-off-by: John W. Linville -
Signed-off-by: Hong Liu
Signed-off-by: Zhu Yi
Signed-off-by: John W. Linville -
Signed-off-by: Zhu Yi
Signed-off-by: John W. Linville -
Signed-off-by: Jackie Wu
Signed-off-by: Zhu Yi
Signed-off-by: John W. Linville
28 Jul, 2006
6 commits
-
ieee80211_rx_any is new to 2.6.18-rc1, even though it appears this function
was never completed:http://lists.sipsolutions.net/pipermail/softmac-dev/2006-February/000103.html
This patch changes ieee80211_rx_any to always claim the skb, which avoids
further driver complexity and the possibility of leaking management frames.
It also exports the function so that people can actually use it.Signed-off-by: Daniel Drake
Acked-by: Johannes Berg
Signed-off-by: John W. Linville -
zd1211 needs this functionality, no point duplicating it.
Signed-off-by: Daniel Drake
Acked-by: Johannes Berg
Signed-off-by: John W. Linville -
This patch implements ERP handling in softmac so that the drivers can support
protection and preambles properly.I added a new struct, ieee80211softmac_bss_info, which is used for
BSS-dependent variables like these.A new hook has been added (bssinfo_change), which allows the drivers to be
notified when anything in bssinfo changes.I modified the txrates_change API to match the bssinfo_change API. The
existing one is a little messy and the usefulness of providing the old rates
is questionable (and can be implemented at driver level if really necessary).
No drivers are using this API (yet), so this should be safe.Signed-off-by: Daniel Drake
Acked-by: Johannes Berg
Signed-off-by: John W. Linville -
This adds a flag to the ieee80211_network structure which indicates whether
the stored erp_value is valid (a check against 0 is not enough, since an ERP
of 0 is valid and very meaningful).I also added the ERP IE bit-definitions to ieee80211.h.
This is needed by some upcoming softmac patches.
Signed-off-by: Daniel Drake
Acked-by: Johannes Berg
Signed-off-by: John W. Linville -
ieee80211_crypt_tkip will not work without CRC32.
LD .tmp_vmlinux1
net/built-in.o: In function `ieee80211_tkip_encrypt':
net/ieee80211/ieee80211_crypt_tkip.c:349: undefined reference to `crc32_le'Reported by Toralf Foerster
Signed-off-by: Chuck Ebbert
Signed-off-by: John W. Linville -
Johann Uhrmann reported a bcm43xx crash and Michael Buesch tracked
it down to a problem with the new shared key auth code (recursive
calls into the driver)This patch (effectively Michael's patch with a couple of small
modifications) solves the problem by sending the authentication
challenge response frame from a workqueue entry.I also removed a lone \n from the bcm43xx messages relating to
authentication mode - this small change was previously discussed but
not patched in.Signed-off-by: Daniel Drake
Acked-by: Johannes Berg
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
22 Jul, 2006
1 commit
-
Signed-off-by: Panagiotis Issaris
Signed-off-by: David S. Miller
06 Jul, 2006
2 commits
-
Signed-off-by: John W. Linville
-
WARNING: /lib/modules/2.6.17-mm2/kernel/net/ieee80211/ieee80211.ko
needs unknown symbol wireless_spy_updateSomeone removed the `#ifdef CONFIG_WIRELESS_EXT' from around the callsite
in net/ieee80211/ieee80211_rx.c and didn't update Kconfig appropriately.The offending patchset seems to be 35c14b855f52c49e4f3d078b9532b056005ed321
which is tittled[PATCH] ieee80211: remove unnecessary CONFIG_WIRELESS_EXT checking
After a quick look it seems that wireless_spy_update() lives in
net/core/wirless.c, and that file is only compiled if
CONFIG_WIRELESS_EXT is set. Perhaps this is Kconig work, but
in the mean time here is a reversal of the recent change.Signed-Off-By: Horms
Signed-off-by: John W. Linville