Commit Graph

7201 Commits

Author SHA1 Message Date
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
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
Jeff Johnson
f231648955 qcacld-3.0: Remove obsolete STA support for SIOCSIWRTS
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 SIOCSIWRTS should no longer be used, so remove
it.

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

Change-Id: I517481792e3fb211454b5383288c5cfd92131b2a
CRs-Fixed: 2128984
2017-10-19 20:54:40 -07:00
Jeff Johnson
40d701029e qcacld-3.0: Remove obsolete STA support for SIOCSIWFRAG
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 SIOCSIWFRAG should no longer be used, so remove
it.

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

Change-Id: If83d63cea9f3f85a7c2597ae3cf43113548de3ba
CRs-Fixed: 2128982
2017-10-19 20:54:35 -07:00
Jeff Johnson
744676f562 qcacld-3.0: Remove obsolete STA support for SIOCSIWTXPOW
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 SIOCSIWTXPOW should no longer be used, so remove
it.

Change-Id: I77abd4b621a2541e9b745f3a48cd533dc293bf72
CRs-Fixed: 2128591
2017-10-19 20:54:33 -07:00
Jeff Johnson
918d35e0b6 qcacld-3.0: Remove obsolete STA support for SIOCGIWTXPOW
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 SIOCGIWTXPOW should no longer be used, so remove
it.

Change-Id: If5e0a007182e0a25344d27d653b87d22327398fd
CRs-Fixed: 2128590
2017-10-19 20:54:30 -07:00
Jeff Johnson
d89950437c qcacld-3.0: Remove obsolete STA support for SIOCSIWRETRY
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 SIOCSIWRETRY should no longer be used, so remove
it.

Change-Id: I01a0c501e9417b867a08b3a4b7e2dc462195f1c7
CRs-Fixed: 2128589
2017-10-19 20:54:28 -07:00
Jeff Johnson
00367e2caa qcacld-3.0: Remove obsolete STA support for SIOCGIWRETRY
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 SIOCGIWRETRY should no longer be used, so remove
it.

Change-Id: Iec9fa41ccb52723d8938b1392342b2e10d66c363
CRs-Fixed: 2128588
2017-10-19 20:54:26 -07:00
Jeff Johnson
140e07acf9 qcacld-3.0: Remove obsolete STA support for SIOCSIWENCODE
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 SIOCSIWENCODE should no longer be used, so remove
it.

Change-Id: I3aa8ecd114b7be9bdef0efbac9b854cf6119f02b
CRs-Fixed: 2128587
2017-10-19 20:54:24 -07:00
Jeff Johnson
e84e8d073d qcacld-3.0: Remove obsolete STA support for SIOCGIWENCODE
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 SIOCGIWENCODE should no longer be used, so
remove it.

Change-Id: Ia67464527b795c93014ff2fe2347edd318ce6a25
CRs-Fixed: 2128585
2017-10-19 20:54:22 -07:00
Jeff Johnson
955e05881b qcacld-3.0: Remove obsolete STA support for SIOCSIWPOWER
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 SIOCSIWPOWER performs no useful actions and
should no longer be used, so remove it.

Change-Id: Ib42d515ca19ca23b50dc34e7df0e62b7507bc728
CRs-Fixed: 2128584
2017-10-19 20:54:20 -07:00
Jeff Johnson
330d8dc9ce qcacld-3.0: Remove obsolete STA support for SIOCGIWPOWER
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 SIOCGIWPOWER performs no useful actions and
should no longer be used, so remove it.

Change-Id: I3226f15ae9685eab83e8dc3ee9771da0ad3df5fc
CRs-Fixed: 2128583
2017-10-19 20:54:18 -07:00
Jeff Johnson
4bcdafa674 qcacld-3.0: Remove obsolete STA support for SIOCSIWGENIE
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 SIOCSIWGENIE should no longer be used, so remove
it.

Change-Id: I95cdb9431edace942ccef40efee918316a9f6cb9
CRs-Fixed: 2128582
2017-10-19 20:54:16 -07:00
Jeff Johnson
f6562c69b3 qcacld-3.0: Remove obsolete STA support for SIOCGIWGENIE
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 SIOCGIWGENIE should no longer be used, so remove
it.

Change-Id: If7bbffdaa9c32e0945688e3dd41cb135ba57a44d
CRs-Fixed: 2128581
2017-10-19 20:54:14 -07:00
Jeff Johnson
079f7de06e qcacld-3.0: Remove obsolete STA support for SIOCSIWAUTH
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 SIOCSIWAUTH should no longer be used, so remove
it.

Change-Id: I34a90c11c50967c8ccd74984721e709eda66d322
CRs-Fixed: 2128361
2017-10-19 20:54:12 -07:00
Jeff Johnson
4139b82219 qcacld-3.0: Remove obsolete STA support for SIOCGIWAUTH
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 SIOCGIWAUTH should no longer be used, so remove
it.

Change-Id: I454f925ac3d11cf84d311285b74ecd3674ecb90f
CRs-Fixed: 2128360
2017-10-19 20:54:10 -07:00
Jeff Johnson
5b30082935 qcacld-3.0: Remove obsolete STA support for SIOCSIWENCODEEXT
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 SIOCSIWENCODEEXT should no longer be used, so
remove it.

Change-Id: Ifc2e25eb1736795a56f07d6ef588156ca12b9dcc
CRs-Fixed: 2128359
2017-10-19 20:54:08 -07:00
Jeff Johnson
6b74705a74 qcacld-3.0: Remove obsolete STA support for SIOCGIWENCODEEXT
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 SIOCGIWENCODEEXT should no longer be used, so
remove it.

Change-Id: I02aca0bab022d84775acfa6d238e23ea357b79d0
CRs-Fixed: 2128358
2017-10-19 20:54:06 -07:00
snandini
8c2bb55fc6 Release 5.2.0.49X
Release 5.2.0.49X

Change-Id: I9a6333e03523206044514931e8a065380d072740
CRs-Fixed: 774533
2017-10-19 19:48:45 -07:00
Krunal Soni
d3c86d42a1 qcacld-3.0: Release PMF timer's memory before deleting the session
Recent fix I082c771bbee6d083b15515dd2e40ed9a27e0a9a1 has been added
to release PEER's uncleaned timer memory but this fix is not good
enough to cover SSR (sub system restart) scenario in which driver
never calls stop bss API.

To resolve the SSR case, call lim_del_pmf_sa_query_timer() API before
deleting the PE session.

CRs-Fixed: 2127688
Change-Id: I50d6eda88fcd666b546fffb6a0bc1b7e500a8cae
2017-10-19 19:48:44 -07:00
Arif Hussain
3d731abafd qcacld-3.0: Add sanity check in wma_process_rmf_frame
Currently the mpdu_data_len in Rx pkt meta is not checked for
upper bound in wma_process_rmf_frame.
Add sanity check to drop the packet if mpdu_data_len is
greater than 2000 bytes.

Change-Id: I156cf9766dda30ee3746361614a2e4586553f93d
CRs-Fixed: 2123807
2017-10-19 19:48:42 -07:00
snandini
722bb7ebd9 Release 5.2.0.49W
Release 5.2.0.49W

Change-Id: Ib0785622428edb47cb398c39e26e02af71c4bdc8
CRs-Fixed: 774533
2017-10-19 17:53:58 -07:00
Mohit Khanna
8749373dce qcacld-3.0: set gso_size for non linear tcp packets
Currently, OL/TXRX is unable to handle non TSO
packets which are non-linear. These packets have skb->gso_size as zero
since they are not jumbo packets and dont need to be TSOed.
However, TSO code can handle such packets. The current code assumes that
non TSO packets will be linear. This may case an incorrect memory access
leading to a crash.

Fill in gso_size for non-linear TCP packets if it is zero. This lets the
TSO logic handle these packets for CE transmission.

Change-Id: I75c7759e1a35c462966a2d925db6f537670ad72f
CRs-Fixed: 2100254
2017-10-19 17:53:57 -07:00
snandini
edff3812c7 Release 5.2.0.49V
Release 5.2.0.49V

Change-Id: I1ef5a044596e5dff717f00eee4df12226ba06ee4
CRs-Fixed: 774533
2017-10-19 15:33:53 -07:00
Vignesh Viswanathan
0b0fa277ca qcacld-3.0: Fix Compilation issues when FILS is disabled in Kbuild
Currently with CONFIG_WLAN_FEATURE_FILS set to n in Kbuild,
compilation issues are seen in the function hdd_save_gtk_params
due to usage of fils related structure without the compilation flag
checked.

Add new definition for the function hdd_save_gtk_params to fix
compilation issues with hdd_save_gtk_params set to n

Change-Id: Iab96c97df50f50c601ba52060440668373f74744
CRs-Fixed: 2111640
2017-10-19 13:53:39 -07:00
Vignesh Viswanathan
8da68cf1f9 qcacld-3.0: Add debug logs to print FILS ERP Seq Number
Currently the debug logs print only the KEK, KCK and other
keys during FILS Roam sync indication from FW to Framework.

Add additional debug logs to print Next ERP Sequence Number
from the firmware during roam sync indication to Framework.

Change-Id: I3df03cd3d426ffa18e021a45d95edb3148838858
CRs-Fixed: 2106552
2017-10-19 13:53:07 -07:00
Vignesh Viswanathan
731186f0ff qcacld-3.0: Add service_available_event handler for FILS roam capability
Currently, wmi_service_bitmap field in WMI_SERVICE_READY_EVENT is
exhausted. WMI_SERVICE_AVAILABLE_EVENT is available for upcoming
capability intimations.

Add service_available_event handler in host driver to extract
FILS roaming capability of fw. Based on this capability only,
send RSO, update connect params, HLP IE commands, GTK offload
are sent to fw.

Change-Id: I320ba86d29109d8cba23830ef9cb5e159792f19a
CRs-Fixed: 2094229
2017-10-19 13:52:33 -07:00
Vignesh Viswanathan
e8a26b2ade qcacld-3.0: Add support for flush PMKSA in fw
Currently, driver sends add/delete pmksa entry to fw
whenever supplicant sends set/delete pmksa to driver.

Add support to flush all PMKSA entries as well.

Change-Id: I044a25b071cab5c156b41bcaab338328b5439d64
CRs-Fixed: 2094257
2017-10-19 13:52:03 -07:00
Sridhar Selvaraj
56703374d3 qcacld-3.0: Cleanup FILS key dumps
Currently, in host driver, FILS Keys(PMK, KEK, ICK) are
printed in debug logs.

Remove all the Key dumps added as part of FILS.

Change-Id: Iafdd556b5c547d5d8f8184a33c0d2fad40cb96d0
CRs-Fixed: 2095631
2017-10-19 13:51:39 -07:00
Sridhar Selvaraj
e526044735 qcacld-3.0: Fix compilation issues in FILS roaming
Fix compilation issues in FILS roaming

Change-Id: Ib33873fbace5ad9a4788b7968562b934270035a1
CRs-Fixed: 2095625
2017-10-19 13:51:10 -07:00
Vignesh Viswanathan
3fa1d38e60 qcacld-3.0: Add kernel backport versions
Add kernel backport versions for the below kernel flags:
- CFG80211_CONNECT_BSS
- CFG80211_CONNECT_TIMEOUT
- CFG80211_CONNECT_TIMEOUT_REASON_CODE
- CFG80211_CONNECT_DONE
- CFG80211_FILS_SK_OFFLOAD_SUPPORT
- CFG80211_BEACON_TX_RATE_CUSTOM_BACKPORT
- CFG80211_RAND_TA_FOR_PUBLIC_ACTION_FRAME

Change-Id: I3593e0af4817ebbf75ca9e2f3aec36aece6f6f0e
CRs-Fixed: 2086436
2017-10-19 13:50:43 -07:00
Vignesh Viswanathan
c6d1e1cc13 qcacld-3.0: Add FILS roaming support
Add FILS roaming support changes as follows:
- Update ERP info in RSO Start
- Update HLP info in a new command WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID
- Set/Delete PMK cache info with WMI_PDEV_UPDATE_PMK_CACHE_CMDID
- Process FILS TLV in Roam Synch Indication and update the FILS info
  [seq number,PMK, KEK, realm] to Supplicant.

Change-Id: I78c3bdde080701deb8d2bdb92d8d57d18cceb864
CRs-Fixed: 2081252
2017-10-19 13:49:15 -07:00
snandini
dc42c7c3a9 Release 5.2.0.49U
Release 5.2.0.49U

Change-Id: I723cbdd08a85452c7a86bb0b8232a83ae679aeef
CRs-Fixed: 774533
2017-10-19 11:40:03 -07:00
Arif Hussain
2fd002410a qcacld-3.0: Fix the wrap-around issue in rrm_fill_beacon_ies
Currently BcnNumIes is uint8_t, which is used to hold ie length,
and it cannot be used to hold if ie length is greater than 255,
it will wrap-around to zero or smaller number.

So change BcnNumIes variable type from uint8_t to uint16_t.

Also change to bss desc copy logic in
sme_rrm_send_beacon_report_xmit_ind function.

Change-Id: Ie92a9afbf6e3674a0730f5f48210424b1d34386d
CRs-Fixed: 2124579
2017-10-19 11:40:03 -07:00
snandini
5fbc0cbd63 Release 5.2.0.49T
Release 5.2.0.49T

Change-Id: Ia9a363aacae2bebb8024648b7dc2dc3c7ef31d42
CRs-Fixed: 774533
2017-10-19 05:40:42 -07:00
Jeff Johnson
731bc32f1c qcacld-3.0: Relocate & rename "requested BSSID" field
Currently the "requested BSSID" is kept in struct hdd_wext_state. This
information is independent of wireless extensions, so relocate it to
struct hdd_station_ctx and rename it to improve readability and to
conform to the Linux coding style.

Change-Id: I3410103260d5be9cb405084f7f357fcfe08fb6f0
CRs-Fixed: 2128357
2017-10-19 05:40:42 -07:00
snandini
d0a6219133 Release 5.2.0.49S
Release 5.2.0.49S

Change-Id: I11a1ac8569899ebcb395e2d4f9060a6b2bc5842c
CRs-Fixed: 774533
2017-10-18 23:50:56 -07:00
Wu Gao
aa5e3f7476 qcacld-3.0: Remove legacy P2P codes in SAP
To reduce code size, remove legacy P2P codes in SAP layer. Remove
P2P files from Kbuild.

Change-Id: I83a704d3f03e9cb9e6a7420f32d609a323799a12
CRs-Fixed: 2111575
2017-10-18 23:50:55 -07:00
Wu Gao
7afc615be0 qcacld-3.0: Remove legacy P2P codes in WMA
To reduce code size, remove legacy P2P codes in WMA layer

Change-Id: Id34951ac907365ab4fcff6783000d745e84a8de7
CRs-Fixed: 2111575
2017-10-18 23:50:53 -07:00
Wu Gao
aa06e3511c qcacld-3.0: Remove legacy P2P codes in SME
To reduce code size, remove legacy P2P codes in SME layer.

Change-Id: I2f7d4c14d4ba2df9360351bdc55a8ba92ec9caf9
CRs-Fixed: 2111574
2017-10-18 23:50:51 -07:00
Wu Gao
1564899bad qcacld-3.0: Remove legacy P2P codes in MAC
To reduce code size, remove legacy P2P codes in MAC layer.

Change-Id: I64d0b71853004679ae694bcd6ca7a2f2347adc84
CRs-Fixed: 2111567
2017-10-18 23:50:49 -07:00
snandini
4d1fee0f35 Release 5.2.0.49R
Release 5.2.0.49R

Change-Id: I13c2cc422fd6f616731fbbb475d18e104ee9fc68
CRs-Fixed: 774533
2017-10-18 19:42:10 -07:00
Orhan K AKYILDIZ
30e8cbcd4f qcacld-3.0: Make max msdus per pkt configurable
Introduce a new parameter in the ini file for the maximum
number of MSDUs per HTT_RX_INORDERIND message.
This parameter is now sent over to the FW through the RFS
configuration message.

Change-Id: Id0057861bc172a36483804170274b202198b6824
CRs-Fixed: 2106760
2017-10-18 19:42:10 -07:00
Yun Park
d9c528eba1 Revert "qcacld-3.0: fix ipa mcc tx_desc pool size"
This reverts commit I3216a4c14ac624cc313d11226909efd4f63841d0

When alloccate free Tx desc list, Tx desc pool size is not initialized yet,
so tx_desc_size is set to 0.
This cause free Tx descriptor allocation failed.

Change-Id: I02ae2e59311e737dd9245228048d62f657d5b0d1
CRs-Fixed: 2085753
2017-10-18 19:42:08 -07:00
snandini
05e15da676 Release 5.2.0.49Q
Release 5.2.0.49Q

Change-Id: I405fe19c5d69a3444f0628ba4a25094bd0ad7d59
CRs-Fixed: 774533
2017-10-18 07:49:27 -07:00
snandini
4635131eb0 Release 5.2.0.49P
Release 5.2.0.49P

Change-Id: I505433efc02320230d5b8d299407cb2c5fc29feb
CRs-Fixed: 774533
2017-10-18 03:55:02 -07:00
Nachiket Kukade
8983cf61d2 qcacld-3.0: Support for configuring voltage corner mode
This change adds support for configuring voltage corner mode
thorugh INI parameter. User will provide a bitmap which will
be passed on to the FW during initialization. In this bitmap,
each pair of bits till BIT27 correspond to different phymode,
bw combination. Bit values signify voltage corner configuration.

Change-Id: I9e86d43079225b6f08fdd281c8f424b18abcffe9
CRs-Fixed: 2109884
2017-10-18 03:55:01 -07:00
snandini
d2f7c326f8 Release 5.2.0.49O
Release 5.2.0.49O

Change-Id: I65dbb8dbdc9c657bcdd7c9046963284778f4a7d7
CRs-Fixed: 774533
2017-10-18 02:03:17 -07:00
Jeff Johnson
3525cdd50f qcacld-3.0: Remove obsolete hdd_hostapd_state bCommit flag
The hdd_hostapd_state bCommit flag is a remnant from a prior version
of the driver. This flag is written, but never read, and hence
obviously has no purpose, so remove it.

Change-Id: If4fd93f474fcd6e01cdc51b1575a3509b538b504
CRs-Fixed: 2126889
2017-10-18 02:03:17 -07:00
snandini
7f9cf231ea Release 5.2.0.49N
Release 5.2.0.49N

Change-Id: I436816df78b36532af9117198e48422fd4cbb532
CRs-Fixed: 774533
2017-10-17 21:49:32 -07:00
Jeff Johnson
ab8fbb8061 qcacld-3.0: Fix style issue in sch_generate_tim()
Checkpatch reported the following issue, so fix it:
- ERROR:SPACING: space prohibited after that '*' (ctx:ExW)

Change-Id: I78a48d284d8b773a4a8c02f2196200f615836690
CRs-Fixed: 2126450
2017-10-17 21:49:32 -07:00
snandini
2718229f6f Release 5.2.0.49M
Release 5.2.0.49M

Change-Id: I4d8f4bca3b17c497d2e0bed4a2d7ca6b3db67dba
CRs-Fixed: 774533
2017-10-17 19:53:44 -07:00
Amar Singhal
7f5642ae4b qcacld-3.0: Add check for firmware message length
Add check for buffer size in function wma_encrypt_decrypt_msg_handler

Change-Id: I6dbead1d4996c5128cadc3ef071540fa0694201e
CRs-Fixed: 2119060
2017-10-17 19:53:43 -07:00
Wu Gao
02bd75be9c qcacld-3.0: Remove legacy P2P codes in HDD
To reduce code size, remove legacy P2P codes in HDD layer.

Change-Id: Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d
CRs-Fixed: 2099184
2017-10-17 19:53:41 -07:00
Wu Gao
c02785db21 qcacld-3.0: Activate debug functions in P2P component
Remove P2P debug functions from legacy code and apply the new
functions in UMAC P2P component.

Change-Id: I1ff627a553108c74be144232fd0a0406d88de395
CRs-Fixed: 2105808
2017-10-17 19:53:38 -07:00
Amar Singhal
7b038cad15 qcacld-3.0: Check number of dbs hw modes
In WMI_SERVICE_READY_EVENTID, check for number of dbs HW modes against
the metadata.

Change-Id: I043c93c4e6bc0dfdd73dbdc65bab683c56269308
CRs-Fixed: 2119387
2017-10-17 19:53:36 -07:00
snandini
504a0608da Release 5.2.0.49L
Release 5.2.0.49L

Change-Id: Iaf9702de6ff3ab88c86c568f0ed93c70b1188c9b
CRs-Fixed: 774533
2017-10-17 18:11:25 -07:00
Yun Park
73ea8bbb2c qcacld-3.0: Send WLAN_CLIENT_DISONNNECT event from del_station
When receive STOP_BSS, send WLAN_CLIENT_DISONNNECT event send to IPA.
And upon receiving WLAN_CLIENT_DISONNNECT, check if all clients are
already disconnected to avoid redundant event processing.

Change-Id: Ibb3074cdaf65da9ea8c2032df86f9d66b2fce014
CRs-Fixed: 2096338
2017-10-17 18:11:24 -07:00
Hanumanth Reddy Pothula
aaa3f8871c qcacld-3.0: Fix CPU soft lock up during workqueue cancellation
Propagation from qcacld-2.0 to qcacld-3.0

ipv4 and ipv6 workqueues are initialized in open adapter for STA
and P2P modes but not for AP mode. The workqueues are cancelled
in stop adapter. The cancel_work_sync may be called on AP adapter
workqueue also, if just in time, the AP adapter mode has changed
to STA mode, for example during hostapd stop etc. This can cause
the cancel_work_sync to continuously loop since INIT_WORK has not
been called, finally raising CPU stuck. There is no harm in calling
INIT_WORK on any workqueue since it only makes sure that in cases
as above there is no undeterministic behaviour.

Fix cancel_work_sync issues by initializing ipv4 and ipv6 workqueues.

CRs-Fixed: 2121723
Change-Id: Ief8dd0c797dd1492fa30ca4e41da9e583548e21d
2017-10-17 18:11:22 -07:00
Dustin Brown
a7cf3a9bb5 qcacld-3.0: Avoid buffer overrun via null termination
__iw_softap_set_ini_cfg assumes a given user supplied buffer is null
terminated, which can lead to a buffer overrun. Ensure the buffer is
null terminated by copying it to a new, oversized buffer whose last byte
is zero.

Change-Id: If94e753026f79a368cd6b9cb7c745ade4ae29452
CRs-Fixed: 2118809
2017-10-17 18:11:20 -07:00
Yun Park
1027e8ca6d qcacld-3.0: Implement clearStats for TSO and NAPI statistics
Implement missing clearStats for TSO and NAPI statistics.

Change-Id: I384a6abcecca8276dadc647e93720e067f324aab
CRs-Fixed: 2024016
2017-10-17 18:11:18 -07:00
snandini
db5d42b894 Release 5.2.0.49K
Release 5.2.0.49K

Change-Id: I00e27b562a615d00d6c375076a9f5226c49b8aa0
CRs-Fixed: 774533
2017-10-17 15:57:54 -07:00
Yun Park
2aa880cc76 qcacld-3.0: Set Netdev Tx/Rx stat counter for IPA uC data path
Netdev Tx/Rx stat counters doesn't reflect packet counter from IPA
offload data path.
Change to add Tx/Rx packet counts from IPA uC data path through IPA uC
stats query.

Change-Id: If80dee818e97f4f75407885c20ee9abf2257be7c
CRs-Fixed: 956283
2017-10-17 15:57:53 -07:00
snandini
986a27f6e9 Release 5.2.0.49J
Release 5.2.0.49J

Change-Id: I73f03199bae2544d9dc952fe29d086ee9f845b60
CRs-Fixed: 774533
2017-10-17 13:12:45 -07:00
Jeff Johnson
ce4a8349b4 qcacld-3.0: Align on enum nl80211_wpa_versions
The original version of the driver was based upon wireless
extensions. Later when nl80211/cfg80211 support was added, in some
cases data received with nl80211 semantics was converted to wireless
extensions semantics. One such data item is the WPA version.

Now that wireless extensions have been deprecated, it is desirable to
align on cfg80211/nl80211 semantics. Therefore now align on enum
nl80211_wpa_versions for maintaining the WPA version.

Change-Id: I2a0fb6996b42adfe6dec7c14493c2dc10f83230c
CRs-Fixed: 2126880
2017-10-17 13:12:44 -07:00
snandini
af2ace2b56 Release 5.2.0.49I
Release 5.2.0.49I

Change-Id: Iabc031518414bc997d44979341219f4f676ef6a7
CRs-Fixed: 774533
2017-10-17 11:48:50 -07:00
Wu Gao
aceec6c1fc qcacld-3.0: Cleanup scan request when calling stop adapter
It doesn't record current scan request and won't cleanup being
process scan request. In some Rome platform, host driver just load one
time, scan request status mismatch to cfg80211 if didn't cleanup scan
request, and then cause crash.

Change-Id: I000db80bdf5175775f2415130ee3a2974aefa4ea
CRs-Fixed: 2111330
2017-10-17 11:48:50 -07:00
snandini
8208de4aff Release 5.2.0.49H
Release 5.2.0.49H

Change-Id: Ifa8e12f7fd29cf29b153b209683643430a46aba9
CRs-Fixed: 774533
2017-10-17 05:05:26 -07:00
SaidiReddy Yenuga
744073fd06 qcacld-3.0: Fix wlan module loading issue
As part of configure default filters over suspend code
changes wlan module loading broken.

Fix the loading issue by adding the newly added files
to Kbuild.

CRs-Fixed: 2017259
Change-Id: Ib33efa8f7f5e2ca8d9734181df94f70557e9f9cd
2017-10-17 05:05:26 -07:00
Hanumanth Reddy Pothula
3def8945b0 qcacld-3.0: Configure and clear default packet filters over suspend and resume
In suspend mode multicast, broadcast packets wakes up host,
this leads to higher power consumption.

Add support to configure the IPv6/IPv4 multicast, IPv4 broadcast, XID,
STP, DTP/LLC/CDP packet filters based on ini bit map param, before the
device goes to suspend mode and clear the same filters in resume.

CRs-Fixed: 2011442
Change-Id: Ib355459132086902ba008f2abd17415a8f569b41
2017-10-17 05:05:24 -07:00
snandini
5fffa74cb2 Release 5.2.0.49G
Release 5.2.0.49G

Change-Id: I7f7649ccc60897f0d263887fc8acb285c9ad049f
CRs-Fixed: 774533
2017-10-17 02:17:25 -07:00
Paul Zhang
05af1f6352 qcacld-3.0: Check radio id for FW event
In Rome platform, it use invalid radio id in FW event
WMI_RADIO_LINK_STATS_EVENTID and cause crash. So check
radio id when handling this event.

Change-Id: Iadf61fbde53f80f1081da9a386cf13f0cce69e3c
CRs-Fixed: 2123782
2017-10-17 02:17:25 -07:00
snandini
2049fe0f50 Release 5.2.0.49F
Release 5.2.0.49F

Change-Id: I6f80c0115ae3b2ebd1b6f267db4aedc435521cc6
CRs-Fixed: 774533
2017-10-16 22:02:49 -07:00
Jingxiang Ge
9db9d235af qcacld-3.0: Ignore netdev notifier when driver status is closed
when unloading driver, there is possible that the driver_status
has been DRIVER_MODULES_CLOSED, then NETDEV_GOING_DOWN is received,
which will cause assert in qdf_mutex_acquire as lock has been
destoryed.

Change-Id: Ic7e26dc1eb9a40a2462b041b0f3b84452e448cfd
CRs-Fixed: 2126832
2017-10-16 22:02:49 -07:00
snandini
5f3047b4e1 Release 5.2.0.49E
Release 5.2.0.49E

Change-Id: Iede0c460c1e146ae0ae51e103145139ae86787ea
CRs-Fixed: 774533
2017-10-16 18:06:57 -07:00
Amar Singhal
4bd222369a qcacld-3.0: Check for number of entries in fw profiling
Number of profile data from firmware cannot be trusted. Check for
number of entries against the metadata in TLV header.

Change-Id: I0d8078f623a97e33ee1689398c291be75fe9a62a
CRs-Fixed: 2119391
2017-10-16 18:06:56 -07:00
Amar Singhal
16c170d21c qcacld-3.0: Add checks for security vulnerability
Add checks to extscan and ocb FW message handlers.

Change-Id: I1ff5b1f8722545de4cc4f10d23ff9b914ae3428c
CRs-Fixed: 2119054
2017-10-16 18:06:54 -07:00
Amar Singhal
4aaa6c4946 qcacld-3.0: Do check for datalen in wma_process_uft_event
Check for data length against the size of the structure.

Change-Id: Ia8107053ca9c109632ea02a0c8fa677f19e4e225
CRs-Fixed: 2118918
2017-10-16 18:06:53 -07:00
Yun Park
d8fb1a803c qcacld-3.0: Fix memory leaks detected in pending_event list
Pending_event memory is dynamically allocated after driver loaded
but freed up only when driver unloading.
Fix to free pending_event memory when driver stop.

Change-Id: Ia748e311fc77fc99e193230910fccd7bc9b4f5a9
CRs-Fixed: 2126695
2017-10-16 18:06:51 -07:00
snandini
3c286a9f9a Release 5.2.0.49D
Release 5.2.0.49D

Change-Id: Ic2e71f5bfe8598e24e3f67f20d068ee0652f7d48
CRs-Fixed: 774533
2017-10-16 16:44:13 -07:00
Krunal Soni
22208393bb qcacld-3.0: Remove SAP connection from policy manager upon stopbss
If SAP has no channel left to move then it will issue stop bss. In this
scenario, SAP is not cleaning up its entry from policy manager table
which causes stale entry left over in table.

Fix this situation by stopping the bss successfully and deleting entry
from policy manager table.

Change-Id: I7c7d305936fe16b0deebb9b7a67f7753cbf243e6
CRs-Fixed: 2112932
2017-10-16 16:44:13 -07:00
Varun Reddy Yeturu
84c497b930 qcacld-3.0: Handle failure scenarios for NSS update request
Release the NSS update request from the serialization active
command list in case the request fails.

Change-Id: Id6bfee6f510132bacdc69773c8aba90be43aa813
CRs-Fixed: 2112932
2017-10-16 16:44:11 -07:00
Mahesh Kumar Kalikot Veetil
c637fc91d7 qcacld-3.0: Allow BSS start during STA connection
SoftAP start fails during station connection is in progress and the flag
update_beacon is not set. Also allow beacon/probe resp update in the middle
of p2p connection.

Change-Id: I13d89b6b8b51f999ff317d1f55dc3fcf48bdd422
CRs-Fixed: 2108186
2017-10-16 16:44:09 -07:00
Mahesh Kumar Kalikot Veetil
0c5cb992cf Revert "qcacld-3.0: Don't allow start ap during sta connection"
This reverts Change-Id: I1887aab39d2fa13cc8a900164d2aa6d489464e42

Driver is no more acquiring qdf_conc_list_lock before calling
cds_get_pcl(). SME active queue will serialize connection request and
bss start commands.

Change-Id: I98066b8f1e756ae930ea97be6f8c6e6de244662d
CRs-Fixed: 2108186
2017-10-16 16:44:07 -07:00
snandini
be58ba23ea Release 5.2.0.49C
Release 5.2.0.49C

Change-Id: Ie63f6c840a5cad227aec837a552fc95508762c41
CRs-Fixed: 774533
2017-10-16 14:23:13 -07:00
Sravan Kumar Kairam
3a69831d44 qcacld-3.0: Send TX timeout event for TX data stall
For data stall continuous HDD tx timeout count of five
post HOST TX time out data stall event to handle it in
data detection module.

Change-Id: Ic6cf5e62f711cef5919a4a5e85e4232c622c04bb
CRs-Fixed: 2094393
2017-10-16 14:23:13 -07:00
snandini
092a4b9117 Release 5.2.0.49B
Release 5.2.0.49B

Change-Id: I5840c9f702cb3a31baec4bb8d8e26c683ba07f1c
CRs-Fixed: 774533
2017-10-16 12:20:45 -07:00
Varun Reddy Yeturu
2460356b93 qcacld-3.0: Disable Adaptive Dwell mode for RRM
Disable Adaptive dwell mode feature for RRM scan
request to help retrieve reliable results.

Change-Id: Ief458db87d6da9afa97673da37cff408a80b0041
CRs-Fixed: 2074288
2017-10-16 12:20:45 -07:00
Himanshu Agarwal
dfca3d8173 qcacld-3.0: Add sanity check for vdev id to prevent OOB access
Add sanity check for vdev id in wma_vdev_start_resp_handler() to prevent
out of bound memory access.

Change-Id: Ia4e18e8e322142928c41dfa88b874ff017727266
CRs-Fixed: 2120424
2017-10-16 12:20:43 -07:00
snandini
968ba050a1 Release 5.2.0.49A
Release 5.2.0.49A

Change-Id: Id961e5a12001183e2251a0c5ebf6cb1805bcf84b
CRs-Fixed: 774533
2017-10-16 10:27:36 -07:00
Hanumanth Reddy Pothula
006f383e64 qcacld-3.0: Don't double start inactivity timer
There is a possibility of double start of inactivity timer if iff_up
(hdd_open) happens while probe/remove/reinit is still going on.

To mitigate this issue, on iff_up, start inactivity after acquiring
hdd_init_deinit_lock, which make sure probe/remove/reinit are
completed, and thereby inactivity timer is stopped.

Change-Id: I2417215380e318a8410a2d25eabf82f353a26c4f
CRs-Fixed: 2125494
2017-10-16 04:41:24 -07:00
Arunk Khandavalli
e9ef42ae0c qcacld-3.0: Start inactivity timer for hdd_open
There can be deadlock on iff_up on anyone of mutex's like
init_deinit_lock, iface_change_lock. To catch what caused the
deadlock start the inactivity timer to root-cause the issue

CRs-Fixed: 2120569
Change-Id: I830cc4127a9c0691ee44a5e2c56c871471d638db
2017-10-16 04:41:08 -07:00
SaidiReddy Yenuga
a92f8cc9a1 qcacld-3.0: Add support for configuring modulated DTIM dynamically
qcacld-2.0 to qcacld-3.0 Propagation.

Wifi OFF/ON is needed to update the gEnableModuleDTIM ini param.

Add private ioctl to configure modulated DTIM at runtime.

CRs-Fixed: 2002662
Change-Id: I28be432da775a9aa026cd702c63dee5666260d33
2017-10-16 16:47:49 +05:30
snandini
141ce942d6 Release 5.2.0.49
Release 5.2.0.49

Change-Id: Ief7a5d0390f612c7a211f50c8993628aac2b5b3c
CRs-Fixed: 774533
2017-10-16 01:56:48 -07:00
Varun Reddy Yeturu
b60d5227da qcacld-3.0: Tune config parameters for scan rest time
Fine tune the scan rest time configuration parameters,
gRoamRestTimeMin and gNeighborScanTimerPeriod to 50ms and
100ms respectively for better power efficiency.

Change-Id: Ia6edb87dbb0abf4771613a028d711f4f7a4e0f41
CRs-Fixed: 2120683
2017-10-16 01:56:48 -07:00
wadesong
9e95bd99fa qcacld-3.0: Fix build errors introduced by data path code changes
Some data path code change didn't consider SDIO code path, so
introducing some build error for SDIO driver. Fix them in one
submission to enable ACI

Change-Id: I3d1b81c57a8ae854f18db3eccb546b7b552899b7
CRs-Fixed: 2033757
2017-10-16 01:56:46 -07:00
snandini
1da8617f56 Release 5.2.0.48Z
Release 5.2.0.48Z

Change-Id: Idebe40280d36aae2ac4a23c7898547974024218f
CRs-Fixed: 774533
2017-10-14 05:59:28 -07:00
Vignesh Viswanathan
593e1f9a3d qcacld-3.0: Remove assert in wma_rx_aggr_failure_event_handler
Assert was added in the wma_rx_aggr_failure_event_handler via the change
Iea93e879196e9cd43856a7dcc9204d2304f76c78 and it exposes further security
issues.

Remove the assert in wma_rx_aggr_failure_event_handler.

Change-Id: Iaef00389fa19da0fe33e3bcd6f2123e553b84dff
CRs-Fixed: 2114789
2017-10-14 05:59:28 -07:00
snandini
f37960919e Release 5.2.0.48Y
Release 5.2.0.48Y

Change-Id: I03554f43571203bc2aeb63867a59a1d52791fa9b
CRs-Fixed: 774533
2017-10-13 23:53:40 -07:00