summaryrefslogtreecommitdiffstats
path: root/net/ieee80211
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] Restore channel setting after scan.David Woodhouse2006-03-231-0/+7
| | | | | | | | | After a scan, we weren't switching back to the original channel if we were associated with an AP. So NetworkManager's periodic scans would disrupt connectivity until the ESSID was manually set again. Fix that. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: remove function_enter()John W. Linville2006-03-233-29/+1
| | | | | | Remove the function_enter() debugging macros. Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] Fix softmac scanLarry Finger2006-03-221-0/+1
| | | | | | | | Softmac scanning fails because the stop flag is not cleared before scanning is started. The attached one-line patch fixes this. Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: remove dead codeJohannes Berg2006-03-221-7/+0
| | | | | | | | This patch removes ieee80211softmac_reassoc which is neither implemented nor used nor necessary. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: add reassociation codeJohannes Berg2006-03-223-0/+21
| | | | | | | | This patch adds handling of reassociation to softmac when the AP requests it. Patch from Larry Finger. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: update deauth handler to quiet warningJohannes Berg2006-03-222-5/+5
| | | | | | | | | | Recently the deauth packet handler was updated to use a deauth packet struct (identical to the auth packet struct) and this now gives a warning. This patch updates the code to properly use a deauth struct and deauth variable. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] trivial fixes to softmacJohannes Berg2006-03-222-2/+1
| | | | | | | | This patch removes a blank line that shouldn't be there and fixes a spelling error in softmac. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] update copyright in softmacJohannes Berg2006-03-227-35/+35
| | | | | | | | This patch updates the copyright statements in softmac that I erroneously added for 2005 only (when we already had 2006). Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] ieee80211_rx_any: filter out packets, call ieee80211_rx or ↵Denis Vlasenko2006-03-221-0/+74
| | | | | | | | | | | | | | | | | | ieee80211_rx_mgt Version 2 of the patch. Added checks for version 0 and proper from/to DS bits. Even in promisc mode we won't receive packets from another BSSes. bcm43xx_rx() contains code to filter out packets from foreign BSSes and decide whether to call ieee80211_rx or ieee80211_rx_mgt. This is not bcm specific. Patch adapts that code and adds it to 80211 as ieee80211_rx_any() function. Signed-off-by: Denis Vlasenko <vda@ilport.com.ua> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: move EXPORT_SYMBOL_GPL right after functionsJohannes Berg2006-03-221-8/+7
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: add MODULE_DESCRIPTION and MODULE_AUTHORsJohannes Berg2006-03-221-0/+6
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: add copyright and license headersJohannes Berg2006-03-227-3/+175
| | | | | | add copyright and license headers to all softmac files Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: some comment stuffJohannes Berg2006-03-222-2/+1
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: properly check return value of ieee80211softmac_alloc_mgtJohannes Berg2006-03-221-1/+1
| | | | | | | Properly check return value of ieee80211softmac_alloc_mgt in ieee80211softmac_disassoc_deauth (patch by Denis Vlasenko) Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: scan at least once before selecting a network by essidJohannes Berg2006-03-221-7/+8
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: check if disassociation is for us before processing itJohannes Berg2006-03-221-1/+4
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: select "best" network based on rssiJohannes Berg2006-03-221-4/+8
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: add fixme for disassocJohannes Berg2006-03-221-0/+1
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: try to reassociate when being disassociated from the APJohannes Berg2006-03-221-0/+1
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: correctly use netif_carrier_{on,off}Johannes Berg2006-03-223-15/+6
| | | | | | TODO: add callbacks for ifup/ifdown (see mailing list) Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: convert to use global workqueueJohannes Berg2006-03-226-17/+12
| | | | | | Convert softmac to use global workqueue instead of private one... Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: fix MakefilesJohannes Berg2006-03-222-1/+2
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] softmac: fix some sparse warningsJohannes Berg2006-03-223-9/+14
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] make softmac depend on IEEE80211 and EXPERIMENTALJohannes Berg2006-03-221-0/+1
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] wireless: Add softmac layer to the kernelJohannes Berg2006-03-2211-0/+2585
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] ieee80211: Don't update network statistics from off-channel packets.James Ketrenos2006-03-171-1/+13
| | | | | | | | | | | | | | | | | This patch fixes a problem in the ieee80211 probe response and beacon reception code that would use the packet statistics for a network even if they were received on a channel other than that which the network exists on. This causes a problem in overlapping channels where, for example, a strong AP on channel 2 could have its beacons received on channels 1 and 3, but at much lower signal levels. If scanning was done sequentially, this means the beacon received on channel 3 would update the AP's signal level as being much lower than it really is, which subsequently could cause that AP to be passed over and an alternate AP selected. Signed-off-by: James Ketrenos <jketreno@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* Merge branch 'upstream-fixes'John W. Linville2006-03-152-3/+3
|\
| * [PATCH] ieee80211: Fix QoS is not active problemHong Liu2006-03-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fix QoS is not active even the network and the card is QOS enabled. The problem is we pass the wrong ieee80211_network address to ipw_handle_beacon/ipw_handle_probe_response, thus the ieee80211_network->qos_data.active will not be set, causing the driver not sending QoS frames at all. Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] ieee80211: Fix CCMP decryption problem when QoS is enabledZhu Yi2006-03-151-1/+1
| | | | | | | | | | | | | | Use the correct STYPE for Qos data. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211_geo.c: remove frivolous BUG_ON'sPete Zaitcev2006-02-271-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have come to consider BUG_ON generally harmful. The idea of an assert is to prevent a program to execute past a point where its state is known erroneous, thus preventing it from dealing more damage to the data (or hiding the traces of malfunction). The problem is, in kernel this harm has to be balanced against the harm of forced reboot. The last straw was our softmac tree, where "iwlist eth1 scan" causes a lockup. It is absolutely frivolus and provides no advantages a normal assert has to provide. In fact, doing this impedes debugging. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | Merge branch 'upstream-fixes'John W. Linville2006-02-271-11/+5
|\ \ | |/
| * [PATCH] ieee80211_rx.c: is_beaconPete Zaitcev2006-02-271-11/+5
| | | | | | | | | | | | | | Fix broken is_beacon(). Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: fix sparse warning about missing "static"Johannes Berg2006-02-171-1/+1
| | | | | | | | | | | | This patch adds a missing "static" on a variable (sparse complaint) Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: Use IWEVGENIE to set WPA IEZhu Yi2006-02-171-22/+10
| | | | | | | | | | | | | | | | | | | | | | It replaces returning WPA/RSN IEs as custom events with returning them as IWEVGENIE events. I have tested that it returns proper information with both Xsupplicant, and the latest development version of the Linux wireless tools. Signed-off-by: Chris Hessing <Chris.Hessing@utah.edu> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] Add two management functions to ieee80211_rx.cLarry Finger2006-01-311-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | On my system, I get unhandled management functions corresponding to IEEE80211_STYPE_REASSOC_REQ and IEEE80211_STYPE_ASSOC_REQ. The attached patch adds the logic to pass these requests off to a user stack. The patches to implement these requests in softmac have already been sent to Johannes Berg. Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: common wx auth codeLarry Finger2006-01-301-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch creates two functions ieee80211_wx_set_auth and ieee80211_wx_get_auth that can be used by drivers for the wireless extension handlers instead of writing their own, if the implementation should be software only. These patches enable using bcm43xx devices with WPA and this seems (as far as I can tell) to be the only difference between the stock ieee80211 and softmac's ieee80211 left. Signed-Off-By: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: trivial fix for misplaced ()'sDenis Vlasenko2006-01-301-1/+1
| | | | | | | | | | | | | | Patch fixes misplaced (). Diffed against wireless-2.6.git Signed-off-by: Denis Vlasenko <vda@ilport.com.ua> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] net/: fix the WIRELESS_EXT abuseAdrian Bunk2006-01-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains the following changes: - add a CONFIG_WIRELESS_EXT select'ed by NET_RADIO for conditional code - remove the now no longer required #ifdef CONFIG_NET_RADIO from some #include's Based on a patch by Jean Tourrilhes <jt@hpl.hp.com>. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | Merge branch 'upstream-fixes'John W. Linville2006-01-301-2/+2
|\ \ | |/
| * [PATCH] Typo corrections for ieee80211Larry Finger2006-01-301-2/+2
| | | | | | | | | | | | | | | | | | This patch, generated against 2.6.16-rc1-git4, corrects two typographical errors in ieee80211_rx.c and adds the facility name to a bare printk. Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: Add 802.11h information element parsingZhu Yi2006-01-271-6/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | Added default handlers for various 802.11h DFS and TPC information elements. Moved all information elements into single location (called from two places). Added debug message with information on unparsed IEs if debug_level set. Added code to reset network IBSS DFS information when appropriate. Added code to invoke driver callback for 802.11h ACTION STYPE. Changed a few printk's to IEEE80211_DEBUG_MGMT. Signed-off-by: James Ketrenos <jketreno@linux.intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: Add helpers for IBSS DFS handlingZhu Yi2006-01-271-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support IEEE 802.11h in IBSS, an ibss_dfs field is added to struct ieee80211_network. In IBSS, if one STA sends a beacon with DFS info (for radar detection), all the other STAs should receive and store this DFS. All STAs should send the DFS as one of the information element in the beacon they are scheduled to send (if possible) in the future. Since the ibss_dfs has variable length, it must be allocated dynamically. ieee80211_network_reset() is added to clear the ibss_dfs field. ieee80211_network_free() is also updated to free the ibss_dfs field if it is not NULL. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: Add 802.11h data type and structuresZhu Yi2006-01-271-1/+1
| | | | | | | | | | | | | | | | Add 802.11h data types and structure definitions to ieee80211.h. Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: Add TKIP crypt->build_ivZhu Yi2006-01-274-31/+39
| | | | | | | | | | | | | | | | | | | | This patch adds ieee80211 TKIP build_iv() method to support hardwares that can do TKIP encryption but relies on ieee80211 layer to build the IV. It also changes the build_iv() interface to return the key if possible after the IV is built (this is required by TKIP). Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: TIM information element parsingZhu Yi2006-01-271-1/+4
| | | | | | | | | | | | | | | | Added partial support of TIM information element parsing Signed-off-by: James Ketrenos <jketreno@linux.intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: kmalloc+memset -> kzalloc cleanupsZhu Yi2006-01-271-2/+1
| | | | | | | | | | | | | | kmalloc+memset -> kzalloc cleanups in ieee80211_crypt_tkip Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: Add spectrum management informationZhu Yi2006-01-271-2/+29
| | | | | | | | | | | | | | | | Add spectrum management information and use stat.signal to provide signal level information. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: add flags for all geo channelsZhu Yi2006-01-271-1/+38
| | | | | | | | | | Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] ieee80211: Log if netif_rx() drops the packetZhu Yi2006-01-272-7/+13
| | | | | | | | | | | | | | | | | | | | | | Log to wireless network stats if netif_rx() drops the packet. (also trailing whitespace and Lindent cleanups as part of patch-apply process) Signed-off-by: James Ketrenos <jketreno@linux.intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | [PATCH] WEP fields are incorrectly shown to be INSIDE snap in the docDenis Vlasenko2006-01-271-13/+13
|/ | | | | | | | | | | | | | | >If encryption is enabled, each fragment payload size is reduced by enough space >to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP) >So if you have 1500 bytes of payload with ieee->fts set to 500 without >encryption it will take 3 frames. With WEP it will take 4 frames as the >payload of each frame is reduced to 492 bytes. Text is correct, but in picture (IV,payload,ICV) sits inside SNAP. Patch corrects this. Signed-Off-By: Denis Vlasenko <vda@ilport.com.ua> Acked-By: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
OpenPOWER on IntegriCloud