aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Fix 'Driver using old /proc/net/wireless support, please fix driver !' message.Benoit Boissinot2005-11-07
| | | | | | | | 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>
* Pulled out a stray KERNEL_VERSION check around the suspend handler.James Ketrenos2005-11-07
| | | | Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Updated driver version stamps for ipw2100 (1.1.3) and ipw2200 (1.0.7)James Ketrenos2005-11-07
| | | | Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Fixes WEP firmware error condition.Hong Liu2005-11-07
| | | | | | | | | | | | | | | 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>
* [Fix bug# 771] Too many (8) bytes recieved when using AES/hwcryptoZhu Yi2005-11-07
| | | | Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Fixes problem with WEP not working (association succeeds, but no Tx/Rx)Hong Liu2005-11-07
| | | | Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Removed PF_SYNCTHREAD legacy.James Ketrenos2005-11-07
| | | | | | | 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>
* Fixed problem with get_cmd_string not existing if CONFIG_IPW_DEBUG disabled.James Ketrenos2005-11-07
| | | | Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Card with WEP enabled and using shared-key auth will have firmwareHong Liu2005-11-07
| | | | | | | | 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>
* Mixed PTK/GTK CCMP/TKIP support.Hong Liu2005-11-07
| | | | Signed-off-by: Hong Liu <hong.liu@intel.com>
* Fixed is_network_packet() to include checking for broadcast packets.Peter Jones2005-11-07
| | | | Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Adds radiotap support to ipw2200 in monitor mode..Mike Kershaw2005-11-07
| | | | | Signed-off-by: Mike Kershaw <dragorn@kismetwireless.net> Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Make all the places the firmware fails to load showerrors (in decimal,Peter Jones2005-11-07
| | | | | | | 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>
* Don't set hardware WEP if we are actually using TKIP/AES.Hong Liu2005-11-07
| | | | Signed-off-by: Hong Liu <hong.liu@intel.com>
* [Bug 760] Fix setting WEP key in monitor mode causes IV lost.Zhu Yi2005-11-07
| | | | Signed-off-by: Zhu Yi <yi.zhu@intel.com>
* [Bug 455] Fix frequent channel change generates firmware fatal error.Hong Liu2005-11-07
| | | | | | | | | | | | | | | | | 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>
* Added wait_state wakeup on scan completion.James Ketrenos2005-11-07
| | | | | | Fixed copyright date in ipw2200.h Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Updated ipw2200 to use the new ieee80211 callbacksJames Ketrenos2005-11-07
| | | | | | | | (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>
* Migrated some of the channel verification code back into the driver toLiu Hong2005-11-07
| | | | | | keep regulatory consistency in one location. Signed-off-by: James Ketrenos
* Added cmdlog in non-debug systems.James Ketrenos2005-11-07
| | | | | | | | 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>
* Changed all of the ipw_send_cmd() calls to return any ipw_send_cmd errorJames Ketrenos2005-11-07
| | | | | | | 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>
* Switched firmware error dumping so that it will capture a log availableJames Ketrenos2005-11-07
| | | | | | | | | | | | | 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>
* Modified ipw_config and STATUS_INIT setting to correct race conditionJames Ketrenos2005-11-07
| | | | | | | | 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>
* Fix firmware error when setting tx_power.Zhu Yi2005-11-07
| | | | Signed-off-by: Zhu Yi <yi.zhu@intel.com>
* Fix ipw_wx_get_txpow shows wrong disabled value.Zhu Yi2005-11-07
| | | | Signed-off-by: Zhu Yi <yi.zhu@intel.com>
* [Bug 701] Fix a misuse of ieee->mode with ieee->iw_mode.Zhu Yi2005-11-07
| | | | Signed-off-by: Zhu Yi <yi.zhu@intel.com>
* Fixes the ad-hoc network WEP key list issue.Hong Liu2005-11-07
| | | | | | | | | | 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>
* [Bug 792] Fix WPA-PSK AES both for -Dipw and -Dwext.Zhu Yi2005-11-07
| | | | Signed-off-by: Zhu Yi <yi.zhu@intel.com>
* Disable host fragmentation in open mode since IPW2200/2915 hardwareZhu Yi2005-11-07
| | | | | | support hardware fragmentation. Signed-off-by: Zhu Yi <yi.zhu@intel.com>
* Workaround kernel BUG_ON panic caused by unexpected duplicate packets.Zhu Yi2005-11-07
| | | | Signed-off-by: Zhu Yi <yi.zhu@intel.com>
* Added more useful geography encoding so people's experience withJames Ketrenos2005-11-07
| | | | | | | iwconfig matches what their hardware can actually do in regard to supported channel maps, etc. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Fixed some compiler issues if CONFIG_IPW2200_QOS is enabled.James Ketrenos2005-11-07
| | | | | | Updated a copyright date. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Updated to support ieee80211 callback to is_queue_full for 802.11eJames Ketrenos2005-11-07
| | | | | | support. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Changed default # of missed beacons to miss before disassociation to 24James Ketrenos2005-11-07
| | | | | | (vs. 9 which is too low in most environments) Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* [Bug 637] Set tx power for A band.Liu Hong2005-11-07
| | | | | | 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>
* [bug 667] Fix the notorious "No space for Tx" bug.Zhu Yi2005-11-07
| | | | | | | | | | 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>
* Fix is_duplicate_packet() bug for fragmentation number setting.Zhu Yi2005-11-07
| | | | Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Fix hardware encryption (both WEP and AES) doesn't work with fragmentation.Zhu Yi2005-11-07
| | | | | | Firmware sends received packets with double sized ICV/MIC. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Catch ipw2200 up to equivelancy with v1.0.5James Ketrenos2005-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed #452 problem with setting retry limit (thanks to Hong Liu) * Fixed #592 race condition during association causing firmware errors * Fixed #602 problem with building in 64-bit environment * Fixed #625 problem with SCAN_REQUEST_EXT sometimes failing * Fixed #645 problem with bit rate not decreasing when moving laptop farther from AP * Fixed #656 problem with 'iwconfig eth1 mode auto' and 'modprobe' locking the system * Fixed #667 problem with "No space for Tx" for hwcrypto=1 * Fixed #685 kernel panic in rmmod caused by led work is still queued * Fixed #695 problem with network doesn't reassociate after suspend/resume * Fixed #701 problem with 'iwprvi sw_reset' not resetting the card from monitor mode * Fixed #710 problem with monitor mode being used after a WEP key has been configured * Fixed network->mode vs. priv->ieee->iw_mode checking (thanks to Ben Cahill) * Fixed "Unknown management packet %d" warning * Fixed setting channels multiple times in monitor mode causes scan stopped * Fixed ipw_wx_sw_reset doesn't switch firmware if mode is changed. * Add duplicate packet checking code (kill ping DUP! and TKIP replay warning) * Fix hardware encryption (both WEP and AES) doesn't work with fragmentation. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Move code from ipw2100_wpa_enable to IPW2100_PARAM_DROP_UNENCRYPTED toZhu Yi2005-11-07
| | | | | | | | | | support wpa_supplicant with open AP. We need this to make driver_ipw work. driver_ext has already had the similar code with the WE-18 support added. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* [Bug 339] Fix ipw2100 iwconfig set/get txpower.Liu Hong2005-11-07
| | | | Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Fixed WEP on ipw2100 (priv->sec was being used instead of2005-11-07
| | | | priv->ieee->sec)
* Catch ipw2100 up to equivelancy with v1.1.1James Ketrenos2005-11-07
| | | | | | | | | | | | | | | * Added WE-18 support. This allows the use of -Dext with wpa_supplicant > 0.4.x (thanks to Hong Liu) * Fixed #339 problem with iwconfig set/get txpower (thanks to Hong Liu) * Fixed #598 problem when with error messages when module loaded with 'disable=1' (thanks to Hong Liu) * Fixed #640 problem with 'iwlist retry' now showing min/max retry * Fixed compatibility with wpa_supplicant and the new -Dipw interface (that included a fix for 64-bit compatibility) * Added CFG_CRC_CHECK which allows passing through packets with bad CRCs while in monitor mode. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Catch ipw2200 up to equivelancy with v1.0.4James Ketrenos2005-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed #627 problem with open APs not working with wpa_supplicant * Fixed #632 problem with 'txpower auto' setting power incorrectly (thanks to Kai Groner) * Fixed #634 problem with 'iwconfig eth1 frag 0' hanging the shell * Fixed problem with adapter not fully powering off during suspend to RAM or when module unloaded. * Fixed #645 problem with turning fixed rates off not taking effect until you reload the driver * Fixed problem with firmware restart if wpa_supplicant was used to set a key that wasn't exactly 5 or 13 bytes in length. * Fixed #623 Added iwpriv sw_reset extension to reset sw parameters * Added managment frame export to user space with frame statistics * Fixed #652 Modified the driver to load the EEPROM data even if RF KILL is active during driver load * Global s:CX2_:IPW_:g to make code more consistent * Fixed #572 problem with setting txpower to auto * Fixed #656 problem with kernel oops if mode auto; modprobe -r ipw2200 * Added QoS (CONFIG_IPW_QOS) support. This is being actively developed but is the first step in getting WMM support into the driver and the kernel. * Fixed some race conditions with channel changes, association, and scan abort that could periodically cause a firmware restart. * Added some extensions to export scan and network statistics to user space (exposed through speed_scan and net_stats sysfs entries) * Fixed a few bugs in how monitor mode was supported (scan lists weren't quite right) * Updated the firmware requirement from 2.2 to 2.3 which supports monitor mode. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Catch ipw2200 up to equivelancy with v1.0.3James Ketrenos2005-11-07
| | | | | | | | | | | | | | | | | | | | | | | | * Fix #616 problem with OOPS on module load (thanks to Yi Zhu) * Fixed problem with led module parameter being described as 'auto_create' * Added support to merge between adhoc networks (thanks to Mohamed Abbas) * Added semaphore lock at the driver's entry points to protect against re-entry (thanks to Mohamed Abbas) * Added semaphore lock to background scheduled driver actions (thanks to Mohamed Abbas) * Changed how signal quality is reported for scan output (thanks to Peter Jones) * Fixed how high/low clamp values of signal quality are reported so a more consistent ramp is provided (thanks to Bill Moss) * Fix #624 problem with duplicate addresses (again) (thanks to Bernard Blackham) * Fix #385 problem with fragmentation and certain sized packets (thanks to Mohamed Abbas) * Modified iwconfig network name if RF kill is enabled to say 'radio off' * Fix #382 problem with driver not responding to probe requests in Ad-Hoc mode (thanks to Mohamed Abbas) Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Catch ipw2200 up to equivelancy with v1.0.2James Ketrenos2005-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unneeded parenthesis around numeric constant defines Added support for iwspy Put in fix for Ad-Hoc mode not passing through all packets (thanks to KKH) Put in fix for fragmentation not working for fragment sizes between 441-464 bytes (thanks to Mohamed Abbas) Fixed #592 problem of CONFIG_IEEE80211_WPA_MODULE not including WPA support into the driver -- fixed as a result of no longer limiting WPAs inclusion Fixed #594 problem with user rates mask causing lack of association if AP mandatory rate is masked out. We now add back in as a supported rate any mandatory rate. Fixed #597 kernel oops due to calling dev_kfree_skb on an skb multiple times. Added code to control LEDs that can be controlled through the wireless NIC (vs. non-wireless HW interfaces) -- this is currently disabled by default due to reports by some users of it hanging their laptop. Added some more debug messages around fragmentation logic Added locking around STATUS_HCMD_ACTIVE to prevent re-entry race conditions Moved ipw_adapter_restart to only execute on the priv->workqueue to keep keyboard errors from occuring during adapter restart Added CFG_BACKGROUND_SCAN to easily allow people to play with background scanning implementations Modified WPA logic to send WPA IE if one is set (vs. being based on wpa_enabled) Modified scan result logic to report WPA and RSN IEs if set (vs. being based on wpa_enabled) Fixed issues with endianess compatability between the host and wireless adapter (thanks to York Liu and Yi Zhu) Fixed problem with Ad-Hoc network creation causing a firmware error if a scan was actively running (thanks to Mohamed Abbas) Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Catch ipw2200 up to equivelancy with v1.0.1James Ketrenos2005-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit contains the following fixes: Fixed #559: iwconfig rate support (thanks to Florian Hackenberger) Improved link signal quality calculation (thanks to Bill Moss) Fixed a problem with sensitivity threshold during association Added iwpriv for turning forcing long preamble support: % iwpriv eth1 set_preamble 1|0 Fixed #542 and #377 support for short preamble Fixed locked BSSID reporting channel number (thanks to Pedro Ramalhais) Fixed type-o with scan watchdog timeout message (thanks to Pedro Ramalhais) Changed logic for displaying get_mode output so the code is easier to follow (thanks to Pedro Ramalhais) Added initial support for WPA (thanks to Yi Zhu) -- tested with wpa_supplicant (either tip w/ ipw driver, or with -Dipw2100) with both CCMP and TKIP Fixed problem with CCMP not working due to uninitialized 802.11 header fields (thanks to Pedro Ramalhais) Bug references are to defects stored on http://bughost.org Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* IPW_DEBUG has already included DRV_NAME, remove double prefix print.Zhu Yi2005-11-07
|
* Ran scripts/Lindent on drivers/net/wireless/ipw2{1,2}00.{c,h}James Ketrenos2005-11-07
| | | | | | No other changes. Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
* Update version ieee80211 stamp to 1.1.7James Ketrenos2005-11-07
|