Commit Graph

14821 Commits

Author SHA1 Message Date
nshrivas
d992df85fe Release 5.2.0.142
Release 5.2.0.142

Change-Id: I9a9dc46d68cd863ea0d0553be4db61736cd382c7
CRs-Fixed: 774533
2019-08-01 16:24:05 -07:00
nshrivas
b13304f06f Release 5.2.0.141Z
Release 5.2.0.141Z

Change-Id: I59ffc5c3ba675dba4cfb18d5301f1c76c25fd3d4
CRs-Fixed: 774533
2019-08-01 06:47:43 -07:00
Bala Venkatesh
d6c82e59d9 qcacld-3.0: Disable tx beam forming for NDI vdev
Do not set tx beam forming related ie's in ht cap, vht cap,
he cap when set IE command is sent to FW for NDI vdev.

Change-Id: If629eedeab5d35b1799c6eb5ee7d71726ada262a
CRs-Fixed: 2499132
2019-08-01 06:47:43 -07:00
nshrivas
2ff8286039 Release 5.2.0.141Y
Release 5.2.0.141Y

Change-Id: I759752b64a59f8bccb5a5c9c2db6708c19f18cbc
CRs-Fixed: 774533
2019-08-01 02:54:38 -07:00
bings
6b7c21b4b6 qcacld-3.0: Flush scan block work when stop adapter
adapter->scan_block_work is workqueue, which may be scheduled after
driver is removed.
To fix this issue, flush the workqueue and clean up blocked scan
request.

Change-Id: I0e9cb1b3f2fdceb25ad3566766000b78e1bf0ca1
CRs-Fixed: 2500369
2019-08-01 02:54:37 -07:00
nshrivas
c210c9e16c Release 5.2.0.141X
Release 5.2.0.141X

Change-Id: I56d9b4ea06581671e12b6f34744a17a5b0272f4e
CRs-Fixed: 774533
2019-08-01 00:02:18 -07:00
Nirav Shah
a43f6dc3cf qcacld-3.0: Featurize DHCP indication for SAP
Featurize DHCP indication for SAP and disable it
for QCN7605 as this feature is broken for HL
Data Path.

Change-Id: If1db649131d887a2aab18461187403b4b9a2c5b4
CRs-Fixed: 2496032
2019-08-01 00:02:17 -07:00
nshrivas
9e56544f67 Release 5.2.0.141W
Release 5.2.0.141W

Change-Id: Id12f04296b8f2f88149b6fd912c405f68e7b68c4
CRs-Fixed: 774533
2019-07-31 20:51:05 -07:00
bings
186fdd20c3 qcacld-3.0: Drop assoc req if SAP is not UP
If SAP is not up, it is meaningless to handle assoc req.

If assoc req is handled, ref peer may be created without deleted in
DFS CAC state, which causes FW does not work.

Change-Id: Ia489fa8cfb4406e782fc240c553f5e3074982380
CRs-Fixed: 2487946
2019-07-31 20:51:04 -07:00
nshrivas
6da1e87ae0 Release 5.2.0.141V
Release 5.2.0.141V

Change-Id: Ic3729bf257cfb38b56a1e323d10734b92c34f912
CRs-Fixed: 774533
2019-07-31 17:09:24 -07:00
Srinivas Dasari
2239790ebb qcacld-3.0: Append vendor specific IEs received to assoc request
wpa_supplicant/framework sends different vendor specific IEs in
connect request. Currently driver is parsing the IEs and appending
specific IEs to the assoc request frame. But all vendor specific
IEs are supposed to be sent in the assoc request. Extract all vendor
specific IEs and append at the end of the frame.
MBO IEs are expected to be present at the end of the frame.
So append rest of the vendor IEs just before MBO IE.

Change-Id: I3d49c72a31d142ef3b14b439af2ae4cd8be059ea
CRs-Fixed: 2498976
2019-07-31 17:09:24 -07:00
nshrivas
1515d1f584 Release 5.2.0.141U
Release 5.2.0.141U

Change-Id: I4548638eecc9e8ed60537705967b0314239fa37f
CRs-Fixed: 774533
2019-07-31 13:34:09 -07:00
Srinivas Dasari
a5935ee910 qcacld-3.0: lim_strip_ie to extract multiple IEs of given type
Currently lim_strip_ie strips the matched IEs from given buffer
but return only last matched IE. All the previous IEs matched to
the given type are lost. Fix this to strip and extract all IEs
matched to given type.
This is to address the case when multiple vendor specific IEs are
given from userspace. Current implementation returns only
last vendor specific IE. This is to fix the same

Change-Id: I64ca5d2e679b8457dc2cbaf7b4b12dc0a840260d
CRs-Fixed: 2499592
2019-07-31 13:34:08 -07:00
Abhinav Kumar
42622bc171 qcacld-3.0: Avoid kernel print while handling FILS discovery frame
Currently in case of SAP mode, Host gets FILS discovery frame
in every 20TU for the first 3 mins. These frames are not required
in host and will be dropped. But Host has pe_warn print in order
to indicate this action frame is Unhandled.

Fix is to change level of log (warning to debug) in order
to avoid spamming in kernel message buffer.

Change-Id: I3ec585a37b190041ef2f88a03e201aa7a5ff7938
CRs-Fixed: 2499907
2019-07-31 13:34:04 -07:00
nshrivas
f0bcf5471c Release 5.2.0.141T
Release 5.2.0.141T

Change-Id: I01c995a121a18851061f11f641b10be630f9857e
CRs-Fixed: 774533
2019-07-31 12:18:08 -07:00
Abhinav Kumar
8ed7afffc2 qcacld-3.0: Send BTM config and 11k offload for all roam reason
Issue is : In case of STA + STA, Host sends BTM config enable on
both STA. This results assert in FW as at a time FW supports BTM
only on one vdev.

Following are the fix:
1. Send 11k offload and BTM config enable to fw irrespective of
roam reason. Enable of both while RSO start and disable of both
while RSO stop should be symmetric.

2. Currently, Host sends RSO_UPDATE_CONFIG for blacklisting case
if the vdev is in connected state irrespective of RSO start is
sent or not. Added check to make sure RSO_UPDATE_CONFIG should
not go if driver_disabled_roaming flag set.

Change-Id: Ib92089906a2e1690ec6181ac184bc008ccfbc928
CRs-Fixed: 2497813
2019-07-31 12:18:08 -07:00
nshrivas
5d58df209b Release 5.2.0.141S
Release 5.2.0.141S

Change-Id: I3a6dcd5362bef61fd06f89894298c5ea76317a40
CRs-Fixed: 774533
2019-07-30 20:21:06 -07:00
Vignesh Viswanathan
2f7701a13e qcacld-3.0: Add separate FTM Coldboot Calibration Mode
Add separate Coldboot calibration mode (10) for Coldboot Calibration
done during FTM Mode in PLD.

Change-Id: I7e4bb5209d87613bb49a0a958d8e691c73fdcfe1
CRs-Fixed: 2499766
2019-07-30 20:21:05 -07:00
nshrivas
03bab0399a Release 5.2.0.141R
Release 5.2.0.141R

Change-Id: I859a251de7c373d758efa8c8e3fdf9eed9fc4b1d
CRs-Fixed: 774533
2019-07-30 16:22:53 -07:00
wadesong
24c869aa97 qcacld-3.0: Replace channel list with freq list
1) freq_list value population:

   Allocate memory for freq_list within tagCsrChannelInfo
   whenever ChannelList is allocated for the same struct.

   Populate channel frequencies into freq_list whenever
   ChannelList is populated for the same struct.

   Free the memory used by freq_list whenever ChannelList's
   memory is to be freed for the same struct.

2) Special treatment for sme_rrm_send_scan_result:

   To ease the freq_list population within function
   sme_rrm_send_scan_result, a parameter(freq_list) has
   been added into the parameter list of it.

   Meanwhile, all callers of the same function have been
   modified to pass freq_list to it.

3) Fix a number of camel cases detected by checkpatch.

Change-Id: I732b084d3e1edfc4f26e7ed44be1c6e826be8602
CRs-Fixed: 2496716
2019-07-30 16:22:52 -07:00
wadesong
ca97809547 qcacld-3.0: Remove unused fields in bss_description
Remove some unused fields in struct bss_description.

Also remove the unnecessary padding fields within
the same struct, as compiler will do automatic
padding for us.

Change-Id: Id754391e20e4dce6261a8df54b12ccdcf31ba5c9
CRs-Fixed: 2497872
2019-07-30 16:22:48 -07:00
nshrivas
2f530b44ca Release 5.2.0.141Q
Release 5.2.0.141Q

Change-Id: Ibbabbe34ec1409dd0a01c0b91ae487802fd7786f
CRs-Fixed: 774533
2019-07-30 10:55:41 -07:00
Arun Kumar Khandavalli
6ba1569220 Revert "qcacld-3.0: Create lim session for monitor mode for legacy targets"
The change 2812433 needs revert it got merged with still some
pending comments.

Change-Id: I4555d60bf0c8cea1b3a812063ee24956b07c0d8b
CRs-Fixed: 2499426
2019-07-30 10:55:40 -07:00
nshrivas
9a93483f83 Release 5.2.0.141P
Release 5.2.0.141P

Change-Id: I8601e338e0c252a63739a6570c6cd2a5ffa26c06
CRs-Fixed: 774533
2019-07-30 09:11:36 -07:00
bings
39e70dbcbe qcacld-3.0: Initialize local variable old_credit before using it
In some platform, it reports error "old_credit is used uninitialized".
Initialize old_credit before using it.

Change-Id: I06351bba0abdfc5efb32406d1d245f8d8c658684
CRs-Fixed: 2495209
2019-07-30 09:11:36 -07:00
Sriram Madhvapathi
ecb0bcde59 qcacld-3.0: Add sdio abstraction layer support for QCN7605
The SDIO HIF for QCN7605 requires to use the SDIO Abstraction Layer.
Used the SDIO CNSS2 PLD layer api's to interface with SDIO AL

Change-Id: I839a580941e4651e3dcff4f87cda26cc567687fc
CRs-Fixed: 2275631
2019-07-30 09:11:31 -07:00
nshrivas
a519b8be94 Release 5.2.0.141O
Release 5.2.0.141O

Change-Id: I24701865c157f80e0e110df481904cef18c1dc00
CRs-Fixed: 774533
2019-07-30 07:58:06 -07:00
nshrivas
46cabec27c Release 5.2.0.141N
Release 5.2.0.141N

Change-Id: Ib13a7c6b36eb45676ca0452ad98e71fc188bae00
CRs-Fixed: 774533
2019-07-30 02:43:47 -07:00
Alok Kumar
d6de641aa6 qcacld-3.0: Remove work create for peer_unmap_timer_handler
This is revert of Change-Id: I9a9554ef0aa9288bf5abe22cd2513d8cc41c29d4

When peer_unmap_timer_handler runs for multiple peers, same work
is INITed for multiple peers as this work is not per peer based.
This will update the work param i.e. peer gets updated each time,
which leads in deletion of wrong peer.

Remove the work INIT and scheduling of "peer_unmap_timer_work_function"
as cds_trigger_recover() has already taken care of atomic context.

Change-Id: Ida0a50f27cfe4c08763b359dab51c82e757ec100
CRs-Fixed: 2498498
2019-07-30 02:43:47 -07:00
nshrivas
c04843276d Release 5.2.0.141M
Release 5.2.0.141M

Change-Id: I72ac1424ac92d502ebd96b7b07f47b55ae1e669f
CRs-Fixed: 774533
2019-07-29 20:10:58 -07:00
Manikandan Mohan
4e66c9a73a qcacld-3.0: Move NAN cfg params init to PSOC open
NAN config param initialization from CFG component is done
during PSOC object created notification. But as per component
design it must be done at psoc open to avoid CFG component
not initialized case. Thus update nan component to reorganize
NAN cfg params init.

Change-Id: I9636b527b796202e55a57c28d604795a705de026
CRs-fixed: 2489286
2019-07-29 20:10:58 -07:00
nshrivas
2fa572f8ff Release 5.2.0.141L
Release 5.2.0.141L

Change-Id: I62e3203b1516f470121ab8ef82f071a1dcce1ad4
CRs-Fixed: 774533
2019-07-29 13:46:43 -07:00
wadesong
59e727ce43 qcacld-3.0: Add channel frequency into struct hdd_mon_set_ch_info
Add channel frequency(freq) into struct hdd_mon_set_ch_info and
populate its value where channel in the same structure is
populated.

Remove a few camel cases detected by checkpatch.

Change-Id: I5f0d64a88c054476739bc06887bffd37238b10fc
CRs-Fixed: 2496707
2019-07-29 13:46:42 -07:00
nshrivas
5affbce271 Release 5.2.0.141K
Release 5.2.0.141K

Change-Id: I7e47089d760368190922e337ef01e3a23cb61441
CRs-Fixed: 774533
2019-07-29 11:23:07 -07:00
Arun Kumar Khandavalli
88709de4cb qcacld-3.0: Create lim session for monitor mode for legacy targets
For the latest chipsets because of architecture change the
lim session for monitor mode is not required but for the
older chipsets using the mainline the lim session has to be created.
If the session is not created the channel setting to capture
the packets on the monitor interface fails.

Create the monitor session in lim for older targets.

Change-Id: Ide44201e91c2d92cddff66f563898015f9e28ca7
CRs-Fixed: 2498775
2019-07-29 11:23:06 -07:00
Ashish Kumar Dhanotiya
64b3fa9645 qcacld-3.0: Fix memory leak in driver dump
Currently when driver gets a command to dump the
driver info, it allocates the memory and retrieves
the information in that allocated memory. Maximum data
that can be copied to user space buffer is equal to
one PAGE_SIZE. In the command driver gets the size of
the data which user space wants to read, minimum of the
user space requested size or one PAGE_SIZE of the data
is copied to user space buffer and current position of
the driver buffer till which the data is copied is
updated to user space is also updated.

Driver copies the retrieved information to the user
space buffer as explained above and updates the position
pointer to the user space. In the next request driver
expects from user space to request the remaining data
from the updated position in last request, once all the
data is copied to user space, driver frees internally
allocated memory.

In case if driver does not get the request to read
remaining data after first request, it does not free
the memory. Current handling of this memory is done
in init domain after stop modules, but since this
memory is allocated in active domain, driver should free
the memory in active domain.
Since with current implementation memory allocated in
active domain is not freed in active domain, memleak is
getting detected.

To resolve above issue, move mem cleanup logic for
driver dump info command from init domain to active domain in stop
modules.

Change-Id: Idb4f35f0a599ad55eebe13348b68562fa401fd7e
CRs-Fixed: 2489877
2019-07-29 11:23:03 -07:00
nshrivas
9ec20d3e85 Release 5.2.0.141J
Release 5.2.0.141J

Change-Id: I20f4a332cf2286164f89c426a241872baa1ab5c4
CRs-Fixed: 774533
2019-07-29 09:55:32 -07:00
hqu
ed450ee3ec qcacld-3.0: Replace operationChannel for tagCsrRoamConnectedProfile
Replace operationChannel with op_freq for tagCsrRoamConnectedProfile
in files:
csr_api_roam.c
csr_api_scan.c
csr_neighbor_roam.c

Change-Id: Ibb8df79ed7ed4c837e569a7e320a705bbcf522e4
CRs-Fixed: 2497121
2019-07-29 09:55:32 -07:00
hqu
ea4d062c37 qcacld-3.0: Replace operationChannel for tagCsrRoamConnectedProfile
Replace operationChannel with op_freq for tagCsrRoamConnectedProfile
in files:
sme_api.c
csr_util.c
sme_qos.c
wlan_hdd_assoc.c

Change-Id: I299faea16b4ef2f058f1e9d1d5840b6b849ac95a
CRs-Fixed: 2497676
2019-07-29 09:55:28 -07:00
Min Liu
00956e8408 qcacld-3.0: Replace channel with freq in hdd_context
Replacing channel with freq in the following structures:

hdd_context: last_acs_channel_list -> last_acs_freq_list
sap_context: channelList -> freq_list
sap_acs_scan_complete_event: channellist -> freq_list

Change-Id: If04ba42831b5134952e0d71a18b207d0a6f3c5b2
CRs-Fixed: 2497615
2019-07-29 09:55:25 -07:00
nshrivas
81a5f427b2 Release 5.2.0.141I
Release 5.2.0.141I

Change-Id: I5889460896e2082499f7c02414ba68c6f5a67f33
CRs-Fixed: 774533
2019-07-29 06:29:33 -07:00
nshrivas
955b9dcc57 Release 5.2.0.141H
Release 5.2.0.141H

Change-Id: I8f1a7d4c8b6b59e5bdad4c7f0920665a0dba5255
CRs-Fixed: 774533
2019-07-28 23:45:53 -07:00
Wu Gao
e73c388139 qcacld-3.0: Enable log of direct buffer rx and spectral component
Set default log level mask for direct buffer rx and spectral comonent.

Change-Id: Idc74b0ec194954e08cce286a92e8b7a16d944178
CRs-Fixed: 2495231
2019-07-28 23:45:52 -07:00
nshrivas
039ec36e8d Release 5.2.0.141G
Release 5.2.0.141G

Change-Id: If4b77a6ed2bbebf071ace53216a1004a6636f50a
CRs-Fixed: 774533
2019-07-27 18:21:18 -07:00
nshrivas
79f37e4573 Release 5.2.0.141F
Release 5.2.0.141F

Change-Id: I038b8592123cf95a9340bf36b7ba1deaeb875a54
CRs-Fixed: 774533
2019-07-27 13:42:14 -07:00
hqu
28f68df635 qcacld-3.0: Remove void pointer usage for part of DP code
Add code to use cdp_vdev instead of void pointer for
txrx_vdev and ol_tx_data.

Change-Id: I3d3b7cc8012981a7c883c8113d88fa387711d41e
CRs-Fixed: 2483388
2019-07-27 13:42:14 -07:00
nshrivas
ef4989b455 Release 5.2.0.141E
Release 5.2.0.141E

Change-Id: I4202f89d761dd28919af864fa88fb70046e089e0
CRs-Fixed: 774533
2019-07-27 09:53:18 -07:00
nshrivas
293b452619 Release 5.2.0.141D
Release 5.2.0.141D

Change-Id: I0b99d1473d8759f60c17d88f081a49f75715e36d
CRs-Fixed: 774533
2019-07-26 21:21:24 -07:00
Jeff Johnson
8e9b88529a qcacld-3.0: Remove obsolete bExplicitCfg bitmap
The bExplicitCfg bitmap in struct hdd_config was originally used to
track which INI items had been explicitly configured from the INI
file. But now that the INI processing is distributed this bitmap is no
longer used, so remove it.

Change-Id: I101ffa82b3309209cdc2eea954d1467b68b6138d
CRs-Fixed: 2496393
2019-07-26 21:21:19 -07:00
nshrivas
006aac1f44 Release 5.2.0.141C
Release 5.2.0.141C

Change-Id: I74f05c17a9845e40d6187e1fb8e8d7c833984a85
CRs-Fixed: 774533
2019-07-26 20:10:00 -07:00
nshrivas
d8b0be110b Release 5.2.0.141B
Release 5.2.0.141B

Change-Id: I20a50ed6412c2ff54eea3baa40ff318f888fd30d
CRs-Fixed: 774533
2019-07-26 18:21:47 -07:00
nshrivas
0cc5aa05e9 Release 5.2.0.141A
Release 5.2.0.141A

Change-Id: I8b3b71380e8e8f2b9ed0765a4fbc30256f6041ea
CRs-Fixed: 774533
2019-07-26 17:03:43 -07:00
Varuneshwar Petlozu
dbe255ce1e qcacld-3.0: Stop the psoc idle timer during the con mode change
During con mode change the driver will perform pld idle shutdown
and restart and if the interface change timer is running which
results in duplicate of idle stop queueing.

To resolve this, add psoc idle timer stop during the con mode change.

Change-Id: I7befefd2cb996d6b3e0b4ee92ecb15e615d33e30
CRs-Fixed: 2491208
2019-07-26 17:03:43 -07:00
gaurank kathpalia
e8369890b1 qcacld-3.0: Fill primary and secondary channel in case of ACS fail
Currently the driver does not update the ACS primary channel,
and secondary channel (in case of 40, 80MHZ) in scan fail
cases or all the channels in the particular band for which ACS came
were unsafe, SRD, DFS, indoor etc., which leads to
SAP bringup fail.

Fix is to update the primary, secondary channels in case of
scan, or select channel fail.

Change-Id: I66ce390f89bf69ee0695526fccbd2d412e0edf87
CRs-Fixed: 2450028
2019-07-26 17:03:39 -07:00
nshrivas
52bce9bbbe Release 5.2.0.141
Release 5.2.0.141

Change-Id: Ia57987ce0baa6aea6af2074949075b2b68b53c49
CRs-Fixed: 774533
2019-07-26 15:46:29 -07:00
Wu Gao
492f1ad990 qcacld-3.0: Attach direct buffer rx component
Attach direct buffer rx component when get FW ready event.

Change-Id: Ia0cc03bf201d6b6d7864bf044c631174b254d557
CRs-Fixed: 2495238
2019-07-26 15:46:28 -07:00
nshrivas
60e0cc33ae Release 5.2.0.140Z
Release 5.2.0.140Z

Change-Id: Ic16a7dd2eec805600d7488bb04bf23e596a42710
CRs-Fixed: 774533
2019-07-26 12:15:59 -07:00
hqu
5b714ef5f5 qcacld-3.0: Replace operationChannel with op_freq for csr_roam_profile
Replace operationChannel with op_freq for csr_roam_profile in all files.

Change-Id: I7ad8a6b40a9d0b65b79518200ad1394f19f6d5a5
CRs-Fixed: 2495331
2019-07-26 12:15:58 -07:00
nshrivas
15f071a531 Release 5.2.0.140Y
Release 5.2.0.140Y

Change-Id: I0bcd983d415087b0759dcc921bf2c44396d99822
CRs-Fixed: 774533
2019-07-26 10:46:39 -07:00
Jingxiang Ge
ce7c547b92 qcacld-3.0: Replace channel with freq in hdd_connection_info
Replace channel with freq in hdd_connection_info

Change-Id: I0831e9cdc5cf39c7cdd6b35928fac23e4f582539
CRs-Fixed: 2495115
2019-07-26 10:46:38 -07:00
nshrivas
62ec5a7017 Release 5.2.0.140X
Release 5.2.0.140X

Change-Id: Ib9c87fa5e2cdf4608e1c2a3b2b672d95ed89470a
CRs-Fixed: 774533
2019-07-26 06:12:21 -07:00
Jianmin Zhu
5ce64f48cd qcacld-3.0: Replace channel list with freq list
Add freq_list in tagCsrChannelInfo to replace ChannelList
Add APIs to translate between channel list and freq list

Change-Id: I2f086d9371e2ec928bbb47aa2be91d65a206f4d6
CRs-Fixed: 2492624
2019-07-26 06:12:21 -07:00
nshrivas
f0622230dc Release 5.2.0.140W
Release 5.2.0.140W

Change-Id: I345cbfc3b2d517802ab9b6aa1b768ec095f4e68b
CRs-Fixed: 774533
2019-07-26 03:02:16 -07:00
Bala Venkatesh
79de9b5f88 qcacld-3.0: Allow probe responses in extenal scan
Currently, only beacons are transmitted to upper layers
in case of external scan. Allow probe responses as well
in external scan.

Change-Id: I23860c761eab82073821274d2c3125487e3abde4
CRs-Fixed: 2494767
2019-07-26 03:02:15 -07:00
Lin Bai
6b0efbae45 qcacld-3.0: vdev_id misused when handling DEAUTH ind
When STA receives DEAUTH ind event from target, vdev_id will be
mis-used as PE session ID when invoking lim_tear_down_link_with_ap.

Also enhanced related log for more useful info.

Change-Id: I755e0e170c36205ef20a21955546cc36437c1be4
CRs-Fixed: 2491669
2019-07-26 03:02:11 -07:00
nshrivas
9664a3d902 Release 5.2.0.140V
Release 5.2.0.140V

Change-Id: Ib7863d0e0b2948b3c5d61386513440c86db9f1e6
CRs-Fixed: 774533
2019-07-25 05:09:13 -07:00
Min Liu
f97d28b552 qcacld-3.0: Fix vdev_id when resetting APF packet filter
In hdd_set_reset_apf_offload, vdev_id is not assigned before
sending reset packet filter command.

Change-Id: If8c9297f19e19eba01b4415144304b9f744a5de9
CRs-Fixed: 2496035
2019-07-25 05:09:13 -07:00
nshrivas
e979c2c500 Release 5.2.0.140U
Release 5.2.0.140U

Change-Id: Ibfa41a7b748b7baca587d6c63960b8979259b488
CRs-Fixed: 774533
2019-07-25 02:40:49 -07:00
Chaoli Zhou
b11e18a0a4 qcacld-3.0: Export max IPA interface numbers
As for Rome, currently it usually just only support two
IPA interfaces offload, if use the default value 3, which
will cause the IPA pipe setup failure issue. So export
the max IPA interface numbers, and it's better to set
the appropriate value from build file according to
different requirement for different chipset and platform.
Meanwhile, it support SMMU on the sa415 platform, so
enable SMMU for it.

Change-Id: I2de31bcb4d38f5e7964d2cbdc2fc6f143eef510d
CRs-Fixed: 2480627
2019-07-25 02:40:48 -07:00
Will Huang
65d6425637 qcacld-3.0: Replace channel ID with frequency (bss_description 3)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in wlan_hdd_assoc.c wlan_hdd_cfg80211.c wlan_hdd_main.c
lim_assoc_utils.c lim_ft.c lim_process_sme_req_messages.c
lim_sme_req_utils.c rrm_api.c sme_api.c nan_datapath_api.c sme_rrm.c,
use channel frequency instead.

Change-Id: I980f74d77af97df2b2ade61250d44a606c76a7ef
CRs-Fixed: 2491488
2019-07-25 02:40:44 -07:00
nshrivas
1dc7d72817 Release 5.2.0.140T
Release 5.2.0.140T

Change-Id: Ie95f17e236dda8b3f9c14176287808420d45fd39
CRs-Fixed: 774533
2019-07-24 21:43:17 -07:00
nshrivas
9e32b76fea Release 5.2.0.140S
Release 5.2.0.140S

Change-Id: Ie71389e130a25233eb6689455198be1e9669cbb8
CRs-Fixed: 774533
2019-07-24 17:09:44 -07:00
guangde
45e45e7aff qcacld-3.0: update Rx timestamp every time
Host fill netbuf with qtime instead of tsf. In function
"hdd_get_soctime_from_tsf64time", when Host check RX packet
tsf value less than last_target_global_tsf_time, it will
return error. Then, Host will the default value 0 to
upper layer.Sometimes, User will found some packets FW
recvTime is not increasing compared with last packets.
So modify it to calculate qtime from tsf all the time.

Change-Id: Icc53f22b4213fb46ff3bfc3e3df940cb28c632f5
CRs-Fixed: 2485600
2019-07-24 17:09:44 -07:00
nshrivas
553ded9e40 Release 5.2.0.140R
Release 5.2.0.140R

Change-Id: I9e9e47aa824b81fab8f98ab14df7c515ec264761
CRs-Fixed: 774533
2019-07-23 13:55:14 -07:00
Liangwei Dong
b4353cade9 qcacld-3.0: Remove currentOperChannel from pe_session
Remove currentOperChannel from pe_session. Use curr_op_freq
instead of currentOperChannel.

Change-Id: Ibfa2abd22d3c70ff86c34dd0f5bc538c5c62a5b2
CRs-Fixed: 2490651
2019-07-23 13:55:14 -07:00
Will Huang
19b4dd9c02 qcacld-3.0: Replace channel ID with frequency (bss_description 1)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in csr_api_roam.c, use channel frequency instead.

Change-Id: If584dcbd5a6c1718af1902799e1f679898ef3585
CRs-Fixed: 2491396
2019-07-23 13:55:09 -07:00
nshrivas
5399e572bb Release 5.2.0.140Q
Release 5.2.0.140Q

Change-Id: If498996239a86a8938949038262e3ce46a4acece
CRs-Fixed: 774533
2019-07-22 15:58:36 -07:00
guangde
3f5fbbbbe7 qcacld-3.0: Add timestamp RX support in SAP mode
Host need to fill netbuf with qtime instead of tsf.
This function already realized in Change-Id
"Ib19ac1411c4e17624c012f188297c9f2122642d2".
But it only support STATION RX mode. add the similar
action for SAP RX mode.

Change-Id: Idb3f9da5488b19db48e96258ecb4539b5af3c9a6
CRs-Fixed: 2483566
2019-07-22 15:58:35 -07:00
nshrivas
cd846d104d Release 5.2.0.140P
Release 5.2.0.140P

Change-Id: I8cce812c6994912fb4876f5834144f8e1b789343
CRs-Fixed: 774533
2019-07-22 11:36:16 -07:00
Rakshith Suresh Patkar
db53c8f047 qcacld-3.0: Add new HDD callback for dp RX MIC error
As per existing design, dp rx mic error information is
posted to HDD via SME. HDD inturn indicates the mic error
to supplicant.

Define new HDD callback hdd_rx_mic_error_ind for
rx mic error, registered through the CDP API
cdp_register_rx_mic_error_ind_handler. This will
enable datapath to directly post mic error info to HDD,
eliminating processing by corestack.

Change-Id: I6561dc5e66e7059c249c1eeeabdbf754989221d2
CRs-Fixed: 2488455
2019-07-22 11:36:15 -07:00
Rakshith Suresh Patkar
02f3d31c2f qcacld-3.0: Use new HDD callback for rx mic error
Post rx mic error information to HDD via new HDD mic
error callback(hdd_rx_mic_error_ind) registered to
.rx_mic_error member in dp_ol_if_ops.

Change-Id: Ia1e2b78a94dddba48937995ecf62fb5a7ae4139d
CRs-Fixed: 2488452
2019-07-22 11:36:11 -07:00
Rakshith Suresh Patkar
dff3368236 qcacld-3.0: Cleanup dead code for rx mic error handling
rx mic error information is now posted to new HDD mic
error callback(hdd_rx_mic_error_ind) via .rx_mic_error
member in dp_ol_if_ops.

Cleanup the dead code left behind.

Change-Id: I32fd135506382c085755e25cab5af86824cea511
CRs-Fixed: 2488464
2019-07-22 11:36:08 -07:00
nshrivas
fe309fc9f6 Release 5.2.0.140O
Release 5.2.0.140O

Change-Id: I111196532af38b77c0571c72f240c28e8d18778f
CRs-Fixed: 774533
2019-07-22 09:17:49 -07:00
gaurank kathpalia
af483f51a8 qcacld-3.0: Update the acs mode in case of concurrency
Issue:-
Sap does not restart when unsafe
channel event comes, due to the acs mode
flag not set though acs happened.

Scenario:-
Turn on STA on channel number 1.
Turn on SAP on 2.4ghz band.
Make the channel number unsafe.

Observation:-
Sap fails to restart.

Expectation:
Sap should restart on some other channel.

Fix:-
Set the flag before the driver returns the
best channel as the STA channel.

Change-Id: I2cf2f5d3096da04f3c43969b7405b81c743fe2e2
CRs-Fixed: 2492087
2019-07-22 09:17:48 -07:00
Min Liu
165114392f qcacld-3.0: Remove WLAN_UMAC_CONVERGENCE
Remove the macro WLAN_UMAC_CONVERGENCE and unused code.

Change-Id: Ife34a496f01e16a9e4a82b92457caaac924f9cdc
CRs-Fixed: 2491285
2019-07-22 09:17:44 -07:00
Rajeev Kumar Sirasanagandla
50b2c10276 qcacld-3.0: Fix invalid access in vendor cmd handler
While processing vendor command: GET_PREFERRED_FREQ_LIST respective
handler __wlan_hdd_cfg80211_get_preferred_freq_list() do not validate
pcl_len received from policy_mgr_get_pcl() which can be zero when
current regulatory domain is ETSI13 based, gindoor_channel_support=0
and etsi13_srd_chan_in_master_mode=0.

If pcl_len is zero then invalid index is computed in
wlan_hdd_populate_weigh_pcl() when trying to access
chan_weights->weight_list[pcl_len - 1].

To fix this, add zero length check for pcl_len before accessing
weight_list[plc_len - 1].

Change-Id: Ie8bf52fe289634efc104ca674d70fcd1beb6c304
CRs-Fixed: 2492630
2019-07-22 09:17:39 -07:00
hqu
c7075af31c qcacld-3.0: Add op_freq in tagCsrRoamConnectedProfile
Add op_freq in tagCsrRoamConnectedProfile. Finally remove
operationChannel from tagCsrRoamConnectedProfile in next
few changes.

Change-Id: Ie9be4b59483412866d915448b33f8cb6cc9e2d7c
CRs-Fixed: 2489893
2019-07-22 09:17:35 -07:00
nshrivas
3bfa21c967 Release 5.2.0.140N
Release 5.2.0.140N

Change-Id: I3b27a12ceb19061582bef95bc051150e52708e31
CRs-Fixed: 774533
2019-07-22 06:33:13 -07:00
Liangwei Dong
e0d4db2d05 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in file:
lim_send_sme_rsp_messages.c
lim_session.c
lim_session_utils.c
lim_utils.c
sch_beacon_gen.c
sch_beacon_process.c
sch_message.c
parser_api.c

Change-Id: Ifb82968178a6c61f1f3398367b2695788d24545d
CRs-fixed: 2489892
2019-07-22 06:33:12 -07:00
Liangwei Dong
419d730d1e qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_process_tdls.c
lim_reassoc_utils.c
lim_send_frames_host_roam.c
lim_send_management_frames.c
lim_send_messages.c

Change-Id: I62765838b6ac5f068854d45f82c541b67a78c76a
CRs-Fixed: 2492966
2019-07-22 06:33:03 -07:00
Abhinav Kumar
ce2b928f72 qcacld-3.0: Send btm offload disable to FW during RSO Stop
Currently btm offload command is sent to FW as part of RSO Start
for all type of roam req reason and btm offload disable command is
sent to the FW as part of RSO STOP. In case of STA+STA concurrency
case, while btm offload is enabled for the 2nd
STA after UPDATE_CFG sent for STA1, the FW asserts because it has btm
offload enabled for STA 1 while UPDATE_CFG and has not deconfigured
it yet. Send btm offload enable command as part of RSO Start in case
of roam_req->reason == REASON_CTX_INIT only to the FW so that it
configures btm for the currently enabled STA only in case of INIT
and re-configures for the second STA without assertion.

Change-Id: Ib146072c7cd0543ea82122702d6585d1d2a2e2d1
CRs-Fixed: 2493122
2019-07-22 06:32:58 -07:00
nshrivas
f145e93993 Release 5.2.0.140M
Release 5.2.0.140M

Change-Id: I5495b85a36f421c21b5a36d9afbe2416f1c53170
CRs-Fixed: 774533
2019-07-22 02:19:01 -07:00
Nirav Shah
a3e59d8d2f qcacld-3.0: Ratelimit per packet log in case of disconnect
Ratelimit per packet error log in case of disconnect.

Change-Id: I39af6361f1ae1a1c571e3885f2024efbd9b4c651
CRs-Fixed: 2482120
2019-07-22 02:19:00 -07:00
nshrivas
f29c908364 Release 5.2.0.140L
Release 5.2.0.140L

Change-Id: Iacddf923f040d5c40e9f0ed83f0b9959c31cb5fb
CRs-Fixed: 774533
2019-07-21 22:04:47 -07:00
hqu
7b2aef50f2 qcacld-3.0: Add op_freq in csr_roam_profile
Add op_freq in csr_roam_profile. Finally remove
operationChannel from csr_roam_profile in next
few changes.

Change-Id: I7a3d7fe7e77b18424f487429aaa19ca1a97b8aba
CRs-Fixed: 2489914
2019-07-21 22:04:46 -07:00
nshrivas
87afe7377a Release 5.2.0.140K
Release 5.2.0.140K

Change-Id: I0ebc29a156114f47f26ee520c7e50136310b5685
CRs-Fixed: 774533
2019-07-21 20:53:22 -07:00
Will Huang
d2f37fb571 qcacld-3.0: Replace channel ID with frequency (bss_description 2)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in lim_api.c csr_api_scan.c csr_host_scan_roam.c
csr_roam_preauth.c csr_util.c, use channel frequency instead.

Change-Id: I86864c73c429c52399819532cd9b957f66ed94f0
CRs-Fixed: 2491406
2019-07-21 20:53:21 -07:00
nshrivas
4e3f267d81 Release 5.2.0.140J
Release 5.2.0.140J

Change-Id: If80f64fa10516d39bfc259375bfb0b3a93e6e122
CRs-Fixed: 774533
2019-07-20 02:32:33 -07:00
Alok Kumar
1ff46df75e qcacld-3.0: Send proper TX MGMT frames status to packetdump
Currently, QDF_STATUS_SUCCESS is always sent for MGMT
Tx frames to packetdump.

Send the proper Tx status for MGMT Tx frames which is
mapped to packetdump tx status.

Change-Id: I7a780777910a5b9220ebb77cda1e0c4acd9f45b2
CRs-Fixed: 2490243
2019-07-20 02:32:32 -07:00
nshrivas
b32de7204a Release 5.2.0.140I
Release 5.2.0.140I

Change-Id: If21d2667effa4bbf242d0d77769e9e2247378f87
CRs-Fixed: 774533
2019-07-20 00:36:31 -07:00
Tushnim Bhattacharyya
dfecb8d12c qcacld-3.0: Remove channel field from ap_new_caps
Remove unused channel field in struct ap_new_caps.

Change-Id: Id2135464b98f6a8864e426a56d5702743bd4aa12
CRs-Fixed: 2492808
2019-07-20 00:36:31 -07:00
nshrivas
d2e9245295 Release 5.2.0.140H
Release 5.2.0.140H

Change-Id: Icab8be249c8ba947872c4f110fe8e534d855de67
CRs-Fixed: 774533
2019-07-19 21:49:47 -07:00
Alan Chen
5b19c21c72 qcacld-3.0: Prevent suspend to allow for wifi to turn off
When wifi is turned off, system suspend might occur during the timer delay,
which would stop the timer and prevent wifi from being turned off, leading
to battery drain. To fix this issue, prevent the suspend and turn off the
wifi before allowing suspend to happen.

Change-Id: Id4fbb13f3ab350b4e2545f65e38d9baaba5ed7ab
CRs-Fixed: 2493487
2019-07-19 21:49:47 -07:00
nshrivas
ade07aa01b Release 5.2.0.140G
Release 5.2.0.140G

Change-Id: I6cde6fd1873cce101515e0d47f37bc999288403c
CRs-Fixed: 774533
2019-07-19 11:25:39 -07:00
Kiran Kumar Lokere
f158ca5e38 qcacld-3.0: Update bss color collision detection scan interval
Change the OBSS color collision detection scan interval to 60 sec.

Change-Id: Id3d41454a8822953278bbf5fa267fdd5860fe227
CRs-Fixed: 2490354
2019-07-19 11:25:39 -07:00
nshrivas
710af350e5 Release 5.2.0.140F
Release 5.2.0.140F

Change-Id: Iad5f42540515e21f628b1db1c6c2de2868a57a95
CRs-Fixed: 774533
2019-07-19 07:31:14 -07:00
Tushnim Bhattacharyya
41668c648e qcacld-3.0: Replace channel with frequency in sSirUpdateChanParam
Replace channel ID with frequency in struct sSirUpdateChanParam.

Change-Id: I5b4b355b154ed94980aa54a2beacc436cf2e0c17
CRs-Fixed: 2491919
2019-07-19 07:31:14 -07:00
nshrivas
2aa50c839b Release 5.2.0.140E
Release 5.2.0.140E

Change-Id: Ibd84154361745c660d7f36ff29ebce7690c86616
CRs-Fixed: 774533
2019-07-19 04:04:10 -07:00
Nirav Shah
38ccf5b720 qcacld-3.0: Fix DPTRACE TX and RX counters for HL data path
Fix DPTRACE TX and RX counters for HL data path.

Change-Id: I3a6599d1181ec31ae5cfd1c8a9bd89579fe11089
CRs-Fixed: 2485534
2019-07-19 04:04:09 -07:00
nshrivas
b5968ba31a Release 5.2.0.140D
Release 5.2.0.140D

Change-Id: I15c367f62d68914561184086a077875caba2724b
CRs-Fixed: 774533
2019-07-19 02:48:10 -07:00
Tushnim Bhattacharyya
529006bb2f qcacld-3.0: Replace channel with frequency in new_bss_info
Replace channel ID with frequency in struct new_bss_info.

Change-Id: Iaa18ef613f204207a333683b3caff9f228574cff
CRs-Fixed: 2492012
2019-07-19 02:48:09 -07:00
nshrivas
ed6cf2995a Release 5.2.0.140C
Release 5.2.0.140C

Change-Id: I33420f16d48ffc7758212b2582c2b8ca675982f1
CRs-Fixed: 774533
2019-07-19 00:54:14 -07:00
Liangwei Dong
f86b11c0e7 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_ft_preauth.c
lim_ibss_peer_mgmt.c
lim_link_monitoring_algo.c
lim_process_action_frame.c
lim_process_assoc_req_frame.c
lim_process_message_queue.c
lim_process_mlm_host_roam.c
lim_process_mlm_req_messages.c
lim_process_mlm_rsp_messages.c
lim_process_sme_req_messages.c

Change-Id: Icf4654ee2454200833aa34ff0a8f27d0918172eb
CRs-Fixed: 2489683
2019-07-19 00:54:13 -07:00
Liangwei Dong
075f663a16 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_api.c lim_assoc_utils.c lim_ft.c

Change-Id: I2f06f0d10523fa0266509e860a13f57b5c35c0ee
CRs-Fixed: 2489616
2019-07-19 00:54:09 -07:00
Liangwei Dong
121bcb3def qcacld-3.0: Add curr_op_freq in pe_session
Add curr_op_freq in pe_session. And finally remove
currentOperChannel from pe_session in next few changes.

Change-Id: I2529a1637299b8dacf7fa6e2a81db851584453ee
CRs-Fixed: 2489613
2019-07-19 00:54:05 -07:00
Ashish Kumar Dhanotiya
3d8b0ae632 qcacld-3.0: Unlink hidden bss entry from kernel
Kernel maintains a list of bss and it adds/updates the bss
entries whenever driver informs it. When driver receives
beacon or probe response from any ap it informs kernel to
update the bss list and whenever it disconnects with the
AP driver unlink the bss in the kernel.

If the AP is hidden, when driver gets beacon from this
hidden AP it informs the kernel to update the bss list.
kernel add this entry to it's bss list with NULL SSID.
Now when driver receives probe response from this hidden
AP it again informs the kernel to update the bss list,
as this is probe response and ssid is not hidden,
kernel treats this entry as new entry and adds it to
its bss list and links this entry to the older hidden
AP entry (But still these are two entries for hidden AP).

When driver gets disconnect from the AP it unlink the
bss entry corresponding to this AP from kernel's bss
list, but since there are two entries for the same AP
as the AP is a hidden AP, driver should clear hidden AP
entry (Which was added as part of beacon) which is
not happening currently.
Now when AP moves from hidden to broadcasting SSID
in it's beacon, kernel drops this beacon entry as its
confusing because there is already a beacon entry with
hidden bss for this AP. During connection driver tries
to update the entry in the kernel and it fails as kernel
drops the beacon resulting into the connection failure.

To resolve this issue, whenever driver unlink the bss
entries from the kernel bss list unlink the hidden bss
entries also from the kernel's bss list.

Change-Id: I03a8517878b3db769bf28a157579179e1dd762e2
CRs-Fixed: 2488887
2019-07-19 00:54:00 -07:00
nshrivas
cc7142064b Release 5.2.0.140B
Release 5.2.0.140B

Change-Id: Ie6e418ef4b9740d2a5a0661bb89a0eee708e70fe
CRs-Fixed: 774533
2019-07-18 20:41:58 -07:00
Tushnim Bhattacharyya
293c9946eb qcacld-3.0: Replace channel with frequency in switch_channel_ind
Replace channel ID with frequency in struct wm_status_change_ntf.

Change-Id: Ib9773e48240944cf41b911e9be03c8f3791001eb
CRs-Fixed: 2489356
2019-07-18 20:41:57 -07:00
nshrivas
707f133fe7 Release 5.2.0.140A
Release 5.2.0.140A

Change-Id: Ifc9cc86a16318bd5a8ea1c1c381c14c09d3007ad
CRs-Fixed: 774533
2019-07-18 16:45:30 -07:00
hangtian
aabd8c9608 qcacld-3.0: Fix compile issue when WLAN_DEBUG is not enabled
For some branches, we disabled BUILD_DEBUG_VERSION, to avoid compile
issues, add macro for new function which only will be used at
QDF_TRACE().

Change-Id: Idd0bb3a98ef92b837e14bd4e8e3c374b1b6a7e58
CRs-Fixed: 2492501
2019-07-18 16:45:29 -07:00
Alan Chen
e523cd9f23 qcacld-3.0: Add lock/unlock for idle restart to prevent suspend
During idle restart, system suspend is happening, which is leading
to timeout because idle restart task is frozen during system suspend.
To avoid the timeout, add a wakelock for idle restart to prevent
system suspend.

Change-Id: Iffb6151452680df8cb4fb98e8646112e780881f8
CRs-Fixed: 2490321
2019-07-18 16:45:25 -07:00
Mahesh Kumar Kalikot Veetil
59a9a78079 qcacld-3.0: Enable power saving for FTM mode
Currently ASPM is not enabled for FTM mode. Enable it to test low power
mode in FTM.

CRS-Fixed: 2491207
Change-Id: I997225d33c94ed870dda2354bac256d9d1ca855d
2019-07-18 16:45:21 -07:00
nshrivas
ec0f618e9b Release 5.2.0.140
Release 5.2.0.140

Change-Id: I52c775e3302320651bef7b5ece63fdec75ab9932
CRs-Fixed: 774533
2019-07-18 12:10:29 -07:00
nshrivas
3f1b4fa9ed Release 5.2.0.139Z
Release 5.2.0.139Z

Change-Id: Ie8bc89df9071dfce996c304310bd48a7330718fe
CRs-Fixed: 774533
2019-07-18 09:16:11 -07:00
Mohit Khanna
6dbf9c8301 qcacld-3.0: Add BW level PLD_BUS_WIDTH_VERY_HIGH
Add additional bandwidth level for "very high" bandwidth. As per the
default configuration if the total number of tx/rx packets exceeds
bus_bw_very_high_threshold, the bus bandwidth requirement is designated
as PLD_BUS_WIDTH_VERY_HIGH and PLD API is called with this value.

Default value of 7000 is chosen for bus_bw_very_high_threshold, which
amounts to 820Mbps of throughput considering a 1500 byte packet and
100ms bandwidth timer interval.

Change-Id: I3bd904429a02ec4935ba12da7c2cfd37eec738ed
CRs-Fixed: 2489362
2019-07-18 09:16:10 -07:00
nshrivas
e0e1cc3369 Release 5.2.0.139Y
Release 5.2.0.139Y

Change-Id: Id6f38361e4234a8d77fcfd802ee4dfc9924a2650
CRs-Fixed: 774533
2019-07-18 07:17:19 -07:00
wadesong
f2d0db7930 qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(rx_channel) with channel frequency(
rx_freq) in struct bss_description.

Remove a few camel cases in function
lim_collect_bss_description.

Change-Id: Ic6051fa62d2fe0aa10a6d2a3568aeff75daa813f
CRs-Fixed: 2492155
2019-07-18 07:17:19 -07:00
wadesong
2c01763092 qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(channelIdSelf) with channel frequency(
freq_self) in struct bss_description.

Change-Id: I2fa9576aaa7503cf18d6600cc37465e42c8826aa
CRs-Fixed: 2492150
2019-07-18 07:17:14 -07:00
nshrivas
cc2eae2f45 Release 5.2.0.139X
Release 5.2.0.139X

Change-Id: I1e6b161e7ad42758cbce4ac9166bb33c2228fc49
CRs-Fixed: 774533
2019-07-18 01:07:13 -07:00
Qun Zhang
a055e9cb3b qcacld-3.0: Align the output of getChannelList under sta/hostapd mode
As requirement, it's also needed to print country code in iwpriv
getChannelList under hostapd mode, align the output of getChannelList
in sta/hostapd mode. At the same time, in __iw_get_channel_list(),
the wrqu->data.length should be (the actual channel number+1), not
sizeof(struct channel_list_info), otherwise there would be many
zeros if call iw_get_channel_list() directly.

Change-Id: I1e0fc1a026bf6c3fff2947ab4712a1800214ec0c
CRs-Fixed: 2476458
2019-07-18 01:07:11 -07:00
nshrivas
838cb0eae2 Release 5.2.0.139W
Release 5.2.0.139W

Change-Id: I5bbdf6532acd8d93be1473bc9d4c7b09dd7df5c7
CRs-Fixed: 774533
2019-07-17 20:18:48 -07:00
Abhishek Singh
a227e75e12 qcacld-3.0: Avoid policy_mgr_hw_mode_transition_cb in atomic context
wma_roam_event_callback can get called in atomic context from
wma_wake_event_piggybacked for reason WMI_ROAM_REASON_HO_FAILED
which lead to acquiring of pm_ctx->qdf_conc_list_lock mutex lock
in atomic context.

To fix this post msg to scheduler thread to call the policy mgr
API in scheduler thread context

Change-Id: I6b75de64a33559b73a7edc73e1100cfb3a1f507d
CRs-Fixed: 2491147
2019-07-17 20:18:47 -07:00
nshrivas
6494883b78 Release 5.2.0.139V
Release 5.2.0.139V

Change-Id: I001e1e7b25c19e12528fd3b96d0eefe1f1285d49
CRs-Fixed: 774533
2019-07-17 17:42:24 -07:00
nshrivas
1ebd9b5b56 Release 5.2.0.139U
Release 5.2.0.139U

Change-Id: Idd7feaea375653bd43c86ce051d2ddfeead21ff8
CRs-Fixed: 774533
2019-07-17 14:19:46 -07:00
Sandeep Puligilla
ff7a6e320a qcacld-3.0: RRM: Update 2G scan active dwell time
2G active dwell time parameter is not updated as per
requested duration value from 11k supported AP.

Updated 2G active dwell time scan request parameter
with the beacon measurement requested duration.

Change-Id: I93ab71aea3317e21dab4eccce8c698a6fe3a366d
CRs-Fixed: 2487725
2019-07-17 14:19:45 -07:00
nshrivas
f6008fc3c0 Release 5.2.0.139T
Release 5.2.0.139T

Change-Id: Ief0452f1c29e4a44e5c14867a45c564be141eb99
CRs-Fixed: 774533
2019-07-17 09:45:26 -07:00
nshrivas
ba55c91343 Release 5.2.0.139S
Release 5.2.0.139S

Change-Id: I9d28c61a67e81259eeef1f67fef42c5ef0d8cde6
CRs-Fixed: 774533
2019-07-17 07:13:41 -07:00
wadesong
91a2c1bd5c qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(channelId) with channel frequency(
chan_freq) in struct bss_description.

Add code for chan_freq's value population in the same
struct wherever channelId's value population occures.

Remove a few camel cases detected by checkpatch.

Change-Id: I84d193b67f642df310997865ec6e1b62e3518f98
CRs-Fixed: 2488826
2019-07-17 07:13:40 -07:00
nshrivas
b0778b31a3 Release 5.2.0.139R
Release 5.2.0.139R

Change-Id: I53a7e85d18667b1ac4feff6072097d7c49cc55e8
CRs-Fixed: 774533
2019-07-17 02:15:33 -07:00
wadesong
b96f3ba708 qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(currentReqChannel) with channel frequency(
curr_req_chan_freq) in struct pe_session.

Remove a few camel cases captured by checkpatch.

Change-Id: I56b5d411632ae3b7069fcfac843626435c5b27a2
CRs-Fixed: 2488084
2019-07-17 02:15:32 -07:00
nshrivas
3954abf5ce Release 5.2.0.139Q
Release 5.2.0.139Q

Change-Id: I9b3af230c884b9458ee3c47626731a661c010c61
CRs-Fixed: 774533
2019-07-17 01:00:34 -07:00
Bala Venkatesh
bfb6f202bf qcacld-3.0: Return success status for stop_ap command in case of SSR
If stop_ap is given to driver in case of SSR and other FW down cases,
because of invalid vdev id and validate context, failure
status is given to kernel. In such case beacon interval value
is not reset and that will lead to faliure of
subsequent set beacon commands.

In case of validate context failure, return success to upper layer
so that kernel variables like beacon interval can be cleaned up.

Change-Id: I03748a87ffcf38a260134a54fe5dce8f77f08739
CRs-Fixed: 2472089
2019-07-17 01:00:33 -07:00
nshrivas
9e68a72969 Release 5.2.0.139P
Release 5.2.0.139P

Change-Id: I2b75d7fbc5f20a34445ff964baccb22e322e674d
CRs-Fixed: 774533
2019-07-16 18:40:12 -07:00
Chaoli Zhou
678a32b2dd qcacld-3.0: Properly set IPA RX params for WDI 1.0
In the htt_ipa_uc_get_resource, rx2_rdy_ring is from
pdev->ipa_uc_rx_rsc.rx2_ind_ring, rx2_proc_done_idx is
from pdev->ipa_uc_rx_rsc.rx2_ipa_prc_done_idx, but
rx2_ind_ring & rx2_ipa_prc_done_idx are not used for
WDI 1.0, just only used for WDI 2.0, which initialized in
the htt_rx_ipa_uc_alloc_wdi2_rsc. So as for Rome that use
WDI 1.0, these two variables are not initialized and thus
they are NULL pointers. Therefore this change can fix NULL
pointer deference for WDI 1.0 when CONFIG_IPA_WDI_UNIFIED_API
is defined and meanwhile QCA_WIFI_3_0 used to distinguish WDI 2.0
and WDI 1.0 IPA RX params.

Change-Id: I0378753dcedde4f398885d930a4cbbb2c854c110
CRs-Fixed: 2483879
2019-07-16 18:40:11 -07:00
nshrivas
098231f017 Release 5.2.0.139O
Release 5.2.0.139O

Change-Id: Iba9c4b58c2822a8c77a1f7d5009d0f9989fa5182
CRs-Fixed: 774533
2019-07-16 17:15:01 -07:00
Saket Jha
7741e86998 qcacld-3.0: Implement QDF API for cpumask
In cds_sched_find_attach_cpu function, change calls to functions
cpumask_clear, cpumask_set_cpu, and cpumask_setall to instead use the
QDF abstraction of these functions qdf_cpumask_clear,
qdf_cpumask_set_cpu, and qdf_cpumask_setall.

Change-Id: Ibd62e4d0f38ad3b8f2483e6cf40d56fcb70cba10
CRs-Fixed: 2486827
2019-07-16 17:14:55 -07:00
Kiran Kumar Lokere
d34e41fd41 qcacld-3.0: Remove current band check during new band setting
Current band value is updated with new setting and the new band
setting is allowed only if the new band setting value is lower
configuration than the current one else it fails the new band
setting. If user configures band setting to lower value and
if later setting value has higher configuration then the current
band check fails the new setting.

Remove the current band check during new band setting by runtime
user configuration.

Change-Id: I3facf99e567e34de3eb675f29962bf809040244e
CRs-Fixed: 2486679
2019-07-16 17:14:49 -07:00
Liangwei Dong
03e080c45a qcacld-3.0: Change beacon tx WMI API under feature flag
Add feature flag WLAN_WMI_BCN to compile Beacon tx APIs
selectively.

Change-Id: Ie2b4ad0ae7a7c6de7286ed0b215084060a4f34c6
CRs-Fixed: 2483531
2019-07-16 17:14:44 -07:00
nshrivas
a1ab99134e Release 5.2.0.139N
Release 5.2.0.139N

Change-Id: Ia689a3bdd9ef3f6900893963b87044b84a64c972
CRs-Fixed: 774533
2019-07-16 15:53:37 -07:00
Rajeev Kumar Sirasanagandla
902680eec5 qcacld-3.0: Fix invalid check in softap API
Some of softap APIs like hdd_softap_register_sta() contain sta_id
validation check against maximum value of HDD_MAX_ADAPTERS before
accessing adapter->sta_info[sta_id].

Since the maximum size of adapter->sta_info[] is WLAN_MAX_STA_COUNT
and less than HDD_MAX_ADAPTERS (used in sta_id index validation)
array out of bounds access is possible.

To fix this, validate sta_id index against maximum value of
WLAN_MAX_STA_COUNT instead of HDD_MAX_ADAPTERS.

Change-Id: I18390a76a3bee852a9d6ca3dde4382fa94387594
CRs-Fixed: 2486518
2019-07-16 15:53:37 -07:00