aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | net: wireless: bcmdhd: Add ROAM setting per platform from MakefleDmitry Shmidt2012-09-133-0/+26
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia6bc3025e3641cb6b91022ab1c9976c0f6ad16a4 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Report proper mcs rate maskDmitry Shmidt2012-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting proper mcs rate mask allows to connect in 802.11n-only mode Change-Id: Iffd47a60c92a74d29e42d81d79fa64463f5895c5 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Fix sending ctrl packetDmitry Shmidt2012-08-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Schedule dpc thread to send ctrl frame if we cannot send ctrl packet immediately. Change-Id: I5ae8b705a6ccddcc1f5c86b4c094342b57d26c7f Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Add ASSOC event processingDmitry Shmidt2012-08-271-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ide0b887ba52af56d0aaa415111df5ba16265c8d8 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Update to version 5.90.195.104Dmitry Shmidt2012-08-279-78/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix p2p support for new wpa_supplicant - Propagate disconnect error code for cfg80211 Change-Id: I9643fbad7b6170b0e794fd7854201931d5eefb22 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Remove WIPHY_FLAG_SUPPORTS_FW_ROAM flagDmitry Shmidt2012-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If driver advertises FW_ROAM, the supplicant wouldn't send the BSSID & Freq in the connect command allowing the driver to choose the AP to connect to. But unless we support ROAM_CACHE in firware this will delay the ASSOC as the FW need to do a full scan before attempting to connect. Change-Id: Iebc88a60243196b9ad27b8302f2b1473710308f6 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Remove PMKID_CACHE and TXFAIL events for CFG80211Dmitry Shmidt2012-08-221-0/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I82b6a1c9941485f3b47bc5978873379ab8853601 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Update to Version 5.90.195.98Dmitry Shmidt2012-08-2217-81/+204
| | | | | | | | | | | | | | | | | | | | Change-Id: I2854300bc03b133d8276bea2f36f4c5253c551a1 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcm4329: Remove obsolete filesDmitry Shmidt2012-08-132-287/+0
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Use correct time from boot for TSFDmitry Shmidt2012-08-131-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Fill station_info packet fieldsDmitry Shmidt2012-07-271-0/+14
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Prevent HT Avail request failure to flood the logDmitry Shmidt2012-07-183-12/+31
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Use proper jiffie-related functionsDmitry Shmidt2012-07-176-34/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> Conflicts: drivers/net/wireless/bcmdhd/wl_cfg80211.c drivers/net/wireless/bcmdhd/wl_iw.c
| * | | net: wireless: bcmdhd: Adjust driver/fw/chip info formatDmitry Shmidt2012-07-171-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Add info_string param with driver/fw/chip infoDmitry Shmidt2012-07-123-5/+45
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Remove country update from wl_update_wiphybandsDmitry Shmidt2012-07-123-24/+5
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Fix P2P GO hang issueNeeraj Kumar Garg2012-07-122-28/+37
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Update wiphy bands on band changeDmitry Shmidt2012-07-125-4/+38
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Init locks in dhd_attach() at the beginningAndrey Vagin2012-07-121-11/+12
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcm4329: Init locks in dhd_attach() at the beginningAndrey Vagin2012-07-121-11/+11
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Add mutex to wl_update_wiphybands()Dmitry Shmidt2012-07-121-3/+10
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Skip country setting if unnecessaryDmitry Shmidt2012-07-121-13/+14
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Return wl_construct_reginfo() callDmitry Shmidt2012-07-121-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Add wiphyband update for country changeDmitry Shmidt2012-07-121-1/+5
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Skip inaccurate wl_construct_reginfo() callDmitry Shmidt2012-06-281-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Ignore error if "chanspecs" command is not supportedDmitry Shmidt2012-06-201-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Reduce priority for dhd_dpc and watchdogDmitry Shmidt2012-06-191-3/+2
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Reload FW in case of constant scan failureDmitry Shmidt2012-06-194-1/+12
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | net: wireless: bcmdhd: Combined P2P fixesDmitry Shmidt2012-06-132-32/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix p2p scan - Fix p2p processing for channels 12 and 13 - Fix service discovery Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | Merge remote-tracking branch 'korg/linux-3.0.y' into HEADKalimochoAz2012-09-163-3/+3
|\ \ \ \ | | |_|/ | |/| |
| * | | USB: rtl8187: remove __devinit* from the struct usb_device_id tableGreg Kroah-Hartman2012-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit a3433179d0822ccfa8e80aa4d1d52843bd2dcc63 upstream. This structure needs to always stick around, even if CONFIG_HOTPLUG is disabled, otherwise we can oops when trying to probe a device that was added after the structure is thrown away. Thanks to Fengguang Wu and Bjørn Mork for tracking this issue down. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Reported-by: Bjørn Mork <bjorn@mork.no> CC: Herton Ronaldo Krzesinski <herton@canonical.com> CC: Hin-Tak Leung <htl10@users.sourceforge.net> CC: Larry Finger <Larry.Finger@lwfinger.net> CC: "John W. Linville" <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * | | USB: p54usb: remove __devinit* from the struct usb_device_id tableGreg Kroah-Hartman2012-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit b9c4167cbbafddac3462134013bc15e63e4c53ef upstream. This structure needs to always stick around, even if CONFIG_HOTPLUG is disabled, otherwise we can oops when trying to probe a device that was added after the structure is thrown away. Thanks to Fengguang Wu and Bjørn Mork for tracking this issue down. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Reported-by: Bjørn Mork <bjorn@mork.no> CC: Christian Lamparter <chunkeey@googlemail.com> CC: "John W. Linville" <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * | | ath9k: fix decrypt_error initialization in ath_rx_tasklet()Lorenzo Bianconi2012-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit e1352fde5682ab1bdd2a9e5d75c22d1fe210ef77 upstream. ath_rx_tasklet() calls ath9k_rx_skb_preprocess() and ath9k_rx_skb_postprocess() in a loop over the received frames. The decrypt_error flag is initialized to false just outside ath_rx_tasklet() loop. ath9k_rx_accept(), called by ath9k_rx_skb_preprocess(), only sets decrypt_error to true and never to false. Then ath_rx_tasklet() calls ath9k_rx_skb_postprocess() and passes decrypt_error to it. So, after a decryption error, in ath9k_rx_skb_postprocess(), we can have a leftover value from another processed frame. In that case, the frame will not be marked with RX_FLAG_DECRYPTED even if it is decrypted correctly. When using CCMP encryption this issue can lead to connection stuck because of CCMP PN corruption and a waste of CPU time since mac80211 tries to decrypt an already deciphered frame with ieee80211_aes_ccm_decrypt. Fix the issue initializing decrypt_error flag at the begging of the ath_rx_tasklet() loop. Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | | | Merge branch 'linux-3.0.y' into HEADKalimochoAz2012-08-307-11/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | Conflicts: drivers/net/tun.c
| * | | rt2x00: Add support for BUFFALO WLI-UC-GNM2 to rt2800usb.Jeongdo Son2012-08-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit a769f9577232afe2c754606a83aad85127e7052a upstream. This is a RT3070 based device. Signed-off-by: Jeongdo Son <sohn9086@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * | | rt61pci: fix NULL pointer dereference in config_lna_gainStanislaw Gruszka2012-08-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit deee0214def5d8a32b8112f11d9c2b1696e9c0cb upstream. We can not pass NULL libconf->conf->channel to rt61pci_config() as it is dereferenced unconditionally in rt61pci_config_lna_gain() subroutine. Resolves: https://bugzilla.kernel.org/show_bug.cgi?id=44361 Reported-and-tested-by: <dolohow@gmail.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * | | e1000e: NIC goes up and immediately goes downTushar Dave2012-08-151-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit b7ec70be01a87f2c85df3ae11046e74f9b67e323 upstream. Found that commit d478eb44 was a bad commit. If the link partner is transmitting codeword (even if NULL codeword), then the RXCW.C bit will be set so check for RXCW.CW is unnecessary. Ref: RH BZ 840642 Reported-by: Fabio Futigami <ffutigam@redhat.com> Signed-off-by: Tushar Dave <tushar.n.dave@intel.com> CC: Marcelo Ricardo Leitner <mleitner@redhat.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * | | net/tun: fix ioctl() based info leaksMathias Krause2012-08-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commits a117dacde0288f3ec60b6e5bcedae8fa37ee0dfc and 8bbb181308bc348e02bfdbebdedd4e4ec9d452ce ] The tun module leaks up to 36 bytes of memory by not fully initializing a structure located on the stack that gets copied to user memory by the TUNGETIFF and SIOCGIFHWADDR ioctl()s. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * | | USB: kaweth.c: use GFP_ATOMIC under spin_lockDan Carpenter2012-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit e4c7f259c5be99dcfc3d98f913590663b0305bf8 ] The problem is that we call this with a spin lock held. The call tree is: kaweth_start_xmit() holds kaweth->device_lock. -> kaweth_async_set_rx_mode() -> kaweth_control() -> kaweth_internal_control_msg() The kaweth_internal_control_msg() function is only called from kaweth_control() which used GFP_ATOMIC for its allocations. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * | | caif: fix NULL pointer checkAlan Cox2012-08-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit c66b9b7d365444b433307ebb18734757cb668a02 ] Reported-by: <rucsoftsec@gmail.com> Resolves-bug: http://bugzilla.kernel.org/show_bug?44441 Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * | | bnx2: Fix bug in bnx2_free_tx_skbs().Michael Chan2012-08-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit c1f5163de417dab01fa9daaf09a74bbb19303f3c ] In rare cases, bnx2x_free_tx_skbs() can unmap the wrong DMA address when it gets to the last entry of the tx ring. We were not using the proper macro to skip the last entry when advancing the tx index. Reported-by: Zongyun Lai <zlai@vmware.com> Reviewed-by: Jeffrey Huang <huangjw@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | | | net: wireless: bcm4329: Remove obsolete filesDmitry Shmidt2012-08-302-287/+0
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | net: wireless: bcmdhd: Use correct time from boot for TSFDmitry Shmidt2012-08-301-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | net: wireless: bcmdhd: Fill station_info packet fieldsDmitry Shmidt2012-08-301-0/+14
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | net: wireless: bcmdhd: Prevent HT Avail request failure to flood the logDmitry Shmidt2012-07-273-12/+31
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | net: wireless: bcmdhd: Use proper jiffie-related functionsDmitry Shmidt2012-07-276-34/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> Conflicts: drivers/net/wireless/bcmdhd/wl_cfg80211.c drivers/net/wireless/bcmdhd/wl_iw.c
* | | | net: wireless: bcmdhd: Adjust driver/fw/chip info formatDmitry Shmidt2012-07-271-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | net: wireless: bcmdhd: Add info_string param with driver/fw/chip infoDmitry Shmidt2012-07-273-5/+45
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | net: wireless: bcmdhd: Remove country update from wl_update_wiphybandsDmitry Shmidt2012-07-273-24/+5
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | net: wireless: bcmdhd: Fix P2P GO hang issueNeeraj Kumar Garg2012-07-272-28/+37
| | | | | | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>