aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/cmc7xx
Commit message (Collapse)AuthorAgeFilesLines
* net: wimax: suspend and resume issue in JBsangamanatha2012-05-101-0/+18
| | | | | | | Added suspend and resume handlers in wimax driver. This will avoid sdio power off during suspend. Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: Padding problem fix.JP Abgrall2012-04-091-3/+1
| | | | | | | | skb.len adjustment on 64 byte boundary is not needed. Some sites and ping test resulted in packet send fail. Change-Id: Ic2cb5db9c732838ba4ca0c5ba44078bbecae75e7 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: driver panic because of mmc debug logsangamanatha2012-04-092-1/+5
| | | | | | | | | | | | | | | | Wimax driver probe function set the firmware download timeout to 5sec. The debug logs in mmc/sdhc, results into f/w download timeout. But the receive thread continue to download the f/w image which is freed in probe function. 1. Increased the firmware download timeout to 12sec to include the debug output delays. 2. Released the receive thread immediately in case of f/w download timeout and before freeing the f/w image(wimax_image.data). Change-Id: Ibc39ace5a1b1a0e8df237d5df68d425bad9f29e7 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: fix system process not responding ANR.JP Abgrall2012-04-095-2/+21
| | | | | | | | | | | | | | | | | | | | This patch fixes the issue "5704273 system process not responding ANR every time after soft reboot of device". Issue can be reproduced by soft rebooting the device: adb root adb shell stop adb shell start The ANR was due to wimax power on fail due to wimax firmware download failure. The modem was not responding after driver send MSG_DRIVER_OK_REQ during f/w download process. The issue is fixed by retrying the MSG_DRIVER_OK_REQ again after waiting for 100ms, in case failed to get MSG_DRIVER_OK_RESP. Change-Id: Id6c9e4ae53dfcf9f1755cd8c9b5946f8a2c926aa Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: redundant wakeup_assert removed.sangamanatha2011-11-171-2/+0
| | | | | | | | wakeup_assert will be done in send thread after queuing the packet, no need to do in control_send function. Change-Id: Icea139c3129df4bf90328ef3c948bae6156f3df0 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: prevent dpm timeout during device busysangamanatha2011-11-172-2/+11
| | | | | | | | Added mutex_trylock to check device busy state. added wake_lock to avoid suspend during send. Change-Id: Iaae7c952b3718e66e50eb26639415e4afc4b3d22 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* Revert "net: wimax: prevent dpm timeout in send during suspend"sangamanatha2011-11-172-8/+10
| | | | | | | | | The removed mutex has an importance in maintaining concurrency in send and suspend code. So will be keeping the mutex and adding mutex_trylock in suspend code. This reverts commit 7b3fa7a7bf7027a8effa3cbe927e59d553a4503b.
* net: wimax: prevent dpm timeout in send during suspendsangamanatha2011-11-172-10/+8
| | | | | | | | | removed the mutex lock in wimax suspend which might hold driver suspend for long time causing dpm timeout. packet send error not handled in case data send during suspend. Change-Id: I28f24e14dd6451db3065d0a170b8d2ec035e4112 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: cmc7xx: alloc with GFP_ATOMIC in ctrlRom Lemarchand2011-11-171-2/+2
| | | | | | | Using ATOMIC in control_send as it is scheduled under atomic. Change-Id: I44840db77b9867b8e53f87f245aa062b35824cba Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: cmc7xx: alloc with GFP_ATOMIC in xmitsangamanatha2011-11-171-2/+2
| | | | | Change-Id: Ibf65e0c0f9d93b2a09a56a908380e96807edb473 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: cmc7xx wimax modem state recoverysangamanatha2011-11-172-3/+10
| | | | | | | | | Added error handling code to recover from the modem Idle state. mutex unlock set during error return case. Change-Id: Ic512283412c72d5d0a09dec4f308ec9704323e75 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: cmc7xx: release host when data send failssangamanatha2011-11-171-0/+1
| | | | | Change-Id: Iaf20886b8541f227c1f36a714b1dc4b40c8ae5ec Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: wimax: cmc7xx improved error handlingsangamanatha2011-11-172-6/+12
| | | | | | | | | | Driver changes to handle the modem Idle Wakeup fail condition. It will prevent the driver to go into unusable state in case modem did not wakeup. State change avoided in send.c as it will not affect operation Indentation changed. Code cleanup. Change-Id: I92e72abfe30a15d1b765dd119c34d7447ce88ea8 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net:wimax: Wimax Driver code clean upsangamanatha2011-11-1714-767/+590
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed Kconfig in Wimax driver for debug enabling Added the new config flag for wimax driver debug logs. uwbrdev_open race condition removed check, which is not needed. Fixed the Index error in passing platform device data. Added for loop to passing driver platform data to different device id's. Removed all the global variables : g_pdata, g_adapter, g_wimax_image are removed and data passed through the id and used containerof(). Resume and Suspend Handlers: Implemented Resume and Suspend handlers for Wimax driver through platform device. Fixed the Kernel error message when WiMAX is enabled. Added wimax log enabling. Removed the global variable used for f/w download, and added file headers. Used the standard linux api for the linked list. Removed buffer.h and redundant codes. Change-Id: I022ae6bb1eb13947fe1b41bf1f4915997dbbf560 Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
* net: cmc7xx: fix NOHZ local_softirq_pending 08 warningRom Lemarchand2011-11-171-1/+1
| | | | | | | | This patch replaces netif_rx() with netif_rx_ni() since that call is not made from interrupt context which was the reason for all the warnings in the logs. Change-Id: Id65a619b8de05806448bba4cb203c4cadf04a48e Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* net: wimax: CMC732 WiMax chip driversangamanatha2011-11-1714-0/+2814
Initial support for the CMC732 WiMax chip. Change-Id: I0689033bcfcfeb04d8f8b7a3b14ec5eec9dc8fbe Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>