Commit Graph

7100 Commits

Author SHA1 Message Date
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
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
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
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
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
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
snandini
4d06ca3c6e Release 5.2.0.50B
Release 5.2.0.50B

Change-Id: Id28ecae9f7766d593ab0140a53ad639e9f8125dd
CRs-Fixed: 774533
2017-10-20 10:06:25 -07:00
Jeff Johnson
678c52c506 qcacld-3.0: Fix camelCase issues with DHCP Offload
Change "qcacmn: Fix camelCase issues with DHCP Offload" in
project qca-wifi-host-cmn fixed camelCase issues with struct
dhcp_offload_info_params. Update wma to handle the renamed fields.

Change-Id: If1eda7f560c1c72c38d53b1e15a891e9a766156e
CRs-Fixed: 2121495
2017-10-20 10:06:25 -07:00
snandini
77a7621f3d Release 5.2.0.50A
Release 5.2.0.50A

Change-Id: I994c2709eb9f46c2cb65cc9ff5899e21c5d50b5e
CRs-Fixed: 774533
2017-10-20 05:55:57 -07:00
Srinivas Girigowda
bafb8b7e6a qcacld-3.0: Fix to return error values properly
If probe failed because of no memory, the return values are
not properly perculated up the call stack.

Fix this to return error values properly up the call stack.

CRs-Fixed: 2124159
Change-Id: Iba20a73555c86c26f3f07fe89e9030159e3974c0
2017-10-20 05:55:57 -07:00
snandini
3d73469611 Release 5.2.0.50
Release 5.2.0.50

Change-Id: I9460c53b07d6c7ed82d758e80dc35a34a8620aa1
CRs-Fixed: 774533
2017-10-20 03:42:18 -07:00
chenguo
d9cf03bef5 qcacld-3.0: Change NON_QOS scheduler setting for SDIO WLAN
There is a gap for the NON_QOS queue setting in the SDIO WLAN TX
scheduler, which will cause certification test case fails.
Change the setting same as qcacld2.0.

CRs-Fixed: 2123022
Change-Id: Iedfa048ec9c3d293b05903ce4f2eba4ef07c020e
2017-10-20 03:42:17 -07:00
snandini
8a4504fe4a Release 5.2.0.49Z
Release 5.2.0.49Z

Change-Id: I7412b4739fa5e5db303713600cb9840e674befb9
CRs-Fixed: 774533
2017-10-20 01:11:16 -07:00
Naveen Rawat
d8feac152e qcacld-3.0: Update 11AX - HE IE's based on new draft - 4/4
Update HE Capability/Operation IE based on new draft version D1.3.

Update driver changes for the frame changes made as part of
Ia295422fa697edea8a571be359f9983110bba969.

Change-Id: I22e4641e8fd15d647eb655c41c61389da8775766
CRs-Fixed: 2092845
2017-10-20 01:11:15 -07:00
Naveen Rawat
4051b0240e qcacld-3.0: Update 11AX - HE IE's based on new draft - 3/4
Update 11AX - HE IE's based on new draft - 4/4

Update driver changes for the frame changes made as part of
I00e568c1889b001286abcbf4c653036b3b86ef3f.

Change-Id: I4b7943f5585e47f364145ffff73cfafb19998aa1
CRs-Fixed: 2092845
2017-10-20 01:11:13 -07:00
Naveen Rawat
ea921ce3d3 qcacld-3.0: Update 11AX - HE IE's based on new draft - 2/4
Update HE capability/Operation IE based on new draft version D1.3.
Update the element ID from vendor ID to extension ID.

Change-Id: Ia295422fa697edea8a571be359f9983110bba969
CRs-Fixed: 2092845
2017-10-20 01:11:11 -07:00
Naveen Rawat
25b76df53c qcacld-3.0: Update 11AX - HE IE's based on new draft - 1/4
Update HE Capabilities and HE Operation IE as per D1.3 spec.
Add new fields included in the new draft version.

Change-Id: I00e568c1889b001286abcbf4c653036b3b86ef3f
CRs-Fixed: 2092845
2017-10-20 01:11:09 -07:00
snandini
82ba9cbd2b Release 5.2.0.49Y
Release 5.2.0.49Y

Change-Id: Ibb82411f98869710685215b33defd8f48ede912c
CRs-Fixed: 774533
2017-10-19 20:55:18 -07:00
Jeff Johnson
5b34fce8ed qcacld-3.0: Rename pRoamProfile
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pRoamProfile to align with the Coding
Style.

Change-Id: I6a883e171a8aa304cf2e57486be9b51baa700acb
CRs-Fixed: 2126628
2017-10-19 20:55:17 -07:00
Jeff Johnson
8b5e8f7397 qcacld-3.0: Remove obsolete MIC failure logic
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211.
However the driver still has obsolete logic to notify MIC failure via
wireless_send_event(). Remove that logic.

Change-Id: I6c36cb626e46fd319c264b4c7621fe29c5996f6c
CRs-Fixed: 2128999
2017-10-19 20:55:15 -07:00
Jeff Johnson
7b0f3a2275 qcacld-3.0: Remove obsolete STA support for SIOCSIWFREQ
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWFREQ should no longer be used, so remove
it.

Change-Id: I62898d254325057bacdb06edd28a4710f2de574f
CRs-Fixed: 2128998
2017-10-19 20:55:12 -07:00
Jeff Johnson
52002c05df qcacld-3.0: Remove obsolete STA support for SIOCGIWFREQ
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWFREQ should no longer be used, so remove
it.

Change-Id: Ibcd738c564209010aeeda59e5ec193e2e93d853b
CRs-Fixed: 2128997
2017-10-19 20:55:09 -07:00
Jeff Johnson
31fd71ab94 qcacld-3.0: Remove obsolete STA support for SIOCSIWMODE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWMODE should no longer be used, so remove
it.

Change-Id: I30953a7a6ca8df3cf88e3b5876f3ce1708f42dbc
CRs-Fixed: 2128996
2017-10-19 20:55:07 -07:00
Jeff Johnson
88aa1a2e21 qcacld-3.0: Remove obsolete support for SIOCGIWMODE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA and SAP implementations of SIOCGIWMODE should no longer be used,
so remove them.

Change-Id: Id653cfbb59e37513bb6da29718ac1237e9ebdbd2
CRs-Fixed: 2128995
2017-10-19 20:55:04 -07:00
Jeff Johnson
5ff101722a qcacld-3.0: Remove obsolete STA support for SIOCSIWAP
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWAP should no longer be used, so remove
it.

Change-Id: I996ae1c023e844b54f2c1fe4fcbefeaf3e8bf878
CRs-Fixed: 2128994
2017-10-19 20:55:02 -07:00
Jeff Johnson
b07d3ff578 qcacld-3.0: Remove obsolete STA support for SIOCGIWAP
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWAP should no longer be used, so remove
it.

Change-Id: Ic513986029090b55f3df2ea31d07cf1594d17d4d
CRs-Fixed: 2128993
2017-10-19 20:55:00 -07:00
Jeff Johnson
2165afcf1d qcacld-3.0: Remove obsolete STA support for SIOCSIWMLME
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWMLME should no longer be used, so remove
it.

Change-Id: I9c68bf1b2c734ae2bcb862cd8acfbcea41f48411
CRs-Fixed: 2128992
2017-10-19 20:54:57 -07:00
Jeff Johnson
d73a543a50 qcacld-3.0: Remove obsolete STA support for SIOCSIWESSID
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWESSID should no longer be used, so remove
it.

Change-Id: Idf75957707c3799add0c59fdd532fe0c24d27117
CRs-Fixed: 2128991
2017-10-19 20:54:55 -07:00
Jeff Johnson
3c6c0efabc qcacld-3.0: Remove obsolete STA support for SIOCGIWESSID
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWESSID should no longer be used, so remove
it.

Change-Id: I4210a1faf12adeaeede1a379f0827eddfbd19881
CRs-Fixed: 2128990
2017-10-19 20:54:53 -07:00
Jeff Johnson
90448a8128 qcacld-3.0: Remove obsolete STA support for SIOCSIWNICKN
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWNICKN should no longer be used, so remove
it.

Change-Id: Iab8a3e9fafc7a1c4c59bebd308b6b50a46b9228f
CRs-Fixed: 2128989
2017-10-19 20:54:51 -07:00
Jeff Johnson
22ba2a4272 qcacld-3.0: Remove obsolete STA support for SIOCGIWNICKN
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWNICKN should no longer be used, so remove
it.

Change-Id: I20f78d9cb52187676e543e90f5ffe19176fe8bc3
CRs-Fixed: 2128988
2017-10-19 20:54:49 -07:00
Jeff Johnson
64b2698ff3 qcacld-3.0: Remove obsolete STA support for SIOCSIWRATE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWRATE should no longer be used, so remove
it.

Change-Id: If9a82dd0d450a215e5dfaddb93ae6ffe71386aa9
CRs-Fixed: 2128987
2017-10-19 20:54:47 -07:00
Jeff Johnson
7b5b8e7c99 qcacld-3.0: Remove obsolete STA support for SIOCGIWRATE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWRATE should no longer be used, so remove
it.

Change-Id: Ibc58460db88bbc3461d67a79b2dafae7a095ce62
CRs-Fixed: 2128986
2017-10-19 20:54:44 -07:00