Commit graph

8,299 commits

Author SHA1 Message Date
Vignesh Viswanathan
ca67e368a2 qcacld-3.0: Add sanity check for total_peer_len in wma_get_ll_stats_ext_buf
Add additional sanity checks for total_peer_len in wma_get_ll_stats_ext_buf.
Missing changes for CLD3.2 from I2689873c2c5e63c83e5059563662c0c69dc659fc

Change-Id: I6f82c9ef251e0290f9cf68e9fcd2d8868a5a302c
CRs-Fixed: 2121194
2017-10-23 10:05:45 -07:00
CNSS_WLAN Service
120b85cec3 Merge "Release 5.2.0.50I" into wlan-cld3.driver.lnx.2.0-dev 2017-10-23 08:30:06 -07:00
CNSS_WLAN Service
2c82dce26c Merge "qcacld-3.0: vendor support to block scans" into wlan-cld3.driver.lnx.2.0-dev 2017-10-23 08:30:05 -07:00
CNSS_WLAN Service
f9920aa452 Merge "qcacld-3.0: Add support to enable/disable scans" into wlan-cld3.driver.lnx.2.0-dev 2017-10-23 08:30:04 -07:00
snandini
98cf0758de Release 5.2.0.50K
Release 5.2.0.50K

Change-Id: I0dc0d3ecd56ed2ebc7f248805154d1513440648d
CRs-Fixed: 774533
2017-10-23 08:06:33 -07:00
Kabilan Kannan
b6153b1bcb qcacld-3.0: Fix TDLS set state cmd sequence in concurrent TDLS connections
TDLS set state cmd to firmware is going out of sequence, if STA
is disconnected, when concurrent TDLS connections are active.
This out of sequence causes crash in the firmware.
Fix the out of sequence issue, by grouping all the TDLS delete
peer commands into one single command.

Change-Id: Ie4fe5888587755719b5540fd328022fa4f966c40
CRs-Fixed: 2073506
2017-10-23 08:06:33 -07:00
snandini
4016d0a1c1 Release 5.2.0.50J
Release 5.2.0.50J

Change-Id: I7c21811a9e66280334e5e303031d38c4a77c9f7d
CRs-Fixed: 774533
2017-10-23 06:13:01 -07:00
Jayachandran Sreekumaran
9575dec599 qcacld-3.0: Allow MCC in exceptional cases
In AP + STA case allow MCC if the STA's channel
is DFS or passive or part of LTE avaoidance channel list

Change-Id: Iece69bf5d70d5e2ed9f9505a72c7a40f35d11b75
CRs-Fixed: 2127091
2017-10-23 06:13:00 -07:00
Jayachandran Sreekumaran
5c7cd97ec7 qcacld-3.0: ACS updates for 3port concurrency
ACS updates for 3 port concurrency

Change-Id: I1d1f2facd3062c9af475448d0284381212d98d84
CRs-Fixed: 2127091
2017-10-23 06:12:58 -07:00
Jayachandran Sreekumaran
8ab186575d qcacld-3.0: Updated the max value for CFG_WLAN_MCC_TO_SCC_SWITCH_MODE
Updated the CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_MAX to support
the new value QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION

Change-Id: I69f535e6d0e591b3b5ea9e93cf4ecfd1e31f31a9
CRs-Fixed: 2127091
2017-10-23 06:12:56 -07:00
Jayachandran Sreekumaran
922477bbb0 qcacld-3.0: MCC to SCC switch for SAP+SAP and SAP+GO
MCC to SCC switch for second beaconing interface,
SAP+SAP and SAP+GO

Change-Id: I1b8e897ffc719b63a4de92f5fe02a2820bc29e4f
CRs-Fixed: 2127091
2017-10-23 06:12:52 -07:00
Rachit Kankane
11ac4bc61c qcacld-3.0: Update for 3port channel overlap
Update to find channel overlap in case of 3-port concurrency.
The changes are made as mentioned below:
1. Find active session on same band channel
2. If found, then set same channel to achieve SCC

Change-Id: I87ba2121608c789814b1213dc807fed82fd0f882
CRs-Fixed: 2127091
2017-10-23 06:12:50 -07:00
Abhishek Singh
e9706cc3bf qcacld-3.0: Wait for discon to complete, even if dicon req isn't queued
If SME is in disconnecting state disconnect from supplicant will not
get queued. Thus supplicant can start a connect req as soon
as HDD returns from disconnect req. If this connect req is processed
by HDD before the SME disconnect is indicated to HDD, it will cause
HDD/supplicant and SME out of sync.

This results into scan allowed even when SME is waiting for key.
SME will not allow scan until set key is completed, which may not
happened as HDD has indicated disconnect to supplicant after connect
was received by HDD. This will eventually lead to HDD scan inactivity
timer to expire.

To fix this wait for WLAN_WAIT_DISCONNECT_ALREADY_IN_PROGRESS time
in HDD for SME disconnect to get processed before returning.

Change-Id: I21f2c2e2f9b97fc50f9ac43bc5bbb5fd5188f3b7
CRs-Fixed: 2125636
2017-10-23 06:12:48 -07:00
CNSS_WLAN Service
24c2b70211 Merge "Release 5.2.0.50H" into wlan-cld3.driver.lnx.2.0-dev 2017-10-23 05:02:29 -07:00
CNSS_WLAN Service
766ef82d2a Merge "qcacld-3.0: Check ie_len against 255 in function get_container_ies_len" into wlan-cld3.driver.lnx.2.0-dev 2017-10-23 05:02:27 -07:00
CNSS_WLAN Service
355cba56c4 Merge "Revert "qcacld-3.0: Fix potential infinite loop in get_container_ies_len"" into wlan-cld3.driver.lnx.2.0-dev 2017-10-23 05:02:26 -07:00
CNSS_WLAN Service
36493b6b25 Merge "Release 5.2.0.50G" into wlan-cld3.driver.lnx.2.0-dev 2017-10-23 05:02:24 -07:00
CNSS_WLAN Service
9e8d1b7a41 Merge "qcacld-3.0: Remove obsolete genIE from hdd_wext_state" into wlan-cld3.driver.lnx.2.0-dev 2017-10-23 05:02:23 -07:00
snandini
3e203a6726 Release 5.2.0.50I
Release 5.2.0.50I

Change-Id: Id24ee374a3d31972936c7d81352cdc11f221d97e
CRs-Fixed: 774533
2017-10-23 03:42:59 -07:00
Sandeep Puligilla
24b7aa71fe qcacld-3.0: vendor support to block scans
Add vendor command support to block all the
scans triggered from host

Change-Id: I7860408f3ea3f0531e923e0613d555e2cdff5e5e
CRs-Fixed: 2080146
2017-10-23 03:42:58 -07:00
Abhishek Singh
caebce0d72 qcacld-3.0: Add support to enable/disable scans
Add support to enable/disable scan for psoc.

Change-Id: If4cc980e0575d9880e317bb8afe3467136d7864c
CRs-Fixed: 2124783
2017-10-23 03:42:56 -07:00
snandini
3a75eca0e0 Release 5.2.0.50H
Release 5.2.0.50H

Change-Id: Ic55de584aa35b593c5250b7375355e56c73a32e9
CRs-Fixed: 774533
2017-10-21 16:09:51 -07:00
Naveen Rawat
b6eeed2347 qcacld-3.0: Check ie_len against 255 in function get_container_ies_len
In function get_container_ies_len, output parameter pnConsumed is
uint8_t and poses a risk of integer overflow. Check value against 255
before assigning to output parameter.

Change-Id: I6e02037952ced13de45a6c030cc5a1e85070f5cd
CRs-Fixed: 2125781
2017-10-21 16:09:51 -07:00
Naveen Rawat
9c13ac506e Revert "qcacld-3.0: Fix potential infinite loop in get_container_ies_len"
This reverts Change-Id: Ia5770b4becf7dd1cf7cb97ec2e0d94f3c5f4ed54

Change-Id: I48b5f9079decd0f07b01b96bf14ac244788b7dc1
CRs-Fixed: 2123411
2017-10-21 16:09:49 -07:00
CNSS_WLAN Service
3b54fcddd6 Merge "Release 5.2.0.50F" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 14:26:21 -07:00
CNSS_WLAN Service
cbb129f61c Merge "qcacld-3.0: Use active scan during connection to AP" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 14:26:19 -07:00
snandini
e3f8ea4dd4 Release 5.2.0.50G
Release 5.2.0.50G

Change-Id: Iae7154626f3b4679940da7f3c1867fd6df8d967d
CRs-Fixed: 774533
2017-10-21 12:09:58 -07:00
Jeff Johnson
0c2bb09ca8 qcacld-3.0: Remove obsolete genIE from hdd_wext_state
The genIE field in struct hdd_wext_state is no longer being used, so
remove it.

Change-Id: I09d753d72d27cee53cb9c690924d62a1676abe05
CRs-Fixed: 2130211
2017-10-21 12:09:58 -07:00
CNSS_WLAN Service
300010cb09 Merge "Release 5.2.0.50E" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 08:51:20 -07:00
CNSS_WLAN Service
288f13ae32 Merge "qcacld-3.0: Fix camelCase issues with struct hdd_tx_rx_stats" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 08:51:19 -07:00
CNSS_WLAN Service
1629fea0ef Merge "qcacld-3.0: Add NULL pointer check before dereferencing it" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 08:51:18 -07:00
CNSS_WLAN Service
0cbce15303 Merge "qcacld-3.0: Fix __wlan_hdd_cfg80211_add_key() key logging" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 08:51:16 -07:00
snandini
7c9b2427bb Release 5.2.0.50F
Release 5.2.0.50F

Change-Id: I1424fc5d00d8df68c75872115a0c5b2823dfc808
CRs-Fixed: 774533
2017-10-21 06:20:41 -07:00
Deepak Dhamdhere
ca7315c8ae qcacld-3.0: Use active scan during connection to AP
If AP candidate is not found in scan cache during processing of
cfg80211_connect request, it calls csr_scan_for_ssid() to find it.
However default scan type is passive and dwell time is not enough
to capture a beacon. Convert it to active scan.

CRs-Fixed: 2130197
Change-Id: I11880473cce9089520c57542659e1b892417fc72
2017-10-21 06:20:40 -07:00
CNSS_WLAN Service
17454ec20e Merge "Release 5.2.0.50D" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 03:22:43 -07:00
CNSS_WLAN Service
d0e5b35549 Merge "qcacld-3.0: Propagate key sequence counter to SME" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 03:22:41 -07:00
CNSS_WLAN Service
3d978eccd4 Merge "qcacld-3.0: Don't release memory within SME if serialization req fails" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 03:22:40 -07:00
CNSS_WLAN Service
18f05659d0 Merge "Release 5.2.0.50C" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 03:22:38 -07:00
CNSS_WLAN Service
ccc96d08f8 Merge "qcacld-3.0: Use WIFI_POS public APIs for fine_time_meas_initiator" into wlan-cld3.driver.lnx.2.0-dev 2017-10-21 03:22:35 -07:00
snandini
a1e0277dc7 Release 5.2.0.50E
Release 5.2.0.50E

Change-Id: I6a88ec915b713ace1c235dfecd503914c61099d4
CRs-Fixed: 774533
2017-10-21 02:29:38 -07:00
Jeff Johnson
6ced42cf3c qcacld-3.0: Fix camelCase issues with struct hdd_tx_rx_stats
Multiple fields within struct hdd_tx_rx_stats are currently defined
with camelCase. Rename these to align with the Linux coding style
which states "mixed-case names are frowned upon."

Change-Id: I28f81baab8ed43e3e87449e8a4476e540477b57a
CRs-Fixed: 2130212
2017-10-21 02:29:38 -07:00
Krunal Soni
45ec439c97 qcacld-3.0: Add NULL pointer check before dereferencing it
Few of the SME APIs are dereferencing the pointer without
checking it against NULL.

Add a NULL check before deferencing it.

CRs-Fixed: 2124948
Change-Id: I109518332e593e1f32936404021db1db7a332df7
2017-10-21 02:29:36 -07:00
Jeff Johnson
96aa2ac23b qcacld-3.0: Fix __wlan_hdd_cfg80211_add_key() key logging
In __wlan_hdd_cfg80211_add_key() several calls to hdd_debug()
explicitly add the function name and line number. This causes that
information to be replicated in the actual log since hdd_debug()
itself already logs the function name and line number. Fix this by
removing the explicit function name and line numbers from those calls.

Change-Id: Ib336ca941c709d528df20e74229aa52349929485
CRs-Fixed: 2129324
2017-10-20 22:55:02 -07:00
CNSS_WLAN Service
45c65494dc Merge "Release 5.2.0.50B" into wlan-cld3.driver.lnx.2.0-dev 2017-10-20 17:38:21 -07:00
CNSS_WLAN Service
fba3c70839 Merge "qcacld-3.0: Fix camelCase issues with DHCP Offload" into wlan-cld3.driver.lnx.2.0-dev 2017-10-20 17:38:20 -07:00
snandini
6920ef1527 Release 5.2.0.50D
Release 5.2.0.50D

Change-Id: I9497ad9a6c880dc554fa7392d482f5f5a2c6cb6d
CRs-Fixed: 774533
2017-10-20 16:10:39 -07:00
Jeff Johnson
b05f4fdbf9 qcacld-3.0: Propagate key sequence counter to SME
Currently the key sequence counter received from userspace is not
propagated to SME, so add logic to propagate it.

Change-Id: I5371700003744eb967c578c44e4d130628efcdc8
CRs-Fixed: 2129237
2017-10-20 16:10:38 -07:00
Krunal Soni
aa179db55a qcacld-3.0: Don't release memory within SME if serialization req fails
SME module calls enqueue request API, if API returns failure status then
SME itself is releasing the memory which is not correct.

Let serialization module give a callback to release the memory. Fix the
reference count issue along with it.

CRs-Fixed: 2123634
Change-Id: I18d490a91cf07474df3bd412d9339399df137d5d
2017-10-20 16:10:36 -07:00
snandini
f79ceb354a Release 5.2.0.50C
Release 5.2.0.50C

Change-Id: I43da1d3fab4132f8100178f05754ba9f085d40b4
CRs-Fixed: 774533
2017-10-20 13:54:07 -07:00
Naveen Rawat
d2657be69e qcacld-3.0: Use WIFI_POS public APIs for fine_time_meas_initiator
In legacy code, remove reference of fine_time_meas_initiator and use
public APIs provided by WIFI_POS to get and set FTM value.

Change-Id: I8685b6024693cc3f9a24e29dea25ea6b868ddcf6
CRs-Fixed: 2122876
2017-10-20 13:54:06 -07:00