Grafico dei commit

9043 Commit

Autore SHA1 Messaggio Data
Abhishek Singh
9fabbbb36e qcacld-3.0: Cleanup abort scan called from CSR and LIM
Cleanup abort scan called from CSR and LIM by calling
ucfg_scan_cancel api to abort the scan.

Change-Id: Ie146c60a1888a55b0da295864a9edc083fc36d1a
CRs-Fixed: 2180189
2018-02-04 01:33:07 -08:00
snandini
022bd9bf7d Release 5.2.0.64I
Release 5.2.0.64I

Change-Id: I4c25c8e0aacb92a8c772cfb3d0e98dade6b96273
CRs-Fixed: 774533
2018-02-03 15:10:43 -08:00
Arunk Khandavalli
cfde2719f5 qcacld-3.0: use converged target resource config
As part of converged architecture use the converged
target resource configuration.

CRs-Fixed: 2178610
Change-Id: Ic0e3cbddea3c216688eb16c4e9a8045c7a0a1e9e
2018-02-03 15:10:42 -08:00
Arunk Khandavalli
a6305a33b6 qcacld-3.0: Converge on Initial Host-FW handshake
Initial changes for the init deinit convergence wherein
service ready, extended service ready and init cmd are
converged.

Change-Id: I1c1fd50f51362f4f09561c259961e6761429fcd0
CRs-Fixed: 2178590
2018-02-03 15:10:39 -08:00
snandini
5313bafd17 Release 5.2.0.64H
Release 5.2.0.64H

Change-Id: I534bf898aa29d26f3a83fa7c716219c227973cf4
CRs-Fixed: 774533
2018-02-03 05:32:34 -08:00
Wu Gao
e279444ee4 qcacld-3.0: Buffer count be power of 2 and unmap nbuf
Count of htt tx buffer pool should be power of 2 for fail case. For
Rome platform, it does not unmap nbuf when free htt tx buffer pool.

Change-Id: I85a9a1d02bf403f1be7289b1a0a89f86ef25f763
CRs-Fixed: 2179770
2018-02-03 05:32:33 -08:00
snandini
db3a082bc2 Release 5.2.0.64G
Release 5.2.0.64G

Change-Id: I4ad87d33ba25bd4d5e9fb039d4c7213255fdf9b9
CRs-Fixed: 774533
2018-02-02 10:21:39 -08:00
Jiachao Wu
418b7ae6ee qcacld-3.0: Fix a memory leak in wma mgmt
Fix a memory leak in wma_mgmt_rx_process.

Change-Id: Id8a2065ca8b1adb20235580798333068852af897
CRs-Fixed: 2183089
2018-02-02 10:21:39 -08:00
snandini
7649486ecc Release 5.2.0.64F
Release 5.2.0.64F

Change-Id: I67418aa39911329206173d600bdb7e36d578cea8
CRs-Fixed: 774533
2018-02-02 07:45:51 -08:00
Ganesh Kondabattini
02ec62b207 qcacld-3.0: Correct the logic to decrement the beacon count in CSA IE
Beacon template may get updated from many use cases like change in
protection mode, update in CSA count and etc. Make sure that the driver
maintains the beacon count which is same as in beacon template, otherwise
there may be duplicate/missing beacon count due to inconsistency.

Decrement the beacon count value before updating the beacon template.

Change-Id: I0c4552445071dd6ab5322191c04d4f7d32c9a987
CRs-Fixed: 2170097
2018-02-02 07:45:49 -08:00
snandini
0ca68c9f2f Release 5.2.0.64E
Release 5.2.0.64E

Change-Id: I24cfd271f485b463202c2bbbf5cdd902a042d5ab
CRs-Fixed: 774533
2018-02-02 05:45:37 -08:00
Rajeev Kumar
3b90620aa4 qcacld-3.0: Destroy monitor mode vdev during stop adapter
In monitor mode during driver unload VDEV, PDEV and PSOC objects
are leaking because stop adapter is not cleaning up monitor mode
vdev. Destroy monitor mode vdev object during stop adapter such
that VDEV object and its parent PDEV, PSOC objects can be cleaned
up properly.

Change-Id: I2fe41fd7aee96f731c33eff5bfa94cd3aafa401e
CRs-Fixed: 2182674
2018-02-02 05:45:37 -08:00
snandini
66d0d69c59 Release 5.2.0.64D
Release 5.2.0.64D

Change-Id: I3f099991c053da788959ed9849e3dbfef1e0c6d2
CRs-Fixed: 774533
2018-02-02 00:27:29 -08:00
bings
02297abea9 qcacld-3.0: Use new APIs to get and set DFS Non-Occupancy-List(NOL)
Current driver is using pld_wlan_set_dfs_nol() and pld_wlan_get_dfs_nol()
directly through eSAP_DFS_NOL_SET and eSAP_DFS_NOL_GET case statements
respectively within HDD module. These methods are obsoleted as per
new driver design.

Use DFS component's utils_dfs_init_nol() and utils_dfs_save_nol() APIs
instead to get and set DFS NOL respectively.

Change-Id: I63e8adac3f99c2052c26e6b01d19071f098e0a4f
CRs-Fixed: 2172024
2018-02-02 00:27:24 -08:00
Jingxiang Ge
7a040dc01a qcacld-3.0: Add log info when override IpaConfig
Add log info when override IpaConfig.

Change-Id: I72f1aac6f12e38cff623c20647cad27232c6fd87
CRs-Fixed: 2182919
2018-02-02 00:27:14 -08:00
snandini
f4cfceb868 Release 5.2.0.64C
Release 5.2.0.64C

Change-Id: I1882c5e65c33c9d0753d93076186101a35d3b919
CRs-Fixed: 774533
2018-02-01 21:30:31 -08:00
Varun Reddy Yeturu
b5d858ec80 qcacld-3.0: Handle disassoc and deauth during LFR3 roaming
Ignore the disassociation and deauthentication requests from
the old AP once roaming is in progress. Memorize the
received disassoc/deauth. If the roaming is not successful
and current AP's connection is retained, then the earlier
received disassoc/deauth can be honored and disconnect can
be triggered internally.

Change-Id: I5fa4d154c17e08904d839b8a889020680d662021
CRs-Fixed: 2160681
2018-02-01 21:30:30 -08:00
Lin Bai
06cfea0405 qcacld-3.0: Fix compiler warning from FTM convergence
With FTM modification, compiler is throwing
'implicit declaration of function' warning, and treated as error.

Change-Id: I2341685ff6e25fcef25a6ae7bed365481e9d529c
CRs-Fixed: 2182458
2018-02-01 21:30:27 -08:00
snandini
1958756b31 Release 5.2.0.64B
Release 5.2.0.64B

Change-Id: I097064214809144e428cde4f515b516436bb071b
CRs-Fixed: 774533
2018-02-01 02:20:50 -08:00
Abhishek Singh
6884428a1a qcacld-3.0: Add ini to enabled/disable the SU beamformee in vendor VHTIE
Enabling SU beamformee in vendor vht IE gives good throughput in long
range while bad throughput in short range due to excessive sounding
action frames sent by APs.

So to give control to the user, add INI "enable_subfee_vendor_vhtie"
to enabled/disable the SU beamformee in vendor vht IE. It is
dependend on INI "gTxBFEnable" and if "gTxBFEnable" is set to 0
this will not have any effect and SU beam forming will always be
disabled.

Change-Id: Id67ea86d3e0a48fec8913d6254733f753dfdae8b
CRs-Fixed: 2178940
2018-02-01 02:20:49 -08:00
snandini
875125c39b Release 5.2.0.64A
Release 5.2.0.64A

Change-Id: Idb7993a667b0d7caf04799fa8762115d5be7dc91
CRs-Fixed: 774533
2018-01-31 21:49:27 -08:00
Jingxiang Ge
190679b412 qcacld-3.0: Fix use-after-free for peer->access_list
In ol_txrx_peer_release_ref, it is possible that this function is
scheduled out when just unlock peer_ref_mutex, unmap event will
come to decrease ref_cnt and free peer object, when
ol_txrx_peer_release_ref is scheduled back and access peer info,
it will cause use-after-free.

Get peer info in the protection of peer_ref_mutex.

Change-Id: Ic442f53e0993a931c4411d9dbc85f04d6a85dc46
CRs-Fixed: 2180584
2018-01-31 21:49:26 -08:00
snandini
93e4ee23dc Release 5.2.0.64
Release 5.2.0.64

Change-Id: I621bdf76ad733000190419767db0b1f8ef23099e
CRs-Fixed: 774533
2018-01-31 18:23:22 -08:00
Kiran Kumar Lokere
4087585aa2 qcacld-3.0: Add ADDBA extenstion element support
Add support to parase and include the ADDBA extesion
element in ADDBA request and response frames

Change-Id: Ifab94f77ff9d2757794d5530fee6596534a6d73b
CRs-Fixed: 2166790
2018-01-31 18:23:20 -08:00
snandini
b7f475b439 Release 5.2.0.63Z
Release 5.2.0.63Z

Change-Id: Iab1c2bcdb7ea7134d635accdec1eeb506246692d
CRs-Fixed: 774533
2018-01-31 05:28:12 -08:00
Abhishek Singh
cb101f25b8 qcacld-3.0: Do not send Assoc failure before initiating disconnect
In Roam invoke failure the SME send Assoc failure to HDD layer and
schedule a disconnect. Assoc failure indicate the disconnection
to supplicant and supplicant send a new connect command, which will
change some state in HDD, and post the command in SME. But during
same time the disconnect from roam invoke failure change the
state of HDD and supplicant to disconnected and SME continue
to connect.
The success is not send to supplicant and no EAPOL exchanges is
started by supplicant which is in disconnected state. This lead to
driver stuck in wait for key state and no SME commands are allowed.

To fix this do not send Assoc failure before initiating disconnect
as disconnect will anyway take care of the cleanup.

Change-Id: Ie6de1de41a9eeed71530f1b2516b01e7839dac82
CRs-Fixed: 2181528
2018-01-31 05:28:11 -08:00
snandini
ea1ab0408d Release 5.2.0.63Y
Release 5.2.0.63Y

Change-Id: I1ebb356d246f9ddba106c6026cc3d2dd7d0d45d7
CRs-Fixed: 774533
2018-01-31 02:05:46 -08:00
Vignesh Viswanathan
694e28eee7 qcacld-3.0: Add support for 11k offload to FW
Add new ini options for 11k offload paramters and changes to pass down the
11k offload parameters to the FW. The 11k offload command is sent after
roam start to the FW in connect path.

Also add 11k invoke command support to offload neighbor report request
iwpriv command to FW

Change-Id: If6d4bff91531e5460bbc8a851a6d777cf088eda0
CRs-Fixed: 2162029
2018-01-31 02:05:45 -08:00
snandini
886144d04b Release 5.2.0.63X
Release 5.2.0.63X

Change-Id: Ib2b8b2a70c0dd43ed1120275697a52f934c0dcb9
CRs-Fixed: 774533
2018-01-31 01:28:37 -08:00
Liangwei Dong
fc26cdae30 qcacld-3.0: Fix NULL acs_cfg ptr access
acs_cfg is not initialized when sap starts
failed. And acs_cfg is accessed during
Random channel selection when sap interface
gets Radar event.

Fix by checking sap ctx state and acs_cfg
During dfs radar event.

Change-Id: I7e04e1a9e357ccd0b39b4edcc4c8a34b54e388ce
CRs-Fixed: 2174532
2018-01-31 01:28:36 -08:00
snandini
7073faddb4 Release 5.2.0.63W
Release 5.2.0.63W

Change-Id: I24be87aee05ac50eb76bf3ec1b9ae9415e575ac5
CRs-Fixed: 774533
2018-01-30 23:55:11 -08:00
Paul Zhang
0f85b41310 qcacld-3.0: Setting the right country IE for SAP
Currently, when sap starts, it will get the default
country code for the country IE if 80211d enabled.
Using api wlan_reg_read_current_country() instead of
wlan_reg_read_default_country() to get the current
country.

Change-Id: I67e63630c56b17d0d6890704bc1852e40185cf48
CRs-Fixed: 2170425
2018-01-30 23:55:11 -08:00
bings
d79e606efb qcacld-3.0: Do not get nol since channel status of nol is disabled
Currently there is no need to get nol when removing nol from candidate
channel list, because status of nol is set to CHANNEL_STATE_DISABLE in
regulatory.

Remove channels whose status are CHANNEL_STATE_DISABLE when trying to
remove nol from candidate channel list.

Change-Id: I90722116814e837fca456de1b2ef88d8519e9aff
CRs-Fixed: 2180752
2018-01-30 23:55:08 -08:00
snandini
f8b24020e9 Release 5.2.0.63V
Release 5.2.0.63V

Change-Id: I641e0cfb41afd63aad5aadee1196fafec496fec1
CRs-Fixed: 774533
2018-01-30 21:28:53 -08:00
wadesong
a8637bb1b6 qcacld-3.0: Add more check points for SAP callback
When auth failure occures, hostapd will issue BSS stop
command, resulting in BSS peer deleted. After that, auth
frame may still get received, and SAP callback may still
access BSS peer object for remote peer creation, which
results in an assertion.

Add more check points to make sure SAP callback is
handling the peer object addition correctly based on
different status of SAP state machine.

Change-Id: Icdb7ae2db018f16cb60878bda8bab1e791667cba
CRs-Fixed: 2179494
2018-01-30 21:28:53 -08:00
snandini
34cc2d542c Release 5.2.0.63U
Release 5.2.0.63U

Change-Id: I3dbc1630f7348091d454490a61ec48486623ecda
CRs-Fixed: 774533
2018-01-30 14:40:55 -08:00
Vignesh Viswanathan
59f0fad8fe qcacld-3.0: Fix OOB write in WMA TX power level stats handler
In function wma_unified_radio_tx_power_level_stats_event_handler, radio_id
is received from the FW in the fixed_param strcutre and is used to access
the buffer wma_handle->link_stats_results which is allocated in
wma_unified_link_radio_stats_event_handler. The buffer is allocated for
link_stats_results->num_radio and if the radio_id received from the
FW is greater than link_stats_results->num_radio, an OOB write will
occur in wma_unified_radio_tx_power_level_stats_event_handler.

Add check to return failure if radio_id received from the FW is greater
than link_stats_results->num_radio.

Change-Id: I67a848e7ab137d46bb43e7336ff8135da257568c
CRs-Fixed: 2169104
2018-01-30 14:40:55 -08:00
snandini
2326e7bba3 Release 5.2.0.63T
Release 5.2.0.63T

Change-Id: If293a5a4c70757458d2d808f0ab4c81293e1089f
CRs-Fixed: 774533
2018-01-30 13:40:28 -08:00
hqu
71a1a3b3eb qcacld-3.0: Extend delay for acs_pending_work from 500ms to 1500ms
When start sap+sap with acs on 5g band concurrently, the first sap
usually choose dfs channel, the second sap will be failed to start.
Root cause is when start the second sap, bss hasn't been started for
the first sap.

Extend delay for acs_pending_work from 500ms to 1500ms, the first sap
bss will be started when start pending acs.

CRs-Fixed: 2175463
Change-Id: I723d18d72728a1f7a7cd7591395c12d950c535e9
2018-01-30 13:40:27 -08:00
snandini
f4273496d3 Release 5.2.0.63S
Release 5.2.0.63S

Change-Id: Ibdc431ce2d2dc8c5575cf7d74ab8cd69d04ce400
CRs-Fixed: 774533
2018-01-29 23:40:36 -08:00
Krunal Soni
ed3bc8ec9f qcacld-3.0: Set HW mode based on given channel in monitor mode
Current driver requires hardware mode to be changed to DBS explicitly
through private IOCTL commands before you can monitor 2.4G channel for
2x2 DBS platform.

Provide a fix which automatically switch the HW mode to DBS when
monitoring 2.4G channel 2x2 DBS platform and keep HW mode to SMM when
monitoring 5G channel.

CRs-Fixed: 2176055
Change-Id: Icc653d7b11c7e58b583e9cd23db6478f568bd172
2018-01-29 23:40:35 -08:00
Zhang Qian
47e22cefc3 qcacld-3.0: Add UCFG APIs and public structures for OCB
Add UCFG interface and public structures for OCB feature.

CRs-Fixed: 2177578
Change-Id: Id74df706e658568a0f50a8d953eca3993451f41a
2018-01-29 23:40:32 -08:00
Jiachao Wu
f610d91865 qcacld-3.0: Fix hdd_ctx NULL pointer dereference
Fix hdd_ctx and stainfo NULL pointer dereference in
DFS indicate radar function.

Change-Id: Ia74e9a99fd46095e9a474f668c3431e441a38d8a
CRs-Fixed: 2177004
2018-01-29 23:40:28 -08:00
snandini
80cde94de1 Release 5.2.0.63R
Release 5.2.0.63R

Change-Id: Ie2d72ca9b153e97a3f132b01973f89add4582cfc
CRs-Fixed: 774533
2018-01-29 19:44:02 -08:00
Yun Park
5dd9a120b7 qcacld-3.0: Protect peer info when getting vdev by sta_id
When getting vdev by sta_id, peer could be deleted after retrieved,
so garbage vdev is returned.
To protect peer info, increase ref_cnt and delete peer when the ref
count is 0.

Change-Id: I850d38166d7c16d7f5e580baf3e0d17db22583f8
CRs-Fixed: 2171619
2018-01-29 19:44:02 -08:00
snandini
1bd41532a7 Release 5.2.0.63Q
Release 5.2.0.63Q

Change-Id: I552fbf29b3f5cdb23dff56e7b7067ca04ba9fa52
CRs-Fixed: 774533
2018-01-29 17:48:38 -08:00
Dustin Brown
b277dd659e qcacld-3.0: Acquire pdev/psoc refs from HDD
Currently, HDD acquires an additional reference for vdevs it creates. Do
the same for pdevs and psocs, so they are not destroyed out from under
HDD.

Change-Id: Ifa89f3853f76fe98880f082a6a138068bf92b6ec
CRs-Fixed: 2179683
2018-01-29 17:48:36 -08:00
snandini
2d5211a0dc Release 5.2.0.63P
Release 5.2.0.63P

Change-Id: Ia2727d9e5575b260bfd47d016e1fe906d561b1a8
CRs-Fixed: 774533
2018-01-29 13:32:04 -08:00
Varun Reddy Yeturu
a93fa6f442 qcacld-3.0: Cleanup eWNI_SME_SET_BCN_FILTER_REQ
Currently, SME sends a eWNI_SME_SET_BCN_FILTER_REQ message
to PE which in turn builds a beacon filter request using
lim_send_beacon_filter_info and sends down a message to
WMA using WMA_BEACON_FILTER_IND. But, this message does
not have a handler in WMA. So, cleanup all these messages.

The beacon filtering is currently happening through
hdd_add_beacon_filter.

Change-Id: Id235d6303ce7c740f907147afc7248d833772067
CRs-Fixed: 2177429
2018-01-29 13:32:04 -08:00
snandini
175776658f Release 5.2.0.63O
Release 5.2.0.63O

Change-Id: I990ada4b8b12ddb93df5789cee7ac5d0662f8950
CRs-Fixed: 774533
2018-01-29 04:08:54 -08:00