summaryrefslogtreecommitdiff
path: root/drivers/net
AgeCommit message (Collapse)Author
2011-11-03arm: 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/#change,52855 (cherry picked from commit 6af7fd6d2d43455f2ca54dcacd2f46197410c578) Change-Id: I781896a6df97adbcb0a96ad5670d874c26570671 Reviewed-on: http://git-master/r/61787 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2011-11-02net: wireless: bcm4329: Fix build with gcc-4.6.1Stephen Warren
Add a couple -Wno-error options when building with the new toolchain; it's stricter. These can be removed once the code is fixed not to cause warnings (see bug 888158). Bug 830289 Change-Id: Ief25d3c1767599a5d1a86cda260af71b5346cee6 Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-on: http://git-master/r/57607 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-09-30driver: net: usb: SMSC: Add device id for new SMSC chipManoj Chourasia
(cherry picked from commit b8079920704fe31d2309a6c4af9a1399757f1e5f) Change-Id: Id487b394056e0b02cda7f772209db1d304cf9af3 Reviewed-on: http://git-master/r/54978 Tested-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Michael Hsu <mhsu@nvidia.com>
2011-09-30usbnet: 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 Change-Id: I9ac9e5e5653025a95de0194f5c835df56918fae6 Reviewed-on: http://git-master/r/51986 Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com>
2011-09-28net: r8168: add kernel integrationtegra-l4t-er-2011-09-28Mursalin Akon
Add proper kernel integration Change-Id: I723563f81b543eba023bc9b59288b28d11aef1ec Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/54113 Reviewed-by: Allen Martin <amartin@nvidia.com>
2011-09-26net: rtl8168: fix for packet receiption failure (HACK)Mursalin Akon
This is a (expected to be a) temporary hack to make the driver working. Without this CL, the ethernet device does not receive any packet. Change-Id: Iad9f39fe8f5d653e07f8213db2aa103c70aadb8f Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/52933 Reviewed-by: Allen Martin <amartin@nvidia.com>
2011-09-22net: initial population of r8168 driver codeMursalin Akon
The code is based on source from Realtek Web-site (as is). Source version: 8.025.00 Change-Id: Id8b380513ca95bd0b4ce7e4218cb5c1278730550 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/52726 Reviewed-by: Allen Martin <amartin@nvidia.com>
2011-09-19net: r8168: revert previous submissionsMursalin Akon
revert previous submissions and create the ground for a fresh start Change-Id: I42d022e46d359a1642d25a0da81a5fbe3fbc3e03 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/52725 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-09-15net: add support for rtl8168 (and related device) gigabit ethernetMursalin Akon
The code is based on source from Realtek Web-site. Source version: 8.025.00 Change-Id: I0ed32e516e1bd4bedfcdbd7fa23c94790d123916 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/52069 Reviewed-by: Allen Martin <amartin@nvidia.com>
2011-08-26net: wireless :bcm4329: disable sdio interrupts before wifi resetRahul Bansal
during system suspend if wifi is on but not connected, android sets RTC alarm to wake up system after 2 mins of system suspend to turn off wifi. during turning off wifi it was observed that BCM4329 MAC is giving spurious sdio interrupts which was causing lockup issue (mmc_lock) between sdio interrupt handling process and wifi stop process, to fix this issue sdio interrupts are disabled before giving MAC reset from host. Bug 834444 Bug 798783 Bug 796147 Bug 797230 Bug 780047 Bug 818687 (cherry picked from commit 113676ec197fc62b7dce23dad4e081c940319846) Change-Id: I810894ded26bcfb44cff52aba16f2a5dbcba8f28 Reviewed-on: http://git-master/r/47478 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-08-08cdc_ether: Force Tango cdc-ether to enumerate as wwan0Matthieu Vincenot
bug 860095 Change-Id: I889a990a2079b5e668c5668ac0a8af6aa0afd95a Reviewed-on: http://git-master/r/45552 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-25usbnet: Adding power management for raw ip driverSeshendra Gadagottu
Added PM calls for raw usbnet ipc drivers. This is basic version and needs to be extented for complete power management. BUG 828389 Change-Id: I77fbf3bf6badfb624f805f68b73fdb5ba617e30c Reviewed-on: http://git-master/r/40790 Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-07-15arm: tegra: net: Support multiple RAW-IP devices.Michael Hsu
Change RAW-IP network driver to support multiple instances. Bug 818895, 847608 Change-Id: I30d79a4af38611693c0cc4e045f6ec50a6baff7d (cherry picked from commit 32bacea781788f43fdf16d1f9edc782e9d599c41) Reviewed-on: http://git-master/r/39313 Tested-by: Wang-Kai (WK) Tsai <wtsai@nvidia.com> Reviewed-by: Wang-Kai (WK) Tsai <wtsai@nvidia.com> Reviewed-by: ChihMin Cheng <ccheng@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-08Merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Deepesh Gujarathi
Change-Id: I9b4c381b114ee459e3bed56176cc1e1e93547b7c
2011-06-01Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-05-23ARM: usb: Add enterprise A01 modem to the cdc ether device listSteve Lin
Adding enterprise A01 modem to the cdc ether device list. Bug 800301 Change-Id: Iafe75c813f0c58c9703a627fbc8b17413ac1a7ed Reviewed-on: http://git-master/r/32259 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-18net: wireless: bcm4329: Update example locale tableDmitry ORNATSKYY
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-05-18Merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: Ib689952b7ac2e486761787b3eee08afa5df92683
2011-05-12Merge branch 'android-2.6.36' into android-tegra-2.6.36Colin Cross
2011-05-11usbnet: Add RAW-IP network driver.Michael Hsu
Add RAW-IP network driver for use with modems such as XMM6260. Change-Id: Ifc863c50fd918eccec63895c82f10fc32f6b8b6f Reviewed-on: http://git-master/r/30640 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-11net: wireless: bcm4329: Reduce listen interval to 10 (from 20)Dmitry ORNATSKYY
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-05-11Merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/usb_phy.c drivers/usb/gadget/fsl_tegra_udc.c drivers/usb/host/ehci-tegra.c drivers/video/tegra/dc/dc.c Change-Id: I62d72b8b96d4039bd0d253583c415ae714fb2693
2011-05-10net: wireless: bcm4329: Add new and default wifi locale supportDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-05-02Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-04-26ARM: usb: Add PH450 modem to the cdc ether device listSteve Lin
Adding PH450 modem to the cdc ether device list. The modem network interface is assigned as wwan0, which is fully supported by the GB telephony framework. Bug 800301 Original-Change-Id: I616aa5e39a336a47c5f72baec02be6ff8d958859 Reviewed-on: http://git-master/r/28389 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Change-Id: Ice65d33a5d31b0abea4e0b8c73a02a6cca7f662c
2011-04-26net: wireless: resolve uplink udp iperf failureRakesh Goyal
makeing dhd_doflow true and changing queue size to resolve udp iperf uplink error/warning messages mentioned below write2 failed: Connection refused read failed: Connection refused [ 3] WARNING: did not receive ack of last datagram after 1 tries. BUG 789046 Original-Change-Id: Iadea7e74bece039b4656c495c11e551f625fd4e0 Reviewed-on: http://git-master/r/21462 Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: I87ac5570785a7613eb655410ac22aaa1c5b94b5d
2011-04-26driver: wireless: removing compilation errorRakesh Goyal
warning is treated as error do checking the condition and increasing DHD_REGISTRATION_TIMEOUT Original-Change-Id: I369eda5d629c887bee3f79f9edc8a64bf6df5aa5 Reviewed-on: http://git-master/r/16990 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Change-Id: I835479bf59524735d059b5450bc380766b933e56
2011-04-26net: wireless: bcm4329: Prevent working thread to run during suspend pathDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-04-25merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mm/proc-v7.S drivers/video/tegra/dc/dc.c Change-Id: I40be0d615f14f1c01305388a706d257f624ba968
2011-04-22Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-04-20net: wireless: bcm4329: Clean ARP offload table on IP updateGreg Goldman
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-04-19net: Reorder incoming packets in PPPoLAC and PPPoPNS.Chia-chi Yeh
PPP handles packet loss but does not work with out of order packets. This change performs reordering of incoming data packets within a sliding window of one second. Since sequence number is optional, receiving a packet without it will drop all queued packets. Currently the logic is triggered by incoming packets, so queued packets have to wait till another packet is arrived. It is done for simplicity since no additional locks or threads are required. For reliable protocols, a retransmission will kick it. For unreliable protocols, queued packets just seem like packet loss. Time-critical protocols might be broken, but they never work with queueing anyway. Signed-off-by: Chia-chi Yeh <chiachi@android.com>
2011-04-14net: caif: added tegra specific caif for rainbow modem.Sheshagiri Shenoy
- added the tegra dependent layer of the caif protocol. - integrated with the open source rainbow caif. - verified the functionality using latest rainbow RIL. bug 785523 Change-Id: I75be8d2ef6e5562facf902a3f963f34d241bb6c3 Reviewed-on: http://git-master/r/23421 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-28net: wireless: bcm4329: Enable SDIO_ISR_THREAD flag.Rahul Bansal
In case of inband interrupts i.e SDIO CARD INT, two level of thread switching takes place to process wifi interrupts one in SDHCI and the other in Wifi driver if "SDIO_ISR_THREAD" flag is disabled. Enabling "SDIO_ISR_THREAD" flag will prevent deferred MAC interrupts processing because it is preventing thread context switching in wifi driver. Bug 789444 Bug 787054 Bug 795460 Change-Id: I4b00b5a1a3127380699c958d802e5d823078896e Reviewed-on: http://git-master/r/24273 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-28net: wireless: bcm4329: Fix delayed scan list after wifi turn-on.Rahul Bansal
Initiate broadcast scan (active scan) just after initializing with network interface. BUG 781501 Change-Id: I6c9bc7b458fff604c12ea3c94c4d4a5255b3bb91 Reviewed-on: http://git-master/r/23216 Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Tested-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-23net: wireless: bcm4329: Increase backplane clk delay.Rahul Bansal
During suspend/resume wifi chip's power mode is changed and this impacts chip's internal registers reading/writing. Delaying reads/ writes to wifi chip from HZ/100 to 3*HZ which gives time for chip to settle its state. BUG 798783 Change-Id: Ie9c06c2d03fb38b6fba5acca48490d12c358e496 Reviewed-on: http://git-master/r/22150 Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Tested-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-21merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: I517760af5756279b41836062063bdcaa04e5bfef
2011-03-15Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-03-10net: wireless: bcm4329: Allocate skb with GFP_KERNEL flag if possibleDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-03-09net: wireless: bcm4329: Disable wake irq at driver stopDmitry Shmidt
Previously at driver stop interrupts were not disabled and might cause never-ending waking up Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-03-08cleanup: Change source file permissions to 0644Dan Willemsen
Change-Id: Id030cc94db62c9dcaa79a2ddd7c034ac9f9adc61 Reviewed-on: http://git-master/r/21803 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-03usb: fix the order of the device id defined in the ncm driverSteve Lin
Bug 776360 Change-Id: I78bb82071a21ef314285a50dd753652d7925cbb7 Reviewed-on: http://git-master/r/20493 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-21merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: drivers/net/wireless/bcm4329/Makefile Change-Id: I5e6994d4db216062b9cd1673f45bd9fdcf1f96ae
2011-02-18Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-02-18net: wireless: bcm4329: Fix disable pno callGreg Goldman
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-02-18usb: Adding USB CDC NCM class driver.Steve Lin
This driver supports devices conforming to the Communication Device Class (CDC) Network Control Model. The CDC specifications are available from <http://www.usb.org/>. This driver is implemented as a minidriver for usbnet driver framework. Bug 776360 Change-Id: If5e900f80edebc742536a59716aad546b714ba4c Reviewed-on: http://git-master/r/14921 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-16Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-02-15merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: drivers/net/wireless/bcm4329/Makefile Change-Id: I13ed89657bb43ac906c6424372050df5fd681374
2011-02-14net: wireless: bcm4329: Get country translation from platform dataDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-02-14Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin