aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ipw2200.c
AgeCommit message (Collapse)Author
2006-01-04Merge branch 'upstream-linus' of ↵Linus Torvalds
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
2006-01-03[IEEE80211] ipw2200: Simplify multicast checks.Stephen Hemminger
From: Stephen Hemminger <shemminger@osdl.org> is_multicast_ether_addr() accepts broadcast too, so the is_broadcast_ether_addr() calls are redundant. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-12-01[PATCH] Duplicate IPW_DEBUG option for ipw2100 and 2200Brice Goglin
There are currently two IPW_DEBUG options in drivers/net/wireless/Kconfig (one for ipw2100 and one for ipw2200). The attached patch splits it into IPW2100_DEBUG and IPW2200_DEBUG. Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org> Cc: "James P. Ketrenos" <ipw2100-admin@linux.intel.com> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-12-01[PATCH] ipw2200: kzalloc conversion and Kconfig dependency fixTakis
- Use kzalloc for IPW2200 - Fix config dependency for IPW2200 Signed-off-by: Panagiotis Issaris <takis@issaris.org> Cc: James Ketrenos <jketreno@linux.intel.com> Cc: Yi Zhu <yi.zhu@intel.com> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-11-17[PATCH] ipw2200: fix error log offset calculationZhu Yi
This fixes a slab corruption issue in the ipw2200 driver: it essentially multiplied the error log number _twice_ by the size of the error element entry (once explicitly in the code, and once implicitly as part of the regular pointer arithmetic). Cc: Henrik Brix Andersen <brix@gentoo.org> Cc: Bernard Blackham <bernard@blackham.com.au> Cc: Zilvinas Valinskas <zilvinas@gemtek.lt> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> --
2005-11-17[PATCH] ipw2200: disallow direct scanning when device is downPekka Enberg
The function ipw_request_direct_scan() should bail out when the device is down. This fixes a lockup caused by wpa_supplicant triggering ipw_request_direct_scan() while the driver was in a middle of a reset due to firmware errors. Thanks to Zilvinas Valinskas for reporting the bug and helping me debug it. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-09Merge branch 'upstream-linus' of ↵Linus Torvalds
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
2005-11-09[PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reasonOlaf Hering
This patch removes almost all inclusions of linux/version.h. The 3 #defines are unused in most of the touched files. A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is unfortunatly in linux/version.h. There are also lots of #ifdef for long obsolete kernels, this was not touched. In a few places, the linux/version.h include was move to where the LINUX_VERSION_CODE was used. quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'` search pattern: /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07Update version ipw2200 stamp to 1.0.8James Ketrenos
2005-11-07Updated firmware version stamp to 2.4 from 2.3 so it will use the latest ↵James Ketrenos
firmware. You can obtain the firmware at http://ipw2200.sf.net/firmware.php Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fixed parameter reordering in firmware log routine.James Ketrenos
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fixed problem with not being able to send broadcast packets.Hong Liu
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Added channel support for ipw2200 cards identified as 'ZZR'James Ketrenos
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Removed warning about TKIP not being configured if countermeasures areJames Ketrenos
configured. Countermeasures default to being turned off when wpa_supplicant runs, regardless of if TKIP is being used. They are only turned on if a TKIP is running. The warning we were printing is therefore not needed. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fixes missed beacon logic in relation to on-network AP roaming.Ben Cahill
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Removed legacy WIRELESS_EXT checks from ipw2200.cJames Ketrenos
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fix 'Driver using old /proc/net/wireless support, please fix driver !' message.Benoit Boissinot
Wireless extensions moved the get_wireless_stats handler from being in net_device into wireless_handler. Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org> Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Updated driver version stamps for ipw2100 (1.1.3) and ipw2200 (1.0.7)James Ketrenos
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fixes WEP firmware error condition.Hong Liu
The problem is caused by the patch in bug455 -- Channel change flood generates fatal error. The patch set the DISASSOCIATING status bit after sending the command. The process was scheduled out when waiting for the command to be sent to the card. The disassociated notification clears the DISASSOCIATING bit in the tasklet before the process set the bit. Move the bit setting code before sending the command now. Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07[Fix bug# 771] Too many (8) bytes recieved when using AES/hwcryptoZhu Yi
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fixes problem with WEP not working (association succeeds, but no Tx/Rx)Hong Liu
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fixed problem with get_cmd_string not existing if CONFIG_IPW_DEBUG disabled.James Ketrenos
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Card with WEP enabled and using shared-key auth will have firmwareHong Liu
error when it tries to auth to a WPA ap. The patch filters out WPA networks if the card is not wpa enabled when selecting network to associate to. Signed-off-by: Hong Liu <hong.liu@intel.com>
2005-11-07Mixed PTK/GTK CCMP/TKIP support.Hong Liu
Signed-off-by: Hong Liu <hong.liu@intel.com>
2005-11-07Fixed is_network_packet() to include checking for broadcast packets.Peter Jones
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Adds radiotap support to ipw2200 in monitor mode..Mike Kershaw
Signed-off-by: Mike Kershaw <dragorn@kismetwireless.net> Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Make all the places the firmware fails to load showerrors (in decimal,Peter Jones
so you can cross-reference errno.h easily). Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07[Bug 760] Fix setting WEP key in monitor mode causes IV lost.Zhu Yi
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07[Bug 455] Fix frequent channel change generates firmware fatal error.Hong Liu
Because of the frequent channel change, it is possible that when we are try to associate with channel 1 (authenticated but not associated). Another channel change comes at this time, then the driver will issue disassociate command to the firmware which will cause the fatal error. It seems that the association/disassociation procedure should not be interrupted. The patch attached adds test on STATUS_ASSOCIATING | STATUS_DISASSOCIATING in ipw_send_cmd(), when ensures that commands will not be sent to firmware when we are in these two status. Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07Added wait_state wakeup on scan completion.James Ketrenos
Fixed copyright date in ipw2200.h Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Updated ipw2200 to use the new ieee80211 callbacksJames Ketrenos
(handle_probe_response, handle_beacon, handle_association_response). Fixed a problem with ipw_send_cmd() returning non-zero on success. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Migrated some of the channel verification code back into the driver toLiu Hong
keep regulatory consistency in one location. Signed-off-by: James Ketrenos
2005-11-07Added cmdlog in non-debug systems.James Ketrenos
You can now specify via the module parameter 'cmdlog' to allocate a ring buffer for caching host commands sent to the firmware. They can then be dumped at any time via the sysfs entry 'cmd_log' Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Changed all of the ipw_send_cmd() calls to return any ipw_send_cmd errorJames Ketrenos
codes to the caller and changed ipw_send_cmd itself to print the error message to the syslog indicating which command failed to be sent. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Switched firmware error dumping so that it will capture a log availableJames Ketrenos
via sysfs even if debugging disabled. When a firmware error is captured, it will be dumped to the kernel log (if debug enabled) and captured in memory to be retrieved via sysfs. If an error has already been captured, subsequent errors will be dropped. The existing error can be cleared by writing to the error log entry. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Modified ipw_config and STATUS_INIT setting to correct race conditionJames Ketrenos
with request_scan being called before initialized if invoked from insmod, resulting in no association occurring during boot until iwlist scan is run. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fix firmware error when setting tx_power.Zhu Yi
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07Fix ipw_wx_get_txpow shows wrong disabled value.Zhu Yi
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07[Bug 701] Fix a misuse of ieee->mode with ieee->iw_mode.Zhu Yi
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07Fixes the ad-hoc network WEP key list issue.Hong Liu
If we configure the wep keys after creating the ibss network, the beacons of this network will not show correctly (it still shows "key off" in iwlist scan report). This is because we don't update the beacon info in firmware. Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07[Bug 792] Fix WPA-PSK AES both for -Dipw and -Dwext.Zhu Yi
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07Disable host fragmentation in open mode since IPW2200/2915 hardwareZhu Yi
support hardware fragmentation. Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07Workaround kernel BUG_ON panic caused by unexpected duplicate packets.Zhu Yi
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
2005-11-07Added more useful geography encoding so people's experience withJames Ketrenos
iwconfig matches what their hardware can actually do in regard to supported channel maps, etc. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fixed some compiler issues if CONFIG_IPW2200_QOS is enabled.James Ketrenos
Updated a copyright date. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Updated to support ieee80211 callback to is_queue_full for 802.11eJames Ketrenos
support. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07[Bug 637] Set tx power for A band.Liu Hong
It uses the ieee80211-geo info to set the tx power of the a/b/g band. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07[bug 667] Fix the notorious "No space for Tx" bug.Zhu Yi
We send SYSTEM_CONFIG command after the TGI_KEY command if hardware encryption is enabled. It sometimes causes a firmware stall (firmware doesn't respond to any request) and finally bungs up the Tx send queue. The solution is to send SYSTEM_CONFIG command in the post association stage from a workqueue. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fix is_duplicate_packet() bug for fragmentation number setting.Zhu Yi
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
2005-11-07Fix hardware encryption (both WEP and AES) doesn't work with fragmentation.Zhu Yi
Firmware sends received packets with double sized ICV/MIC. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>