summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * | | | qcacld-2.0: Fix incorrect NULL pointer check for SMEYingying Tang2016-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there are some places where array name is compared to NULL in SME. Add fix to correct it. CRs-Fixed: 1063255 Change-Id: Id37e8b6fc483d41c4e5b48bb78c295acc08a0328
| | * | | | qcacld-2.0: Fix incorrect NULL pointer check for WMAYingying Tang2016-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there are some places where array name is compared to NULL in WMA. Add fix to correct it. CRs-Fixed: 1063255 Change-Id: I9c6222ca915e566554b9731424b0eb79506e9dcf
| | * | | | Release 4.0.11.160Anjaneedevi Kapparapu2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.160 Change-Id: I16b552c529ea3ba83c9c101cba6587e162786500 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Change size from fixed value to string lengthHimanshu Agarwal2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Presently, the size that is being copied is fixed to NBUF_PKT_TRAC_PROTO_STRING irrespective of the length of the string to be copied. This may result in copying of garbage value in cases when the string to be copied is shorter than NBUF_PKT_TRAC_PROTO_STRING. Change the size to be copied to the length of the string instead of a fixed value. Change-Id: Ica10118a7af9f7fe78c98396e2e3014ba4181074 CRs-Fixed: 1068774
| | * | | | qcacld-2.0: Do not reschedule wlan tasklet when SSR is in progressGovind Singh2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SSR is not completing as tasklet_kill is blocked due polling of the tasklet state to TASKLET_STATE_SCHED. This is coming due to race condition of tasklet disable and tasklet reschedule if there is any outstanding rx packet. To avoid this scenario, do not reschedule wlan tasklet when SSR is in progress. Change-Id: I4f12aae79b1fff40c3c95e4f60376540e9f32ef8 CRs-Fixed: 1064926
| | * | | | qcacld-2.0: CL 1645154 – update fw common interface filesPoddar, Siddarth2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add WMI_ prefix to fix name conflict caused by recently-added ENCRYPT flag def Fix name conflict caused by ENCRYPT flag def added in CL 1641391 Change-Id: I398bec5ef53fb925fa7e4fbceaa62ef62eb46e68 CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1644962 – update fw common interface filesPoddar, Siddarth2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Further WMI stats field name cleanups Continue WMI stats field name cleanups begun in CL 1639162. This change disambiguates the interpretation of some of the stats fields, and adds a couple stats field renames that were overlooked in CL 1639162. Change-Id: I0879a42ef3b0b280ac45a691658d26e48de105fd CRs-Fixed: 865207
| | * | | | qcacld-2.0: Populate default basic rates when ACS is enabled in iniAgrawal Ashish2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If Driver force acs is enabled, channel/ hw config from hostapd.conf is ignored. Driver uses INI params dot11Mode, channel bonding mode and vht chan width to derive ACS HW mode and operating BW. Currently hostapd.conf will populate its basic and extended rates as per hw_mode but if acs in ini is enabled, driver should ignore basic and extended rates from hostapd.conf and should populate default rates. Change-Id: I16f26e9d903eae5abf903b75b62e57f6f8880646 CRs-Fixed: 1063536
| | * | | | Release 4.0.11.159Anjaneedevi Kapparapu2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.159 Change-Id: I8c5b73ecd6b289b0ca8c1ca593e551b32c558040 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Add support for nl get_station interfacegbian2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the logic to get tx_retries from multiple_retry_cnt. Currently tx_retries calculate from summary_stat.retry_cnt[] which are not initialized in current code. FW will enable FW_REPORT_TX_STATS_PER_VDEV feature and add multiple_retry_cnt support. Change-Id: Idf3ba2cc7fa3ab287256a850555bb50e8a117bd2 CRs-Fixed: 1061540
| | * | | | qcacld-2.0: Serialize the regulatory hint sent by driver to kernelSachin Ahuja2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Currently Driver finds the best country using voting mechanism and sends the regulatory hint to kernel.If this country is not present in db.txt then kernel will send the world regulatory in callback after 300 msecs. Within this time, driver will scan and get the new country by voting mechanism.So 11d acquired country and country sent by kernel is different and driver disables the 11d. To resolve this issue, regulatory hint handling is serialized so that 11d acquired country and country sent by kernel in callback remains the same. Change-Id: I15167b1e4b1a307e4c052c8baa97ecfd6ee6b267 CRs-Fixed: 783215
| | * | | | qcacld-2.0: Add break at end of switch caseYingying Tang2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there are some places where break is missed at the end of switch case. Add fix to correct it. CRs-Fixed: 1063255 Change-Id: I117bdf7280e7cd1127d2251f1412a08ac8aadbc9
| | * | | | qcacld-2.0: Fix incorrect value assignmentYingying Tang2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there are some places where value is assigned incorrectly. Add fix to correct it. CRs-Fixed: 1063255 Change-Id: I1d48b464ad67d112af6f3ffeea340a56633556f9
| | * | | | qcacld-2.0: Add new HW version for QCA9379Yingying Tang2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there is no QCA9379 1.1 infomation in wlan device id table. Add QCA9379 version 1.1 in device id table. CRs-Fixed: 1048598 Change-Id: Ie4b7d3e31db2f2b3cad116bb0e993f9f55a7d322
| | * | | | Release 4.0.11.158Anjaneedevi Kapparapu2016-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.158 Change-Id: Ic8fa77ecba11fa8fe5b03948571c659fef1fcc74 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Change the reassoc timer value to 500msSachin Ahuja2016-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Currently in ESE reassoc timer value is 1 sec. So if reassoc is failed, then host sends the reassoc retry with the same TSF value after 1 sec. AP rejects if the TSF time difference is more than 1 sec. Changes are done to retry the reassociation within 1sec. change-Id: I3f3415d683d39721aef17937ab4a4d1454d513eb CRs-Fixed: 789057
| | * | | | qcacld-2.0: Remove unused ini paramsManjeet Singh2016-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In HDD code, gEnableAutomaticTxPowerControl and gEnableCloseLoop are not sent to FW and thus are currently unused. Thus, remove support for these ini params. Change-Id: I5d62c572d7ce9dc18613bbfab4938b90c0ac8833 CRs-fixed: 1062286
| | * | | | qcacld-2.0: Reduce gscan priorityKapil Gupta2016-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gscan priority should not cross normal scan. Add changes to reduce gscan priority. CRs-Fixed: 1066785 Change-Id: I7459367cfed5d932f07f8c846265c448b9a84555
| | * | | | qcacld-2.0: Add call for wlan_hdd_classify_pktHimanshu Agarwal2016-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zero out skb->cb and add call for wlan_hdd_classify_pkt to classify a packet as DHCP/EAPOL/ARP/WAPI. Change-Id: Ie9c87a519a07ee210c1cea20923b317a7d926f75 CRs-Fixed: 1062897
| | * | | | qcacld-2.0: Enable DEBUG_HL_LOGGING for all HL targetsHimanshu Agarwal2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable DEBUG_HL_LOGGING for all HL targets by defining the DEBUG_HL_LOGGING macro for all HL targets in Kbuild. Change-Id: I37ce3fc0986f0263d1f6799bd746f720a222dd4c CRs-Fixed: 1067283
| | * | | | Release 4.0.11.157Anjaneedevi Kapparapu2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.157 Change-Id: I8e1d34073319f068b0bfc109f0c4d6941533e009 CRs-Fixed: 688141
| | * | | | qcacld-2.0: CL 1641391 – update fw common interface filesHimanshu Agarwal2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WMI modification for DISA feature Change-Id: I57441642986ecfb6d3ee42d602810f6b22f83c46 CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1639162 – update fw common interface filesHimanshu Agarwal2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename WMI REPORT_STATS_EVENT fields. Change the names of some of the REPORT_STATS_EVENT fields to better describe the information they contain, and move some of the rx stats to be at the peer level.These changes are not backwards-compatible, but since the current defs are not yet being used by host or target. Change-Id: I37d0fdf9b65a55f42e935e4917db30c4eb316607 CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1638528 – update fw common interface filesHimanshu Agarwal2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add WMI_COEX_CONFIG_COEX_DBG def. Change-Id: I7d320ce070087b464784baee886c5d1d103a7b6c CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1636297 – update fw common interface filesHimanshu Agarwal2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tx frame count and MAC clock to WMI chan info event message. Change-Id: I79c2a07504a5ff84ebf4b48ca00ef3c299fd15f1 CRs-Fixed: 865207
| | * | | | qcacld-2.0: CL 1635229 - update fw common interface filesHimanshu Agarwal2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report aggregation failure LL implementation. Change-Id: Ibeaeb6f744480faa116c607eee7c19bdd73ea0d0 CRs-fixed: 865207
| | * | | | qcacld-2.0: Fix DMA MAP address overwriten in IPA exception pathChris Guo2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid overflow of bounce buffer, LL WLAN does not do DMA map to skb before queueing packets in driver queue. But the above design is not well implemented(If357377cc49a596a7eedb15f52f4dfd1c5685708) for IPA exception path and will overwrite the advance frag_ptr. So bypass this logic for IPA exception path. Change-Id: I7fb6a6658cda0cb531953f6d5fe8ee393dfc6483 CRs-Fixed: 1065541
| | * | | | qcacld-2.0: Correction in DPTRACE logging of rx packetsHimanshu Agarwal2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As rx_buf is always pointing to the first packet of the chain of packets and skb points to the packet being processed, passing rx_buf in DPTRACE logs the first packet of the chain every time instead of the actual packet being processed. Pass skb in place of rx_buf in DPTRACE in hdd_softap_rx_packet_cbk and hdd_rx_packet_cbk funcs. Change-Id: I72217badbd377ab9f8f3aca7ec2c586a98967188 CRs-Fixed: 1066614
| | * | | | qcacld-2.0: Process channel change request only when SAP is startedWu Gao2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When SAP starts (DFS channel) on default interface and a new interface for SAP is created, if eSAP_DFS_CHANNEL_CAC_RADAR_FOUND event is triggered then kernel panic happens. This is because for the new interface SAP is created but not started and due to this channel list is NULL. Fix is to add state check for SAP interface to know if SAP is started or not. Change-Id: If613ec3ed0afad8a66d545bcd858fe73640a0273 CRs-Fixed: 1062516
| | * | | | Release 4.0.11.156Anjaneedevi Kapparapu2016-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.156 Change-Id: I48fe9a0e04cc33b1b0b24ae58c1ee0e8224251bd CRs-Fixed: 688141
| | * | | | qcacld-2.0: Disable GAP when concurrent sessions runningGanesh Kondabattini2016-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GAP should be enabled by host only when SAP is operating in stand alone mode. Host should disable when there is a concurrent STA or P2P session. CRs-Fixed: 1065543 Change-Id: I1649bd5caca07abf2799892ad92d906474277acc
| | * | | | qcacld-2.0: Remove unwanted IEs from beacon filter APIsGupta, Kapil2016-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Power constraint and channel switch IEs are not required in beacon filter since host gets seperate event for CSA IE and need not to process Power constraint IE. Add changes to remove these IEs. Change-Id: Ib489b0fc7bc1f0a2b7414f59ed325deecb65bb8e CRs-Fixed: 1030084
| | * | | | qcacld-2.0: Validate adapter in scan done callbackManjeet Singh2016-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In hdd_cfg80211_scan_done_callback, scan_done notification is sent to the kernel for scan requests completed successfully or in case of scan abort. The notification indicates kernel to free the scan request. After kernel version 3.14 , changes in the kernel cause scan request to be freed in case of net device unregister or interface down. If then HDD sends another scan_done notification on the freed scan request as part of pending scan abort, a crash occurs when the freed memory is accessed by kernel. Thus, avoid sending scan_done notification in case of driver unload. Change-Id: I8f27c720e00f50f056d7b98e2d35d34f218da7b8 CRs-fixed: 1059683
| | * | | | qcacld-2.0: Validate HDD context in stop AP APISaidiReddy Yenuga2016-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With out validating the HDD context trying to stop the AP, When the SSR in progress. This resulting in crash. validate HDD context before proceeding for stop AP. CRs-Fixed: 1055372 Change-Id: I6a9419a0f3f1d2a724f4f61fa0d7b191784433b7
| | * | | | qcacld-2.0: Cleanup DFS CAC timerWu Gao2016-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start SAP with DFS channel on default interface and create new AP interface without any operation, then terminate SAP and rmmod WLAN driver, DUT crash since it doesn't clean up sap_dfs_cac_timer. Change-Id: Iffc1d9239c303c25067da2e2d30e37648a44e599 CRs-Fixed: 1051755
| | * | | | qcacld-2.0: Remove ambiguous NULL check for pointer 'str'bings2016-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pointer 'str' NULL check is only needed before it is parsed in hdd_string_to_string_array. The more NULL check for pointer 'str' is useless and harmful. Generally speaking, The more check indirectly shows the compiler a wrong state, pointer 'str' can be NULL. Then compiler will complain if the following code part has pointer 'str' dereferenced. Fix is to remove ambiguous NULL check for pointer 'str'. Change-Id: Ia518b71e73e7345641319dd0891ee769eb3e26d1 CRs-Fixed: 1064476
| | * | | | qcacld-2.0: Fix tcp chksum can't be enabled for sapjge2016-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In STA+AP or AP+AP mode, if the sap's interface is created rather than using wlan0, there is no setting for tcp chksum offload. Change-Id: I346ea186ad26c5f5a0fd4c3dee4a39b102570de7 CRs-Fixed: 1063245
| | * | | | Release 4.0.11.155Anjaneedevi Kapparapu2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.155 Change-Id: Ib3595a3b0b5a68357cdde1c51da34e668592b0bb CRs-Fixed: 688141
| | * | | | qcacld-2.0: Add MTRACE parser script parsemactrace.cmm fileSreelakshmi Konamki2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation The parsemactrace.cmm file will be maintained under CORE/SYS/legacy/src/utils/src/. This script helps to decode MTRACE logs when we get crash dumps. Change-Id: I421b53edc18c49e737411d3723b0a1536e86bc58 CRs-fixed: 957900
| | * | | | qcacld-2.0: Clear the bits in Ext Cap IE if AP not supportHu Wang2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Some specific AP will send assoc reject if DUT set the bits in Ext Cap IE which AP not advertise in beacon or probe response. To avoid the IoT issue, clear the bits in Ext Cap IE if AP not support. Change-Id: I632f5474331abf51257cacdcce412d7a110d2433 CRs-Fixed: 1052140
| | * | | | qcacld-2.0: Use variable length for Ext Cap IEHu Wang2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation Ext Cap IE is defined as fixed length in driver. But some AP sends beacon or probe resp with variable length of Ext Cap IE, then dot11f will decode it to invalid value. To fix this, use variable length for Ext Cap IE. Change-Id: I910edfddf3ea64bc3000b6e7803dc57a50399dbb CRs-Fixed: 1052140
| | * | | | qcacld-2.0: Release wlan_wakelock after clean up if driver load failsKomal Seelam2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If WLAN driver load fails, there is a possibility of system to enter suspend before, we do cleanup completely resulting in stability issues. Prevent APPS suspend, till the driver clean up is complete. Change-Id: I7e7655fe34352a84de05c0369d8c154159b00562 CRs-Fixed: 1065115
| | * | | | qcacld-2.0: Cancel Remain on channel command before stop apKapil Gupta2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If P2P-GO stop comes during ROC, it may cause WLANSAP_StopBss API to fail. ROC is stuck as firmware is running Gscan which is higher priority than p2p ROC scan prioirty. This causes ROC command to be stuck in the active list for 10 seconds and will eventually cause a crash in FW when host will try to add self peer since older peer is still present in the FW with same mac address. Add change to increase the priority of P2P scan and cancel ROC before calling stop AP API. CRs-Fixed: 1065161 Change-Id: I3a62234596c8c2acc0155b483847b9adc159d757
| | * | | | qcacld-2.0: Update bssid of struct beacon filter req memberSreelakshmi Konamki2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In csrNeighborRoamIndicateConnect(), bssid of structure 'tSirSetActiveModeSetBncFilterReq' member is not updated. Fix to update the struct member 'bssid' Change-Id: I96fbfe232dbfc9e40ee37a279d6ad9dcecfe8bb9 CRs-Fixed: 1063874
| | * | | | Release 4.0.11.154Anjaneedevi Kapparapu2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 4.0.11.154 Change-Id: I9f0a119fcca31ee0baf0b34696dd91a58c7796b4 CRs-Fixed: 688141
| | * | | | qcacld-2.0: Fix for crash caused by buffer overflowDeepthi Gowri2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prima to qcacld-2.0 propagation In sme_UpdateDSCPtoUPMapping() function, we try to write into the array dscpmapping in 255th location, if the location index happens to be 255. But the size of dscpmapping array is 64 only which is causing out of boundary access resulting in crash. To address this, avoid writing in out of boundary. If the DSCP range is 255, there is no mapping for such priority, so there is no need assign anything for dscpmapping. CRs-Fixed: 1027457 Change-Id: Ic4299122b10a990d17816f864ef8415c1b75b230
| | * | | | qcacld-2.0: prevent out-of-bounds access for pRecord->databings2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of array 'pRecord->data' is 16, so prevent any chance of out-of-bounds access in adf_dp_display_record. Change-Id: I06ddb281f46e57f9903ccd0a8bdf795a3cfc8a38 CRs-Fixed: 1064929
| | * | | | qcacld-2.0: Remove needless NULL check for pktNodebings2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NULL check for pktNode in hdd_flush_ibss_tx_queues is needless, because it can't be NULL, and it is dereferenced before. Fix is to remove needless NULL check for pktNode. Change-Id: I5c4a1e738c10b7ed693a73ecb4e4955b39b531b3 CRs-Fixed: 1064927
| | * | | | qcacld-2.0: Add 4 SAP supportLiangwei Dong2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change extends FEATURE_WLAN_MCC_TO_SCC_SWITCH feature to support 4 SAP. In 4 SAP concurrency case, driver has below SAP channel selection preference based on value of gWlanMccToSccSwitchMode. 0 - Less override mode: Select the user configured Channel as preferred channel. 1 - Avoid channel overlapping mode: Select the other SAP session's home channel as preferred channel if the starting SAP channel has overlap with them. 2 - Force same band SCC mode: Select the other SAP session's home channel as preferred channel if the starting SAP is on the same Band as them. Driver tries to select the preferred channel in each mode and fall back to less preferred channel if preferred one breaks the driver/FW limitations. If all the candidate channels can't meet the limitations, fails the SAP starting request. Change-Id: Iaae15048f0dcca5ad4038f2a59bcd5e4e144ba49 CRs-Fixed: 1050901
| | * | | | qcacld-2.0: Enable/Disable TDLS on p2p remain on channel requestMasti, Narayanraddi2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Propagation from prima to qcacld-2.0. Currently, TDLS mode is not changed on p2p remain on channel request and if other source enable TDLS during ROC in progress then TDLS connection may proceed which is not supported i.e p2p+TDLS is not supported. Fix is to ensure that TDLS will not be enabled/disabled until all the resources agree upon it. Change-Id: Ibe74bebfcaa69e135b606c1da47d4164ffc3ca40 CRs-Fixed: 959085