summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | qcacld-2.0: Add bound check for numap to avoid integer overflowSridhar Selvaraj2017-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, numap is int and is assigned with a uint32 value from fw which might lead to integer overflow. Also, when multiplying the uint32 value with sizeof dest_ap could lead to int overflow if the value of numap is close to uint32's maximum limit. Fix/Modify numap to uint32 to be in sync with value from fw cmd. Also add check to trim down numap value to max (10) if value is greater than max (10). Change-Id: I060f585c8c951807cd32b5eec75c1bad2e84a75b CRs-Fixed: 2067820
| * | | | qcacld-2.0: Fix NOL update incorrectlybings2017-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Function sapMarkChannelsLeakingIntoNOL and sapDfsIsChannelInNolList need ePhyChanBondState parameter, while function sme_SelectCBMode returns eIniChanBondState value. Incorrect channel will be marked as NOL when eIniChanBondState is passed to sapDfsIsChannelInNolList. Value eIniChanBondState should be converted to ePhyChanBondState before passed to sapDfsIsChannelInNolList. Change-Id: I2e8e15800ca2ef91398671f245de3ec85fd91218 CRs-Fixed: 2078920
| * | | | qcacld-2.0: Fix frame lenth information to cfg80211Raveendra Chennakesavulu2017-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During BSS frame update, frame_len is calculated as size of ieee80211_mgmt and ielen. Since ieee80211_mgmt is a generic frame structure and different frame structures are defined under union this may exceed the actual frame len. Fix by calculatiing offset of variable(ies) and ies length. Change-Id: Ied8e4e604e41de1ac5ccc047ef5cc3cdb05a9445 CRs-Fixed: 2080488
| * | | | qcacld-2.0: Add macro FEATURE_WLAN_ESE check to fix compile errorhqu2017-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add macro FEATURE_WLAN_ESE check to fix compile error Change-Id: I0b47969677ef1ae2e83b65df9a39b936d6f7a6af CRs-Fixed: 2081295
| * | | | Release 4.0.11.207Psnandini2017-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207P Change-Id: I37a304813103e9bc947b7b8550fdadec2d25c95a CRs-Fixed: 774533
| * | | | qcacld-2.0: Use hdd netdev notifier call for softAP interfaceVisweswara Tanuku2017-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In softAP scenario, if any pending scan request is not serviced before NETDEV_GOING_DOWN is called, it results in call trace Handle this by using hdd netdev notifier call for softAP, where scan_block_work is flushed. Change-Id: I5de07103e0b0008f21c0a13add0eed36ea1b31d0 CRs-fixed: 2076542
| * | | | Release 4.0.11.207Osnandini2017-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207O Change-Id: Id0a625250b9c3a37f76953d7ae521454c94f6390 CRs-Fixed: 774533
| * | | | qcacld-2.0: Apply default fwlog print configuration only for onceFrank Liu2017-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Driver configures the default fwlog print in every hdd_open_adapter(), makes the dynamic fwlog configuration lost after hdd_open_adapter() which is not expected from users. The fix is to only apply the default fwlog print once when open the first interface. Change-Id: Id4986c61b5bd4379fb0e31f0a708a24557ff243c CRs-Fixed: 2072042
| * | | | Release 4.0.11.207Nsnandini2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207N Change-Id: Id9fb45475180f652c0d6af4d4e9759488dd27b87 CRs-Fixed: 774533
| * | | | qcacld-2.0: Refine DSRC channel statistics dataZhaoyang Liu2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable then re-enable DSRC channel statistics if it has been enabled when redo dsrc_config. Expand some channel statistics data to u64 to avoid overflow. Change-Id: Ia74106774f9a9af66e5f1227cb9498d60266fec0 CRs-Fixed: 1113905
| * | | | qcacld-2.0: Remove duplicate code of copying sir_ocb_configFerry Zhou2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original two functions sme_copy_sir_ocb_config() and copy_sir_ocb_config() are doing exactly same thing. So, keep only one function to improve maintainability. Change-Id: I3a979b7d3bd940b15582ddbe24ce45c81a80d13a CRs-Fixed: 2046334
| * | | | qcacld-2.0: Fix data loss of def_tx_paramFerry Zhou2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The copy_sir_ocb_config() did not allocate and copy the def_tx_param from SME layer. So, the memory data of def_tx_param was lost. Fix it by allocating and copying the memory of def_tx_param. Change-Id: I013366db4bb722010940ccb249b24de28d88f0d9 CRs-Fixed: 2046334
| * | | | qcacld-2.0: Fix memory overflow of def_tx_paramFerry Zhou2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The offset of def_tx_param in sir_ocb_config is calculated more than the actual offset when copying it. So, the latter half of def_tx_param is out of struct sir_ocb_config. Change-Id: I62fecfff582dbda9b4b8d294a1698fccf336499c CRs-Fixed: 2046334
| * | | | qcacld-2.0: Collect only DSRC tx packet statisticsFerry Zhou2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The predicate adf_nbuf_headroom(msdu) >= sizeof(struct htt_tx_msdu_desc_ext_t) is not always right to judge if the packet is of DSRC or other protocols. When IPv6 packet length is 1514, we think it should be false but it's true. So, the bug happens. Make choice by tx_ctrl_header_found, which is always right, since only DSRC packet has ocb_tx_ctrl_hdr. Change-Id: I704fde2d993c8a2a172f95d8edf9c2463b03ad00 CRs-Fixed: 1113905
| * | | | Release 4.0.11.207Msnandini2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207M Change-Id: Idb81bf7d3e3cd7c1ba80a1cc9681b353c70f3fa0 CRs-Fixed: 774533
| * | | | qcacld-2.0: Fix build errorFrank Liu2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix build error when build with QCA_PKT_PROTO_TRACE is disabled. Change-Id: I5ed42dddfbe701bf72357b672b2101053007b63b CRs-Fixed: 2073701
| * | | | Release 4.0.11.207Lsnandini2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207L Change-Id: Ia3dc30b1e9d43f64a04013a7e721869960a519b0 CRs-Fixed: 774533
| * | | | qcacld-2.0: Fix stack overflow build errorFrank Liu2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix stack overflow build error, malloc/free the roam_info variable. Change-Id: Iee3caefb4fa7c0c0fa5b817346b054db4fb8a946 CRs-Fixed: 2078733
| * | | | Release 4.0.11.207Ksnandini2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207K Change-Id: I5b4c67c96f51fa6b02279497e62291c1a9e92243 CRs-Fixed: 774533
| * | | | qcacld-2.0: Fix kernel memory corruptionyeshwanth sriram guntuka2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buffer overflow in ConvertQosMapsetFrame function when num_dscp_exceptions value is less than 16. Fix is to return from function if num_dscp_exceptions is less than 16. Change-Id: I2fcce60b7fe5e988348cee786e9a4d493d9512fe CRs-Fixed: 2061544
| * | | | Release 4.0.11.207Jsnandini2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207J Change-Id: Ie6fc03245ead7a27dcb7a0f576fda959468836f7 CRs-Fixed: 774533
| * | | | qcacld-2.0: fix an issue for TX timestampingYu Wang2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | skb_orphan() is called in hdd_hard_start_xmit() to reduce the latency; so skb->sk will be NULL when trying to time stamp the skb, then the skb won't be time stamped. To fix this issue, record skb->sk before calling skb_orphan(), save it in skb->tstamp, since skb->tstamp is useless at this point in this case. When time stamping the skb, if skb->sk is NULL, try skb->tstamp. Change-Id: I6059911fb6544f47c1e7852e31067d96db5257bb
| * | | | Release 4.0.11.207Isnandini2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207I Change-Id: I2b198a5b0cd43a63d0bf991fc1896916eb1b9d71 CRs-Fixed: 774533
| * | | | qcacld-2.0: Don't set default key for WAPI networkHu Wang2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qcacld-3.0 to qcacld-2.0 propagation WAPI network no need to set default key, and this change ensures the same. Change-Id: I6b94777a57a6978a7abc56750fd475aaff2c8c94 CRs-Fixed: 2063926
| * | | | Release 4.0.11.207Hsnandini2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207H Change-Id: I4a82fe60212e56d9c9f5aa013d28e573822319c8 CRs-Fixed: 774533
| * | | | qcacld-2.0: Fix edca parameter issueLiangwei Dong2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update EDCA parameter if the country is in European Union based on new ETSI RED channel access parameters. Change-Id: I08b1a0d7cd0ee1f6985cd0810c5c4c1108e582b4 CRs-Fixed: 2069693
| * | | | Release 4.0.11.207Gsnandini2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207G Change-Id: Iffacf714f270661b07deaa365d9e0c3ab907b184 CRs-Fixed: 774533
| * | | | qcacld-2.0: Skip an IE if found more its max times in a frameSridhar Selvaraj2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qcacld-3.0 to qcacld-2.0 propagation. Check if a IE has been encountered more than max possible for that IE while parsing a frame Change-Id: I1054c7df18780469849be55fc4343f09ac502a49 CRs-Fixed: 2069907
| * | | | Release 4.0.11.207Fsnandini2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207F Change-Id: I79d824cce780a18ac1cc0568131d68448f25787c CRs-Fixed: 774533
| * | | | qcacld-2.0: Fix Integer overflow with latest framesc_linux toolAgrawal Ashish2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In GetContainerIesLen size type for len is tANI_U8. len copies values from pBufRemaining. There can be chance for interger overflow. To avoid that make size type for len as tANI_U32. Change-Id: I305321a6631719808ef213571974ae23b0e61bb3 CRs-Fixed: 2064580
| * | | | Release 4.0.11.207Esnandini2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207E Change-Id: Ia00788e0469c22b1e19e0c23fad43898fb67801a CRs-Fixed: 774533
| * | | | qcacld-2.0: Update source address in DSRC broadcast frameZhaoyang Liu2017-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DSRC wlanocb interface support config the two channels' per-channel MAC address, which may be different from the interface's default source address. So, when transmit DSRC WSMP packet, need to update the packet's source address per channel used. Change-Id: I8b120e81fcfbfcb79c9bafa6666be9a666324e57 CRs-Fixed: 1113905
| * | | | Release 4.0.11.207Dsnandini2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207D Change-Id: I0af0dd04bd00e368b7cce61f26f0861c563b9cd2 CRs-Fixed: 774533
| * | | | qcacld-2.0: Add support for DSRC radio channel statsZhaoyang Liu2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Collect per-radio channel statistics including: - Total number of packets transmitted via the radio channel - Total number of valid packets received via the radio channel - Total number of failed packets received on the channel (CRC failures) - Current load on the channel, measured over the last measurement period in % - Current channel utilization measurement period in µs - Proportion of time upon which the radio is tuned to this channel, measured over the last measurement period in % Change-Id: I027109ccda567266c84334b27125bf2846871c29 CRs-Fixed: 1113905
| * | | | Release 4.0.11.207Csnandini2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207C Change-Id: Ie5e88b145a451438060492057f6053496b812cb2 CRs-Fixed: 774533
| * | | | qcacld-2.0: Define ini items gCoexPtaConfigEnable and gCoexPtaConfigParamSuresh Kumar Gautam2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define new ini items gCoexPtaConfigEnable to set PTA pins to enable the coexistence,and gCoexPtaConfigParam to configure the coexistence param between QCA wifi and External BT. Change-Id: Id869e36667df5e43bfd07237bd539d50469e3b3f CRs-Fixed: 2073728
| * | | | qcacld-2.0: Fix RAMDUMP failure, buffer size is smaller than actual dumpRaveendra Chennakesavulu2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During RAM dump collection the register dump size is not taken into consideration which causes RAM dump failures. Fix by adding register dump size for allocationg ram dump memory. Change-Id: Ia9a8d66c3d59adb493a6ec4b9012be27d21aa423 CRs-Fixed: 2075276
| * | | | qcacld-2.0: Add proper api for ktime_get_boot_ns for kernel 3.10Ashish Kumar Dhanotiya2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel api ktime_get_boot_ns is not supported in kernel version 3.10 so add correct api for kernel 3.10. Change-Id: Id78d50d759db90a9c6edf4114f8af1a925dfb9bb CRs-Fixed: 2075000
| * | | | Release 4.0.11.207Bsnandini2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207B Change-Id: I52caaaee39d5f1dbac4e5b4e94851bccc2e06858 CRs-Fixed: 774533
| * | | | qcacld-2.0: Enable ACS fw report support on APQ8017Hong Shi2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable ACS fw report support on APQ8017.LE.1.1. Change-Id: I3e86d9649f9fccf0f67f0a45df86afa03536fc2d CRs-fixed: 2075901
| * | | | Release 4.0.11.207Asnandini2017-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207A Change-Id: I9daa8e70db986e020f3a87d7eea71fc1130cb8d3 CRs-Fixed: 774533
| * | | | qcacld-2.0: Add vendor command for extra BSS informationAnurag Chouhan2017-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qcacld-3.0 to qcacld-2.0 propagation Add Vendor Commands to send BSS Information and ASSOC failure to supplicant. Change-Id: I5b64d9942a54d35eac0f08b4d8fbed9d1d66a504 CRs-Fixed: 2074158
| * | | | qcacld-2.0: Add BSS status cachingAnurag Chouhan2017-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qcacld-3.0 to qcacld-2.0 propagation Add BSS status caching to get the BSS Information when disconnect happens. Change-Id: I41b74700b161277bc454d8bb8978f4e1e92faea8 CRs-Fixed: 2074151
| * | | | qcacld-2.0: HS20 indication element supportNitesh Shah2017-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qcacld-3.0 to qcacld-2.0 propagation HS20 Indication element parsing is added to indicate release number of the HS20 passpoint that is present in Hotspot configurations. Change-Id: I8671d569d3809ebe5da7233ec862ae2569f5c109 CRs-Fixed: 2074142
| * | | | Release 4.0.11.207snandini2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.207 Change-Id: I406523420d69f4ef99eb729441a102695f0a2467 CRs-Fixed: 774533
| * | | | qcacld-2.0: Add DSRC per packet tx stats supportFerry Zhou2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Collect DSRC tx per-packet statistics including: - channel used - data rate used - transmit power used - channel width is 10 MHz or 20 MHz - source MAC Address used Change-Id: I2284225cd14fe0e9d74289cc267df71d327046c9 CRs-Fixed: 1113905
| * | | | qcacld-2.0: Support DSRC per-channel config featureZhaoyang Liu2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add default data rate to configure, and driver maintain data rate and MAC address as per channel setting. Per-channel MAC address will be used as source address in header for DSRC broadcast frame transmitted via a certain channel. Save default tx ctrl parameters in driver from dsrc_config, which will be used to dsrc tx frame. Change-Id: I44580cc3c34eb27d3edb4f8def601e7172762c54 CRs-Fixed: 1113905
| * | | | qcacld-2.0: Add rx noise floor for 11p chain0/1Ferry Zhou2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Take up the rx noise floor from firmware to DSRC application. Change-Id: Ib693e5ba8273e9d5a678452a09bde2cf6a0e066e CRs-Fixed: 1113905
| * | | | Release 4.0.11.206Zsnandini2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.206Z Change-Id: I92680112b413a26df7312f818522f4a5b42462bc CRs-Fixed: 774533
| * | | | qcacld-2.0: Remove warning logs in beacon/probe response parsingSridhar Selvaraj2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, parsing of beacon/probe response leads to flooding of warning messages in kernel logs. Remove warning logs in beacon/probe response parsing. Dump IE's only for parse fail case as debug logs. Change-Id: I1b6898377cc196a5c4fe3d3316618104fd8b281e CRs-Fixed: 2069907