summaryrefslogtreecommitdiff
path: root/drivers/net (follow)
Commit message (Collapse)AuthorAge
...
* | | | wil6210: Set permanent MAC address to wiphyHamad Kadmany2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAC address of wil6210 was not set in wiphy Change-Id: I5018f40be6a71b4b8c7c3ee94c8e70cfa1fb373a Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com> Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: b42f11963f7bd8c54d0a28d679c13d9e83b85357 Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 987415 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | wil6210: AP: prevent connecting to already connected stationMaya Erez2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wmi_evt_connect doesn't check if the connect event is received for an already connected station. This can lead to memory leak as a new vring is allocated without freeing the previously allocated vring and to unexpected behavior of nl80211 layer due to unexpected notification of a new station. Add a check in wmi_evt_connect in AP mode to verify that the requested CID is not associated to an already connected station. Change-Id: I0e438d437154b1b47c572218072a736da5013c80 Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: 3d287fb398c03189a1394778162f6404e4d44ad2 Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982882 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | wil6210: remove BACK RX and TX workersMaya Erez2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WMI synchronous handling has changed and WMI calls that provide a buffer for the reply are completed in the WMI interrupt context. This allows sending the RX and TX BACK commands from the WMI event handler without the need for the worker thread. This is a better approach as it can decrease the handshake time in the connect flow and prevent race conditions in case of fast disconnects. An example for such a race is handling of wil_back_rx_handle during a disconnect event, as wil_back_rx_handle is not protected by the wil mutex and a disconnect can be handled after sta->status is verified as connected. Change-Id: I7d6e3cf5e8abab45da5febc0129fb67830d9e6cb Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: 361486b27c7e57dab657dbffd1e17818c7911c72 Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982882 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | wil6210: add support for platform specific notification eventsMaya Erez2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the ability to notify the platform driver on different events, such as FW crash, pre reset and FW ready. Change-Id: I796b06fae4376cda792d7f26a430ad4580899846 CRs-Fixed: 986135 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | wil6210: TX vring optimizationHamad Kadmany2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tx vring needs to be enlarged to get better performance for traffic over 2Gbps. Change-Id: Ia78ddf6f5243a8d28c3bfdfc29e0eb512658d0a7 Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com> Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: ee5dfe0d240e21afe63bdd77bf1d4a386203aa6e Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982882 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | wil6210: protect synchronous wmi commands handlingMaya Erez2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case there are multiple WMI commands with the same reply_id, the following scenario can occur: - Driver sends the first command to the device - The reply didn’t get on time and there is timeout - Reply_id, reply_buf and reply_size are set to 0 - Driver sends second wmi command with the same reply_id as the first - Driver sets wil->reply_id - Reply for the first wmi command arrives and handled by wmi_recv_cmd - As its ID fits the reply_id but the reply_buf is not set yet it is handled as a reply with event handler, and WARN_ON is printed This patch guarantee atomic setting of all the reply variables and prevents the above scenario. Change-Id: I7eac78d7beb90436d24468547aeb789f7c8ec878 Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: fe5c271e2878fb080f1b32fec5b4e3f7a6070152 Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982882 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | wil6210: wait for disconnect completionVladimir Kondratiev2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfg80211_ops.disconnect() should wait for disconnect flow to complete. If it does not, internal state becomes out of sync with one in cfg80211. If one does stress test connect/disconnect sequence, cfg80211 will issue next connect before disconnect completed internally. Change-Id: I66a6a23239710c85b9cdb5824c205692c4b53866 Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: 78771d76f826202012201d700028a2d866d03fb3 Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982882 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | wil6210: prevent access to vring_tx_data lock during its initMaya Erez2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wil_tx_vring locks the vring_tx_data lock before accessing the TX vring to check if it is enabled and valid for use. In case of quick disconnect / connect events for the same station, spin_lock(&txdata->lock) can be called during the lock initialization in the vring init function. To prevent such a race, the TX vrings spin lock should be initialized once during wil6210 driver initialization. Change-Id: I11fa67f7040c4a728f0cd7633f4fbb829ac165d0 Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> git-commit: 875e94392ad2be9776c8325d3573160eb1455a2b Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982882 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | cnss: Add Pinctrl Framework to control antenna sharing GPIO 38Komal Seelam2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize PinCtrl Framework for SDIO platforms to support antenna sharing. The antenna sharing is enabled only for platform which has PCIe QCA and SDIO QCA chipsets. CRs-Fixed: 990796 Change-Id: Ib3da0ce52ef46deae2ba49e4f39808effe18457d Signed-off-by: Komal Kumar <kseelam@codeaurora.org>
* | | | net: cnss: add cnss common api support for dual WiFiSarada Prasanna Garnayak2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add common api support of subsystem restart and bus bandwidth for dual wifi. This feature redirect the cnss export api according to the bus type SDIO/PCI. CRs-Fixed: 986275 Change-Id: Iaf13d6c6d68ef62b7e4f6581899ec8325c5e9696 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | wcnss: Access boot remap address registerSunkad, Anand Ningappa2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dump boot remap address register for having more debug information about boot remap address for pronto. CRs-Fixed: 989321 Change-Id: I072718da718cc2553d0234af327662958e1758b9 Signed-off-by: Sunkad, Anand Ningappa <asunka@codeaurora.org>
* | | | cnss: Implement API to store WLAN MAC address in platform driverKomal Seelam2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WLAN Functional Drivers Queries cnss platform driver to get the MAC Address. If the OEM doesn't provide the valid MAC address, the WLAN Driver fallbacks to use other approaches to get MAC address. This works under CONFIG_CNSS_MAC feature flag, which will be enabled only on the OEM platforms. For internal platforms, CNSS driver doesn't hold any valid mac addresses. CRs-Fixed: 985585 Change-Id: I1e8a030a32a640cec84cadd6b36b37938d5fe6be Signed-off-by: Komal Kumar <kseelam@codeaurora.org>
* | | | net: cnss: add subsystem restart support for dual WiFiSarada Prasanna Garnayak2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subsystem device add support for subsystem restart recovery and ramdump device for cnss firmware dump collection before the subsystem restart. Refactor subsystem restart wrapper APIs to avoid the name space collision in cnss platform driver compilation in dual WiFi mode. CRs-Fixed: 983677 Change-Id: Ib4a8d1a6d0ce8f1faa43ce0aa8312823b1ca3c15 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | net: cnss: add PM QoS support for dual WiFiSarada Prasanna Garnayak2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PM QoS adds support to improve the wlan throughput. The cnss platform driver export PM QoS API to wlan host driver. Refactor PM QoS wrapper APIs to avoid the name space collision in cnss platform driver compilation in dual WiFi mode. CRs-Fixed: 983653 Change-Id: Id7a486f2f111476e73d5707eba36611a3530e9cf Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | net: cnss: add DFS NOL support for dual WiFiSarada Prasanna Garnayak2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store WiFi DFS NOL list and return to wlan host driver on query. It adds support for no link operation on radar detection. This export symbol supported by both SDIO and PCIe platform driver. So add this API as a common API for both SDIO and PCIe interface based wlan module and remove the duplicate API from the SDIO and PCIe platform driver. CRs-Fixed: 983618 Change-Id: Idc25806de6f919b88130a1633adbb7bc1048ecd5 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | net: cnss: add unsafe channel list support for dual WiFiSarada Prasanna Garnayak2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store WiFi unsafe Channel list and return to wlan host driver on query. It adds support WiFi unsafe Channel list for LTE-WiFi coexistence. This export symbol supported by both SDIO and PCIe platform driver. So add this API as a common API for both SDIO and PCIe interface based wlan module and remove the duplicate API from the SDIO and PCIe platform driver. CRs-Fixed: 983607 Change-Id: I1698df3fb689ef17294e00032adde5ae635e76de Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | msm: ipa: snapshot of IPA changesSkylar Chang2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This snapshot is taken as of msm-3.18 commit d5809484b (Merge "msm: ipa: fix race condition when teardown pipe" ) Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | msm: ipa: upstream files for ipa usb-tetheringSkylar Chang2016-03-23
| | | | | | | | | | | | | | | | Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | net: ethernet: add MSM MHI RMNETTony Truong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the necessary source to ethernet Kconfig so MSM MHI RMNET can be seen and enabled in defconfig. Signed-off-by: Tony Truong <truong@codeaurora.org>
* | | | mhi: Use standard kernel return codesTony Truong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the MHI defined enum for return codes with kernel standard return codes. This greatly improves readability and parsing of errors by userspace clients. Change-Id: Ica47f8c3a149f23243b5fb6a4aabcdc0a36b1535 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Signed-off-by: Tony Truong <truong@codeaurora.org>
* | | | mhi: Enable logging based on defconfig optionTony Truong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable logging based on MHI defconfig option. This avoids excessive logging in secondary boot image. Change-Id: Ie22d56d781feadb2d484e6117c9c25ee29aa5299 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Signed-off-by: Tony Truong <truong@codeaurora.org>
* | | | mhi: rmnet: Enable virtual MHI queueingAndrei Danaila2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the queueing of virtual buffers to MHI instead of buffers obtained from streaming DMA. Change-Id: I3f77c7d5d9924659ce13e454646d5a65402353cc Signed-off-by: Andrei Danaila <adanaila@codeaurora.org>
* | | | wcnss: Access A2xb split timeout limit registerSunkad, Anand Ningappa2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dump A2xb split timeout limit register, while dumping pronto register dumps during pronto subsystem restart. To check a2xb split time out value configured. CRs-fixed: 975027 Change-Id: I1480d23b14f26dad59a552293e38bad9916ef0e4 Signed-off-by: Sunkad, Anand Ningappa <asunka@codeaurora.org>
* | | | cnss: Use correct regulator APIs for 4.4 kernelYue Ma2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 4.4 kernel, regulator_set_optimum_mode() is replaced by regulator_set_load(). Hence update it accordingly for CNSS driver in 4.4 kernel to avoid compilation issue. Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | cnss: Expose dump stack functionalityAbhishek Singh2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to expose dump stack functionality which can be used by driver to dump stack information when it requires. CRs-Fixed: 979886 Change-Id: Ib929ad0a510b996ac54d17afd2957ea487c62851 Signed-off-by: Abhishek Singh <absingh@codeaurora.org>
* | | | cnss_prealloc: Dump the call stack if there is no memory availableYue Ma2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dump the call stack if there is no memory available from the prealloc pool in order to get the source of the memory allocation. Change-Id: I0b523e82638410ea679f1d9d3f4bb56703ed9100 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | net: cnss: refactor PM QoS request wrapper APISarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make PM QoS request API generic to pass the type of latency requirement needed by the client instead of hard coding latency type. Add latency type as a function parameter. CRs-Fixed: 972761 Change-Id: Ic912148d2068fe8a758b6a4b3be570ccf870f03a Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | net: cnss_prealloc: Add memory for high latency SDIO interfaceSarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan driver transport layer pdev handler needs 128kb pre allocated memory in a single block memory allocation for transmit/receive descriptor initialization in wlan startup for the wlan module with high latency(SDIO) based hardware interface. CRs-Fixed: 978073 Change-Id: I0dbe047a7b64e96bf32470702d1b3e3088bffcf7 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | net: cnss_sdio: add PM QoS support in cnss sdio platform driverSarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To improve the wlan throughput add power management quality of service support in cnss sdio platform driver. The cnss sdio platform driver export PM QoS API to wlan host driver. CRs-Fixed: 970872 Change-Id: Idcea4cde74b280b26706be1bd88b822de80c0ff3 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | cnss: Update prealloc memory tableYue Ma2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The memory size of a slot in the prealloc table should be order of 2, otherwise some memory will be wasted since kernel only allocates contiguous physical memory in pages by order of 2. Change-Id: I762ad490d300f8b622a3ed1f9ccbe2af2d926c49 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | cnss: Fix a boundary check bug in cnss prealloc driverYue Ma2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the driver gives a memory slot only if its size is greater than the memory requested by the caller. This will waste a bigger slot if the memory requested is equal to the slot size. Hence fix it by adding the equal check when a memory slot is requested. Change-Id: Ib48477607e9332c8942894301ead606a31fa3284 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | wcnss: Remove dump of SAW2 registersSunkad, Anand Ningappa2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove dump of SAW2 registers in case of wcnss abort to avoid kernel panic. CRs-Fixed: 967730 Change-Id: I08f9ca6268575b2d6d1e266353a98714fbeeee10 Signed-off-by: Sunkad, Anand Ningappa <asunka@codeaurora.org>
* | | | Net: CNSS_SDIO: Add cnss_get_restart_level CNSS APILiangwei Dong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | export cnss_get_restart_level cnss API for wlan driver to get current subsystem restart level. Change-Id: I7e5d9b0055707bbad06b6cd1496723da6c28d4d5 CRs-Fixed: 961579 Signed-off-by: Liangwei Dong <liangwei@codeaurora.org>
* | | | cnss: sdio: Define OOB interrupt interfaces.Kai Liu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define the OOB interrupt interfaces in case that internal interrupt is unsupported in some platforms. In some specific platform, only polling mode is supported, with these OOB interrupt interfaces implementation, it will support interrupt mode. To be generic, this OOB feature is default unsupported. Change-Id: I3b38e59bd7fdb441c85eb82a79cf9c951ca32130 CRs-Fixed: 937303 Signed-off-by: Kai Liu <kaliu@codeaurora.org>
* | | | cnss: Vote for the WLAN antenna switch regulatorYue Ma2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some targets, explicitly turning on/off the regulator for WLAN antenna switch is needed to enable/dsiable antenna sharing capacity. Hence add the change to achieve this based on device tree option. Change-Id: Ic04019cbe9c42bc92a65f308f56f307c52346d92 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | can: Add multi-channel support to RH850Alex Yakavenka2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | RH850 can support 4 channels. Change-Id: Iacba77fbec7d8952c94b8cdff0efd66669c52e63 Signed-off-by: Alex Yakavenka <ayakav@codeaurora.org>
* | | | cnss-sdio: Dynamically allocate ramdump memoryKomal Seelam2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing solution to reserve the memory region for CNSS ramdump collection has it's own limitations because of reserving the memory region for each platforms even before CNSS driver is probed. Add implementation to allocate the required memory for CNSS ramdump using dma_alloc_coherent API and update the physical address in dump table so that tools can find the starting address of the CNSS ramdump in the crash dump. Change-Id: I9fb3d77fdd35de54ca2a7a27d4a55bd12049311f Signed-off-by: Komal Seelam <kseelam@codeaurora.org> CRs-Fixed: 957203
* | | | net: wireless: add conditional compilation flag for cnssSarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor cnss wlan module for PCIe and SDIO based interface wlan module. Add config flag CONFIG_CNSS for the cnss wlan module compilation. CRs-Fixed: 957132 Change-Id: I5043b8024b5cc342325b126fa4ccd7d76b0f8540 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | Net: CNSS_SDIO: Add SSR support for QCA WIFI DevicesLiangwei Dong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Register subsystem device for SSR recovery. Create ramdump device for cnss fw dump collection. Implement cnss SSR API to wlan sdio driver. CRs-Fixed: 944010 Change-Id: If81fd84bb6080df73b12f235a2aa0eff6f717ce1 Signed-off-by: Liangwei Dong <liangwei@codeaurora.org>
* | | | cnss: Remove unwanted pci resume call during system resumeKomal Seelam2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msm_pcie_pm_control is an exported pcie API to request for PCIe link suspend/resume for auto suspend feature. The auto suspend feature now moved to use the runtime pm framework which is handles the PCIe link suspend/resume as part of runtime pm callbacks. Hence removing the unwanted resume call in system resume callback. Change-Id: I0e56f228f819eb3a6fc6a0c732b4e5adc0cc82b0 CRs-Fixed: 952659 Signed-off-by: Komal Kumar <kseelam@codeaurora.org>
* | | | cnss: Recover PCIe configuration space during normal WLAN recoveryYue Ma2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During normal SSR there is a corner case that somehow WLAN driver fails to read PCIe configuration space which can result corruption when it tries to save it. Hence recover PCIe configuration space from shadow registers as well in normal SSR. This is same as the recovery for real PCIe link down. Change-Id: I2bae0f2e322829a9689d3a129145b54c079dccdf CRs-fixed: 886245 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | net: wireless: decouple cnss crypto from cnss memory pre-allocSarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cnss crypto add support for wlan host driver for security Protocol and cipher key generation where cnss memory pre-alloc feature enable wlan driver to use pre allocated memory for its internal usage and release it to back to pre-allocated pool. Decouple cnss crypto from cnss memory pre-alloc and add kernel config flag for this crypto module compilation and update the defocnfig of required targets. CRs-Fixed: 949992 Change-Id: If34819fd76076ba522a9a42ac41fdae1f541f5c8 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | can: Add RH850 CAN controller driverAlex Yakavenka2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver creates network device of type CAN and processes tx and rx frames that it sends and receives over SPI. Change-Id: I903927d5bb0025c2ad3e9f1dd7cb51de547fc360 Signed-off-by: Alex Yakavenka <ayakav@codeaurora.org>
* | | | net: cnss: add config flag for cnss common compilationSarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cnss common kernel module export symbol to WLAN host driver for ROME based wlan module. Add kernel config flag CONFIG_CNSS to make this module compilation only for ROME based target. Change-Id: Ia352f0b561f3ec5a53f0d48fd849e43caf4e44a2 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | net: cnss: Enable cnss for QCA SDIO/PCIe WLAN ModuleSarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WLAN module needs platform driver support to power up QCA Chip. Build Platform component independent of CONFIG_CNSS. Change-Id: I644a42d500c864f7997b9ad6038852fc907ff480 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | | Net: CNSS_SDIO: add sdio wlan driver registrationLiangwei Dong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move sdio wlan func driver interface(includes Suspend and Resume)registration from wlan cld driver to cnss_sdio driver. wlan cld driver provides callback functions to cnss_sdio driver by cnss_sdio_wlan_register_driver API. CRs-Fixed: 944931 Change-Id: If9cec25024c5840e043fc652a7f0c7df4d83f4e9 Signed-off-by: Liangwei Dong <liangwei@codeaurora.org>
* | | | wcnss: Expose dump stack functionalityPadma, Santhosh Kumar2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to expose dump stack functionality which can be used by driver to dump stack information when it requires. CRs-Fixed: 943322 Change-Id: I0fde7142dea2c18daf6b1fb0c5ee4bb8a31a6be0 Signed-off-by: Padma, Santhosh Kumar <skpadma@codeaurora.org>
* | | | net: cnss: disable CNSS flag for CNSS SDIOSarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable kernel config flag CNSS for SDIO based interface to avoid compilation in wlan host driver. Change-Id: I318148f467c3b313d4a0c94cba651d56787846d9 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | net: cnss: remove 3.3v PMIC gpio enable featureSarada Prasanna Garnayak2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PMIC gpio used for the 3.3v power supply to wlan has been converted to rome_vreg fixed regulator. This Fixed regulator shared by both WLAN and BT. Remove PMIC gpio enable dead code from CNSS SDIO platform driver. CRs-Fixed: 945575 Change-Id: Ifbb17e05969da25ec9a87844b4409e26f07fca69 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | net: cnss: enable rome_vreg_dsrc regulator for dsrcGovind Singh2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rome_vreg_dsrc regulator is a fixed regulator and this regulator is control by PMIC gpio4. This is being used as vdd supply for the wlan DSRC module based on sdio interface. Enable rome_vreg_dsrc voltage regulators to enable the power up support in CNSS SDIO platform driver. Change-Id: I7c6032b706d468cc57b5304a3627f526935fb3a3 Signed-off-by: Govind Singh <govinds@codeaurora.org>