summaryrefslogtreecommitdiff
path: root/drivers/net
AgeCommit message (Collapse)Author
2013-09-14net: wireless: bcm4335: increase delay to avoid cmdTimeoutOm Prakash Singh
increase delay before reading SBSDIO_FUNC1_SLEEPCSR to wake sdio bus Bug 1274359 Change-Id: I54c1bf199e2fe309d55ae52f0156c497b0c90144 Signed-off-by: Om Prakash Singh <omp@nvidia.com> Reviewed-on: http://git-master/r/223916 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-09-14Make firmware loading of R8169 optionalMursalin Akon
According to Realtek, the firmware provides power optimizations. The driver works without the firmware. Plus, there are scenarios where the firmware is not available, which makes the driver wait at request_firmware call (i.e., 60 sec wait). Bug 1236060 Change-Id: Ifad95b9eb9e161c77171df3e65351aff80e4a4ad Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/218609 (cherry picked from commit f7a5ab6dc1b7da3e3da10cb88478e5fa4a7c92b9) Reviewed-on: http://git-master/r/220717 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-09-14net: usb: smsc95xx: Fix MAC address assignment.Manoj Chourasia
If the smsc ethernet device which is suppose to get the MAC from commandline goes down and come back again, random MAC address gets assigned to it. This issue is fixed by this patch by setting smsc_mac_addr_set to false while unbinding the driver. This also fixes issue that can raise because of two smsc ethernet devices present in system. bug 1058873, bug 1237380 Change-Id: Ice2433608f889278fde876070386794c32330d6e Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/203720 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Ashutosh Patel <ashutoshp@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Sehgal <nsehgal@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-09-14net: wireless: bcm4335: power off card when not in useOm Prakash Singh
Power off the card when wifi is off and power up only when wifi is turned on Bug 1011349 Change-Id: I018c3757280c81c9077dd07949422bf572fc3a0d Signed-off-by: Om Prakash Singh <omp@nvidia.com> Reviewed-on: http://git-master/r/200684 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-09-14cdc_ncm: changing Icera Nemo modem PID to 0x1007Steve Lin
Bug 1176649 Change-Id: I6222f28e1a323333a324745a764b8384795ce5d1 Signed-off-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/197220 (cherry picked from commit 477b3112d297ff3948a86c08fc5dd8e2d512c6e1) Reviewed-on: http://git-master/r/203520 Reviewed-by: Automatic_Commit_Validation_User
2013-09-14cdc_ncm: fix TCP window scaling issue for NCM driverSteve Lin
TCP network stack uses skb->truesize as hint to grow TCP window size. However, the NCM driver uses skb_clone to push the ethernet packet to the network stack. The skb->truesize is actually the memory allocated for the whole transfer block, not the true packet size with overhead. tcp_grow_window function doesn't handle this case properly so the receiver window will not grow. This patch is to update the skb->truesize in the cdc_ncm_rx_fixup function so the TCP stack can use it to grow the window size as expected. Bug 1207244 Bug 1235981 Change-Id: I7c48eb65e7f991d7eb0f2ef14c515134b9180ea4 Signed-off-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/200895 (cherry picked from commit d5d229da0c1230142dd3516e1e465666f619dabd) Reviewed-on: http://git-master/r/202088 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-09-14net: wireless: bcm4335: fix Kconfig and MakefileNagarjuna Kristam
Fix Kconfig and Makefile to build bcm4335 independently Bug 1216788 Change-Id: Id52ac1bb2615075b30672536ac01e1d8d347c112 Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/193396 GVS: Gerrit_Virtual_Submit Reviewed-by: Om Prakash Singh <omp@nvidia.com> Tested-by: Om Prakash Singh <omp@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-09-14net: wireless: add bcm4335 driverNagarjuna Kristam
Bug 1216788 Change-Id: Ie1eff46ecd31e65c14aebba69d1bfc2a3ae4cad1 Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/193395 GVS: Gerrit_Virtual_Submit Reviewed-by: Om Prakash Singh <omp@nvidia.com> Tested-by: Om Prakash Singh <omp@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-09-14net: usb: raw_ip: max_intfs to be non-writableJC Kuo
max_intfs is a varible which determines loop counts in driver functions at runtime. Userspace could modify its default value at module load time but it shouldn't be changed at runtime. Bug 1175543 Change-Id: Id8e8055711288f900e5cffb704a2cf823dd97a34 Signed-off-by: JC Kuo <jckuo@nvidia.com> Reviewed-on: http://git-master/r/187794 (cherry picked from commit a4f05627fe5734d2b4fe3adf01d3a2ea89a6ec69) Reviewed-on: http://git-master/r/188199 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14net: Add GCOV_PROFILEKonsta Holtta
Include net in GCOV profiling when enabled by defconfig. Change-Id: I851fefcf2d22259dfce412d047ca6208ded4bfee Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/190001 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14cdc_ncm: fix bind failures for Icera devicesNeil Patel
The Icera 5AN, 5AN BSD, and Nemo devices are composite devices that include a NCM interface. Therefore, the NCM match flags should have the VID, PID, Class, Subclass, and Protocol set to avoid bind() failures for non-NCM interfaces. Bug 1197415 Change-Id: If68a6ffaa4e1871c6a22ec8839806949804f502c Signed-off-by: Neil Patel <neilp@nvidia.com> Reviewed-on: http://git-master/r/170576 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com> Tested-by: Steve Lin <stlin@nvidia.com> Tested-by: David Norman <dnorman@nvidia.com>
2013-09-14cdc_ncm: Adding rmnet interface for Icera Nemo modemSteve Lin
Bug 1176649 Change-Id: I9c89b907649ac66d9e85c66e964574a2fe9d368f Signed-off-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/167784 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
2013-09-14drivers: net: Auto select MHI_NETDEV based on MHI.Raj Jayaraman
Bug 1054808 Change-Id: I2cc87b0d633052fbcfd7bf02c2575c10e64930ac Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Reviewed-on: http://git-master/r/164439 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com>
2013-09-14net: usb: raw-ip: increment number of rx buffersVinayak Pane
Increasing number of rx URBs for raw-ip interface. This should optimize the underlying USB interface as more URBs can be used for receiving packets via raw-ip. Change-Id: I2427996ffbafb20e19b733775d576086a7df1ddc Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/134867 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2013-09-14drivers: net: usb: Add MHI support for RMC PegaPCI.Raj Jayaraman
* As submitted by RMC for modem support * Bug 1054808 Change-Id: I2088b17af7ecf66f4dc95a889ab3ae3466dadd96 Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Reviewed-on: http://git-master/r/160034 (cherry picked from commit eefa1719500f976898cb0c9f3832063d21c9bd81) Reviewed-on: http://git-master/r/162294 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2013-09-14drivers: net: Modifications for RMC PegaPCI.Raj Jayaraman
* As submitted by RMC for modem support * Bug 1054808 Change-Id: Ia25f0d6aaea899cb327cb2141d6896a508238c0c Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Reviewed-on: http://git-master/r/160032 (cherry picked from commit a81627cafe577dc5f640feb11596d485200c4c0d) Reviewed-on: http://git-master/r/162292 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2013-09-14arm: tegra: ncm: Add Icera mobile 5AN PID/VID identification for NCMJonathan Roux
Bug 1054494 Change-Id: I86c9a68532a3ef789ed2df6c122dc29377b7acd1 Signed-off-by: Jonathan Roux <jroux@nvidia.com> Reviewed-on: http://git-master/r/146948 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Neil Patel <neilp@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2013-09-14net: usb: smsc: Enable VOH mode for SMSC ethernet complianceVishal Singh
Adding config option that enables the VOH mode which is required for SMSC compliance. Bug 923110. Bug 1045637. Reviewed-on: http://git-master/r/73477 Reviewed-on: http://git-master/r/141562 (cherry picked from commit 4ab7f0342d1e17c4b19a69dc34e7cb6fd6332433) Change-Id: Ifb1660272b36719abf6edd449193ceffea227511 Signed-off-by: Vishal Singh <vissingh@nvidia.com> Reviewed-on: http://git-master/r/144089 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Rebase-Id: Rffdfd0787b45c147c722089310df64af7e2377c8
2013-09-14brcmfmac: Handling IRQ in ISR directly for non-OOBWei Ni
In case of inband interrupts, if we handle the interrupt in dpc thread, two level of thread switching takes place to process wifi interrupts. One in SDHCI driver and the other in Wifi driver. This may cause the system instability. Because the SDHCI calls sdio_irq_thread() to handle the irq, this thread locks mmc host and calls wifi handler. It expects WiFi handler to be quick and enables sdio interrupt from card at end. If wifi handler defers this work for a different thread, sdio_irq_thread() will be stuck on next wifi interrupt since mmc lock is not freed. Handling the interrupt in ISR directly will prevent thread context switching in wifi driver. It can fix the instability problems. Change-Id: I1d0208f09d16d01a154d446f52f24356ebf7cddc Signed-off-by: Wei Ni <wni@nvidia.com> Reviewed-on: http://git-master/r/142591 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com> Rebase-Id: R092bbc41cdd41394093adb7a9d448f0b46678170
2013-09-14brcmfmac: load firmware based on chip idWei Ni
Choose appropriate firmware at runtime so that brcmfmac driver can be used for both bcm4329 and bcm4330 chipset. Change-Id: Ia035874dcb2eb0e01a0a1b8818e60c363c9d018e Signed-off-by: Wei Ni <wni@nvidia.com> Reviewed-on: http://git-master/r/139622 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com> Rebase-Id: R49c6c2563edd8da76e8e07d8c2ca223b022992b3
2013-09-14sd8797: updated driver for kernel version >= K3.1Nitin Bindal
marvell sd8797 driver update to support kernel >= K3.1 Bug 1043943 Change-Id: I0da2e755d14dbf0e182f4bab9748a70dc1dc8a74 Signed-off-by: Nitin Bindal <nbindal@nvidia.com> Reviewed-on: http://git-master/r/130084 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R0de895e06d6e79c485899a673ad4c8e2b6be310f
2013-09-14net: r8169: Correct calling nap_disable apiJay Agarwal
Two consecutive calls to napi_disable leads to hang since SCHED bit is always set. So doing napi_disable in close only when it is not already done in suspend. Bug 1022390 Change-Id: I83bf40a9cddc3008685b768ef6dbcbd0371eb07e Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/119669 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com> Reviewed-by: Vandana Salve <vsalve@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R65541be1408dad9b4bdef72753fbde6ab1bbb253
2013-09-14net: caif: tegra: enable warnings as errors flagDeepak Nibade
-enable warnings as errors compilation flag bug 949219 Change-Id: Ifeaba174d59c437e0068324b73dffd287f90c957 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118041 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com> Rebase-Id: Rb26dcd857ea48906d6b39b2db9dbae2272767ae3
2013-09-14usb: cdc_ether: Add rmnet device info to ZM5250BH Hsieh
Modified device info element for ZM5250 to sync with framework. Change-Id: I855678edccef50c549960ee209e500ec6d692e36 Signed-off-by: BH Hsieh <bhsieh@nvidia.com> Rebase-Id: Rc1b3f2d77680a7f1b9a2ac604bb0eb713eb2ac59
2013-09-14drivers: net: raw-ip: Add IPv6 support.Michael Hsu
Upon receiving IPv6 packet, set ethernet header's ether type to 0x86dd. For transmission of IPv6, nothing extra required, as the 14 byte ethernet header (containing the 0x86dd ether type) is already stripped off as part of the raw-ip protocol. Bug 1010735 Change-Id: Id574a7feeefbde0504ad0ea449dff28340e9356a Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/113761 (cherry picked from commit 8bdfd06cae7eede4856ef825ea26b69c9ea065ef) Reviewed-on: http://git-master/r/117148 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vinayak Pane <vpane@nvidia.com> Tested-by: Vinayak Pane <vpane@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com> Rebase-Id: Ra8fb2eeb32e58acd67ad423df2960bf5515384c0
2013-09-14net: usb: raw-ip: support more rmnet interfacesVinayak Pane
New requirement to support upto 5 rmnet interfaces with raw-ip. Driver will be able to support dynamically multiple number of interfaces, maximum to 5. Bug 1006183 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/112790 (cherry picked from commit 0dde53830d9e21004b2e90c1b997a54c89767fa1) Change-Id: I8166c448dbfef0391491ffdef9dff2b0e2693d75 Reviewed-on: http://git-master/r/115611 Tested-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Steve Lin <stlin@nvidia.com> Rebase-Id: R076aa112c1e68b667e77619687e41086d4824bed
2013-09-14usb: cdc_ether: Add rmnet device info to PH450 and TangoMohan T
Modified device info element for PH450 and Tango to sync with framework. Change-Id: I325571358f8c1875484254a9f497c606adb03180 Signed-off-by: Mohan T <mohant@nvidia.com> Reviewed-on: http://git-master/r/110765 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthieu Vincenot <mvincenot@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com> Rebase-Id: R343518c99670c6aeead333fcd9a3b16b8c0933f0
2013-09-14smsc95xx: Add module params to read MAC addressManoj Chourasia
This patch adds support for mac_addr module param mac_addr : MAC address which will be assigned to the above device. example mac_addr=0x0,0x2,0x2,0x3,0x3,0x4 If EEPROM read fails for MAC address for a smsc interface and if the mac_addr module param is set then driver will set that device MAC address provided in mac_addr. This can be set for only one device bug 719410, bug 921146 Change-Id: I6eb0363951d91fad857b76af8a4a097cd0fb7623 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/108237 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R70327046020573840d6dda57a83979d312dcbdf9
2013-09-14unknown changes from android-tegra-nv-3.4Dan Willemsen
Rebase-Id: R940fad74c7e91ef3d1d3d589a48064ccb7335541
2013-09-14Merge commit 'a88f9e27498afaea615ad3e93af4f26df1f84987' into ↵Dan Willemsen
after-upstream-android Conflicts: arch/arm/common/Kconfig arch/arm/mm/Makefile arch/arm/mm/cache-l2x0.c arch/arm/mm/mmu.c drivers/input/Kconfig drivers/input/Makefile drivers/power/Kconfig kernel/futex.c
2013-09-14net: wireless: sd8797: Fix (re)association issueNitin Bindal
Fix the issue - When device connects to 2GHz AP, it does not scan APs in 5GHz and vice-versa. Bug 968022 Change-Id: I5dfddf4e73260cb1e03bd3d28c029503507cd898 Signed-off-by: Nitin Bindal <nbindal@nvidia.com> Reviewed-on: http://git-master/r/104482 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Re4d831cc46611ef44ef0a3b9b8bebba37281682c
2013-09-14net: wireless: sd8797: Integrate M2614311 ReleaseMohan T
Integrate Marvell SD8797 M2614311-GPL driver release Package Ver: T3T-14.69.11.p122-M2614311_A0B0-MGPL Bug 954218 Change-Id: Ic4c110cc06f45cf3f612df323e68c75edeb46e11 Signed-off-by: Mohan T <mohant@nvidia.com> Reviewed-on: http://git-master/r/100052 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rbe5bd4a08d1c17aeddf11adc8b63b50d148ad58e
2013-09-14net: wireless: sd8797: change wlan interface to wlan0Narayan Reddy
Change wlan interface from mlan to wlan. Bug 954218 Change-Id: I5b2b2840a4830eda908a47cc0fc59d0479a1df34 Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: http://git-master/r/98997 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Rebase-Id: R39d1185fd48cfa9c60bb8d09642094f17ff3197c
2013-09-14net: wireless: sd8797: Add Kconfig to marvel sd8797Narayan Reddy
add Konfig to marvel 8797 and some tailing space corrections. Bug 954218 Change-Id: I2885f2a74dea14ffeeb5dad65e03e217c77c5013 Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: http://git-master/r/98436 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Conflicts: drivers/net/wireless/Kconfig drivers/net/wireless/Makefile Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R3ffb1e64f4f0a2be12ee028b5fe9404c1148bb63
2013-09-14net: wireless: sd8797: Marvell sd8797 Wi-Fi driverMohan T
Initial commit for Marvell sd8797 Wi-Fi driver Package Ver: T3T-14.69.11.p111-M2614303_A0B0-MGPL Bug 954218 Change-Id: I76fcadb5cda054d1e489c4cff77a3c461bdac742 Signed-off-by: Mohan T <mohant@nvidia.com> Reviewed-on: http://git-master/r/97305 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R6ab9758835ce4f70d0f0a657d5ea60f22f1f3be1
2013-09-14drivers: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I5942ba86bd1cbe1f1bd06a7c9f51a10d83e6cabb Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92819 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Conflicts: drivers/usb/host/ehci.h Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R589d19a64a471702c89c82398078f8ce93a729e1
2013-09-14usb: cdc_ether: Add new product id for the 5AE profileJonathan Roux
Bug 924863 Change-Id: I10d3036ce19f8c1f37e57998c204f3a72bd42f85 Signed-off-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/89718 Reviewed-by: Automatic_Commit_Validation_User Rebase-Id: R930cf275963ca901350211a7d5a6bcc342466231
2013-09-14net: usb: raw-ip: rx / tx statisticsShawn Joo(Seongho)
Add rx, tx, error statistics feature Bug 932703 Change-Id: Ic7a6232dd3b48feff2b064fcff8f0d146b1e9902 Signed-off-by: Shawn Joo <sjoo@nvidia.com> Reviewed-on: http://git-master/r/89305 Tested-by: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com> Rebase-Id: Ra41d5d12e551d3eb0cf1ea4232d0bd5b7d5438b1
2013-09-14net: usb: raw-ip: Fix memory leak in raw_ipcSeshendra Gadagottu
Reuse rx urb to avoid memory leak. Detect usb interface disconnect state to avoid rx / tx urb submit on disconnected interface. Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/77969 (cherry picked from commit 343dcb023cd465a6210239cf64ebed5858223096) Change-Id: I7e49c73b47f6e1c803cd5f0cdb2e6f81bf8171d3 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82722 Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R82860f55690bfb35b4f400cbae108d64ed446bf0
2013-09-14net: usb: raw-ip: Defer tx urb submit to work function.Michael Hsu
Defer tx urb submit to work function to avoid problems with autopm not fully resumed. BUG 929408 Reviewed-on: http://git-master/r/77228 Change-Id: Id559d65384780067e48faee6c79134eb35d298fc Signed-off-by: Michael Hsu <mhsu@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78014 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: Rce53517f848fad76dfb639d6c43882a00cfb1f31
2013-09-14net: usb: raw-ip: Avoid urb submit if usb interface disconnected.Michael Hsu
Do not submit rx urb if usb interface is disconnected. BUG 922418 Reviewed-on: http://git-master/r/74880 Change-Id: I42fa715307275b9d1175ef624acef6c098732261 Signed-off-by: Michael Hsu <mhsu@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77746 Reviewed-by: Automatic_Commit_Validation_User Rebase-Id: R8da40b33cf5afb72037244581820cf213f68e6f6
2013-09-14cdc_ncm: Modify NCM network interface.BH Hsieh
Adding FLAG_RMNET to change ncm net device name for Ericsson modem. Bug 901367 Change-Id: I4a029cc10a02176035319ed4ac1e7b9af349cbd1 Reviewed-on: http://git-master/r/74912 Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com> Signed-off-by: BH Hsieh <bhsieh@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/76459 Reviewed-by: Automatic_Commit_Validation_User Rebase-Id: R4fb64027673d2187118d778ec25caca209894e65
2013-09-14arm: tegra: comms: Cleanup code for RAW-IP network driver.Michael Hsu
In case of failure to load RAW-IP network driver, cleanup resources (memory, usb driver registration). Reviewed-on: http://git-master/r/67183 (cherry picked from commit 0fbfd527eccdf9a690db1a77d1ec4699bbdf44a8) Change-Id: I1cdfe941a71a6d43601c77196d7a61757680ed80 Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/74864 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/75540 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R0a4a45a7eea4a448b00142d6fda0db27cb9d5c61
2013-09-14net: usb: raw-ip: Fix kernel panic in RAW-IP network driverMichael Hsu
For RAW-IP network driver, use async version of autopm calls since it might be called in interrupt context. Change-Id: Ie8ab3fd1ab1268d01d3e9333d2b27a1b3ccf0686 Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/69890 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R9617c828d746832873d789162633f92de48f6ddf
2013-09-14arm: tegra: comms: Fix file permission.Michael Hsu
Cannot have source file execute permission set, due to upstreamability rules. Reviewed-on: http://git-master/r/63893 (cherry picked from commit 4a5bc78eb59fa4ca289883c716f87054b231d66d) Change-Id: Ide67423f2acc477d9322ac06fd60b81d6a146589 Reviewed-on: http://git-master/r/66527 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Ree193fb0e103e8104625148be76bed93d4e50046
2013-09-14arm: tegra: comms: Enable autopm for RAW-IP network driver.Michael Hsu
Autoresume usb interface before tx and autosuspend after tx completes. Also mark last busy time to prevent autosuspend until some idle time has occurred. Reviewed-on: http://git-master/r/63993 (cherry picked from commit cfbe77e471d96feda7efd3d8e3f35114a7a32bf7) Change-Id: I4f419ea29aad6a06b786e6ffb8b17b2016c6e21d Reviewed-on: http://git-master/r/66528 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Rebase-Id: R76d1761a632abc1d05563016f046d60c7b68853a
2013-09-14arm: tegra: comms: Allow variable number of RAW-IP interfaces.Michael Hsu
Use module variable to allow dynamic configuration of number of RAW-IP network interfaces. BUG 853232 Reviewed-on: http://git-master/r/59447 (cherry picked from commit 0fbbd5191c3f1bcd873a2f13edeb63050dab33c1) Change-Id: Ic53ba7a4f937b0d0def24129965be38cadcf774a Reviewed-on: http://git-master/r/62736 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R5f366227cd990e0101a37b85097afa87a9619b06
2013-09-14arm: tegra: comms: Fix RAW-IP rx after resume.pyu
Cancel pending rx urbs during suspend, and resubmit rx urbs after resume. BUG 853232 Reviewed-on: http://git-master/r/52855 (cherry picked from commit 6af7fd6d2d43455f2ca54dcacd2f46197410c578) Change-Id: I33d4cb5180e2e9590a8f58103c83e0d5d5f182fc Reviewed-on: http://git-master/r/62735 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R1ad5e21ee2513aa977d96d7e3ae89d80c69fbb28
2013-09-14driver: net: usb: SMSC: Add device id for new SMSC chipManoj Chourasia
Reviewed-on: http://git-master/r/54978 Change-Id: I53354ce4aca988afc619d3efa60c0b13381b3997 Reviewed-on: http://git-master/r/62052 Tested-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R08103b51a1c99f565bff42b615268277e4bf06ae
2013-09-14usbnet: Fix data transfer issue for website browsingpyu
The parameter of NET_IP_ETHERTYPE needs to be configured correctly for ethernet header and then can transfer data properly. BUG 870395 Reviewed-on: http://git-master/r/51986 (cherry picked from commit 89bf27954e890e11a11ce45b12fcfce68ad0a45c) Change-Id: I95c81b73072fe0c64b7cc7fcee0a2a6857969500 Reviewed-on: http://git-master/r/59103 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R512dbe7fc37c82dc158ca933ea78fd04b3366821