summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | qcacld-2.0: Add verbosity level to a kernel log.Yingying Tang2016-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a STA is connected to the SoftAP, the kernel log gets a non-stop message "ol_txrx_peer_link_status_handler: peer_num...". Change the always-printing message to a highest verbosity level. Change-Id: I0c308795aaa64f20f7a4c52d59c4be50186ffd52 CRs-Fixed: 947904
| * | | | qcacld-2.0: Fix a issue of slow QRF WoW reconnectionYingying Tang2016-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change add a process in apfind_evt handler to trigger host to reconnect to remote AP when firmware notifies host about finding this missing AP during QRF scan. Without this fix, host driver may take longer time to realize that the remote AP's connection was dropped and need reconnection, since it just wakes up from suspend and does not aware of the connection status change. Change-Id: I543c29cfa7e9ba138b975c8d06b455b0c9da59e1 CRs-Fixed: 936929
| * | | | qcacld-2.0: destory tx_frm_download_comp_event in wma_closekaliu2016-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tx_frm_download_comp_event is used in Mcthread and destoried in wma_stop, when wma_stop is called, Mcthread has not exited yet. In stress test, this event is destoried but Mcthread is still using, so crash occurs. Solution is destory event in wma_close to avoid the case that after destory this event still be used. Change-Id: I7d4e97ab261f586edfb90268544a2cda4e90a0b2 CRs-Fixed: 958906
| * | | | qcacld-2.0: Proper mem allocation for lim, pre auth timersNaveen Rawat2016-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix mem alloc for pre auth timer and add error handling for limInitMlm. Currently number of preauth timer is taken as cfg param and memory is allocated in bulk. In case the memory allocation fails, no error is returned from limInitMlm, which causes undefined behavior. Also preauth timers do not need contiguous memory allocation, so allocate an array of pointers instead of single chunk for pre auth timers. Change-Id: I92677aa9bb7970034630f4c6487fa9d196ccfb4c CRs-Fixed: 955557
| * | | | Release 4.0.10.250AnjaneeDevi Kapparapu2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.10.250 Change-Id: I75e2b86b8d770dd08da30f17ceb5fafcaf458eb7 Rs-Fixed: 688141
| * | | | qcacld-2.0: Sanity check for centre freq before sending to FWGupta, Kapil2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sanity check for band_center_freq1 before sending channel data to firmware. Calculating the band_center_freq1 again using chanmode and frequency. CRs-Fixed: 839202 Change-Id: Iad1eb5c5060c6fc2938d8cb2cf13560b8150de88
| * | | | qcacld-2.0: Route set max TX power via SME queue to come out of IMPSAbhishek Singh2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation. For set max TX power, driver doesn't check the current power state and directly pass it to firmware. This may lead to crash if device is in IMPS state as firmware tries to access phy register as part of set max TX power in chip power down state. To fix this route the set max TX power command via SME queue, so that driver comes out of IMPS before processing it. Change-Id: I9e59d2ae57a189585d833708675d11202b6f63c2 CRs-Fixed: 949742
| * | | | qcacld: Define setKeepAlive ioctl with proper argumentsMahesh A Saptasagar2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define proper set arguments for setKeepAlive ioctl by Passing sizeof setKeepAlive request parameter structure. Change-Id: I4699fecb24f6b3c927e8b7c8263a611b354914a3 CRs-Fixed: 955411
| * | | | qcacld: Fix potential memory leaks in SSRYue Ma2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During SSR, since VDEV detach won't happen, some contexts saved in VDEV may not get a chance to be freed. Add change to check these contexts in SSR shutdown routine to make sure they are freed. Change-Id: I36d12b3bb524ca107ece2441c1dc1d80293cb31b CRs-fixed: 957587
| * | | | qcacld-2.0: Process SIR_LIM_ADDTS_RSP_TIMEOUT command in defer stateHanumantha Reddy Pothula2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation If ADDTS response timer is fired because of not receiving ADDTS RSP within time then this timer handler posts SIR_LIM_ADDTS_RSP_TIMEOUT command to LIM. But if deferring is enabled(say due to processing any action frame) then SIR_LIM_ADDTS_RSP_TIMEOUT command will be added to defer queue and as gLimAddtsSent is set to TRUE, including this command all other defer commands will never be processed. This may lead to active command timeout. Hence process SIR_LIM_ADDTS_RSP_TIMEOUT command in defer state. Change-Id: I48f09a7fd560702ac7701e0a1a41c77ad94626d4 CRs-Fixed: 919490
| * | | | qcacld-2.0: Get operating channel only when connected or bss startedKanchanapally, Vidyullatha2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan_hdd_mgmt_tx can be called in not-connected state in case of station mode. Here the operating channel is fetched from the connected info without actually checking whether the sta interface is connected or not and hence can lead to making a wrong decision whether or not to request ROC. Fix the above issue by fetching the operating channel only in connected state. In not-connected state driver always goes for requesting a ROC. Add similar check in case of soft ap and P2P-GO to get operating channel only when the bss is started. Change-Id: I91571f3b6a4f68487afcddd3152f469ff502eb6b CRs-Fixed: 957469
| * | | | qcacld-2.0: Dynamic antenna switch in TDLS operationKabilan Kannan2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add dynamic antenna change capability for TDLS operation Change-Id: Ie0b141fbebe0bfa8a173503fc0ec375095240237 CRs-Fixed: 951596
| * | | | qcacld-2.0: Add support for driver command GETANTENNAMODEArchana Ramachandran2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Driver command IOCTL handler for returning the current antenna mode in the system maintained by dynamic antenna switch feature. The format of the command is as follows: DRIVER GETANTENNAMODE CRs-Fixed: 953996 Change-Id: Idcec574ef3fb97e88ff3fb4c23617991c68228c8
| * | | | cld-2.0: Dynamic antenna switch in disconnected/station mode featureArchana Ramachandran2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functionality for switching antenna mode (TX/RX chains) from 1x1 to 2x2 and vice versa dynamically without reloading the driver. This feature is currently supported only in the disconnected state where only scan operation can happen and standalone station mode. The changes include the following: 1. Driver command IOCTL to set antenna mode as follows DRIVER SETANTENNAMODE <# of streams> 2. Dynamic mode switch functionality in the disconnected and standalone station mode as follows: Dynamic switch request is allowed only when the supported number of chains in the system is greater than 1. Dynamic antenna switch in disconnected state is achieved by sending chain mask requests to the firmware with values 0x01(chain 0) or 0x03(chain 1 and chain 0). If there is a station association followed by dynamic switch to 1x1 mode then SM power save IE is included in the HT caps of the association request management frame. Dynamic switch in the connected standalone station mode is achieved by sending SMPS force mode command with appropriate values for smps mode to trigger firmware to send SMPS actions frames to AP and then then sending corresponding chain masks requests. CRs-Fixed: 953996 Change-Id: Ic8d48ac135ad93e3027641723ac5495d9f111989
| * | | | cld-2.0: Enable station SMPS only if the session supported NSS > 1Archana Ramachandran2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If HT SMPS is enabled through INI or if the antenna mode is dynamically switched from 1x1 to 2x2 or vice versa send SMPS force mode command and include SMPS IE in the HT capabilities of the association request only if the supported NSS is greater than 1. Enabling SMPS with an AP whose capability is only 1x1 will result in association being rejected or an unexpected behavior. CRs-Fixed: 953996 Change-Id: I9a4cda4c46eb3c401e4b9ca9f7323de24bc54132
| * | | | cld-2.0: Add SMPS force mode event for dynamic antenna selectionArchana Ramachandran2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SMPS force mode command event handler to get the status of the SMPS force mode command sent to firmware to put the station in SMPS mode. Event status success indicates that firmware successfully transmitted SMPS action frames to the AP. CRs-Fixed: 953996 Change-Id: I759bb916ce6010736269ff873fe8f168c5304a58
| * | | | qcacld-2.0: Print the size and caller if kmalloc takes more than 3 secAbhishek Singh2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation If kmalloc takes more than 3 sec the current logs only print the time taken by kmalloc. With this change it will also log the size and the caller. Change-Id: Ia76ea62e2af8cfc02bc78cb1f34d096f4b6ff4be CRs-Fixed: 951135
| * | | | Release 4.0.10.249AnjaneeDevi Kapparapu2016-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.10.249 Change-Id: I38ee0bcf3311022fbd3ac05ed1c83c2878b08562 CRs-Fixed: 688141
| * | | | qcacld-2.0: Cleanup SSR code based on CLD refactor changeKomal Seelam2016-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CLD refactor change is done to support platform driver for PCIe and SDIO bus types. SSR change is not refactored accordingly. This change is to refactor SSR code to collect Firmware dbglog for non pcie based targets where CONFIG_CNSS is defined. Change-Id: I20ef35c943d12614cf1839d2b73d1de100dbd059 CRs-Fixed: 957203
| * | | | Qcacld-2.0: Add SAP TX leakage threshold into ini fileYingying Tang2016-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current value of SAP TX leakage threshold is a fixed value 310, since different product may need different threshold, add it into ini file now. Change-Id: I0df8ac14f5e9e812a8ec5e5127df21eff0a8502b CRs-Fixed: 955258
| * | | | qcacld-2.0: Make skb->next = NULL for last skbHimanshu Agarwal2016-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever we receive a skb list from network stack, we prepare a separate list of valid skbs. Originally we are not making skb->next = NULL for the last skb in the list of valid skbs due to which if we need to drop the last skb from the skb list received from network stack, the pointer to that skb will still be a part of the valid skb list and when we pass this list to lower layers, it will try to access this skb or free it and so there will be NULL pointer dereference and the system crashes. So, to fix the issue, make skb->next = NULL for last skb in the list of valid skbs. Change-Id: I9564063f1b7af963f0a4c90a8bf261a2bd9e9fec CRs-Fixed: 956950
| * | | | Release 4.0.10.248AnjaneeDevi Kapparapu2015-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.10.248 Change-Id: I2159211c53ef99d0073577a5f22a322a45816560 CRs-Fixed: 688141
| * | | | qcacld-2.0: add SSR feature to SDIO driverLiangwei Dong2015-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the CNSS SSR callback and register to CNSS SDIO platform driver. And enable SDIO crash report to CNSS SDIO platform driver Change-Id: Id56a07dd13cdefeab463a2990eb274787017f6f0 CRs-Fixed: 943337
| * | | | qcacld-2.0: Add a new ini item to control the INDOOR channels supportYingying Tang2015-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After "qcacld-2.0: Mark indoor only channels as passive in wiphy", the indoor channel will unconditionally be set to IEEE80211_CHAN_PASSIVE_SCAN in driver. Add logic to report INDOOR channel as passive channel only when gindoor_channel_support is FALSE. Change-Id: Iab55a394a28ff452c06c739f3fbd47506eda85eb CRs-Fixed: 955272
| * | | | qcacld-2.0: adjust tx_desc_id location to avoid overflowkaliu2015-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Limitation length of cb in kernel struct sk_buff is 48, and it's aligned with 8bytes, so adjust tx_desc_id location in struct cvg_nbuf_cb to avoid overflow in 64bits platfrom. Change-Id: I1c53f9c431c794685a9562d2436479a33b39a047 CRs-Fixed: 956883
| * | | | Release 4.0.10.247AnjaneeDevi Kapparapu2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.10.247 Change-Id: Ifa78bd281bdd2a385ba4ba2640eb28f9a4e142bb CRs-Fixed: 688141
| * | | | qcacld-2.0: Fix Compilation error when CONFIG_PCI_MSM is disabledSarada Prasanna Garnayak2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CNSS platform driver export certain PCIe kernel API with CONFIG_PCI_MSM conditional config flag. Add conditional compilation flag in driver to compile PCIe specific API which has defined under CONFIG_PCI_MSM config flag. CRs-Fixed: 956820 Change-Id: Id5016ca7869bb3c39310e95407ddd9df2f0b9c46
| * | | | qcacld-2.0: Ini change for dyanmic min_rest_time and idle_timeAgrawal Ashish2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently default min_rest_time, max_rest_time and idle_time are 50, 100 and 25 respectively. When STA is connected in default behavior, DUT will stay on home channel for 50 ms, then check traffic at every 25 ms increments. If no traffic, then it will move to the next channel. It will stay on home channel for max 100 ms. So 75 and 100 are the possible max_rest_time values. If idle_time is reduced to lower value, better throughput is possible as DUT need not to wait on same channel for data inactivity. Introduced ini params to configure min_rest_time & idle_time. Change-Id: If28b7a30147fc11c67817314021fa502d2d8f5ad CRs-Fixed: 952151
| * | | | qcacld-2.0: Dump TX/RX count on get_station cfg80211 function callEdhar, Mahesh Kumar2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change made to print TX/RX packet count values during get_station function call to help in debugging data path issues. Change-Id: I0798123f96111bbadc4014f5f04193d88977a38b CRs-Fixed: 956473
| * | | | qcacld-2.0: CL 1434462 update fw common interface filesManikandan Mohan2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add WMI changes to send FW response for Peer, Vdev delete command Change-Id: Icbcf0b68e9ac64252a7206c9f5ea81da6e457457 CRs-fixed: 865207
| * | | | qcacld-2.0: CL 1432708 update fw common interface filesManikandan Mohan2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update SET BPF Instructions WMI TLV with missing item. Change-Id: I691f55bb27a66e9833e87bd4c6221c505eba6454 CRs-fixed: 865207
| * | | | qcacld-2.0: CL 1431762 update fw common interface filesManikandan Mohan2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to add WMI interface for Berkeley packet filter feature. Change-Id: Ib531691c227a4b9e4c4087f6eaf08796677c93c1 CRs-fixed: 865207
| * | | | qcacld-2.0: CL 1430888 update fw common interface filesManikandan Mohan2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update common WMI commands to merge firmware init of MCL and WIN SWOL update Change-Id: I732a70be17d451654f3fbbe6db84f62de6438862 CRs-fixed: 865207
| * | | | qcacld-2.0: indicate wow wake up frame for HL projectgbian2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently FW does not indicate wow wake up frame to host for HL project. After the change, FW will indicate wake up frame with HTT_T2H_MSG_TYPE_RX_OFFLOAD_DELIVER_IND htt msg and host will handle this message to indicate to OS protocol stack. Change-Id: I5f4446de7ec3c4ff1c1de6fd6105429e0898291c CRs-Fixed: 956416
| * | | | wlan: Reduce unwanted netlink log messagesMahesh A Saptasagar2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce unwanted netlink log messages and modify the error value print format from hex to decimal. Change-Id: Ia94efe17b80d5f3c4a7006b914f4f0586360fded CRs-Fixed: 804176
| * | | | qcacld-2.0: Fix descriptor leak for cloned skbNirav Shah2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In AP + AP case skb headroom is used to store control information which results in descriptor leak. This change fixes this issue. CRs-Fixed: 956422 Change-Id: I3e169107dab042b1054944d05236b33994793914
| * | | | Revert "qcacld-2.0: Allow Re-assoc to same AP only in open security mode"Padma, Santhosh Kumar2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts Change-Id I35d802f564e41ee0b30386ee7b74d2b44eb80ecf Revert this change to allow re-association to same AP which is required for HS certification. Change-Id: I75114b5e36b4ce6def602b9054481845ac09c56a CRs-Fixed: 936342
| * | | | qcacld-2.0: wma: fix same peer created again issue.Liangwei Dong2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes the connection issue in ap+ap mode. One peer may connect to the second ap while another ap still has the connection with this peer, so the same peer may be created twice. Change-Id: I898ec326fb8cf080e8fa0b4737c897fc790633a0 CRs-Fixed: 955241
| * | | | Release 4.0.10.246AnjaneeDevi Kapparapu2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.10.246 Change-Id: I993b66f10794b3cbde92e82149b06c704bfe2026 CRs-Fixed: 688141
| * | | | qcacld-2.0: Refactor CLD driver for common vos APISarada Prasanna Garnayak2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove conditional compilation flag for the common vos API's for PCIe and SDIO based interface. CRs-Fixed: 944290 Change-Id: I0f0e561cfc95f6ca29ab26864bf936432008f701
| * | | | qcacld-2.0: Refactor CLD driver to support SDIO Platform DriverSarada Prasanna Garnayak2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change CONFIG_CNSS to CONFIG_CNSS_PCI and add CONFIG_CNSS_SDIO conditional flag to support SDIO Platform Driver API's. The Platform Driver Header file cnss.h is included under CONFIG_CNSS support which exports both PCIe and SDIO Platform Driver API's. CRs-Fixed: 918222 Change-Id: I135a883a8b5bc9a2bd598c86fff452912f858dcb
| * | | | qcacld-2.0: Update the protStatusCode in Re/assoc response in case of failureAbhishek Singh2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation If deauth is received just after Assoc rsp from AP in addSTA response Re/assoc confirm is sent with status failure. But protStatusCode in assoc confirm is not updated and thus the pRoamInfo->reasonCode may have garbage value. In case of Wep connection failure reason code, pRoamInfo->reasonCode, is sent to the supplicant in connect result. Now if pRoamInfo->reasonCode is 0 supplicant receives connection success though connection have actually failed. To avoid this update protStatusCode, before sending Re/assoc failure. Also properly derive if connection is WEP from roamProfile before clearing it. CRs-Fixed: 926572 Change-Id: I5ae0832d37746be16696f521bddd5b67307b1ee4
| * | | | qcacld-2.0: Fix the crash in start bss failureKiran Kumar Lokere2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per the current logic during start bss failure scenario SAP/GO session is not closed resulting in vdev leakage. Due to above leakage new interface creation with same MAC address results in target assert. Change made to cleanup SAP/GO session on start bss failure. Change-Id: I785b4486f439646e2119adc87895ed95c6b80de6 CRs-Fixed: 954601
| * | | | qcacld-2.0: Do not send DEL BSS to FW if ADD BSS failsAbhishek Singh2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Even though ADD_BSS fails the driver tries to send DEL BSS to firmware which will crash upon receiving DEL BSS. To avoid this crash do not send DEL BSS to Firmware if ADD BSS fails and just do cleanup. Change-Id: Ieabf241c8277ae76bb5f491f9d8a2b783d8ea47e CRs-Fixed: 929249
| * | | | qcacld-2.0: Add disconnect to the head of sme pending command list.Abhishek Singh2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation. If connect is received and queued to sme pending list while scan is in progress in sme, once scan is completed, again scan is queued to get the scanned channel info with reason eCsrScanGetScanChnInfo behind connect command. Connect is executed next with scan command in pending queue. Now if disconnect is received from hdd it is also queued in sme pending cmd list behind scan. Once connect is executed the wait for key state is set and wait key timer is started. As only disconnect and set key command are allowed in wait for key state, the pending cmd queue is not executed with scan command at the head and thus the disconnect is not executed. Also as supplicant has issued disconnect, no keys will be set and pending command queue will not be processed till wait for key timer expires. If during this time unload starts all the commands including the disconnect command sme pending queue are flushed and thus no DEL BSS is sent to firmware before HAL STOP which leads to crash. To avoid this add disconnect to the head of sme pending command list so that disconnect can be processed after connect during wait for key state. Change-Id: I333e7b103ac10e368d34b5bf8b87cc360650cd50 CRs-Fixed: 930713
| * | | | qcacld-2.0: Add SSR protect for ndo hard_start_xmit opsMukul Sharma2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SSR should wait until ndo hard_start_xmit ops is completed. Change-Id: Ic3148cfb655f87d22c40bca7825809648c7b4b4a CRs-Fixed: 952660
| * | | | qcacld-2.0: Implement get_wireless_stats IOCTLHanumantha Reddy Pothula2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Add support for get_wireless_stats IOCTL to return connection statistics. Change-Id: I4239fff2098800968e5961443186277d8b79062d CRs-Fixed: 926617
| * | | | Release 4.0.10.245AnjaneeDevi Kapparapu2015-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.10.245 Change-Id: I5d5f1a9d165a4266ccc87252cf3d398375e15149 CRs-Fixed: 688141
| * | | | Revert "qcacld-2.0: Return failure response in wrong wma state"Sandeep Puligilla2015-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit Ib3fe7ff1991d78a9b2f2623c1e79e5dac4e3efc8 Vdev detach is differed when vdev down is called before vdev stop.This is expected behaviour and introduced as part of commit 'I87b6e48cecf8e05d43a10b5234cec1bb24fe37e7'. Change-Id: I41a75b3bb71dce90465c979bad5852d366894306 CRs-Fixed: 950903
| * | | | qcacld-2.0: clear SSR in progress flagzhangq2015-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the SSR progress, host would hit memory allocation failure and abort the recovery. But the in progress flag will be uncleared. So there will be kernel panic when unloading the driver. On NO_QC_PLATFORM, there will be memory leak once host failed to collect RAMDUMP. Change-Id: I44886eb5b9709eb30a0fb728c520c9592de7779d CRs-Fixed: 949210