1
0
Gráfico de cometimentos

2825 Cometimentos

Autor(a) SHA1 Mensagem Data
Liangwei Dong
271f92f582 qcacld-3.0: Fix station scan AP failed in SAP+STA mode
qcacld-2.0 to qcacld-3.0 propagation

If SAP interface is up then STA interface can't find
the AP most of the time as a result of SCAN parameters
are getting set to 28ms active dwell time and 0
repeated probe (which means only 1 probe for 28ms of
active dwell time).

Test results suggest that 1 Probe request through out
the active dwell time in noisy environment is not good
enough, so sending two probe requests with each 11ms
apart would make the scan results little better.

Implement above suggested solution by changing
probe_time_dwell_time_map's repeated probe time to
11ms so that n_probes (number of probes) becomes 2
by n_probes = (dwell_time_active/repeat_probe_time)
= (28/11) = 2.

Change-Id: I8a3f3dbaf70c666973454e3266e0dabe0df1c9ea
CRs-Fixed: 992655
2016-11-03 17:54:07 -07:00
Liangwei Dong
df50df97c3 qcacld-3.0: Fix SapAllChnlList memory leak
qcacld-2.0 to qcacld-3.0 propagation

"MEMORY_DEBUG" enabled driver shows the
SapAllChnlList is not freed upon driver unloading
in SNS test. This commit fixes this issue by
freeing channel list in WLANSAP_CLOSE API.

Change-Id: I1c954336e14746060fec19f3ad89b3d4882306af
CRs-Fixed: 985334
2016-11-03 17:54:07 -07:00
Liangwei Dong
71ed6502ea qcacld-3.0: Fix pSpectInfoParams memory corruption
qcacld-2.0 to qcacld-3.0 propagation

Before write to array member of pSpectInfoParams
in sapSelectChannel, we need to check the memory
access range to avoid the write overflow of the
memory.

CRs-Fixed: 998557
Change-Id: I0c05f65fd2ab62919272464a3be7cd138f12e2ec
2016-11-03 17:54:07 -07:00
Kai Liu
a6cd4e0137 qcacld-3.0: Filter all channels that affected by radar signal leaking
qcacld-2.0 to qcacld-3.0 propagation

When radar detected in sap channel, it needs switch channel. Those
channels affected by radar signal leaking should be filtered out
from candidate channels.

Change-Id: I86e6e849e7822f1c82c0f8951a8d91c5baebdcfe
CRs-Fixed: 945388
2016-11-03 17:54:07 -07:00
Liangwei Dong
9cfaa707b2 qcacld-3.0: Fix SAP restart failure
qcacld-2.0 to qcacld-3.0 propagation

When the driver is configured to "force SCC" mode by
gWlanMccToSccSwitchMode = 2, in STA+SAP case, the
driver will check the SAP channel to avoid the
MCC in same band(2.4G or 5G) and override if necessary.
During ACS process, the SAP sapContext->channel is 0.
The driver doesn't validate it before uses it in
sapGotoChannelSel when applies the "force SCC" logic.
That causes an invalid channel selection for the SAP.
And finally causes the hostapd starting failed.
This fix is to skip the override logic if the
sapContext->channel is 0. When the SAP is starting with
a valid channel, the override logic will be activated
again.

Change-Id: I8e3d171ac47d8be149df98ae3e30c8df391a15b0
CRs-Fixed: 1033277
2016-11-03 17:54:07 -07:00
Deepak Dhamdhere
2dae1bd94d qcacld-3.0: Do not send WMI commands in ROAM_HO_FAIL handling
When firmware sends WMI_ROAM_REASON_HO_FAILED event to host,
it has already deleted the peer. Host should not send peer
and vdev cleanup commands to firmware.

Add disassoc_reason field to roamCmd to indicate that CSR wants to
disconnect because of ROAM_HO_FAIL. Copy that information to PE
session, send it to WMA using WMA_DELETE_BSS_HO_FAIL_REQ.
Add wma_delete_bss_ho_fail() to take care of driver state cleanup
without sending commands to firmware.

CRs-Fixed: 1083649
Change-Id: Icdd7571214ea5510c0cdbc44c69d6b5060f5892c
2016-11-03 17:54:06 -07:00
Jeff Johnson
158c8d0c48 qcacld-3.0: Enhance logging in address change notifiers
Currently an issue is being observed where UMAC is not correctly
responding to Link Measurement Request action frames. The logic in
UMAC is dependent upon sme_dhcp_done_ind() being called from the HDD
address change notifiers. Unfortunately neither HDD nor SME log when
this occurs, so it is impossible to tell from the logs whether or not
this has occurred.

Add appropriate logging to the HDD address change notifiers so that
it is clear when sme_dhcp_done_ind() is invoked, and upon which
interface.

Change-Id: I35f80af382df4ff118bf426d12dc47ef7bbbc080
CRs-Fixed: 1084151
2016-11-03 17:54:06 -07:00
Jeff Johnson
1261c91ebc qcacld-3.0: Remove obsolete lim_is_scan_requested_ssid()
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. One such issue is
function lim_is_scan_requested_ssid() is defined but unused.  Delete
this unused function.

Change-Id: I52137b0a1e85d73f7567772228eb6994f9d16143
CRs-Fixed: 1075090
2016-11-03 17:54:06 -07:00
Jeff Johnson
7ba11b8b67 qcacld-3.0: Remove obsolete csr_send_mb_scan_result_req()
Function csr_send_mb_scan_result_req() is obsolete and no longer being
used, so remove it.

Change-Id: I50832b7e84c75b085173bc24d5827b93afb1e679
CRs-Fixed: 1075575
2016-11-03 17:54:06 -07:00
Jeff Johnson
872eb5bd35 qcacld-3.0: Remove obsolete sme_set_phy_cb_mode24_g()
Function sme_set_phy_cb_mode24_g() is obsolete and not being used, so
remove it.

Change-Id: I3289ea53a634915961d4f904cd806d7aed4202e4
CRs-Fixed: 1075575
2016-11-03 17:54:06 -07:00
Jeff Johnson
c0b25911ad qcacld-3.0: Remove ol_txrx_ipa_uc_fw_op_event_handler()
Recently the following change removed the only reference to function
ol_txrx_ipa_uc_fw_op_event_handler():
 Change-Id Iae45c059006592293ea61d04be89b1477daae514
 "qcacld-3.0: Fix HTT_T2H_MSG_TYPE_WDI_IPA_OP_RESPONSE handler"

Since the function is now obsolete, remove it.

Change-Id: I10d8ee7ef9a97d1eb5283e08c786826005fbd335
CRs-Fixed: 1075151
2016-11-03 17:54:06 -07:00
Amar Singhal
b6d0dc4148 qcacld-3.0: Restore 11d country correctly
In case user-space country priority is not defined; user-space
country code can still take effect if 11d country is not defined.

Change-Id: I972b9354aec5cc6a078056d10c0e76eb841998c3
CRs-Fixed: 1082704
2016-11-03 17:54:05 -07:00
Yue Ma
b3b15f43cd qcacld-3.0: Remove CONFIG_CNSS flag in WMA
Platform driver flags should be hiden behind PLD layer only. Hence
remove them in WMA layer.

Change-Id: Icee457715bd26e23c489dfefd35999b278ff68c0
CRs-fixed: 1082183
2016-11-03 17:54:05 -07:00
Naveen Rawat
5b933dcaf4 Revert "qcacld-3.0: Fix NSS being sent to firmware"
This reverts Change-Id: Iad92cc3ce634b69397666f574917b5254a73dcda

There is back and forth happening for expected value of NSS by firmware.
Final agreed upon values are: NSS=1 for 1x1 and NSS=2 for 2x2

Change-Id: I134a118b367c46e1b655a4eb21a6b406a3b25c2a
CRs-Fixed: 1084104
2016-11-03 17:54:05 -07:00
Yue Ma
e93d52557a qcacld-3.0: Remove obsolete codeswap feature
Codeswap feature is introduced for a WLAN chipset which is already
cancelled. It is no longer used in host driver. Remove the feature
to avoid any confusion for future development.

Change-Id: I70ae291ded2d2e290408e2f5b177e872f1f3d7e8
CRs-fixed: 1082183
2016-11-03 17:54:05 -07:00
Jeff Johnson
c4b47a9834 qcacld-3.0: Fix -Wmissing-prototypes in WMA
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in core/wma.

Change-Id: I1f270e6b0ba4666d1640b1bf1d1c8e5dbc51e968
CRs-Fixed: 1081656
2016-11-03 17:54:05 -07:00
Deepthi Gowri
a0b85535a2 qcacld-3.0: Add error logs if ROC timer stop, start or destroy fails
qcacld-2.0 to qcacld-3.0 propagation

Currently there are no error logs to indicate if the ROC timer stop,
start or destroy failed. To address this, added error logs in all the
possible scenarios.

Also ensure that the ROC context is valid before destroying the timer
if the start ROC request fails.

CRs-Fixed: 1005077
Change-Id: I95311ca6846796ad67fa09106bccb71ec6394aab
2016-11-03 17:54:04 -07:00
Agrawal, Ashish
b45599a346 qcacld-3.0: Vendor attribute for setting TX fail count threshold
qcacld-2.0 to qcacld-3.0 propagation

Vendor attribute for setting TX fail count threshold. This attribute
is part of QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION.

Change-Id: Iba2a6d4c04809041489ff8c32aeb17c9dafbc4a5
CRs-Fixed: 1045760
2016-11-03 17:54:04 -07:00
Agrawal, Ashish
4e5fa1c5a1 qcacld-3.0: Pass sta_inactivity_timeout to FW
qcacld-2.0 to qcacld-3.0 propagation

If a station does not send anything in sta_inactivity_timeout, an
empty data frame is sent to it in order to verify whether it is
still in range. If this frame is not ACKed, the station will be
disassociated and then deauthenticated.

Change-Id: Ib86c9aacdb52141890b224262d55abbe58b1604d
CRs-Fixed: 1020078
2016-11-03 17:54:04 -07:00
Agrawal Ashish
da3e950519 qcacld-3.0: Pass short_retry_limit and long_retry_limit to FW
qcacld-2.0 to qcacld-3.0 propagation

Add data structures to save short_retry_limit and long_retry_limit.
long_retry_limit is count to retry frame at current rate.
short_retry_limit is count to retry frame on lower rate.
Add changes to pass these params to firmware as well.

Change-Id: Icb45c37358dcfacbea8e3b3f40b93189d62e1be4
CRs-Fixed: 1020078
2016-11-03 17:54:04 -07:00
Agrawal, Ashish
35b251d495 qcacld-3.0: Pass tx_pkt_fail_cnt_threshold to FW
qcacld-2.0 to qcacld-3.0 propagation

Add data structures to save tx_pkt_fail_cnt_threshold and changes
to pass the same to FW.

Change-Id: I46dc401c26c3eeeb41b345d0fe1b4406394971fb
CRs-Fixed: 1020078
2016-11-03 17:54:04 -07:00
Hardik Kantilal Patel
9689e93310 qcacld-3.0: Add PLD API to get QMI support info
Call ICNSS API to get QMI support info and based on this
information later WLAN host driver decide to allocate 1 MB
Memory for MSA region or not.

CRs-Fixed: 1081443
Change-Id: I1ae0f3a0c92ded2df8e8c710be1faab6fde5cc10
2016-11-03 17:54:03 -07:00
Tushnim Bhattacharyya
0105770430 qcacld-3.0: Fix buffer overflow issue in cds_update_with_safe_channel_list
Fix the size of pcl_channels & pcl_weight array to be QDF_MAX_NUM_CHAN in
cds_get_nondfs_preferred_channel. Also make sure all the callers of
cds_get_channel_list uses QDF_MAX_NUM_CHAN as channel array size.

Change-Id: I256421f54180d1d8f9f6abd549d417e74d62add5
CRs-Fixed: 1082596
2016-11-03 17:54:03 -07:00
Sandeep Puligilla
9d81e7d7d5 qcacld-3.0: Fix freed pointer dereference
In an HDD timeout failure scenario, HDD frees the sap context. A
delayed WMA response will try to access the previously freed sap
context.

Add a validation check to prevent dereferencing the freed pointer.

Change-Id: Ifcc7d840680b05f4b136722ae204e7a55b66c6cc
CRs-Fixed: 1083677
2016-11-03 17:54:03 -07:00
Prakash Dhavali
f0c537b252 Release 5.2.0.1A
Release 5.2.0.1A

Change-Id: I1e952bd9f42ae149631cbc173a66f220debbbba0
CRs-Fixed: 688141
2016-10-31 17:25:07 -07:00
Prakash Dhavali
155feeb14e Merge remote-tracking branch 'remotes/origin/wlan-cld3.driver.lnx.1.1-dev' into wlan-cld3.driver.lnx.2.0-dev
Fast forward CLD3.0-2.0-dev branch to tip of CLD3-1.1-dev from 5.1.0.34A to 5.1.0.34D
Merge upto commit-id: 7c2d0a0afe

* remotes/origin/wlan-cld3.driver.lnx.1.1-dev:
  Release 5.1.0.34D
  qcacld-3.0: Avoid NULL pointer dereference in send_packetdump()
  Release 5.1.0.34C
  qcacld-3.0: Fix ext_caps IE in Probe Request sent due to HB Failure
  Release 5.1.0.34B
  qcacld-3.0: Fix buffer overflow in __lim_process_roam_scan_offload_req

CRs-Fixed: 688141 1083819 1081117 1082162
Change-Id: Iec230253d1a3c666187afdd087a387dea5c49bcf
2016-10-31 16:41:41 -07:00
Prakash Dhavali
a77dc477f6 Merge remote-tracking branch 'remotes/origin/wlan-cld3.driver.lnx.1.1-dev' into wlan-cld3.driver.lnx.2.0-dev
Fast forward CLD3.0-2.0-dev branch to tip of CLD3-1.1-dev from 5.1.0.32O to 5.1.0.34A
Merge upto commit-id: 1bd774c3c0

* remotes/origin/wlan-cld3.driver.lnx.1.1-dev: (119 commits)
  Release 5.1.0.34A
  qcacld-3.0: Enable Rx LDPC when DBS is disabled from INI
  qcacld-3.0: Fix to handle SAP+STA DFS MCC scenario
  Release 5.1.0.34
  qcacld-3.0: Combine channel states only for 80P80
  Release 5.1.0.33Z
  qcacld-3.0: Don't set fixed params for setPktFilter ioctl
  Release 5.1.0.33Y
  qcacld-3.0: Fix improper naming and exporting of dump_frag_desc()
  qcacld-3.0: Enable logging of all DPTRACE logs for protocol packets
  Release 5.1.0.33X
  qcacld-3.0: protect rxhash history buffer for SMP
  Release 5.1.0.33W
  qcacld-3.0: Fix possible buffer overflow in sap_random_channel_sel
  qcacld-3.0: Add validation code in __lim_process_roam_scan_offload_req
  qcacld-3.0: unlock chan_lock before return in wma_dfs_indicate_radar
  qcacld-3.0: Fix null pointer dereference in wma_roam_scan_offload_mode
  qcacld-3.0: Fix input validation in wma_mgmt_tx_bundle_completion_handler
  qcacld-3.0: Fix null pointer dereference in sap_signal_hdd_event
  qcacld-3.0: Fix null pointer dereference in __lim_process_gid_management_action_frame
  ...
  Release 5.1.0.32U
  qcacld-3.0: Add iwpriv pktlog command to alter pktlog buffer size
  Release 5.1.0.32T
  qcacld-3.0: Fix offload enable status checking after interface setup
  Release 5.1.0.32S
  qcacld-3.0: Abort cds_deinit_policy_mgr if context is null
  Release 5.1.0.32R
  qcacld-3.0: Fix to respond to SA query req only in-case of SAP-PMF
  Release 5.1.0.32Q
  qcacld-3.0: Extend cfg80211 configure API
  qcacld-3.0: Fix tcp chksum can't be enabled for sap
  Release 5.1.0.32P
  qcacld-3.0: Fix memory leak issue
  qcacld-3.0: Use system time instead of jiffies for BSS received time
  Release 5.1.0.32O

Change-Id: I468345be9c83ba591aa438447b6bf35c237add6b
CRs-Fixed: 688141 1083379 1083376 1082221 1081982 1083068 1083002 1077047 1082162 1075090 1079596 1076495 1083225 1079299 1081503 1083078 1079951 1079308 1078834 1078754 1078282 1078189 1077221 1082070 1081206 1082515 1074435 1076941 1081116 1081809 1082035 1082446 959645 958544 1000968 956416 1068739 1053809 1022238 1002207 1020665 962237 979687 958906 945408 944741 955241 1081795 1031468 1081851 1081234 1081198 1079970 1078863 1079851 1079196 1049765 1049206 1079684 1079691 908252 1079679 1079659 1072584 1079440 1081073 1081177 1035577 1063245 1075406 1018460
2016-10-30 13:46:27 -07:00
qcabuildsw
7c2d0a0afe Release 5.1.0.34D
Release 5.1.0.34D

Change-Id: I245b923a6fe4239196587530d077b6e41e9191e4
CRs-Fixed: 688141
2016-10-29 17:34:11 -07:00
Jeff Johnson
9da8a5dee1 qcacld-3.0: Avoid NULL pointer dereference in send_packetdump()
In send_packetdump() the call to hdd_get_adapter_by_vdev() can return
a NULL pointer if an adapter with the given vdev is not found. Add
logic to validate the pointer before dereferencing it.

Change-Id: I7dce5ed4debc43ef2f14d429e5651732377fe3e0
CRs-Fixed: 1083819
2016-10-29 17:34:09 -07:00
qcabuildsw
cfc4cad790 Release 5.1.0.34C
Release 5.1.0.34C

Change-Id: I706e96ccc0193cf218a5ed3180947bb80c419aa9
CRs-Fixed: 688141
2016-10-29 17:34:07 -07:00
Naveen Rawat
2d57a0dd0e qcacld-3.0: Fix ext_caps IE in Probe Request sent due to HB Failure
Pass addition scan IE to probe request function when generating probe request
due to HB failure, otherwise Ext Cap IE values will not be consistent with
other probe requests.

Change-Id: I65ba2d5377f7c48d5344c5b4b9782e3c55f6635c
CRs-Fixed: 1081117
2016-10-29 17:34:06 -07:00
qcabuildsw
975b4d339a Release 5.1.0.34B
Release 5.1.0.34B

Change-Id: I5923bf2aefcae4a1b4617cc4ab271307f59e4d0a
CRs-Fixed: 688141
2016-10-29 17:34:04 -07:00
Arif Hussain
963331b5e2 qcacld-3.0: Fix buffer overflow in __lim_process_roam_scan_offload_req
In validation code, change condition local_ie_len <= to always less than
QDF_ARRAY_SIZE(array) value, to avoid buffer overflow.

Change-Id: I9612ce6e922dd481747253b3b35d74060439c159
CRs-Fixed: 1082162
2016-10-29 17:34:02 -07:00
qcabuildsw
1bd774c3c0 Release 5.1.0.34A
Release 5.1.0.34A

Change-Id: Ie37305564da9252d4086e710d299f3a48cc847b6
CRs-Fixed: 688141
(cherry picked from commit ef591b06b44e2bc3f9642db70a18f8008715ca28)
2016-10-29 17:30:15 -07:00
Krunal Soni
d292a6b8cd qcacld-3.0: Enable Rx LDPC when DBS is disabled from INI
As per new requirement, when DBS is disabled from INI, driver needs
to enable Rx LDPC for all persona if it is supported by hardware and
enabled from INI.

CRs-Fixed: 1083379
Change-Id: I803ffd2c8035bd2604db7189f3d0734816c80d3f
(cherry picked from commit 284064f72ae7a421a6d870c5c29d496fea23353f)
2016-10-29 17:29:52 -07:00
Krunal Soni
35fc8ea8b8 qcacld-3.0: Fix to handle SAP+STA DFS MCC scenario
1) If STA is on 2G channel and SAP is coming up on 5G DFS channel then
   it should be allowed given that DBS is supported.
2) If STA is on 5G channel and SAP is coming up on 5G DFS channel then
   it shoudln't be allowed as it will create DFS MCC scenario
3) If SAP is on 5G DFS and STA is coming up on 2G channel then it should
   be allowed given that DBS is supported.
4) If SAP is on 5G or 2G channel and STA is coming up on either of the
   bands then allow  connections to go through.
Make necessary adjustment to apply all above 4 rules.

Change-Id: I0a4dfe57cad1d2a62ada1bd8c258f7f3f6ac5dc2
CRs-Fixed: 1083376
(cherry picked from commit c6b307e0bc8ea638f44bd8ef86d09737a930b3ba)
2016-10-29 17:29:22 -07:00
qcabuildsw
b378c64e87 Release 5.1.0.34
Release 5.1.0.34

Change-Id: Ia8c74e0028661471b4bee42d81f526c80e9ac2c7
CRs-Fixed: 688141
(cherry picked from commit 8f73342466126b314c1ca1dbd297cbc6c256df57)
2016-10-29 17:28:49 -07:00
Amar Singhal
79da812012 qcacld-3.0: Combine channel states only for 80P80
We dont need to combine channel states if the Channel width is not
80P80MHZ. Fix this so the logic is easier to understand.

CRs-Fixed: 1082221
Change-Id: Ie31d564f63278fe6549a2d54165920c28958c274
(cherry picked from commit a53a28f26e2add8309bb0c2ebacaa8f97f2506d3)
2016-10-29 17:28:23 -07:00
qcabuildsw
5d7138ba93 Release 5.1.0.33Z
Release 5.1.0.33Z

Change-Id: I4fe3be00220531ce6bab62fdbba237e72b85d6d3
CRs-Fixed: 688141
(cherry picked from commit ea4730ae12799e43443bbf4125d15541a54fc58a)
2016-10-29 17:27:45 -07:00
Hanumanth Reddy Pothula
b3ef41623c qcacld-3.0: Don't set fixed params for setPktFilter ioctl
While defining setPktFilter ioctl arguments, Host is setting
IW_PRIV_SIZE_FIXED, which means setPktFilter ioctl accepts
exactly fixed(103) number of parameters. So, if user issues
the ioctl with number parameter other than 103, kernel returns
failure.

Remove IW_PRIV_SIZE_FIXED while defining arguments for setPktFilter
IOCTL, so that setPktFilter is processed.

Change-Id: I373609eb3c180af80218d6e955a1cf0d56f785a7
CRs-Fixed: 1081982
(cherry picked from commit 1105e872650391fbaad03efa325510482c413680)
2016-10-29 17:27:26 -07:00
qcabuildsw
4405cbfb79 Release 5.1.0.33Y
Release 5.1.0.33Y

Change-Id: I7438d311c22416a826c65e35ccaaf97b52744e84
CRs-Fixed: 688141
(cherry picked from commit 8605902cf94dd3f0167926b0ec3c32c9b355c3ac)
2016-10-29 17:26:58 -07:00
Himanshu Agarwal
fd68172e84 qcacld-3.0: Fix improper naming and exporting of dump_frag_desc()
Fix improper naming and exporting of dump_frag_desc() by:
1) adding ol_txrx prefix in the api
2) adding prototype of api to ol_tx.h and removing the local
   prototype for the api from core/dp/txrx/ol_tx_desc.c

Change-Id: I29a06419164afba7c1c391d11aee10742d41b93c
CRs-Fixed: 1083068
(cherry picked from commit bcc6b34818654241a4886b35619fb5e901f6f10b)
2016-10-29 17:26:31 -07:00
Himanshu Agarwal
5c7e2f57a6 qcacld-3.0: Enable logging of all DPTRACE logs for protocol packets
Enable logging of DPTRACE logs at each layer of driver and at tx
completion for all tx as well as rx protocol packets.

Change-Id: Id568c19196702034989a0f55490bc62667b3b20e
CRs-Fixed: 1083002
(cherry picked from commit c91cad24c240283aa70b120836799014c820975f)
2016-10-29 17:26:03 -07:00
qcabuildsw
de3531a926 Release 5.1.0.33X
Release 5.1.0.33X

Change-Id: I45526164e7a4629f83fffe6c1df48ee65fd1fbd3
CRs-Fixed: 688141
(cherry picked from commit bb89388a0e6d83d20c7b1921725856d5be1a1b60)
2016-10-29 17:25:35 -07:00
Orhan K AKYILDIZ
a8e2e6fd59 qcacld-3.0: protect rxhash history buffer for SMP
Add a spinlock to make sure that htt rx_hash history buffer will
not break under SMP conditions. Apply the lock on set and reset operations.
Add timestamp to each buffer entry (will store the time stamp of the last
operation on the entry).

Change-Id: If1dcab4ac331351cf2dcfbaa6cb24d453e7fdf50
CRs-Fixed: 1077047
(cherry picked from commit be2d6e14afdc142564bb9d7fbcc446c060b0d0d4)
2016-10-29 17:25:03 -07:00
qcabuildsw
c8572b7251 Release 5.1.0.33W
Release 5.1.0.33W

Change-Id: I3a839b75717c65f885f33a2e00fbf7d345d5e33c
CRs-Fixed: 688141
(cherry picked from commit 6e4d700fe01b3eee279c2ef42e81dd754abf72c2)
2016-10-29 17:24:11 -07:00
Arif Hussain
16f1dae19a qcacld-3.0: Fix possible buffer overflow in sap_random_channel_sel
In function sap_random_channel_sel change final_lst  array size from
WNI_CFG_VALID_CHANNEL_LIST_LEN (100) to QDF_MAX_NUM_CHAN (128) to
avoid possible buffer overflow, as sap_apply_rules function can return
rule_adjusted_cnt QDF_MAX_NUM_CHAN size.

Change-Id: I367dc54966fa57a7ef0195279953e31def06fd21
CRs-Fixed: 1082162
(cherry picked from commit bceffc9b2cfb622fbb44b5ec768fd7ebc6ecadb2)
2016-10-29 17:23:49 -07:00
Arif Hussain
c2bb440175 qcacld-3.0: Add validation code in __lim_process_roam_scan_offload_req
In function __lim_process_roam_scan_offload_req add validation code
to avoid buffer overflow during memcopy.

Change-Id: I2ac02e276dd7e4df0a6dffe58181ff538b49ed74
CRs-Fixed: 1082162
(cherry picked from commit 9806f9cfe464fb7ebebbf1a1f27c2b0b39cb1ffd)
2016-10-29 17:23:16 -07:00
Arif Hussain
941630a0d1 qcacld-3.0: unlock chan_lock before return in wma_dfs_indicate_radar
unlock chan_lock before return in wma_dfs_indicate_radar function
in failure case.

Change-Id: I389d6479d2cd048b636230b38f135471acd38d00
CRs-Fixed: 1082162
(cherry picked from commit 41e358802ddc6722e4f1bf37b8c68ceab5e5fee5)
2016-10-29 17:22:54 -07:00
Arif Hussain
cf6b960cb0 qcacld-3.0: Fix null pointer dereference in wma_roam_scan_offload_mode
In wma_roam_scan_offload_mode function validate mem_alloc return pointer
to avoid NULL pointer dereference.

Change-Id: Ib2733346614ddb99ac329aa929a774db2c4325d6
CRs-Fixed: 1082162
(cherry picked from commit 97961da746e461c6f4f8ab3d77b269db77e5d2fa)
2016-10-29 17:22:31 -07:00