summaryrefslogtreecommitdiff
path: root/drivers/net
AgeCommit message (Collapse)Author
2016-05-09msm: ipa3: enable rndis_ipa on msm-4.4Skylar Chang
Change the feature flag to compile rndis_ipa on cobalt target with msm-4.4 kernel, also fix the compile warnings. Change-Id: I82d3dd00e003d8eab63ca6bcc3bb91d51f122606 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-04-12wil6210: basic PBSS/PCP supportLior David
PBSS (Personal Basic Service Set) is a new BSS type for DMG networks. It is similar to infrastructure BSS, having an AP-like entity called PCP (PBSS Control Point), but it has few differences. For example, stations inside a PBSS can communicate directly, and the PCP role can be transferred between stations. This change adds PBSS support, and has 2 main parts: 1. When starting an AP, add an option to start as a PCP instead. This is implemented by a new PBSS flag which is passed as part of the cfg80211_ap_settings structure. 2. When connecting to a BSS, add an option to connect to a PCP instead of an AP. This is again implemented by a new PBSS flag, added to the cfg80211_connect_params structure. Change-Id: Ibfcbeb2df9857fecab4d42f0725d70d2a2fa4b98 Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: eabb03b4a37cc7945ca62453402c74a0622e5a05 Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982931 Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-04-05wil6210: disable PCIe relaxed orderingMaya Erez
In previous commit cd958296acba ("wil6210: enable WA for PCIe HW errata") relaxed ordering (bit 5) was set, in addition to the 'No snoop" setting. Enabling relaxed ordering can cause a race condition between the write transactions and interrupts when using INT instead of MSI. As relaxed ordering is not required to resolve the PCIe HW issue, it should be disabled. CRs-Fixed: 998870 Change-Id: I53113d6454de577d4e68f226975a078889d6b2c3 Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-04-05cfg80211: basic support for PBSS network typeLior David
PBSS (Personal Basic Service Set) is a new BSS type for DMG networks. It is similar to infrastructure BSS, having an AP-like entity called PCP (PBSS Control Point), but it has few differences. PBSS support is mandatory for 11ad devices. Add support for PBSS by introducing a new PBSS flag attribute. The PBSS flag is used in the START_AP command to request starting a PCP instead of an AP, and in the CONNECT command to request connecting to a PCP instead of an AP. Change-Id: I9f26a8ff8433268240eb9443befadc0d279a0293 [liord@codeaurora.org: added missing attributes to nl80211.h that were added in upstream kernel before the PBSS attribute, in order to keep the ABI compatible] Signed-off-by: Lior David <liord@codeaurora.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Git-commit: 00807f28573a101dc2833f0075e806b9874f306c Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982931 Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-04-05wil6210: switch to generated wmi.hLior David
Switch to auto-generated version of wmi.h which is maintained by FW team. This will allow better sync between teams in the future and avoid bugs because of unexpected API changes. The wmi.h will have many differences but most are cosmetic. It also includes these real differences: 1. is_go parameter added to BCON_CTRL and START_PCP commands. 2. max_rx_pl_per_desc added to CFG_RX_CHAIN command. 3. various small API updates that are not currently used by driver. Change-Id: I20921a97b02dce0507f58c4951ce539a2aae5597 Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: b874ddecae0a087aee024ef808c63060434a2d50 Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 987415 Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-04-05wil6210: add support for discovery mode during scanLior David
Add support for discovery mode during scan. When discovery mode is active, station transmits special beacons while scanning. This can optimize the scan mainly when there is only one AP/PCP around. Discovery mode is implicitly used by firmware during P2P search. Since there is currently no use case where user space has a reason to directly control discovery mode, we expose it only through a debugfs flag. Also fix name confusion in the wmi_scan_type enumeration. The type previously called WMI_LONG_SCAN is actually WMI_ACTIVE_SCAN. Change-Id: I05b99ec66b0da41697f41c547aab0b0497dd9be6 Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: 74997a53d257e327699e359b78b3ecfd33f80cab Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982931 Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-04-05wil6210: replay attack detectionVladimir Kondratiev
Check PN for encrypted frames. Maintain PN data for Rx keys, pairwise per TID and group. Print PN's in the debugfs "stations" entry, like: [0] 04:ce:14:0a:3c:3d connected [ 0] ([32] 0 TU) 0x0fe [____________________________|___] total 252 drop 0 (dup 0 + old 0) last 0x000 [ 0] PN [0+]000000000000 [1-]000000000000 [2-]000000000000 [3-]000000000000 [GR] PN [0-]000000000000 [1+]000000000000 [2+]000000000000 [3-]000000000000 Rx invalid frame: non-data 0, short 0, large 0, replay 0 Rx/MCS: 0 110 65 65 65 0 12 0 0 0 0 0 0 [1] 00:00:00:00:00:00 unused [2] 00:00:00:00:00:00 unused [3] 00:00:00:00:00:00 unused [4] 00:00:00:00:00:00 unused [5] 00:00:00:00:00:00 unused [6] 00:00:00:00:00:00 unused [7] 00:00:00:00:00:00 unused Change-Id: Ie6684664743694f004289da9ec041f685ec0c05e Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> 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: 58527421489dcc1110f6bcfd3b50d479199af4e0 Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 987415 [merez@codeaurora.org: add missing IEEE80211_GCMP_PN_LEN definition] Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-04-05wil6210: Set permanent MAC address to wiphyHamad Kadmany
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>
2016-04-05wil6210: AP: prevent connecting to already connected stationMaya Erez
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>
2016-04-05wil6210: remove BACK RX and TX workersMaya Erez
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>
2016-04-05wil6210: add support for platform specific notification eventsMaya Erez
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>
2016-04-05wil6210: TX vring optimizationHamad Kadmany
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>
2016-04-05wil6210: protect synchronous wmi commands handlingMaya Erez
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>
2016-04-05wil6210: wait for disconnect completionVladimir Kondratiev
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>
2016-04-05wil6210: prevent access to vring_tx_data lock during its initMaya Erez
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>
2016-03-25cnss: Add Pinctrl Framework to control antenna sharing GPIO 38Komal Seelam
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>
2016-03-25net: cnss: add cnss common api support for dual WiFiSarada Prasanna Garnayak
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>
2016-03-25wcnss: Access boot remap address registerSunkad, Anand Ningappa
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>
2016-03-25cnss: Implement API to store WLAN MAC address in platform driverKomal Seelam
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>
2016-03-25net: cnss: add subsystem restart support for dual WiFiSarada Prasanna Garnayak
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>
2016-03-25net: cnss: add PM QoS support for dual WiFiSarada Prasanna Garnayak
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>
2016-03-25net: cnss: add DFS NOL support for dual WiFiSarada Prasanna Garnayak
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>
2016-03-25net: cnss: add unsafe channel list support for dual WiFiSarada Prasanna Garnayak
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>
2016-03-23msm: ipa: snapshot of IPA changesSkylar Chang
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>
2016-03-23msm: ipa: upstream files for ipa usb-tetheringSkylar Chang
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-03-23net: ethernet: add MSM MHI RMNETTony Truong
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>
2016-03-23mhi: Use standard kernel return codesTony Truong
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>
2016-03-23mhi: Enable logging based on defconfig optionTony Truong
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>
2016-03-23mhi: rmnet: Enable virtual MHI queueingAndrei Danaila
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>
2016-03-23wcnss: Access A2xb split timeout limit registerSunkad, Anand Ningappa
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>
2016-03-23cnss: Use correct regulator APIs for 4.4 kernelYue Ma
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>
2016-03-23cnss: Expose dump stack functionalityAbhishek Singh
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>
2016-03-23cnss_prealloc: Dump the call stack if there is no memory availableYue Ma
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>
2016-03-23net: cnss: refactor PM QoS request wrapper APISarada Prasanna Garnayak
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>
2016-03-23net: cnss_prealloc: Add memory for high latency SDIO interfaceSarada Prasanna Garnayak
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>
2016-03-23net: cnss_sdio: add PM QoS support in cnss sdio platform driverSarada Prasanna Garnayak
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>
2016-03-23cnss: Update prealloc memory tableYue Ma
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>
2016-03-23cnss: Fix a boundary check bug in cnss prealloc driverYue Ma
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>
2016-03-23wcnss: Remove dump of SAW2 registersSunkad, Anand Ningappa
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>
2016-03-23Net: CNSS_SDIO: Add cnss_get_restart_level CNSS APILiangwei Dong
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>
2016-03-23cnss: sdio: Define OOB interrupt interfaces.Kai Liu
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>
2016-03-23cnss: Vote for the WLAN antenna switch regulatorYue Ma
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>
2016-03-23can: Add multi-channel support to RH850Alex Yakavenka
RH850 can support 4 channels. Change-Id: Iacba77fbec7d8952c94b8cdff0efd66669c52e63 Signed-off-by: Alex Yakavenka <ayakav@codeaurora.org>
2016-03-23cnss-sdio: Dynamically allocate ramdump memoryKomal Seelam
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
2016-03-23net: wireless: add conditional compilation flag for cnssSarada Prasanna Garnayak
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>
2016-03-23Net: CNSS_SDIO: Add SSR support for QCA WIFI DevicesLiangwei Dong
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>
2016-03-23cnss: Remove unwanted pci resume call during system resumeKomal Seelam
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>
2016-03-23cnss: Recover PCIe configuration space during normal WLAN recoveryYue Ma
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>
2016-03-23net: wireless: decouple cnss crypto from cnss memory pre-allocSarada Prasanna Garnayak
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>
2016-03-23can: Add RH850 CAN controller driverAlex Yakavenka
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>