summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * | | | qcacld-2.0: Remove unused oem data exchange related functionsKrishna Kumaar Natarajan2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused oem data exchange related functions. Following functions are removed, - limOemDataRspHandleResumeLinkRsp - limSetOemDataReqMode - limSetOemDataReqModeFailed Change-Id: I94e9d7c4f9ac6602c32842e5d0919b339a96b771 CRs-Fixed: 1005630
| | * | | | qcacld-2.0: Fix Intra-BSS forwarding QoS unfair issue for HLChris Guo2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For HL WLAN, TX QoS is decided by WLAN driver and all TX packets for non-qos-capable peer will get TID of OL_TX_NON_QOS_TID. This is not fair for Intra-BSS fowarding frames which are possible different QoS from a qos-capable peer. So bypass this logic for Intra-BSS forward scenario. Change-Id: I4d61a46190853265a81b167aa72dca0edba3df70 CR: 1055231
| | * | | | qcacld-2.0: Enable/disable qpower dynamicallyGupta, Kapil2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to support qpower dynamically using vendor command. CRs-Fixed: 1054217 Change-Id: Ibc9456c2edc4f385f637cb9e45e3f51a6a911121
| | * | | | qcacld-2.0: Enable arpOffload and NSOffload features by defaultManjeet Singh2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow IPv4 and IPV6 offloads to FW by enabling ARP and NSoffload feature by default even if it's not explicitly enabled in the ini file. Change-Id: I9af928f5ea6e2b9589d3c8666abfa3927fe5e908 CRs-fixed: 1053887
| | * | | | Release 4.0.11.138Anjaneedevi Kapparapu2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.138 Change-Id: Ia1bf0fc21d1cb10afc2994ad91103e07d0e7a572 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Fix out of bound access in ptt_sock_send_msg_to_appDeepthi Gowri2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Out of bound access is reported by kernel address sanitizer (KASan) tool. =========================================================== BUG: KASAN: stack-out-of-bounds in memcpy+0x28/0x54 at addr ffffffc0555f3764 Read of size 36 by task cnss_diag/561 =========================================================== page:ffffffba492b1710 count:0 mapcount:0 mapping:(null) index:0x0 flags: 0x0() page dumped because: kasan: bad access detected CPU: 5 PID: 561 Comm: cnss_diag Tainted: P B ----------------------------------------------------------- [<ffffffc00008c55c>] dump_backtrace+0x0/0x284 [<ffffffc00008c7f0>] show_stack+0x10/0x1c [<ffffffc001e4efd4>] dump_stack+0x74/0xfc [<ffffffc0002f6d84>] kasan_report+0x3b4/0x504 [<ffffffc0002f5fe4>] __asan_loadN+0x20/0x14c [<ffffffc0002f64e8>] memcpy+0x24/0x54 [<ffffffbffc382920>] vos_mem_copy+0x68/0x7c [wlan] [<ffffffbffc2f1fb0>] ptt_sock_send_msg_to_app+0x224/0x2d0 [wlan] [<ffffffbffc2f21bc>] ptt_sock_proc_reg_req+0x160/0x1f4 [wlan] [<ffffffbffc2f2484>] ptt_sock_rx_nlink_msg+0x234/0x90c [wlan] [<ffffffbffc2f140c>] nl_srv_rcv+0x1c0/0x218 [wlan] [<ffffffc0019dfb14>] netlink_unicast+0x3b0/0x4c0 [<ffffffc0019e0750>] netlink_sendmsg+0xa2c/0xb30 [<ffffffc0019226c4>] sock_sendmsg+0x1d4/0x22c [<ffffffc0019272e4>] SyS_sendto+0x194/0x224 Memory state around the buggy address: ffffffc0555f3600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffc0555f3680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffc0555f3700: 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 00 04 f4 ^ ffffffc0555f3780: f4 f4 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 ffffffc0555f3800: 00 00 00 00 f1 f1 f1 f1 04 f4 f4 f4 f3 f3 f3 f3 ================================================================== Memory corruption is observed during memcpy as the incorrect size is passed to memcpy. To address this, pass the correct size. CRs-Fixed: 956187 Change-Id: I682de25908c7ab1abbdc3c08abf788e66a5c98df
| | * | | | qcacld-2.0: Add NL event to indicate SSR shutdown is triggeredKomal Seelam2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Dual-WiFi Platforms, Radio Device 1 (R1 - SDIO interface) should be functional only if Radio Device 0 (R0 - PCIe interface) is active. If SSR is indentified on R0, indicate userspace application to unload R1 on this event and Reload R1 once R0 SSR and reload is complete. CRs-Fixed: 1046397 Change-Id: I8a06b569fe536bb93dbb37bdb289295bfce62f6e
| | * | | | qcacld-2.0: Add support for silent recovery in vos_trigger_recovery()Mukul Sharma2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, vos_trigger_recovery does not support silent recovery instead host send WMI_FORCE_FW_HANG_CMDID and wait for timeout. In cases where wmi cmd cannot be sent to firmware, host needs silent recovery. As a part of this fix, Parameterize the vos_trigger_recovery function for silent recovery. Change-Id: I9bb631f7346a267a10348037c49606af43c6be4f CRs-Fixed: 1053303
| | * | | | qcacld-2.0: Pass the peer mac address during deauth notificationRatnam Rachuri2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Currently only session id and reason code are posted to SME during disassoc notification. SAP callback in HDD will deregister the station based on the station ID which is determined using the peer mac address and since peer mac address is not passed, it fails to deregister the station. To address this, pass the peer mac address while posting disassoc notification from PE to SME. CRs-Fixed: 957855 Change-Id: I2976bb5e441f4658ad46ce0d64e0420eae240ac8
| | * | | | qcacld-2.0: Send disconnect indication to upperlayer after clean up in PE layerRatnam Rachuri2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Supplicant may send PNO command as disconnection was already informed to supplicant while disconnection might still be in progress in PE layer(DEL_STA/DEL_BSS). Fix to send disconnect indication to upper layers after complete cleanup. Change-Id: I976044186eb8e79f709bda618b38815827a3e0c5 CRs-Fixed: 951162
| | * | | | qcacld-2.0: Optimize WoW Wakelock usage in Runtime PMKomal Seelam2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FW sends NACK for WOW command to indicate Host to abort on going suspend. Host prevents suspend by holding a wakelock for 1sec. The wakelock prevents APPS supsend, but doesn't have impact on Runtime PM. Hence Skip Holding Wakelock when NACK is recieved in Runtime PM. And Log the runtime stats when link resume fails. Change-Id: I6d9385565c6d06a082e226d5211c733d124bd3a7 CRs-Fixed: 1053252
| | * | | | qcacld-2.0: Fix type mismatch between retrun value and function definitionkaliu2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return value type of routine roamRoamConnectStatusUpdateHandler and hdd_hostapd_SAPEventCB mismatch with the one in function definition. Fix the mismatch. Change-Id: I0e98a73a6be97d6bd62ae9026d4c62ae19fe88f9 CRs-Fixed: 1053160
| | * | | | qcacld-2.0: Use heap memory for station_info instead of stackkaliu2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From kernel 3.19-rc4, size of struct station_info is around 600 bytes, so stack frame size of such routine use this struct will easily exceed 1024 bytes, the default value of stack frame size. So use heap memory for this struct instead. Change-Id: Ibe8a4f5189fcc9d5554f7a5d851c93be8fa8dbad CRs-Fixed: 1050323
| | * | | | qcacld-2.0: Dont initialize the wma_fw_time_sync_timer in the FTM modeArun Khandavalli2016-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wma_fw_time_sync_timer is initialized as part of service ready to sync the host and firmware timestamp but it is not destoryed as part of wma_stop for the FTM mode. So, dont initialize the timer for the FTM mode. Change-Id: I7c2056e7de426d20e34b2822d3ed4e07ca29214e CRs-Fixed: 1052889
| | * | | | Release 4.0.11.137Anjaneedevi Kapparapu2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.137 Change-Id: Ib5b66f971f11d0c064f232b7afd6ac968df3acc3 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Flush driver and firmware logs only for driver ring idSreelakshmi Konamki2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently driver flushes driver and firmware logs irrespective of ring id. Host should flush the logs only for driver ring id. Add changes to fix the same issue. Change-Id: I50cfde1baaf18c1a3992f956182b49044ccc4b1d CRs-Fixed: 1053219
| | * | | | qcacld-2.0: Initialize all adapter completion variables during open adaterMahesh A Saptasagar2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation In order to change the p2p device mode, delete and add virtual_iface followed by change_iface will be invoked. But in this case device mode is changed by invoking change_iface method without invoking delete and add virtual_iface functions resulting in kernel panic. This is because, in latter case hdd_open_adapter will not be invoked for the intended device mode. Hence uninitialized completion variables will be used for further operations. To mitigate this issue, Initialize all completion variables of hdd_adapter_t structure during open adapter irrespective of adapter's device mode. Change-Id: I067068c63d061cbc2da22b839f0f64a270f31ce6 CRs-Fixed: 930180
| | * | | | qcacld-2.0: Pass proper values to bit manipulation methods to avoid panicMahesh A Saptasagar2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Observed kernel panic due to improper arguments passed to kernel bit manipulation functions (like set_bit, clear_bit etc.) i.e these functions expects bit positions as its first argument but bit mask values are being passed. To fix these issues ensure below points: - Pass bit position as a first argument to bit manipulation functions. - Re-define MACROs which gives false impression of bit mask values with their naming convention. Change-Id: Ief8cd83b05f01a0926f91c0e9fb461ddd498e05e CRs-Fixed: 981050
| | * | | | qcacld-2.0: Add VHT transmit power envelope IE in chan switch wrapperAbhishek Singh2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to support VHT transmit power envelope sub element in channel switch wrapper. Change-Id: Ieac517ec44238034e1a5539cbe10ebbefb30dd09 CRs-Fixed: 1052716
| | * | | | qcacld-2.0: Refactor wiphy registration codeRajeev Kumar Sirasanagandla2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current implementation, (a) ftm and non-ftm modes are registring wiphy seperately and (b) in non-ftm mode, registration is happening from reg init. Refactor wlan startup code to have unique wiphy registration for both ftm and non-ftm modes. Change-Id: I787e0fa74ded83e1dabc865ba3096b549a6f2e87 CRs-fixed: 1044642
| | * | | | qcacld-2.0: CL 1610656 - update fw common interface filesAnurag Chouhan2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove duplicate def of DBGLOG_DBGID_SM_FRAMEWORK_PROXY_DBGLOG_MSG Add band field in wlan_vdev_set_ie command define HTC_MSG_WAKEUP_FROM_SUSPEND_ID. Change-Id: I2d23e0945cf7e2ff221fdf658115e9e1f428f31c CRs-fixed: 865207
| | * | | | qcacld-2.0: CL 1607151 - update fw common interface filesAnurag Chouhan2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add nan_data_supported_bands to NaN capabilities messages Change-Id: Ib7ee708c9235e86cf9588d011de29df1e34ad690 CRs-fixed: 865207
| | * | | | qcacld-2.0: CL 1605795 - update fw common interface filesAnurag Chouhan2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WMI pdev POWER_STATS request and report message defs pktlog flag in HTT_T2H RX_IN_ORD_PADDR_IND New release of Hawkeye HW header files Change-Id: If2f122a6879b60052849b7efb738e7fc1a4c23f3 CRs-fixed: 865207
| | * | | | qcacld-2.0: CL 1602603 - update fw common interface filesAnurag Chouhan2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | define WMI_PKTLOG_EVENT_SW. Change-Id: Ica0b6cd11df8a84a0b7e0771354795aa082f20fe CRs-fixed: 865207
| | * | | | qcacld-2.0: CL 1598475 - update fw common interface filesAnurag Chouhan2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding defined weightage values for WMI_PDEV_SET_PCL_CMDID Add filter configure interface in fwcommon for sniffer mode Change-Id: Ic822863cbbaffe7303dedf7f6c16ba92c2d0a5d3 CRs-fixed: 865207
| | * | | | qcacld-2.0: Discard pktlog message for invalid msdu idGovind Singh2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During HOST AP offload case fw is sending pktlog tx info with invalid MSDU id. This will result in invalid de-reference tx descriptor. Discard pktlog msg for invalid msdu id to handle the above scenario. Change-Id: I2dae296fd0c63c916b6470567ded672cf73bf435 CRs-Fixed: 1052684
| | * | | | qcacld-2.0: Remove the support for iw_set_priv ioctlSaidiReddy Yenuga2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iw_set_priv is obsolete, now hdd_ioctl handles the driver commands. Remove the code related to iw_set_priv ioctl CRs-Fixed: 1048052 Change-Id: Ic64a45aab2d23669d6d1219f6d2d8a465d34ac10
| | * | | | qcacld-2.0: Prevent NOC/Link Access in resume when Link is downKomal Seelam2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PCIe link training failure will not be indicated to cnss client driver as a link down indication. In System/Runtime PM resume callbacks, client driver will access the target registers results in L2 errors. Fix it by ensuring the PCIe link resume training is completed by reading config space device-id. Change-Id: I8be902330215cf3c8cb0700e6f0da5b69e274c96 CRs-Fixed: 1052965
| | * | | | qcacld-2.0: Disable tasklet after WoWKomal Seelam2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On SMP architectures, tasklet can be scheduled along with the bus resume, resulting in target access. Disable the tasklet after enabling WoW and enable tasklet before sending WoW disable. Change-Id: I40f32b51cb2a77f78bdc154f88c986ce645538e1 CRs-Fixed: 1052771
| | * | | | qcacld-2.0: Fix memory leak when SSR is triggeredPoddar, Siddarth2016-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Packets are not freed from cache buffer and causes memory leak in SSR case. Flush cache RX frame queue to avoid this memory leak. Change-Id: Idd9edde6fdb3b9ff3ecbe7d8139f9a66468b70af CRs-Fixed: 1051019
| | * | | | Release 4.0.11.136Anjaneedevi Kapparapu2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.136 Change-Id: Ia869516bf71fa979b81f5786f376cc663f21a537 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Change time format of MTRACE logsSreelakshmi Konamki2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MTRACE and kmsg logs timestamp format is different from logger/logcat logs, and it's difficult to correlate with other logs. This fix includes 1. Change MTRACE logs timeformat from adfboot time to hr:min:sec:usec 2. Add hr:min:sec:usec timeformat to wlan kernel logs 3. Remove SIR_CFG_PARAM_UPDATE_IND MTRACE log which is seen frequent in MTRACE dumps Change-Id: I45e5d28fbeccd757648f05ce4e593d8ca4fe7804 CRS-Fixed: 1049125
| | * | | | qcacld-2.0: Update missing configuration parameters in SMESiva Mullati2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In current code the config params pkt_err_disconn_th, MAWCEnabled, enableVhtpAid, enableVhtGid and enableAmpduPs are initially set based on WCNSSqcom_ini file. But whenever thre is an SME update for config param, SME will allocate and initialize the params to zero and get the configuration from csrGetConfigParam where the mentioned config parms are missing. There by the above parameters will not get enabled even if it is enabled in ini file. To Fix this issue add missing config params in csrGetConfigParam. Change-Id: I16ccacfc17e2f16e95d23610a8e119cb07c1abbc CRs-Fixed: 1050413
| | * | | | qcacld-2.0: Remove unnecessary locking during WMI detachGovind Singh2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HOST driver unload sequence does following 1) Kill WLAN tasklet 2) Disable CE interrupts 3) Flush WMI RX work Hence its unnecessary to acquire eventq_lock as no one will be using the shared resource during wmi detach. Change-Id: Ib21cf62adb9a37cf3cbd935dadaf576d8098c99a CRs-Fixed: 1021376
| | * | | | qcacld-2.0: TXQ recovery for invalid txq listGovind Singh2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Host driver asserts while dereferencing tx descriptor in case invalid txq is passed. To work around this scenario drop all packets till txq is valid and update byte sum and credit sum Change-Id: Ic7f7a8edb9575a0e5d9ef3edb8fe378210c87820 CRs-Fixed: 1037270
| | * | | | qcacld-2.0: Skip DRSC channels during SAP ACSDeepthi Gowri2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not support SAP on DSRC channels, so skip the DRSC channels during sap channel initialization. CRs-Fixed: 1050454 Change-Id: If5544027bca7bc0a578978dfe91adc37e897e992
| | * | | | qcacld-2.0: Fix for P2P GO negotiation failureDeepthi Gowri2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wait time in go negotiation response is set to 100msec by the wpa_supplicant. Due to which, there could be a possibility for the DUT to miss go negotaition confirmation frame if the ROC times out, resulting in connection failure. Also the wait time for GO negotiation confirmation, invitation response and provisional discovery response frames are set to 50msec. To address this, increase the wait times for these response frames. CRs-Fixed: 1050955 Change-Id: I1fa8a0ae669293ab27c5b4f43f6f33465ff3f2c0
| | * | | | qcacld-2.0: Fix to make common change intf api for ibss/sta/p2pcliHimanshu Agarwal2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Propagation from qcacld-3.0 to qcacld-2.0. Current code is using seperate change interface for IBSS and STA/P2PCLI. Fix the API such that IBSS/STA/P2PCLI all can use same API. Change-Id: I7a1d9fa3ef42091fcb7f71d95b604e3dceb8da50 CRs-Fixed: 973626
| | * | | | qcacld-2.0: Fix host debug message flooding for unicast trafficRavi Joshi2016-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The debug message was added to identify a case of trying to send a unicast traffic to an unknown peer. However, as per the implementation, the debug print becomes always true while sending unicast traffic in station or p2p client mode. CRs-Fixed: 1051920 Change-Id: I849317c699ffca1e057c4e59747e08535baca381
| | * | | | Release 4.0.11.135Anjaneedevi Kapparapu2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.135 Change-Id: I8acec75683185db57e661bd935d42bf8fef4fa07 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Modify CFG_INFRA_STA_KEEP_ALIVE_PERIOD_DEFAULT to 30SaidiReddy Yenuga2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently CFG_INFRA_STA_KEEP_ALIVE_PERIOD_DEFAULT is 0 in code and in ini file it is 30. If this parameter is undefined in ini file, then this KEEP alive feature gets disabled. Change CFG_INFRA_STA_KEEP_ALIVE_PERIOD_DEFAULT value to 30 in code. CRs-fixed: 1049206 Change-Id: Iff0933842b13482e9949473a4c8a48bf83230cc1
| | * | | | qcacld-2.0: Remove wma_recreate_ibss_vdev_and_bss_peer logicHimanshu Agarwal2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Propagation from qcacld-3.0 to qcacld-2.0. wma_recreate_ibss_vdev_and_bss_peer is obsoleted API and no longer needed. Remove this API as part of clean-up efforts. Change-Id: I277e775b7f44ca5aa05129d45e80c98fe1a53753 CRs-Fixed: 973626
| | * | | | qcacld-2.0: Add support to add one more cycle of TDLS discoveriesHimanshu Agarwal2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Presently, HOST driver sends a TDLS discovery request and then wait for some time for either the request to get timed out or to get a discovery response. With the current implementation, HOST driver waits for 5 discovery requests to get timed out and then stop sending TDLS discovery requests whenever a trigger is received from fw assuming that the peer is not interested in making a connection. Now, if the peer device has gone in SSR or driver is unloaded then it will not get a response and 5 retries will be over and then whenever the device will come up, TDLS connection will not be set up as maximum retries have already been reached. Add one more cycle of 5 discovery requests after a wait time of 5 minutes. So if 5 retries have happened then driver waits for 5 minutes and then again starts sending TDLS discovery requests until situation of 5 retries occurs again and then go back to the old behaviour of never sending a discovery request. The benefit is that if 5 retries of first cycle gets completed because the peer device is in SSR or in bad state then hopefully it will be recovered in next 5 minutes when it will start sending discovery requests again and form a TDLS connection. Change-Id: If1f5764c517bf79be37cbaecd3e7db895bee01df CRs-Fixed: 1051071
| | * | | | qcacld-2.0: Properly update vht capability in FT pe sessionNishank Aggarwal2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VHT capabilities are updated for older session and not for the new FT session and thus these are not updated during roaming. Pass proper session entry to update vht capabilities for FT session. Change-Id: I2ac47c37e6323ceeb218541e364d4f7b597bd8b3 CRs-Fixed: 1049851
| | * | | | qcacld-2.0: Fix warning while stopping pmfcomeback timer for roam sessionNishank Aggarwal2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of PMF connection pmfcomeback timer is initialized for the old session and not for new FT session and thus gives warning while stopping the timer when FT session is deleted. Fix this issue by initializing PMF timer for FT session. Change-Id: I7ef1db436c39a824aeb199e51d28a011d527f7bd CRs-Fixed: 1050380
| | * | | | Release 4.0.11.134Anjaneedevi Kapparapu2016-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.134 Change-Id: Id3cab5d5730540d3ed10792d2a1ac4cf92caa8d6 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Implement attribute for SET WIFI config for ifindexAgrawal Ashish2016-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement QCA_WLAN_VENDOR_ATTR_CONFIG_NON_AGG_RETRY and QCA_WLAN_VENDOR_ATTR_CONFIG_AGG_RETRY for SET wifi config as per index as well. Change-Id: I1da12ee4bb71b389c60970461439f69d34ec9bc7 CRs-Fixed: 1040532
| | * | | | qcacld-2.0: Parse attributes for vendor IE and access policyGanesh Kondabattini2016-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | User can configure the vendor IE and access policy from application. Driver has to parse this vendor attribute and update the protocol stack. Change-Id: I176570336aea74b10c5a7e6ad42ed9854dc11b8c CRs-Fixed: 1020078
| | * | | | qcacld-2.0: Fix SAP start failure issueAgrawal Ashish2016-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the time of driver load, sap session is opened as part of hdd_init_ap_mode but in case of sap restart, sme_OpenSession is called from sapFsm. At the time of opening session, sme_OpenSession register WLANSAP_RoamCallback callback for connection status. If this callback is not registered, HDD will not get connection status and HDD will start cleanup after SAP connection timeout which will result in SAP failure. Need to register WLANSAP_RoamCallback as part of sme_OpenSession when session is not created as part of hdd_init_ap_mode. Change-Id: Ifd2cec5fec432f1dcd2b39c59df1f1c5b13c55d5 CRs-Fixed: 1051097
| | * | | | qcacld-2.0: Correct the IBSS tx rate informationSriram Madhvapathi2016-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GETIBSSPEERINFO(ALL) fetches IBSS peer information which includes tx rate. However, only lower 3 bytes of txRate field is relevant. Mask out irrelevant fields when passing tx rate info to the user. CRs-Fixed: 1050973 Change-Id: Ice0199b84899e7452bf64353c744118f109d9c14