summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | qcacld-2.0: Cleanup set/reset ssid hotlist codeSrinivas Girigowda2016-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup set/reset ssid hotlist code. Change-Id: If91e16e13ca3bec442b0660f518953119c660a55 CRs-Fixed: 1102593
| * | | | qcacld-2.0: Update qpower configuration to FWKapil Gupta2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently during dynamic update of qpower value, only updation of wma configuation of qpower is done. Updation of value to firmware is done as part of request bmps. Add changes to apply configuration directly to firmware. Change-Id: Ic690935ca77bf3a8a1dad4c1cc4aeb22464f06cf CRs-Fixed: 1102730
| * | | | qcacld-2.0: CL 2733238 - update fw common interface filesvamsi krishna2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WMI Changes for Connected PNO Change-Id: Id26aa4be1efc9729df4858cb11c8546918835f24 CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2731156 - update fw common interface filesvamsi krishna2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change WMI FIPS_EVENT data array elements from A_UINT32 to A_UIINT8 Change-Id: I939af363f980345611062118fdf273ca4aececbb CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2730209 - update fw common interface filesManjeet Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WMI message for reporting targets package ID/flags Change-Id: I9c4bd84b59e4bf7330df5fe697aa47880f4bdd2e CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2724196 - update fw common interface filesManjeet Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define WMI PEER_STATS_INFO messages Change-Id: I36c41f7398a96d5f0157947698ba2569262821ca CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2719972 - update fw common interface filesManjeet Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make scan WMI commands pdev level. Change-Id: I78e2d00bb5b092a564304581ede3d252e129a617 CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2716671 - update fw common interface filesManjeet Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new service bit WMI_SERVICE_FW_MEM_DUMP_SUPPORT to let host know whether FW MEM dump is supported or not Change-Id: I7e0927bfdd0b776f7431a556ef67a2f0c9fe7538 CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2711024 - update fw common interface filesManjeet Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add WMI_SAR_FEATURE_ON_USER_DEFINED enum value Change-Id: I39bbb45c098ec08c7173ea79cd32245fff5a3fc0 CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2710751 - update fw common interface filesManjeet Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WMI Changes for RCPI feature (and whitespace cleanup). Change-Id: I8118ff09e89991c0b2ff3ac950547c2ee74c16b6 CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2703071 - update fw common interface filesManjeet Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make set chan list a pdev level cmd Change-Id: Iff2d7698c7e2869f6f270a7f604338487df606a0 CRs-Fixed: 865207
| * | | | qcacld-2.0: CL 2694827 - update fw common interface filesManjeet Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11ax specific WMI changes Change-Id: Iebb00e0557ba09f93fc5c926c091ecb7a6771f56 CRs-Fixed: 865207
| * | | | qcacld-2.0: Move card reset sequence post async task cleanupGovind Singh2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sdio bus is not claimed prior issuing target reset command, this can result in bus access by async task during card reset operation. Avoid the race condition by moving the reset sequence post async task cleanup. Change-Id: I6817a3ce4935571d103f1b6b5989b15e11049834 CRs-Fixed: 1100166
| * | | | qcacld-2.0: Remove obsolete set/reset ssid hotlistSrinivas Girigowda2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove obsolete set/reset ssid hotlist. Change-Id: Ie6c4a9847f2daa9ba2aebd17f386d584201b86d6 CRs-Fixed: 1102593
| * | | | qcacld-2.0: Fix array length bug for MAC countersZhang Qian2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each AC has four arrays for TX stats (MPDUs with same aggregation size, Acked PPDUs with same encoding rate, Unacked PPDUs with same encoding rate, PPDU with same TX delay time) and two arrays for RX stats (MPDU with same aggregation size, PPDUs with encoding rate). Data type for terms in all the arrays is uint32 not uint8. Array length in WMI event's fix_param for each array is number of terms. So size of the array should be multiplied by sizeof(uint32). Change-Id: Ie23c643bc6c71e01fd7b3d39bd2a047f0c152c8a CRs-fixed: 1101826
| * | | | qcacld-2.0: Enable feature bits in get_supported_features()Srinivas Girigowda2016-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable feature bits WIFI_FEATURE_CONTROL_ROAMING, WIFI_FEATURE_IE_WHITELIST and WIFI_FEATURE_SCAN_RAND. Change-Id: Ia0f136e038e7da040faae04eaa11bcf56bb72443 CRs-Fixed: 1102187
| * | | | qcacld-2.0: Use wrapper to reset the log_completion variablesArunk Khandavalli2016-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Presently, vos_init_log_completion is used to reset the log_completion variables, which also initializes the spin_lock along with setting the log_completion variables to default. In case of SMP platforms, spin_lock would have been acquired on the different CPU and on the different CPU if the spin_lock is initialized again, it would change the magic of lock. So, the spin_lock acquired on CPU0 while releasing would result in error, since the magic content of the lock is changed by re-initializing without unlocking the spin_lock. use a wrapper function just to reset the log_completion variables to default Change-Id: I2c6754b41d05707103f1c39248829ba6033bfc4f CRs-Fixed: 1101839
| * | | | qcacld-2.0: Fix wrong attr checking for fw versionHong Shi2016-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It should be QCA_WLAN_VENDOR_ATTR_WIFI_INFO_FIRMWARE_VERSION instead of QCA_WLAN_VENDOR_ATTR_WIFI_INFO_DRIVER_VERSION. It shall be a typo error. CRs-Fixed: 1099390 Change-Id: Iee2545902ec4d7b7169d6b72bdad2590fe55cbb4
| * | | | qcacld-2.0: NAN Datapath security changesNaveen Rawat2016-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement NAN Datapath security changes. This mainly involves: 1) Getting CSID and PMK parameters from user layers and passing down to firmware. 2) Passing CSID and SCID parameter received from firmware to user layers. Change-Id: I25c85944abf4206f40b73f86996e9425c22df66a CRs-Fixed: 1095382
| * | | | qcacld-2.0: Fix array out-of-bounds & integer underflow in _iw_set_genieSrinivas Girigowda2016-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'wrqu->data.length' holds the total number of IE data buffer. Add a check to make sure the number of remaining data to be read is greater than or equal to IE length. Also, advance the buffer pointer to point to the next element only if next element is present. Change-Id: Ic60f3e0650f365955dab4099eb8740e9789e00cc CRs-Fixed: 1100132
| * | | | qcacld-2.0: Disable ie whitelisting in connected stateRajeev Kumar Sirasanagandla2016-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current implementation, probe req ie whitelisting feature is also enabled in connected state due to which, probe reqs in corresponding state are including selective IEs only. To avoid this, disable IE whitelisting feature in connected state. Change-Id: I52c78d40e8b97d89ff7cf63ef0bd6025e019a0db CRs-Fixed: 1101697
| * | | | Release 4.0.11.200Anjaneedevi Kapparapu2016-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.200 Change-Id: Ib99671eccd6991acda8eb2edf441a0c8c82779bd CRs-Fixed: 688141
| * | | | qcacld-2.0: Add check for NSS while parsing VHT Opmode update IEAgrawal Ashish2016-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qcacld-3.0 to qcacld-2.0 propagation VHT Opmode update IE in beacon is not getting processed, because __schBeaconProcessForSession only checks for difference in channel width from current channel width. Add check for NSS as well while parsing VHT Op Mode update IE in __schBeaconProcessForSession. Change-Id: Ideffe72332cf0a78ac80d5179eab6ba524335f93 CRs-Fixed: 1085109
| * | | | qcacld-2.0: Fix SAP multi-connection fail issuegaolez2016-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the SAP associate respond process, check if the pSta pointer is valid before dereference. Change-Id: I04cb7b9bf7d2ddd8417b0b2114f5158a1a16fa5b CRs-Fixed: 1093599
| * | | | qcacld-2.0: Disconnect AP on beacon change in csr scanning stateNitesh Shah2016-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the CSR state of the STA changes eCSR_ROAMING_STATE_SCANNING. And the same time when the AP changes its capability, the STA gets the beacon and detects that the beacon is changed. In this case, the STA is unable to disassociate with the AP. The fix is to disconnect even when the change in beacon is detected, and CSR state is in eCSR_ROAMING_STATE_SCANNING. Change-Id: I884fc936f543ad56cdb74b50d568f52f4d80ad79 CRs-Fixed: 1098370
| * | | | qcacld-2.0: Add conditional check for SAP key clearingwadesong2016-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SAP keys should be retained at HDD layer when wlan driver performs internal restarting due to MCC to SCC switch Change-Id: I5458f7602a0e3851d678981e107ef3b5bda17dd7 CRs-Fixed: 1095584
| * | | | qcacld-2.0: Apply TxFlowLowWaterMark setting to IBSS modeBian Guolei2016-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply TxFlowLowWaterMark setting to IBSS mode to avoid TCP uplink throughput drop on the 4.1 kernel. Change-Id: I4d4fd4e62abee91db2b694a9a32ee52e36868651 CRs-Fixed: 1099487
| * | | | Release 4.0.11.199Anjaneedevi Kapparapu2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.199 Change-Id: I1e635b81982528406de6c10038d6cee39b63eb11 CRs-Fixed: 688141
| * | | | qcacld-2.0: Add host diag events for wow statsSen, Devendra2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add diag event for wow packet counters stats. The event EVENT_WLAN_POWERSAVE_WOW_STATS will be used to inform the wow stats packet counters. Change-Id: I143f55ef26803fe060831458cee854e4e00e7870 CRs-Fixed: 1087714
| * | | | qcacld-2.0: Extend Get wakelock statsPoddar, Siddarth2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the wakelock stats to include all wakeup reason counters. Included counters are: wow_rssi_breach_wake_up_count wow_low_rssi_wake_up_count wow_gscan_wake_up_count wow_pno_complete_wake_up_count wow_pno_match_wake_up_count CRs-Fixed: 1097267 Change-Id: I2b95e294aae21fcf1e11b6b95a083268daa1acbd
| * | | | qcacld-2.0: Check for zero length ssidSrinivas Girigowda2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nla_parse will detect overflow but not underflow, Add a check for zero length ssid. Change-Id: I83f350f81f206a7a8c3ed7f1b5872e6cf995ae81 CRs-Fixed: 1059205
| * | | | qcacld-2.0: Add ini to configure SAP 11n max mcsFrank Liu2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for configure host init SAP HT rate upper bound. Change-Id: If749f8a036d98d9070cb05170fa1e612fcb30e8a CRs-Fixed: 1091897
| * | | | qcacld-2.0: Channel hopping for 2_4G and 5G bandgaolez2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow device switch to a different channel if the current channel is congested, using the 11h channel switch announcement. Change-Id: I1766785017e43f17cc800039b383ee5dabcd6ea5 CRs-Fixed: 1094958
| * | | | qcacld-2.0: Add ini option for action frame based channel switchgaolez2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ini option to enable/disable action frame based channel switch. Change-Id: I340464a18ef0b5cf09f481a23b01edcf04904e34 CRs-Fixed: 1094958
| * | | | Release 4.0.11.198Anjaneedevi Kapparapu2016-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.198 Change-Id: I81718633a040eaf319d4bb41220f0367dde1097b CRs-Fixed: 688141
| * | | | qcacld-2.0: Support for configure wlan rts sifs,ampdu countFrank Liu2016-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for host enable/disable rts sifs bursting, and set default tx mpdu aggregation count. CRs-Fixed: 1089478 Change-Id: Ieb63621f217ccd1a50b925ea4dda05fecad01387
| * | | | qcacld-2.0: Avoid dereferencing suspicious pointerSreelakshmi Konamki2016-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation In csr_ssid_scan_done_callback(), Return failure status if scan_context is NULL to avoid dereferencing NULL pointer. Change-Id: Ic679e99cef9869aa5349b1b1892b8ed065286e62 CRs-Fixed: 1092464
| * | | | qcacld-2.0: Remove BTC code to avoid long scan timeYingying Tang2016-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BTC code is only used for WCN chipset where BT COEX module was running on host. While for Rome solution, BT COEX module is moved down to FW. For now there is a bug that scan time is very long,it caused by BTC with A2DP up. Remove BTC related code to avoid long scan time. Change-Id: If364f0f3c7f88a8bb43fe1cc164352ff895f9663 CRs-Fixed: 1058780
| * | | | qcacld-2.0: dereference ini config object after NULL checkHanumanth Reddy Pothula2016-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If unload is triggered after re-init sequence failure, there is a possibility of NULL pointer dereference while checking ini parameter values as cfg_ini will be set to NULL on re-init failure Add NULL check for ini config object, before dereferencing it. Change-Id: Id60f6c4bd48ce08c45244a99790eb7ef974f4eba CRs-Fixed: 1096698
| * | | | qcacld-2.0: FTM: During unload, don't do LIM de-initializationHanumanth Reddy Pothula2016-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation. Presently, LIM de-initialization is happening during FTM unload though LIM is not initialized during FTM load. In FTM mode, during driver unload don't de-initialize LIM module. Change-Id: Icd2ce2681587f92e5d8311f2f69c79dc4127be9a CRs-Fixed: 1094268
| * | | | Release 4.0.11.197Anjaneedevi Kapparapu2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.197 Change-Id: Ieaa2ee8cba8a7e61e284bdb6d6d276295b4b9731 CRs-Fixed: 688141
| * | | | qcacld-2.0: Support fast transition with open securityAdesh Keremane2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If station is connected to an AP with open security, fast transition would fail as preauth is attempted only if FT ies are present. To fix this, Preauth is attempted even if FT ies are not present for a 11R connection in open security. Change-Id: I0ac15fc63b4b97a0e2fcecfe70d7cfc1c9277318 CRs-Fixed: 1086498
| * | | | qcacld-2.0: Fix incorrect data type assignmentSrinivas Girigowda2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In function wma_get_buf_extscan_change_monitor_cmd() and wma_get_buf_iextscan_hotlist_cmd(), numAp is of type uint32_t but it is assigned to variable numap of type int. Fix this by making 'numap' also of same type 'uint32_t'. Change-Id: I02502f05d2305f62cbde47db2893770673d19fc3 CRs-Fixed: 1096384
| * | | | qcacld-2.0: Fix AP+AP MCC OBSS scan unreliableLiangwei Dong2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AP1 starts on 2.4g, AP2 starts on 5g ht40. The AP2 is always failed to find the interference AP during OBSS scan. It is because the cld driver uses passive scan but the dwell time is set to active scan's default dwell time 80ms. That is too short for passive scan. The fix is to set the dwell time based on scan type. Change-Id: I687217f7d15f963f0043dab661ae29bb026ba7b5 CRs-Fixed: 1093940
| * | | | qcacld-2.0: Fix crash when using ipaucstatjge2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In sta+ap bridge mode, IPA is disabled by changing WCNSS_qcom_cfg.ini, if ipaucstat is triggered from user space, as ghdd_ipa isn't initialized, crash happens in hdd_ipa_dump_info, so it needs to check the IPA config before dumping IPA info. Change-Id: I496c933a621a93df2a263cd7ba8d639a3b2dc4d8 CRs-Fixed: 1087250
| * | | | qcacld-2.0: Fix dead loop in hdd_get_sap_operating_channelbings2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the while loop of hdd_get_sap_operating_channel, sap_operating_band should be revalued, otherwise it causes dead loop. Change-Id: I9cb1ae738066567d032f99621ffe04d3beb74b8c CRs-Fixed: 1094604
| * | | | qcacld-2.0: Avoid overflow of "set_bssid_hotlist" paramsSrinivas Girigowda2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wlan driver supports the following vendor command: QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_SET_BSSID_HOTLIST This command supplies a "number of APs" attribute as well as a list of per-AP attributes. However there is no validation that the number of APs provided won't overflow the destination buffer. In addition there is no validation that the number of APs actually provided matches the number of APs expected. To address these issues: * Verify that the expected number of APs doesn't exceed the maximum allowed number of APs * Verify that the actual number of APs supplied doesn't exceed the expected number of APs * Only process the actual number of supplied APs if it is less than the expected number of APs. Change-Id: I41e36d11bc3e71928866a27afc2fbf046b59f0f5 CRs-Fixed: 1095770
| * | | | qcacld-2.0: Avoid overflow of "significant change" paramsJeff Johnson2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wlan driver supports the following vendor command: QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_SET_SIGNIFICANT_CHANGE This command supplies a "number of APs" attribute as well as a list of per-AP attributes. However there is no validation that the number of APs provided won't overflow the destination buffer. In addition there is no validation that the number of APs actually provided matches the number of APs expected. To address these issues: * Verify that the expected number of APs doesn't exceed the maximum allowed number of APs * Verify that the actual number of APs supplied doesn't exceed the expected number of APs * Only process the actual number of supplied APs if it is less than the expected number of APs. Change-Id: I0513ffbc4a38f1d7ddbc0815d3618fc9a2ea4f77 CRs-Fixed: 1095009
| * | | | qcacld-2.0: make configurable rx wakelock durationLeo Chang2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To find optimal rx wakelock duration, change hard coded wakelock to configurable parameter. Added new ini item. rx_wakelock_timeout, default 0, max 100msec. If duration is 0msec, wakelock will not be called. Do not take wakelock for Rx multicast/broadcast packets. Change-Id: I7e91d32bc9cddc1a507b84ce68e90319360d1df2 CRs-Fixed: 1040730
| * | | | Release 4.0.11.196Anjaneedevi Kapparapu2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.196 Change-Id: Ib2b9912cca8569810d0f6aa3620e650e4510ac64 CRs-Fixed: 688141