aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
AgeCommit message (Collapse)Author
2005-11-07[PATCH] atmel: memset correct rangeAlexey Dobriyan
Specify the correct range when calling memset in atmel_get_range. Do this by specifying the size of the structure, rather than the size of the pointer. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2005-11-07[PATCH] Fix sparse warning in e100 driver.Luiz Fernando Capitulino
The patch below fixes the following sparse warnings: drivers/net/e100.c:1481:13: warning: Using plain integer as NULL pointer drivers/net/e100.c:1767:27: warning: Using plain integer as NULL pointer drivers/net/e100.c:1847:27: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2005-11-07[PATCH] prism54 : Transmit stats updated in wrong placeRoger While
Move update of the transmit statistics to the correct place. This would be just before starting transmission rather than (potentially long) afterward. Signed-off-by: Roger While <simrw@sim-basis.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2005-11-07[PATCH] prism54 : Unused variable / extraneous udelayRoger While
In isl_38xx.c : The variable "counter" is defined and incremented but never used except if the driver is hand-compiled setting VERBOSE > SHOW_ERROR_MESSAGES. Move the definition and the increment to within the #if VERBOSE .. block. Remove extraneous udelay's. These are not required when triggering the device. Signed-off-by: Roger While <simrw@sim-basis.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2005-11-07[PATCH] drivers/net/s2io.c: make functions staticAdrian Bunk
This patch makes needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2005-11-07[PATCH] kill include/linux/eeprom.hAdrian Bunk
This patch kills include/linux/eeprom.h . Rationale: - it was only used by one single driver - even this driver didn't do anything useful with it - most of this file are non-inline and non-static functions (sic) This removes include/linux/eeprom.h and cleans drivers/net/ns83820.c up. If you think eeprom.h should be used more extensively, please consider: - the code has to be moved from the header file to a .c file - the currently empty write function has to be implemented - ns83820.c or any other driver should actually use it Noone did any of these during the more than 3 years eeprom.h already exists... Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2005-11-07[PATCH] bonding: fix feature consolidationJay Vosburgh
This should resolve http://bugzilla.kernel.org/show_bug.cgi?id=5519 The current feature computation loses bits that it doesn't know about, resulting in an inability to add VLANs and possibly other havoc. Rewrote function to preserve bits it doesn't know about, remove an unneeded state variable, and simplify the code. Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
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-07Pulled out a stray KERNEL_VERSION check around the suspend handler.James Ketrenos
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-07Removed PF_SYNCTHREAD legacy.James Ketrenos
The PF_SYNCTHREAD check was introduced to try and remain compatible with SWSUSP2. This check is no longer needed with newer versions. 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-07Don't set hardware WEP if we are actually using TKIP/AES.Hong Liu
Signed-off-by: Hong Liu <hong.liu@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-07Changed default # of missed beacons to miss before disassociation to 24James Ketrenos
(vs. 9 which is too low in most environments) 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>