summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* qcacld-2.0: Revision 4.0.0.51AMadan Mohan Koyyalamudi2013-11-15
| | | | Final gerrit pushed is "cld: Handle cfg80211 suspend and resume"
* wlan: Choose the best rate and upodate the rate struct for ISOC.Mingcheng Zhu2013-11-15
| | | | | | | | | | | | | | | | | | | | | | | | 1. Make the tSirRateUpdateInd backward compartable to ISOC definition 2. Calculate the rate based on NSS and phy mode. 3. Find the rate based on following rules: a. Use OFDM/CCK if input rate <= 54mbps b. Use HT mode if input rate less than 150 mbps (1x1) or 300 mbps (2x2) c. Rest uses VHT 4. Following are the highlight of the algorithm to choose the rate enum: - if both SGI rate and LGI rate are smaller than the input rate the higher rate is chosen. - if one GI rate is higher than the input rate the other rate is choosen. - if both SGI and LGI rate are all larger than the input rate the smaller GI rate is chosen. - the rate table is for 1x1. In 2x2 case the search rate is half of the input rate. - For CCK premable the long premable is choosen for the mcast rate. - For the 802.11bg case the closest floor rate is choosen. 5. The best rounded rate is choosen. If the input rate is zero, the smallest mcast rate is choosen. 6. Save both ht_capable and vht_capable in wma_txrx_node struct. Change-Id: Ie6f066920a179f2ab477b0d2b22bc6ff24beea1e
* cld: Delete PMKID from the cache when forget the AP from GUILeela Venkata Kiran Kumar Reddy Chirala2013-11-15
| | | | | | | | | Wlan driver still include cached PMK ID in assoc Req after forget AP and connect back.Delete the PMKID from the cache in the driver as part of disconnect from supplicant. Change-Id: I954273d18b121d1a6843a970139488be8f69a5b4 CRs-Fixed: 553806
* wlan-noship: set multicast rate.Mingcheng Zhu2013-11-15
| | | | | | | | | Adding set multicast rate feature to CLD 2.0 1. port sme_SendRateUpdateInd 2. port station set multicast rate 3. port softAP set multicast rate Change-Id: I65fae9ac19975bb85ef43ee8563a7001941884f7
* qcacld-2.0: Revision 4.0.0.51Madan Mohan Koyyalamudi2013-11-14
| | | | qcacld-2.0: Revision 4.0.0.51
* wlan: Change Rome FW file name to /firmware/image nameMadan Mohan Koyyalamudi2013-11-14
| | | | | | | | request_firmware() can directly access the files from /firmware/image/; and symlinks are no more required to /system/etc/firmware. So change the firmware image to the files programmed to /firmware/image. Change-Id: Iacd3b49c6c6236d183b9e35ebc743e0be7e19cd4
* cld: Handle cfg80211 suspend and resumeRaja Mani2013-11-14
| | | | | | | | | | Two callbacks are exposed from HDD to CFG80211 layer to handle suspend and resume. During cfg80211 suspend, Ongoing SCAN on each interface is stopped and MC thread is moved to suspend state. During cfg80211 resume, MC thread is resumed back. Change-Id: I1e891c8a773ced2655dbae2ee655aee5332fccfe CRs-Fixed: 540571
* wlan: Vos asserts due to assoc rej in concurrencySrinivas Girigowda2013-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 1. VOS_ASSERT in limProcessJoinFailureTimeout. This vos_assert is triggered for not finding a session id. When the connect request is issued, JoinFailure timer is started for 10 * Beacon interval = 1020 ms in this case and that assoc rsp results in reason code=17, CSR again tries to connect to another BSSID while the timer is still running. Now if this assoc rsp also fails with reason code=17, code deletes the session created during add_bss and now if the join failure timeout expires, it does not find the session, which is error or warning level, but it is not fatal to log VOS_ASSERT. Hence changing this to LOGE. And also, stop the join failure timer during delBss if the timer is running and started for the same session on which delBss was issued. 2. __limProcessSmeReassocReq: Session does not exist for given bssId In this case, when CSR established successful connection 160ms before assert, this function should not be called unless it is roaming scenario; but even then not finding a session id here is not a FATAL instead it can be ERROR or WARNING. Change-Id: I9b6046eaaf9c31a449d205d97f8e40974639cf50 CRs-Fixed: 536215
* cld: fix target assert while configuring GTK offloadRajkumar Manoharan2013-11-14
| | | | | | | | | | | | | There are cases where the GTK offload is being requested to enable more than once. For example, during the early suspend indication GTK offload is enabled when the station is associated. Then in case of reassociation, GTK offload is enabled again by cfg80211 set_rekey_data. Also when the station is disconnected after the early suspend, GTK offload never be disabled during resume. Since the issue is applicable to GTK offload alone, fixing it in WMA. Change-Id: I6fe4b5968cbc1c82d2f0a9674fdfcf41f4a8358d CRs-Fixed: 567425
* cld: Stop data transmission prior to process disconnect in SMERajkumar Manoharan2013-11-14
| | | | | | | | | | Data transmission should be stopped before processing disconnect request from user in SME. Not doing so, is causing assert in target and also make the system to hang for a while till completion in SME got timed out. Change-Id: I19d68cc501cfafa765bffc22b164140bc71c0b03 CRs-Fixed: 550317
* wlan: Fix makefile to support new Android platformsSameer Thalappil2013-11-14
| | | | | | Make changes to the WLAN makefile to support new Android platforms. Change-Id: I33c2bdafd5bcb41d87784f5a4d065d36e5c44ef3
* cld: pe: fill sme sessionid on pe session creationRajkumar Manoharan2013-11-14
| | | | | | | | | In some places, the sme session id is not filled after creating pe session. While posting messages to wma, unknown value is sent as vdev id which is causing target assert. Change-Id: I9ecb8b9f26778661e2bddfb924e7eb8e95f05593 CRs-Fixed: 571720
* cld: hdd: Fix compilation error in iw_set_pno()Raja Mani2013-11-14
| | | | | | | | | | | | | | RSSI threshold data type for PNO is changed to signed long in below commit, "cld: hdd: Handle RSSI threshold value passed in start sched_scan" Due to this, compiler generated below error, CORE/HDD/src/wlan_hdd_wext.c:7085:15: warning: format '%hhu' expects argument of type 'unsigned char *', but argument 3 has type 'tANI_S32 *' [-Wformat] error, forbidden warning: wlan_hdd_wext.c:7085 Change-Id: I521d38794bb8bf164275d1843d431f2bad8e05f7 CRs-fixed: 567665
* qcacld-2.0: Add new debug ids as per target f/wRajesh Chauhan2013-11-14
| | | | | | | Add new debug ids as per target f/w common file Change-Id: I52593166d309205543184ff56aa18119beef381c CRs-Fixed: 571512
* qcacld-2.0: Add fields in host_interest to debug dynamic memory usageRajesh Chauhan2013-11-14
| | | | | | | Add three fields in host_interest to debug dynamic memory usage. Change-Id: Id7a2fb80a12c902c6712898ec2baab44da7577d3 CRs-Fixed: 571505
* cld: Fix bssid in del_pmksa and flush_pmksaRajkumar Manoharan2013-11-14
| | | | | | | | | | While deleting or flushing the PMK cache, the bssid reference is given to CSR to update its table. But the bssid is cleared even before CSR is processing it. So CSR always fails to locate the entry in PMKID table. Change-Id: Id6b44f5b5f01ffd6733c1342c9e0347d9e52b3ca CRs-fixed: 536894
* cld: Cached PMK ID still included after forget APWilson Yang2013-11-14
| | | | | | | | | Implement _del_pmksa/_flush_pmksa in wlan_hdd_cfg80211.c to support deleting PMKID from the cache when forgetting the AP from GUI Change-Id: I06bbc7ed5396ee1cf8dc22a0b8f484efe4a59300 CRs-Fixed: 553806
* cld: Fix for PMK CacheDhanashri Atre2013-11-14
| | | | | | | | Fix to address PMK cache corruption when the supplicant does not provide a BSSID in the connect request Change-Id: Ic056f9a0dedeeaa6f20ab469a8991bafd61f5273 CRs-Fixed: 553806
* qcacld-2.0: Change the IRAM banks switchedSundar Subramaniyan2013-11-14
| | | | | | | | Change the number of IRAM banks switched. A bank of DRAM(32K) to IRAM, or firmware will crash due to lack of IRAM. Change-Id: I56a6ec346e14ea416e989bdd1fe9059b5a0c58c8 CRs-Fixed: 569743
* cld/lim: Send ampdu factor for VHT connection in ADD_BSSVasanthakumar Thiagarajan2013-11-14
| | | | | | | | | | Max Ampdu length exponent advertised in VHT cap of assoc response is also to be sent to WDA for VHT association. Currently it is sent only for association in HT mode. Change-Id: Iff1a183bd01da6974bab1d9f4a460cbb30991f63 CRs-fixed: 561006
* cld: wma: Multicast, Broadcast filter configurationSumathi Mandipati2013-11-14
| | | | | | | | | | | | This feature facilitates to configure filter for multicast and broadcast packets. The mc/bc packets matching these filters will be processed and others will be dropped. This feature is applicable only in active mode and also when chatter is enabled. Host can support upto five filters and it can be increased till ten filters. Change-Id: I225336481633efd3b607300bee377cf54e68b6e2 CRs-fixed: 568404
* cld: Fix compilation issues in debug toolsvinothkumar2013-11-14
| | | | | | | | | Fix compilation issues in athdiag and firmware_debug_log tools while compiling it from repo top directory. Change-Id: I8f0c6542d7e476de994faec606d4c61e199708d6 CRS-Fixed: 557694
* qcacld : HDD: Assert in wlan resume path due to offload cmd.Subramanyam Nalli2013-11-14
| | | | | | | | | | | | | In STA,P2P concurrency mode, there is a taget assert when platform goes to suspend and resume back. And also after bringing up the device, with out connection just turn on/off display was causing taget assert. In firmware if the connection is not alive, arp cache will not have memory to hold arp offload cmd details. Due to this asset was happening. Fix issues arp/ns offload disable cmd only if the connection is alive. Change-Id: I1f46bf1766f4d3fa64573d5fb9585534c5677ddb CRs-fixed: 567425
* cld: wma: FastRoamEnabled setting to enable Rome roam offloadDeepak Dhamdhere2013-11-14
| | | | | | | | | Enable roam offload feature of Rome firmware only if FastRoamEnabled is set to non-zero in .ini file. Removed an unnecessary debug enable command. Change-Id: I93fff8047f0ebc0cb5530371ad930f01996abf93 CRs-fixed: 562120
* cld: wma: Fix kernel crash on NoA updateRajkumar Manoharan2013-11-14
| | | | | | | | | | While allocating beacon template, the memory is not cleared properly. On random cases, the noa_ie and noa_ie_len is filled up with unknown values. So while filling up the noa_ie, it is causing invalid memory access. Change-Id: Id763dc3be7f7de2f71c9536e4c050565df2b0c52 CRs-Fixed: 564907
* CLD-P2P: Do not use flush_work_queues APIGanesh Kondabattini2013-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling the flush_work_queues API in change interface path is leading to deadlock. While removing the p2p_group, the supplicant is issuing the disconnect first and then change interface commands. When supplicant issues disconnect the cfg80211 is calling the corresponding the driver callback to initiate the disconnect. When the driver is done with disconnect, it is sending disconnect event to cfg80211. cfg80211 is scheduling a work queue cfg80211_event_work once it receives any event from driver. before this work queue get schedule, the supplicant is sending the change interface. before sending this command to driver the nl80211 is holding the rdev->mtx. After this the cfg80211_event_work is getting scheduled and requesting for same rdev->mtx and going into sleep. In driver as part of change interface from p2p-client to p2p-device mode, it is closing the p2p-client session and reopens a new session for p2p-device. As part of closing session, the hdd expects the hdd_smeCloseSession callback from the CSR. In this callback the driver is calling the flush_work_queues API. This flush_work_queues will block until all schedule work queues are processed. So it will never return from this call as 'cfg80211_event_work' is suspended waiting on rdev->mtx. So change interface callback will never return and 'cfg80211_event_work' will never wakeup and leading to deadlock. Using the cancel_work_sync and cancel_delayed_work_sync APIs to cancel the work queues. Change-Id: If21ac230dd423ce4b174febd4d3d18a70d233a0f CRs-Fixed: 533905
* Revert "cld: hdd: Disable PNO feature until FW meets LA PNO requirement"Raja Mani2013-11-14
| | | | | | | | | | This reverts commit b593979901f7415422fcb14dded357e440f7b88c. Most of TODO items w.r.t PNO are fixed now expect App IE configuration. Let HDD expose PNO capability to CFG80211. Change-Id: I218abb5d300ffc2fe0b178b37c3c3b0a146817d5 CRs-fixed: 567665
* cld: wma: Cleanup FEATURE_WLAN_PNO_OFFLOAD in WMARaja Mani2013-11-14
| | | | | | | Replace FEATURE_WLAN_PNO_OFFLOAD macro with FEATURE_WLAN_SCAN_PNO. Change-Id: Ie7b799196924f42a85cbba7e7dc154ed61831073 CRs-fixed: 567665
* cld: Cleanup FEATURE_WLAN_PNO_OFFLOAD in UMACRaja Mani2013-11-14
| | | | | | | | | | | | | | | | There are two feature macros defined and used for PNO in umac, * FEATURE_WLAN_SCAN_PNO * FEATURE_WLAN_PNO_OFFLOAD It's bit confusing that which one to define for PNO. This patch replaces FEATURE_WLAN_PNO_OFFLOAD with FEATURE_WLAN_SCAN_PNO. Going forward, FEATURE_WLAN_SCAN_PNO is only feature macro defined for PNO. Change-Id: I084c6cb7dda4fab3c434b35b791327ef980cd58c CRs-fixed: 567665
* cld: pe: disable HT for non-QoS stations in AP modeRajkumar Manoharan2013-11-14
| | | | | | | | | | | Per spec, WMM/WME IE is mandatory to support HT/VHT mode. In case of non-QoS HT capable STA, the contradicting STA configurations are given to firmware which leads to improper rate control setup in firmware. To fix this properly, downgrade the connection to legacy mode for non-QoS HT stations. Change-Id: I305d7e48e81aa98b9337336354bad29d4f18bb14 CRs-Fixed: 532409
* cld: wma: Configure RSSI threshold and Scan interval for PNORaja Mani2013-11-14
| | | | | | | | | | | | | * Pass RSSI threshold value and scan interval value along with other PNO parameters ( channel list, ssid list, etc) in WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID. * Recent firmware expects TLV header in variable length arguments. Add those missing TLV headers in some of PNO wmi cmds. Change-Id: I4b913cea96e7cc5dff0b7dbba8da0158ced1aa26 CRs-fixed: 567665
* cld: sme: Fix random crash in csrSavePnoScanResultsRaja Mani2013-11-14
| | | | | | | | | | | One byte variable (ieLen) was used in csrSavePnoScanResults() to track IE length. Sometimes, IE comes from remote AP may exceed 256 bytes (more than one byte). Variable ieLen is defined as tANI_U16 to fix this issue and also this patch eliminates local variable pIesLocal usage in the same functon. Change-Id: I3b7fb6168ff49f792946cf3e5d3f65bf9b271957 CRs-fixed: 567665
* cld: hdd: Handle RSSI threshold value passed in start sched_scanRaja Mani2013-11-14
| | | | | | | | | Use rssi threshold limit that comes from CFG80211 as part of start sched_scan request. Later, this value will be configured to the firmware from WMA layer before starting sched scan operation. Change-Id: If8e112dfd4f12b8c25fc98f5065fdcf244fb3686 CRs-fixed: 567665
* cld: wma: Enable CSA offload and handle CSA eventBala Shanmugam2013-11-14
| | | | | | | | | | | | Send WMI_CSA_OFFLOAD_ENABLE_CMDID to firmware before vdev_up if CSA offload service is enabled by firmware in service ready event. Handle CSA offload event from firmware and pass CSA IE information to LIM. Change-Id: Idef669c3159b9a992580154cc5511599b51c4fba CRs-Fixed: 565592
* cld: lim: Process CSA offload enable eventBala Shanmugam2013-11-14
| | | | | | | | | | | | When CSA is offloaded, firmware will send WMI_CSA_HANDLING_EVENTID with CSA IE information to host. Host will extract new channel number from CSA IE and switch to new channel by sending vdev_start. Host should not process CSA IE when CSA is offloaded as it is done in firmware. Change-Id: Ice55396a48e5a4caad76194ea4a83939e4e3aa70 CRs-Fixed: 565592
* cld: Change busybox command in athdiag toolvinothkumar2013-11-14
| | | | | | | | | Change busybox command in popen function of athdiag tool to avoid changing manually the busybox executable permissions in APQ8084/MSM8960. Change-Id: I7f400af79f91266253d18abaacc05a037625fbcd CRs-Fixed: 567344
* cld : lim: shot slot time is not updated properly assoc repSubramanyam Nalli2013-11-14
| | | | | | | | | | | | | | If SAP is configured with 11nGHT20P mode, when 11B client sends assoc request with short slot time disabled, assoc reponse still contains short slot time enabled. In lim module while creating assoc reponse, do111capabilities are populated before updating session capability with incoming assoc reg details. So assoc reponse had a old slot time status. Fix updates the slot time status properly in assoc reponse. Change-Id: I82ded75bf61279c59d7c597de2eff689c865584f CRs-fixed: 555079
* qcacld: Implementation of PMC Offload Module in SMEGanesh Babu Kumaravel2013-11-14
| | | | | | | | With Powesave Offload enabled every power save request has to be session based. So PMC Offload module implemented to satify the requirement. Change-Id: I921caa0f355c9cc5b6a25d638bf73d9d38435c04
* cld : rrm : Incorrect Tx power values in Measurement reportHema Aparna Medicharla2013-11-14
| | | | | | | | | | STA is sending negative Tx power values in the Measurement report with different configuration of Nth beacon filter. Changes are made to send correct power value in measurement report in STA mode. Change-Id: Ic231a9d51472dfa19f442839293f1621c89b462d CRs-fixed: 564721
* cld: Enabling 802.11k parameters in ini by defaultHema Aparna Medicharla2013-11-14
| | | | | | | | | Enabling 11K parameters by default in WCNSS_qcom_cfg.ini present in cld folder and there by enabling the parameters with Apps fastboot images. Change-Id: Ia4df020a578d16d6b17103cd3ce623b53454c909 CRs-fixed: 564715
* Revert "wlan: Disable CLD on mainline"Sameer Thalappil2013-11-06
| | | | | | | PCIe dependancies are resolved, and open source driver is the mainline driver now. This reverts commit aec0b888a8925a71f13b036d982088dfc855843c.
* [minor fix] cld: wma: Roaming feature changesMadan Mohan Koyyalamudi2013-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is minor for the original commit id - 496ae9978601553d325fbc79af0f174dc27f7953 WMA Implement WDA_START_ROAM_CANDIDATE_LOOKUP_REQ for roam params Add WMITLV commands to send parameters to Rome firmware cld: wma: Roaming feature changes WMA Implement WDA_START_ROAM_CANDIDATE_LOOKUP_REQ for roam params Add WMITLV commands to send parameters to Rome firmware Handle WMI_ROAM_REASON_BETTER_AP indication from firmware TLSHIM Remember the most recent beacon that matches the connected AP. Resend that beacon to PE with a special flag when WMI_ROAM_REASON_BETTER_AP event is received. That translates to completion of roaming scan and triggers candidate selection Implement WDA_ADD_BSS_REQ, WDA_ADD_STA_REQ reassociation sequence CRs-fixed: 562120
* cld: wma: Roaming feature changesDeepak Dhamdhere2013-10-29
| | | | | | | | | | | | | | | | | | | | WMA Implement WDA_START_ROAM_CANDIDATE_LOOKUP_REQ for roam params Add WMITLV commands to send parameters to Rome firmware Handle WMI_ROAM_REASON_BETTER_AP indication from firmware TLSHIM Remember the most recent beacon that matches the connected AP. Resend that beacon to PE with a special flag when WMI_ROAM_REASON_BETTER_AP event is received. That translates to completion of roaming scan and triggers candidate selection Implement WDA_ADD_BSS_REQ, WDA_ADD_STA_REQ reassociation sequence Change-Id: I5d2c4db1e969ef7dda36d438d3638d0a88a73cf7 CRs-fixed: 562120
* cld: umac: Roaming feature umac common code changesMadan Mohan Koyyalamudi2013-10-29
| | | | | | | | | | LIM/PE Don't flush scan cache when starting a new scan. Return results from scan cache and LFR cache when a roaming scan finishes. Added flags to indicate reassoc request for WDA_ADD_BSS_REQ Change-Id: I2fb6ebff82e0dcec929ae7a3653eddb4aa71c528 CRs-fixed: 562120
* CLD:Changes to support ARP response keepalive methodEdhar, Mahesh Kumar2013-10-29
| | | | | | | | From SU39 onwards firmware supports ARP response keepalive method therefore changes done to support the same. Change-Id: I85991c08aafedc55caf6574a58d4b28771a4fbc3 CRs-fixed: 564990
* cld: Enable host based beaconing alwaysRaja Mani2013-10-29
| | | | | | | | | | | | | | | | | Current host driver disables host based beaconing if firmware enables beacon tx offload capability in service ready event. Recent FW (SU39) enabled beacon tx offload capability in service ready. Due to this, host driver is skipping SWBA event handling. And also, the code to support beacon tx offload feature is not committed in host driver. Overall, beaconing will not happen with current host driver + FW SU39. Until code to support beacon tx offload feature gets into driver, this patch enables host based beaconing always. Change-Id: I464f11367fb17b5a1f6606977b233969526209a6 CRs-fixed: 566174
* CLD:Set the STA keepalive value using WMI_STA_KEEPALIVEEdhar, Mahesh Kumar2013-10-29
| | | | | | | | | | WMI_VDEV_SET_KEEPALIVE_CMDID will be deprecated after SU39 therefore changes were made to use WMI_STA_KEEPALIVE cmd and also from SU39 onwards firmware supports ARP response keepalive method. Change-Id: I855454773edee89bdb8876dedcb8898df23e4c7b CRs-fixed: 564990
* cld: wma: Configure coalescing filters for chatter modeSumathi Mandipati2013-10-29
| | | | | | | | | | | | | | | | Chatter mode instructs the firmware to buffer the frames and send them later. Coalecing filters define what type of packets to be buffered while operating in chatter mode. New filter can be added or existing filter can be cleared. firmware supports up to eleven filters and each filter upto five filter conditions. CRs-fixed: 551536 Change-Id: Ib3f0116803feee404f80f427f728e749853dffa6 Conflicts: qcacld-2.0/CORE/SERVICES/WMA/wma.c
* wlan: Disable CLD on mainlineSameer Thalappil2013-10-24
| | | | | | | CLD driver does not build on mainline because of PCIe dependencies, disable the build temporarily to allow changes to go thru mainline Change-Id: If1b2a903ff9d2fe4b372c8f9c1c0cd6ba8c3fdfe
* cld: Update defines for size of OEM Data Req and Response messagesRajesh Chauhan2013-10-24
| | | | | | | | | | | | Update defines OEM_DATA_REQ_SIZE and OEM_DATA_RSP_SIZE in interface files. Though interface files being modified are for old interface but these files are still being included in cld code and so changes are required in these files for consistency and to avoid mismatch in size of internal data structures. CRs-Fixed: 547980 Change-Id: I8c52e79eaf9a40609709f421fce808a15b11a644