summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * | | | qcacld-2.0: Prevent resume if host get SSR while in cfg resumeGupta, Kapil2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FW may crash while host is waiting for command response which will trigger SSR in different context and WDA context will change. In that case resume handler will point to older wma handle hence leading to wrong pointer access. To fix this, add changes to verify if wma context has been changed after wait timeout response from the FW. Change-Id: I17a91064a5ce604de8ded31994bd8fceee27e1bd CRs-Fixed: 998745
| | * | | | qcacld-2.0: Update MULTI Interface Prefix with chip nameKomal Seelam2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy the firmware, configuration files of QCA SDIO Chip on Dual-WiFi platforms inside wlan/<chip_name> directory on the target. If Chip Name is not set, set to MODNAME by default. Change-Id: Ib80b5c316ba56d34581344e0a4d0dd79abb6a32b CRs-Fixed: 990796
| | * | | | qcacld-2.0: Add support for Tx transmit power level feature bitSrinivas Girigowda2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set Tx transmit power level feature bit in get_supported_features. Framework needs to distinguish the driver supporting this feature v/s other vendors not supporting. Change-Id: I7ab412c6f89ea2910431bb99072c2d6f9d20dc4a CRs-Fixed: 992365
| | * | | | wlan: Fix handling of DRIVER STOP commandKumar Anand2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WLAN driver should not deregister the n/w iface if driver is handling the STOP command. Without this fix static driver is not able to distinguish between Wi-fi OFF and DRIVER STOP command. This means n/w iface was getting deregistered in either case, and hence DRIVER START was subsequently always failing. CRs-Fixed: 998279 Change-Id: I4ec43d89088b4517e86e9f621e9754e9d2c89731
| | * | | | qcacld-2.0: Fix layer violations in SME layerSelvaraj, Sridhar2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the SME APIs are using LIM APIs, remove those violations Change-Id: I069bb328ee38078bdc0497cd4663e1ee287aa3ee CRs-Fixed: 997473
| | * | | | qcacld-2.0: Fix hif irq record for irq clear registerGovind Singh2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IRQ clear history is not updated correctly in hif layer. Fix hif irq record for irq clear register. Change-Id: I329d913905eb2e6fa485d1debaa2c6f6d085082a CRs-Fixed: 990499
| | * | | | qcacld-2.0: Destroy sap_dfs_cac_timer at properlyNaveen Rawat2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Destroy sap_dfs_cac_timer at callback function based on check if timer is still valid. Change-Id: Ib8b92ac11444b63a0d8002edff35cd9238bb2573 CRs-Fixed: 967907
| | * | | | qcacld-2.0: Fix memory leak in del bss response.Naveen Rawat2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix memory leak in del_bss_rsp params in case del_bss_rsp is dropped at lim due to invalid session id. Change-Id: I4dfc8697fd5248d8a16ad5a248d5f06e86a105d0 CRs-Fixed: 970601
| | * | | | Release 4.0.11.53Anjaneedevi Kapparapu2016-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.53 Change-Id: Ie1eae363dfb500ee2a18b22b0b3422a56d3d3a70 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Prevent suspend if scan is in progressGupta, Kapil2016-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan SDIO driver unlike pci will try to put firmware into WOW mode as part of cfg80211_suspend. In cfg80211_suspend host driver will abort any supplicant initiated scan which gets tracked as part of mscanpending flag in HDD. Other scans like ccx, 11k are not detected due to which suspend may be allowed and firmware will be kept in WOW mode. Now if scan is in progress and if firmware is kept in WOW mode then host will miss SCAN_DONE indication from firmware which will lead to scan stuck issue. To fix this check whether scan is in progress at WMA layer and abort suspend. If scan is in progress at WMA layer means the scan is triggered internally by MAC to do ccx/11k scans which are important so abort suspend instead of scan. Change-Id: I12db1417087ad56b6ca29cccacf3f78ae58cca33 CRs-Fixed: 997976
| | * | | | qcacld-2.0: Check wakelock is initialized before destroying itMukul Sharma2016-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During wlan exit, host destroy multiple wake-locks. Consider a case where startup task stuck in some blocking call (like request_fwr bin ) which leads to timeout in insmod thread. In insmod thread on timeout, Host trigger wlan_exit for cleanup. In this scenario, host try to destroy wake-lock which is not initialized yet. As part of this fix, now host checks whether wakelock is initialized or not before destroying it. Change-Id: Id1d2df28e46e38baf43a6346ca1169c34e031b04 CRs-Fixed: 996709
| | * | | | qcacld-2.0: accommodate the request firmware bin time outMukul Sharma2016-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During driver insmod context, Host wait for 20 sec time-out before starting clean up, As of now this time-out does not include the blocking time of request_fwr api. As a part of the fix, Host include the request_fwi api time-out before starting clean up. Change-Id: I6eb8a429c41c4e5e5f6b283d8fcdeb9edbe9bc61 CRs-Fixed: 997458
| | * | | | Release 4.0.11.52AAkash Patel2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.52A Change-Id: I30a8e32ad7ab87f1043118ab74d94fbc6391adb2 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Conditionally set KERNEL_TO_BUILD_ROOT_OFFSET to defaultYue Ma2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KERNEL_TO_BUILD_ROOT_OFFSET needs to be set a default value if upper level makefiles do not define it. Change-Id: I457d63d861c729cececfc5cb29f2b7e5c4a274af CRs-fixed: 992940
| | * | | | Release 4.0.11.52Anjaneedevi Kapparapu2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.52 Change-Id: I5b1de128a706788415ec93e04d521e83e8be6985 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Fix Static Analysis IssuesGupta, Kapil2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to fix static analysis issues observed in HDD. Change-Id: I6749117f2a4b65908cb7e18d639c3d6e0f4c0763 CRs-Fixed: 996645
| | * | | | TDLS: Don't delete TDLS forced peers as part of STA disconnectionPradeep Reddy POTTETI2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't delete TDLS forced peers as part of STA disconnection. TDLS forced peer entry should exist until there is a explicit deconfig from the application. CRs-Fixed: 993297 Change-Id: Ie1bb6bc92849182b82e01e5b5237cead1538f4d7
| | * | | | qcacld-2.0: Cancel ROC on receiving wlan suspend requestMasti, Narayanraddi2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cancel ROC if any upon receiving wlan suspend request to avoid potential wlan suspend failure issue. Change-Id: I59f75005e375ea1a6599a1dd978c28effee29370 CRs-Fixed: 996156
| | * | | | qcacld-2.0: Fix suspicious dereferences of NULL pointerSelvaraj, Sridhar2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Null pointer checks in HDD to avoid NULL pointer deference Change-Id: I1271c4485ea566fd59c2b9f42a1591cd194d0e73 CRs-Fixed: 996734
| | * | | | qcacld-2.0: Broadcast logs irrespective of cnss_diag is running or notMahesh A Saptasagar2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current cnss_diag implementation, do not send NL message in order to register with host driver, as host driver broadcasts both firmware and host messages to all the userspace apps whoever is listening on NL socket. Hence broadcast logs irrespective of cnss_diag is running or not. Also do not indicate host driver load/unload status to cnss_diag app. Change-Id: Ib36324f5bb8dc50521e4646b6184cfe586c10104 CRs-Fixed: 993754
| | * | | | Release 4.0.11.51Anjaneedevi Kapparapu2016-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.51 Change-Id: I7a17db70d564620c6df240d0b2c1072f1658b642 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Remove error print from kmsgHimanshu Agarwal2016-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove error print from kmsg as this print is unnecessary and may flood the kmsg. Change-Id: I0978f88af6677cb0c1e1db5eae7e5d6a69bd4b70 CRs-Fixed: 997243
| | * | | | qcacld-2.0: Fix suspicious dereference of pointerSreelakshmi Konamki2016-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dereference of 'roamSession' pointer before NULL check in sme_is_sta_smps_allowed(). Fix to move dereference statements after NULL check. Change-Id: I04d72a4b8fbc4ba68850ae665e2248a386fa4c10 CRs-Fixed: 992082
| | * | | | Release 4.0.11.50Anjaneedevi Kapparapu2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.50 Change-Id: I51a28a1ac44534fca12f5f036318d334495fb49e CRs-Fixed: 688141
| | * | | | qcacld-2.0: Increase htc rx control timeout to 5secGovind Singh2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increase htc rx control timeout to accomodate fw latency to trigger target assert in case of invalid htc packet transmitted from host. Change-Id: I16c7a148c421c6ef989ebde1ec0ad317d935345a CRs-Fixed: 993187
| | * | | | qcacld-2.0: Delete NDI netdev if start bss failsRavi Joshi2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NAN Data Interface is required to be deleted if start bss fails for some reason. Change-Id: I83f2511a9df569fde791a0da110ac873fb0381dd CRs-Fixed: 962367
| | * | | | qcacld-2.0: add NULL check and drop rx indication for a framePoddar, Siddarth2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add check to handle kernel NULL pointer dereference during calling ol_rx_reorder_release. Change-Id: If0367e0a7910d7ee460709fc8ae25ecc6de3485d CRs-Fixed: 994435
| | * | | | qcacld-2.0: WMA has to del sta if auth frame is received while connectingkaliu2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's a fix for sns issue. Set DUT as sap, ref client sends assoc req to DUT and as part of this frame processing lim does ADD_STA and posts eWNI_SME_ASSOC_IND to sme layer. Before SME layer sends eWNI_SME_ASSOC_CNF, DUT receives auth frame which triggers deauth. In this case lim layer will delete ref client's related info, but wma layer doesn't get any notification. To fix this lim has to notify wma to do DEL_STA for that peer. Change-Id: Id4aae51aae3fb68e752d09793ad3bce17665fc2e CRs-Fixed: 979687
| | * | | | Release 4.0.11.49Anjaneedevi Kapparapu2016-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.49 Change-Id: I5b932e74eefe806e67a43578401323c57304cc96 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Create bug report in case of nil scan resultsGupta, Kapil2016-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Host should trigger bug report if HDD has zero scan results to report to cfg80211 layer. Add changes to trigger bug report if HDD has zero scan results. Change-Id: Ibac7fc5abfc860fc8759fe2cd029d19e2d6662a9 CRs-Fixed: 992733
| | * | | | qcacld-2.0: Fix Ext Cap IE mismatch in Probe/Assoc Response framesSelvaraj, Sridhar2016-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In SAP mode, while sending Probe response template to HAL from driver, ext cap IE should be merged only if it is present or received from hostapd. In function limSendProbeRspTemplateToHal, extcap_present bool is wrongly initialized to true which leads to updation of the extended Cap IE with junk values in Probe response even for the cases where driver is not supposed to update it. ie cases where the ext cap IE is not present or not received from hostapd Change-Id: If82fbba4c20b5e96dbe1b11c97ab557ded488f3e CRs-Fixed: 995545
| | * | | | qcacld-2.0: update payload length of MGMT frameGao Wu2016-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some access points that have not included the capability field in the RSN ie's though the length for the RSN IE's indicate for the presence of this field. A workaround for this issue adds two default bytes as RSN capability, but it does not update payload length. This causes supplicant to get wrong RSN capability and then security mismatch in host driver when connecting to the AP. Change-Id: I03ea3e293df8cbe545a70af03b1038b6fad5a261 CRs-Fixed: 993795
| | * | | | qcacld-2.0: Fix build error for Dual-Wifi Bring upYun Park2016-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove EXPORT_SYMBOL which causes a namespace collision. Set FEATURE_BUS_BANDWIDTH for SDIO WLAN driver. Change-Id: I802b46de14924bf0b4052832dd82cbcb05bac57a CRs-Fixed: 995513
| | * | | | Release 4.0.11.48Anjaneedevi Kapparapu2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.48 Change-Id: I17c37dfc4e50e31a7357ccc2f76a8ba4df367f14 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Support new build tree structureAnjaneedevi Kapparapu2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel can be either directly under build_root/kernel or in a subdirectory within it. The WLAN module has a hard coded assumption for the path. Add the changes to correct it and also avoid compiling CLD2.0 driver if TARGET_KERNEL_VERSION is defined and not 3.18. Change-Id: Ic4738da5c414a1ce1d74e2b42b918b906f5fda98 CRs-fixed: 992940
| | * | | | qcacld-2.0: CL 1483121 - update fw common interface filesKrishna Kumaar Natarajan2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide backward compatibility with host using MAC ID and FW using MAC ID and Increase physical address from 32 to 64 bits in MGMT TX send command. Change-Id: Idef6994468f2d34a0a3581531f228e2a7efd7883 CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1481784 - update fw common interface filesKrishna Kumaar Natarajan2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define ROAM_START and ROAM_ABORT WMI notifications. Change-Id: Idf0fec82a847f9c54fdad9daad30aaed6a7b590d CRs-Fixed: 865207
| | * | | | qcacld-2.0: Fix compilation error in WMAKrishna Kumaar Natarajan2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix compilation error introduced due to change in WMI interface structure definition changed by CL 1479065. Change-Id: I83d50bc046961ab90bcfbb164d5d64296ff95d9f CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1479065 - update fw common interface filesKrishna Kumaar Natarajan2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Qboost dbglog IDs and module ID, add pdev_id to WMI cmds, wal_power_debug framework to handle WMI cmd for LP features. Change-Id: I815e29284ab21086f75197c2ce1319e13074e00f CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1478986 - update fw common interface filesKrishna Kumaar Natarajan2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addition of new debug log IDs for the Timekeeper module and move qtimer fields from wmi_vdev_tsf_tstamp_action_cmd_fixed_param to wmi_vdev_tsf_report_event_fixed_param. Change-Id: I20f1dbb855b3cd0c2b8e9fe10c27e5164527e406 CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1024090 - update fw common interface filesKrishna Kumaar Natarajan2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ERE debug log ids. This commit is only part of the FW CL - 1024090. Change-Id: Ide362ea6d67eaade1f5bc0b7f694f01f11ad8007 CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1476830 - update fw common interface filesKrishna Kumaar Natarajan2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 11ax/HE fragmentation support flags and add flags to allow automatic and forced enabling of pktlog. Change-Id: Ic4bbaf71279ee6fef190530dd70a798be7267797 CRs-Fixed: 865207
| | * | | | qcacld-2.0: Register event in wma to track TDLS connectionMasti, Narayanraddi2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TDLS connection will teardown in host on receiving teardown event from Firmware. But if host is in WOW mode then host will not receive teardown event from FW. To fix this issue add TDLS connection tracker event changes in WMA. Change-Id: I3a305e95410d2884b41e9e4183ed4eeabd733f9d CRs-Fixed: 991993
| | * | | | qcacld-2.0: Remove usage of f_dentry for Kernel upgradeRyan Hsu2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qcacld-3.0 to qcacld-2.0 propagation Commit: 78d28e6 ("kill f_dentry macro") Above commit is to remove the marco of f_dentry since Kernel 3.19. Avoid to use the Kernel version check by using the field directly. Change-Id: I7a4b45c62afed402d49d709bb1cb870db352b70e CRs-fixed: 966066
| | * | | | qcacld-2.0: Fix layering violation in sirApi.hKrishna Kumaar Natarajan2016-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix layering violation in sirApi.h by renaming enumeration prefixed with LIM. Change-Id: I8b33fbb6d315c54c8cd483bd89685719e460051a CRs-Fixed: 995039
| | * | | | Release 4.0.11.47Anjaneedevi Kapparapu2016-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.47 Change-Id: I2a33c4fa4f0d2ebc08f63677b26793d24afa68a0 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Set Tx/Rx aggregation sizePadma, Santhosh Kumar2016-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to set Tx/Rx aggregation size. Also, add ini parameters for Tx/Rx aggregation sizes. Change-Id: Ia5811bf7cf7081989fde5c8cdcca84b42120b90c CRs-Fixed: 990161
| | * | | | qcacld-2.0: Fix station scan AP failed in SAP+STA modeLiangwei Dong2016-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Station can't find the AP in most time if SAP interface is up. The station scan "dwell_time_active" is 28ms if SAP is up and the "repeat_probe_time" is 0. So, there is only one probe request sent for each channel. In noisy environment, it's not enough according to test result. Fix this issue by sending two probe requests in SAP up case. Achieve this by changing probeTime_dwellTime_map to make "n_probes"(got from repeat_probe_time/repeat_probe_time) to be 2. FW will schedule probe request sending by times of "n_probes" in interval of "repeat_probe_time" for each channel. Change-Id: I8a3f3dbaf70c666973454e3266e0dabe0df1c9ea CRs-Fixed: 992655
| | * | | | qcacld-2.0: refactor vos API and config flag for dual WiFiSarada Prasanna Garnayak2016-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add device pointer in cnss common API of subsystem restart and bus bandwidth. The cnss platform driver redirect the cnss export API according to the bus type SDIO/PCI. For dual WiFi both cnss PCIe and SDIO platform needs to be enabled with config flag CONFIG_CNSS_SDIO and CONFIG_CNSS_PCI. We can not use this flag for conditional compilation. Refactor the SDIO/PCI config flag with format below for conditional compilation flag. defined(CONFIG_CNSS_SDIO): defined(CONFIG_CNSS) && defined(HIF_SDIO) defined(CONFIG_CNSS_PCI): defined(CONFIG_CNSS) && defined(HIF_PCI) CRs-Fixed: 986283 Change-Id: I52dd8476aa78da2bc5ea9a1d936b1b9b4f52a663
| | * | | | qcacld-2.0: Add cfg.ini support to read OTP MAC addressSrinivas Girigowda2016-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reading the MAC address has priorities: 1. Read the provisioned MAC from cnss platform driver (configured by OEM) 2. Read from provisioned MAC from /persist/wlan_mac.bin (configured by OEM) 3. Read the default MAC address (otp.bin) Setting g_use_otpmac = 1 means if any of the higher priority provisioned MAC reading fails, use the default otp MAC address. Setting g_use_otpmac = 0 means Do not use the otp MAC address even if higher priority provisioned MAC reading fails, instead trigger driver load failure. Change-Id: I645998a1467375be9c46fb20b6975e0e0056029c CRs-Fixed: 994079