aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
Commit message (Collapse)AuthorAge
* Merge branch 'master' into upstream-fixesJeff Garzik2007-06-12
|\
| * Merge branch 'for-linus' of ↵Linus Torvalds2007-06-11
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: IB/mlx4: Make sure RQ allocation is always valid RDMA/cma: Fix initialization of next_port IB/mlx4: Fix zeroing of rnr_retry value in ib_modify_qp() mlx4_core: Don't set MTT address in dMPT entries with PA set mlx4_core: Check firmware command interface revision IB/mthca, mlx4_core: Fix typo in comment mlx4_core: Free catastrophic error MSI-X interrupt with correct dev_id mlx4_core: Initialize ctx_list and ctx_lock earlier mlx4_core: Fix CQ context layout
| | * mlx4_core: Don't set MTT address in dMPT entries with PA setJack Morgenstein2007-06-08
| | | | | | | | | | | | | | | | | | | | | | | | If a dMPT entry has the PA flag (direct physical address) set, then the (unused) MTT base address field has to be set to 0. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
| | * mlx4_core: Check firmware command interface revisionRoland Dreier2007-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HCA firmware with incompatible changes to the FW commmand interface is coming soon. Add a check of the interface revision during initialization and bail out if the firmware advertises a revision that the driver doesn't know about. This will avoid strange failures later if the driver goes on using the wrong interface revision. Signed-off-by: Roland Dreier <rolandd@cisco.com>
| | * IB/mthca, mlx4_core: Fix typo in commentRoland Dreier2007-06-07
| | | | | | | | | | | | | | | | | | s/signifant/significant/ Signed-off-by: Roland Dreier <rolandd@cisco.com>
| | * mlx4_core: Free catastrophic error MSI-X interrupt with correct dev_idRoland Dreier2007-06-07
| | | | | | | | | | | | | | | | | | | | | | | | We need to pass the same dev_id to free_irq() and request_irq(). When using MSI-X, the MLX4_EQ_CATAS interrupt uses a different dev_id from the other interrupts. Signed-off-by: Roland Dreier <rolandd@cisco.com>
| | * mlx4_core: Initialize ctx_list and ctx_lock earlierRoland Dreier2007-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We may call mlx4_dispatch_event() before mlx4_register_device() is called for a device, because for example a catastrophic error happens immediately after we enable interrupts. Therefore priv->ctx_list and priv->ctx_lock need to be initialized earlier. This bug was actually exposed by the MSI-X bug that returned IRQ numbers to drivers in reverse order, so that the first FW command interrupt looked to mlx4 like a catastrophic error. Signed-off-by: Roland Dreier <rolandd@cisco.com>
| | * mlx4_core: Fix CQ context layoutEli Cohen2007-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reserved6 field should be 64 bits, not just 16 bits. Without this, the structure does not match the hardware layout on 32-bit architectures: the db_rec_addr field ends up at offset 52 instead of offset 56. The bug slipped by because the alignment of __be64 members ends up putting it in the right place on x86-64. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
* | | Merge branch 'libertas-fixes' of ↵Jeff Garzik2007-06-12
|\ \ \ | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream-fixes
| * | | [PATCH] libertas: convert libertas_mpp into anycast_maskLuis Carlos2007-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With firmware 5.220.11.p5, this allows to specify the anycast addresses the device will listen to. The anycast address range is C0:27:C0:27:C0:XX where XX goes from 00 to 1F (or 0 to 31 in dec). The value to write on anycast_mask will specify which addresses the device listens to. Bits in a 32 bit int are numbered from 0 (least significative bit) to 31. A specific address ending in YY will be listened to if bit YY in the value is set to one. Examples: 0x00000000 : do not listen to any anycast address 0xFFFFFFFF : listen to every anycast address from :00 to :1F 0x00000013 : listen to anycast addresses :00, :01 and :04 Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: actually send mesh frames to mesh netdevDan Williams2007-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by Luis; got broken during module split. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: deauthenticate from AP in channel switchLuis Carlos Cobo Rus2007-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids channel mismatch between driver and firmware in case we change channel while associated to an AP. Signed-off-by: Luis Carlos Cobo Rus <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: pull current channel from firmware on mesh autostartLuis Carlos Cobo Rus2007-06-12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luis Carlos Cobo Rus <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | | | Merge branch 'libertas' of ↵Jeff Garzik2007-06-12
|\| | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream-fixes
| * | | [PATCH] libertas: reduce SSID and BSSID mixed-case abuseDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Kill mixed case function names from scan.c/scan.h. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: remove WPA_SUPPLICANT structureDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Unused. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: remove structure WLAN_802_11_SSID and libertas_escape_essidDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace WLAN_802_11_SSID with direct 'ssid' and 'ssid_len' members like ieee80211. In the process, remove private libertas_escape_essid and depend on the ieee80211 implementation of escape_essid instead. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: tweak association debug outputDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: fix big-endian associate command.David Woodhouse2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Byte-swapping length fields and then passing them to memcpy() considered harmful. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: don't byte-swap firmware version number. It's a byte array.David Woodhouse2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: more endianness fixes, in tx.c this timeDavid Woodhouse2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we finally get connectivity. For a while, before something else dies... Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: More endianness fixes.David Woodhouse2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now it at least manages to load the firmware. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: first pass at fixing up endianness issuesDavid Woodhouse2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: sparse fixesDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix various issues reported by sparse. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: fix character set in READMEDavid Woodhouse2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: support for mesh autostart on firmware 5.220.11Luis Carlos Cobo Rus2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luis Carlos Cobo Rus <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: split wext for eth and mshLuis Carlos Cobo Rus2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Separate wireless handlers of mshX and ethX. ethX remains as before. For mshX, it has been disabled set/get essid, wap and set mode. Get mode always returns "Repeater" and by now we use the Nickname to show if the mesh is active ("Mesh") or not (empty). The rest remains as before. Signed-off-by: Luis Carlos Cobo Rus <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: make mac address configuration work with mesh interface tooLuis Carlos Cobo Rus2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luis Carlos Cobo Rus <luiscarlos@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: updated readme fileLuis Carlos Cobo Rus2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some wording and blinding table command options, clarify argument list for fwt_add and fwt_list, simplify fwt_list_route Signed-off-by: Luis Carlos Cobo Rus <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: Make WPA work through supplicant handshakeDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix WPA so it works up through the supplicant 4-Way handshake process. Doesn't successfully pass traffic yet; may be problems installing the GTK to the firmware. - RSN needs to be enabled before the association command is sent - Use keys from the association request not the adapter structure - cmd_act_mac_strict_protection_enable != IW_AUTH_DROP_UNENCRYPTED - Fix network filtering logic in is_network_compatible() WPA helpers Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: add more verbose debugging to libertas_cmd_80211_authenticateDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: debug print spacing fixes in assoc.cDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: send SIOCGIWSCAN event after partial scans tooDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any time the driver gets new scan results, even from partial scans, it should send the scan event to userspace. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: honor specific channel requests during associationDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if a fixed channel was specified along with an SSID, the channel request would be ignored during the association process. Instead, when searching for an adhoc or infrastructure network to join, allow filtering results based on channel so that the driver doesn't pick a BSS on a different channel than requested. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: fix default adhoc channelDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inadvertently removed on a previous commit; causes the first adhoc start to fail if a channel has not been set or no other association has been made. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: fix deadlock SIOCGIWSCAN handlerDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update signal quality before the locked scan result translation loop, because calling libertas_prepare_and_send_command() with the 'waitforrsp' option grabs adapter->lock in the command return processing, leading to the deadlock. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: correct error report paths for wlan_fwt_list_ioctlDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure the leave debug print gets triggered when necessary. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: correctly balance locking in libertas_process_rx_commandDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adapter->lock should released after unlocking adapter->driver_lock to balance the order in which they were locked at the top of the function. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: fix debug enter/leave prints for libertas_execute_next_commandDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: use compare_ether_addr() rather than memcmp() where ↵Dan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | appropriate Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: use MAC_FMT and MAC_ARG where appropriateDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: make association paths consistentDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The BSS to associate with (in either Infrastructure or IBSS join operations) is now stored in _one_ place in the association request (the bss member), not two places as before (pattemptedbss and curbssparams->bssdescriptor). Association requests are passed to the necessary association functions to (a) give them access to the bss member and (b) ensure that association/join/start setup uses settings from the request, not the current adapter settings (which may not be valid for the requested settings). Because the 'bss' member of the association request is used now, the command return functions from associate and adhoc join/start need access to the in-progress association request to update curbssparams when everything is done. The association worker moves the request from pending to in-progress for the duration of the association attempt. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: move channel changing into association frameworkDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle channel changes through the deferred association framework rather than directly. Fixes errors when setting channels along with other parameters like mode and SSID. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: fix oops on rmmodMarcelo Tosatti2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use list_for_each_entry_safe, to protect against list_del(). Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: cleanup of fwt_list_route processingLuis Carlos Cobo Rus2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Luis Carlos Cobo Rus <luisca@cozybit.com> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: fix 'keep previous scan' behaviorDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not clear the scan list except under specific conditions, such as when (a) user-requested, or (b) joining/starting an adhoc network. Furthermore, only clear entries which match the SSID or BSSID of the request, not the whole scan list. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: make scan result handling more flexibleDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use a linked list for scan results - age scan results - pass bss_descriptors around instead of indexes into the scan table - lock access to the scan results - stop returning EAGAIN from SIOCGIWSCAN handler Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: updated mesh commands for 5.220.9.p11Luis Carlos Cobo2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated commands fwt_add and fwt_list, bt_list. New commands: bt_get_invert, bt_set_invert, to invert the blinding table, i.e., receive only frames from nodes listed in the BT. This patch needs/is needed for firmware 5.220.9.p11. Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: version bump (321p0) and cmds update for new fw (5.220.10.p0)Luis Carlos Cobo Rus2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch along with the previous commands update one, is necessary for mesh and fwt ioctls to work properly with firmware version 5.220.10.p0 and later. Signed-off-by: Luis Carlos Cobo Rus <luiscarlos@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * | | [PATCH] libertas: don't tear down netdev in libertas_activate_cardDan Williams2007-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libertas_activate_card() doesn't create the netdev, and shouldn't free it on error. The caller of libertas_activate_card() is responsible for cleaning up errors from libertas_add_card(), not libertas_activate_card(). Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>