Commit Graph

15710 Commits

Author SHA1 Message Date
nshrivas
84395d55b4 Release 5.2.0.155N
Release 5.2.0.155N

Change-Id: I1c2e870fbc1bf617f83f770a8d150a6f145e0fd6
CRs-Fixed: 774533
2019-11-02 05:19:59 -07:00
Paul Zhang
1ef2b7cd7f qcacld-3.0: Config latency level to fw after vdev creates
From android Q, it uses a random MAC to connect to different
SSIDs which causes the interface down/up, the vdev will be
deleted and the latency level info is lost in firmware.

To fix this, save the latency level and reconfig it to fw
after vdev creates.

Change-Id: Ifac93fb869553d0f9eb553d5c41da43c8b014ad8
CRs-Fixed: 2554736
2019-11-02 05:19:58 -07:00
nshrivas
0c0f1f392c Release 5.2.0.155M
Release 5.2.0.155M

Change-Id: I1e1bb0d453b85fd838958c573c9e35552bfc3bc7
CRs-Fixed: 774533
2019-11-01 16:59:38 -07:00
Jianmin Zhu
bc841052ca qcacld-3.0: Convert SME code legacy channel ID usage
Modify the following 2 APIs' code and parameters to use frequency
instead of channel ID:
sme_get_operation_channel
wlan_hdd_update_survey_info

Change-Id: I90f05cc7fedd061bf08b47299d2fb6530c470136
CRs-Fixed: 2554149
2019-11-01 16:59:38 -07:00
nshrivas
c136369dc0 Release 5.2.0.155L
Release 5.2.0.155L

Change-Id: Ic754f0af6361f0aecac0b9d38f206be195a16194
CRs-Fixed: 774533
2019-11-01 15:19:47 -07:00
Wu Gao
f5a00ddc1b qcacld-3.0: Avoid to add duplicate HE IE
Host will set HE IE by channel mode, and needn't copy he ie to
additional ie. Otherwise, there will be two he ies in beacon frames of
P2P GO.

Change-Id: Ia144bb5e96f00114658a371ef27c65f90a6c7df2
CRs-Fixed: 2549450
2019-11-01 15:19:47 -07:00
Kiran Kumar Lokere
93484d7ccb qcacld-3.0: Fix the wrong HE 160MHz mcs map in assoc request
Populate HE 160MHz mcs map only from 5G band mac-phy capabilities.
Session bandwith is checked to disable HE mcs for 160MHz, but session
bandwidth is updated after the MCS is disabled. Update HE 160MHz
MCS map after session bandwidth is derived.

Change-Id: I94813ae269856b34cf1ea6c6a13013738909c674
CRs-Fixed: 2556457
2019-11-01 15:19:43 -07:00
nshrivas
c42cecd11f Release 5.2.0.155K
Release 5.2.0.155K

Change-Id: I62bf487a591d0da13af3b3d2998d0238365b88cb
CRs-Fixed: 774533
2019-11-01 13:47:22 -07:00
Abhinav Kumar
d883b0e176 qcacld-3.0: Update group mgmt cipher suite in RSO commands
Newly introduced WMI macro for group management cipher suite is:
WMI_CIPHER_BIP_GMAC_256 0xf

Currently, host updates the localy defined macro for group
management cipher suite to the firmware only as part of RSO
commands over the WMI_AP_PROFILE command. Host should update
group management cipher suite as per WMI cipher macro.

Fix is to update the group management cipher suite in RSO cmd
as per WMI cipher macro.

Change-Id: I81dc5e800c55d1eb6cd0447265205d3413b29177
CRs-Fixed: 2547507
2019-11-01 13:47:22 -07:00
nshrivas
9eab06b7b8 Release 5.2.0.155J
Release 5.2.0.155J

Change-Id: Ib33bc6fcc70c4873738f17da9428801c52c95c9a
CRs-Fixed: 774533
2019-11-01 12:05:22 -07:00
Jianmin Zhu
203d7533f9 qcacld-3.0: Convert SME code legacy channel ID usage
Modify the following 2 APIs' code and parameters to use frequency
instead of channel ID:
   sme_get_roam_scan_channel_list
   drv_cmd_get_roam_scan_channels

Change-Id: I4e6edee71ef25bf73c170813159f5078f0c3e612
CRs-Fixed: 2554148
2019-11-01 12:05:22 -07:00
Liangwei Dong
7211b1d82e qcacld-3.0: Check vdev valid for access
Validate sap_contex->vdev before access.

Change-Id: Ib71c0d970a5ec119a01ecbb1b1f98a3a2a936a2a
CRs-Fixed: 2549289
2019-11-01 12:05:16 -07:00
Sourav Mohapatra
934409a8f8 qcacld-3.0: Clean up cache sta info in case of SAP
Currently in the driver, the cache sta info is not being cleaned up
before deinit of the SAP operation. This can lead to potential memory
leaks during driver unload.

Cleanup the remaining cached sta structures before deinit.

Change-Id: I75a61d8dbf8a6a8372882d2dcc978cc1dd0fb406
CRs-Fixed: 2550245
2019-11-01 12:05:10 -07:00
Li Feng
3cae460349 qcacld-3.0: Convert SME code legacy channel ID usage
Modify the following API code and parameters to make
sure they're using frequency instead of channel ID:

    csr_roam_sort_channel_for_early_stop

Change-Id: Ifaab55099d00988bf56f13dcadca8a1f6000e646
CRs-Fixed: 2554178
2019-11-01 12:05:05 -07:00
nshrivas
6800f50db2 Release 5.2.0.155I
Release 5.2.0.155I

Change-Id: I787db298c2a7e510f440e6599b0d16adfb055c0d
CRs-Fixed: 774533
2019-11-01 08:16:58 -07:00
gaurank kathpalia
aa252b5ea2 qcacld-3.0: ACS changes for 6ghz support
Driver ACS changes for 6Ghz channel support

Change-Id: I3d01f8aeda10037175588690100762d6a7e00f2c
CRs-Fixed: 2555901
2019-11-01 08:16:57 -07:00
Jianmin Zhu
dc76e63f0f qcacld-3.0: Remove wma target_if F/W event handler from wma
target_if F/W event handler is moved from wma to cmn part per
MCL/WIN converge requirement.

Change-Id: I583059190827c9aed8d8089412a4cfac92ddf4c9
CRs-Fixed: 2554859
2019-11-01 08:16:50 -07:00
Jianmin Zhu
bc99999c41 qcacld-3.0: Don't register vdev start stop delete event in wma_open
Vdev start/stop/delete events have been registered in
target_if_vdev_mgr_wmi_event_register in MCL/WIN common code.

Change MACRO name SERIALIZE_VDEV_RESP_TIMER to
SERIALIZE_VDEV_RESP.

Change-Id: I4d54a4755d7311b488f12f46a73db7e4645a4e0b
CRs-Fixed: 2554732
2019-11-01 08:16:46 -07:00
nshrivas
1745b8c454 Release 5.2.0.155H
Release 5.2.0.155H

Change-Id: I8c176a89ea1f1287efbf86b7ab6194d4bbbaf3b4
CRs-Fixed: 774533
2019-11-01 04:57:20 -07:00
Gururaj Pandurangi
9bcf639924 qcacld-3.0: Replace channel id with frequency
Replace channel ID with channel frequency in tSirMacChanNum
limReassocChannelId under struct pe_session

Change-Id: Ice8565ebcfcb863b7da7ec14a36b3abf3332ebab
CRs-Fixed: 2556247
2019-11-01 04:57:20 -07:00
nshrivas
eee30a7889 Release 5.2.0.155G
Release 5.2.0.155G

Change-Id: I115ddafef8da57dea128f16ee7a5392f1e15f94f
CRs-Fixed: 774533
2019-11-01 02:30:47 -07:00
Liangwei Dong
075afa7922 qcacld-3.0: Use freq for SME roam API
Change below csr/sme APIs and dependent APIs to
use freq as parameter:
csr_create_roam_scan_channel_list,
csr_neighbor_roam_channels_filter_by_current_band,
csr_neighbor_roam_merge_channel_lists,
csr_create_bg_scan_roam_channel_list,
sme_update_roam_scan_channel_list.

Change-Id: Icfc45863d6dacb318558ba75fde111af24256641
CRs-Fixed: 2555688
2019-11-01 02:30:47 -07:00
nshrivas
229e2f055b Release 5.2.0.155F
Release 5.2.0.155F

Change-Id: I7b8ae3b638a847756efddbc524bb0c7b42e84ea6
CRs-Fixed: 774533
2019-11-01 00:17:18 -07:00
Rakesh Pillai
246f1dfdd2 qcacld-3.0: Add support to flush rx packets for a vdev
When a particular vdev is deleted, the corresponding rx
packets which have been queued to the rx thread are not
flushed. Hence when such packets are submitted to the
network stack, the dev for this skb will be invalid,
since we have already freed the adapter.

Flush out the packets in the rx thread queues, before
deleting the vdev.

CRs-Fixed: 2552140
Change-Id: Ia49af2c203c64077f7fd87524bb4caa4060e0044
2019-11-01 00:17:18 -07:00
nshrivas
47c3b08d05 Release 5.2.0.155E
Release 5.2.0.155E

Change-Id: I0122d725014e6c06bafb7a5aaacd5dbed2a800a8
CRs-Fixed: 774533
2019-10-31 22:30:26 -07:00
Srinivas Dasari
0610cc4041 qcacld-3.0: Allow NDI creation in all concurrent cases
Currently, NDI and NDP creation is happening only if the
corresponding concurrency is allowed. But NDI should be allowed
to create/delete in all concurrent scenarios. So, don't validate
the other interfaces present on device for NDI creation/deletion
and validate only for NDP requests.

Change-Id: I8e8817ac63f1f94b48fe71a30ddf1d49183d263a
CRs-Fixed: 2552623
2019-10-31 22:30:25 -07:00
Amruta Kulkarni
5b738c23a3 qcacld-3.0: Remove wma_txrx_node params(tx_power,max_tx_power)
Target_if cleanup done for tx_power,max_tx_power params
 Use vdev_mlme_mgmt_generic params(tx_power,maxregpower) instead

Change-Id: I3dc30bbce0026dc88f83009671851a70c1495b30
CRs-Fixed: 2555402
2019-10-31 22:30:18 -07:00
nshrivas
3ba129aff7 Release 5.2.0.155D
Release 5.2.0.155D

Change-Id: I47e910f17212319bb86f71d62c2290c34f9ffb1e
CRs-Fixed: 774533
2019-10-31 20:39:42 -07:00
Liangwei Dong
6feed3fbea qcacld-3.0: Update intf_ch_freq form intf_ch
"intf_ch" is updated by wlansap_check_cc_intf function.
"intf_ch_freq" needs to be updated based on new intf_ch.

Change-Id: I64a9ded8f6fa1ebd9cc88f69098c88a7a01ca82c
CRs-Fixed: 2555848
2019-10-31 20:39:42 -07:00
Mahesh Kumar Kalikot Veetil
798fddcadc qcacld-3.0: Fix pm_qos update logic
If the CPU latency requirement is not there, set the pm qos vote
to default value. The target values of resume latency and active
state latency tolerance are the minimum of the request values held
in the parameter list elements.

Change-Id: Ia5a68c024c08043da840490b6207803523f5a34a
CRs-Fixed: 2554446
2019-10-31 20:39:37 -07:00
Amruta Kulkarni
f560253148 qcacld-3.0: Replace channel id with frequency
Replace channel ID with channel frequency in struct tpSirChanChangeRequest

Change-Id: I37d1a17933b1c845bd3340f20717d667a629ec05
CRs-Fixed: 2555401
2019-10-31 20:39:32 -07:00
nshrivas
27359056bd Release 5.2.0.155C
Release 5.2.0.155C

Change-Id: I69ee093919faa8fee029d4375a05c7d3ef9aa6b5
CRs-Fixed: 774533
2019-10-31 02:44:35 -07:00
gaurank kathpalia
709a13714c qcacld-3.0: Fix the parsing for BTM message
Currently the driver parses the BTM list
in the API lim_add_roam_blacklist_ap, but
the pointer to the source list is not incremented
which leads to addition of the same entry multiple
times.

Fix is to increment the pointer to the list for
every iteration.

Change-Id: I057c6e314827768679085047b32e524e4273b9fc
CRs-Fixed: 2554039
2019-10-31 02:44:35 -07:00
nshrivas
a256ec1f38 Release 5.2.0.155B
Release 5.2.0.155B

Change-Id: Ic02c3385daaea58d9706cca7f0960f878f10e827
CRs-Fixed: 774533
2019-10-31 00:05:18 -07:00
Rakesh Pillai
2d5596fa13 qcacld-3.0: Fix compilation errors for QCN7605
Fix compilation issue related to datapath when
built for target QCN7605.

CRs-Fixed: 2555844
Change-Id: Iabe649205be31887f037545021f70dcaa5d3aabc
2019-10-31 00:05:18 -07:00
nshrivas
2ac6cc6cd6 Release 5.2.0.155A
Release 5.2.0.155A

Change-Id: Ia6eb698530d8c0904e3401a8170bb2c227a2b4f3
CRs-Fixed: 774533
2019-10-30 18:41:03 -07:00
bings
b1444b30a9 qcacld-3.0: Convert legacy chan ID usage to chan freq
Modify the following 2 APIs' code and parameters to make
sure they're using frequency instead of channel ID:
   csr_get_infra_operation_channel
   sme_search_in_base_ch_lst

Change-Id: I2010aac81a3297d2c274ac9f17784f8f5cbf846e
CRs-Fixed: 2554643
2019-10-30 18:41:02 -07:00
nshrivas
517911f7a6 Release 5.2.0.155
Release 5.2.0.155

Change-Id: I7d14354e7dcd31ec466e0a45c84d086f25fba6c3
CRs-Fixed: 774533
2019-10-30 16:51:08 -07:00
wadesong
43554802d4 qcacld-3.0: Convert SME code legacy channel ID usage
Modify the following APIs' code and parameters to make
sure they're using frequency instead of channel ID:

   csr_scan_get_next_command_state
   csr_handle_nxt_cmd
   csr_scan_callback

Change-Id: I3bbbc20f906f0b757659f553e1ddb3d2ddd084d8
CRs-Fixed: 2554060
2019-10-30 16:51:07 -07:00
wadesong
2225e56fff qcacld-3.0: Convert SME code legacy channel ID usage
Modify the following 2 APIs' code and parameters to make
sure they're using frequency instead of channel ID:

   sme_get_status_for_candidate
   csr_is_mcc_channel

Change-Id: If721813518caeb87c4de7c3d52ae18fd080cd713
CRs-Fixed: 2554048
2019-10-30 16:51:03 -07:00
hqu
12b821e08b qcacld-3.0: Convert SME code legacy channel ID usage
Modify the following 2 APIs' code and parameters to make
sure they're using frequency instead of channel ID:

csr_roam_get_ibss_start_channel_number50
csr_roam_get_ibss_start_channel_number24

Change-Id: I5d3c94f4266fdfc08efe2a0e87ac406a0e7cd5ea
CRs-Fixed: 2554196
2019-10-30 16:50:59 -07:00
Wu Gao
cdffcc7e2c qcacld-3.0: Allow SAP concurrency with NAN
If defined NDP_SAP_CONCURRENCY_ENABLE, allow SAP or SAP+SAP
concurrency with NAN and don't disable NDI when call
ucfg_nan_check_and_disable_unsupported_ndi.

Change-Id: I684df7608623f8eb77d485a61e8d9c6f3319574a
CRs-Fixed: 2547493
2019-10-30 16:50:51 -07:00
nshrivas
0ea263318e Release 5.2.0.154Z
Release 5.2.0.154Z

Change-Id: I2de2f4f071487674f08623c01e9bfd31c21528fc
CRs-Fixed: 774533
2019-10-30 04:38:24 -07:00
Nisha Menon
33030f8cd0 qcacld-3.0: CPU mask not set for affine cores on init
Set cpu_mask for affine cores on init before sending a
request to PM QoS interface to insert a element into the
list for DMA latency in the QoS framework.

Change-Id: I81f17077c6ddce69c99047c46cef008b6b195d77
CRs-Fixed: 2551349
2019-10-30 04:38:23 -07:00
nshrivas
c333dda001 Release 5.2.0.154Y
Release 5.2.0.154Y

Change-Id: Ic7e7d774a4d2d59bd55ce2a8ede4dc371ffa92e7
CRs-Fixed: 774533
2019-10-29 23:22:41 -07:00
Wu Gao
d07ea69d26 qcacld-3.0: Fix compilation issues with QCA6174
Fix compilation issues related to IPA and DP when built for target
QCA6174. Here is the change to fix them.

Change-Id: I4441858450a78cdd98e3c5e25cdeee00c3a7db9e
CRs-Fixed: 2554619
2019-10-29 23:22:41 -07:00
nshrivas
ea46f5f52b Release 5.2.0.154X
Release 5.2.0.154X

Change-Id: Id6931508fd9e06d47cbd6894a3e4915305b55e07
CRs-Fixed: 774533
2019-10-29 22:02:05 -07:00
Alan Chen
c2d4b1cbd9 qcacld-3.0: Add sap_pre_cac_work check before flushing
In hdd_stop_adapter and hdd_stop_all_adapters, sap_pre_cac_work is
sometimes being flushed when it is not initialized. Put a check to only
flush if it is initialized.

Change-Id: I1e25ae06f351188c1bc45c4f94c80b3c77799b88
CRs-Fixed: 2554551
2019-10-29 22:01:59 -07:00
nshrivas
902f38ae33 Release 5.2.0.154W
Release 5.2.0.154W

Change-Id: I79161f632863eac36eeddeaf9caa236e7460915c
CRs-Fixed: 774533
2019-10-29 20:39:04 -07:00
Alan Chen
e141698cbc qcacld-3.0: Change notifier call to only return valid NOTIFY values
When values such as -EAGAIN are returned as the return value, it causes
the notifier block chain to stop being parsed by ip6_route_dev_notify(),
which results in the pointer to nh_dev in fib6 being NULL since the value
is not able to be set. To solve this, set hdd_netdev_notifier_call to
return NOTIFY_DONE so that the error value returned does not prevent the
notifier block chain from progressing.

Change-Id: I294a837e9f6c9712d45a9a96b5f0967af968b8b6
CRs-Fixed: 2553168
2019-10-29 20:39:04 -07:00
nshrivas
763a622619 Release 5.2.0.154V
Release 5.2.0.154V

Change-Id: Iae04530ed713a90566a9191cb0c40728e6280c6b
CRs-Fixed: 774533
2019-10-29 19:23:44 -07:00
gaurank kathpalia
924b2a764a qcacld-3.0: ACS changes for 6ghz support
Driver ACS changes for 6Ghz channel support.

Change-Id: I94cc834a9fdd5cfe54e4dcc09aba0253de6b2a39
CRs-Fixed: 2555187
2019-10-29 19:23:44 -07:00
nshrivas
4fa476c979 Release 5.2.0.154U
Release 5.2.0.154U

Change-Id: Icffd8f5c3cfa4e662865e5a1a2487f7c4dbf210c
CRs-Fixed: 774533
2019-10-29 16:44:49 -07:00
Sourav Mohapatra
07b057fcc4 qcacld-3.0: Rectify sanity check in hdd_send_hang_reason
Currently in the driver, hdd_send_hang_reason() checks validity of
current context using wlan_hdd_validate_context(). This checks if the FW
is down and if recovery in progress along with other conditions. This is
a contradiction as the purpose of the API is to send the reason for
hang, which can come during FW down. The wlan_hdd_validate_context()
check prevents this from being sent to the userspace via the command
QCA_NL80211_VENDOR_SUBCMD_HANG.

Remove the wlan_hdd_validate_context() check as it is not required as
per the scenario.

Change-Id: I34da018ab4792f5c613d7ec2da8526261ee20e84
CRs-Fixed: 2554019
2019-10-29 16:44:49 -07:00
Tushnim Bhattacharyya
faa9c0114a qcacld-3.0: Replace channel id with frequency in sap
Replace channel ID with channel frequency in sap for channel
switch flow.

Change-Id: I3e7bf0e6d84604223c1791ccfd3d95d1ff5f2992
CRs-Fixed: 2554468
2019-10-29 16:44:43 -07:00
nshrivas
9cdb07f02c Release 5.2.0.154T
Release 5.2.0.154T

Change-Id: I762f3c7f3eb8fa74a5f3cdebade552361cc1a742
CRs-Fixed: 774533
2019-10-29 10:58:38 -07:00
Sourav Mohapatra
f6fefb873f qcacld-3.0: Do not assert on reinit failure
Presently, the driver performs device assert on re-init failure after
SSR. This is not desirable as in some cases the reinit failure can be
recovered from.

Change the default value of the INI controlled variable to 0 to avoid
this assert.

Change-Id: I802921e8602e0648cacc4185f550b72ad2b3af66
CRs-Fixed: 2547295
2019-10-29 10:58:37 -07:00
nshrivas
8f911a0ddd Release 5.2.0.154S
Release 5.2.0.154S

Change-Id: Iad65c2ab4d1de64d00c5c7f925bf4bc514145f23
CRs-Fixed: 774533
2019-10-29 05:39:53 -07:00
bings
b3a1cfe3be qcacld-3.0: Set cac duration to pe session in vdev start
When DFS and CAC are full offload, driver passes cac duration time
to FW in vdev start wmi command. Currently when SAP starts in DFS
channel, cac duration is passed as 0.

Cac duration should be set to pe session when vdev starts, then it
can be passed to FW correctly.

Change-Id: Ica2ae344d6734df89e22b088dea7a5059f1370f9
CRs-Fixed: 2548492
2019-10-29 05:39:52 -07:00
nshrivas
f488ce9720 Release 5.2.0.154R
Release 5.2.0.154R

Change-Id: I32599bf1d2162abbe10e5ca565d093553c2ecf8c
CRs-Fixed: 774533
2019-10-29 01:01:00 -07:00
Jingxiang Ge
9310892032 qcacld-3.0: Fix compilation error after 6ghz updates
Fix compilation error in legacy features after 6Ghz band
support and code cleanup.

Change-Id: I5b8c9b46d7647e88044b2f0a0f9c2d35fa4b8a89
CRs-fixed: 2554204
2019-10-29 01:00:59 -07:00
nshrivas
67c7471333 Release 5.2.0.154Q
Release 5.2.0.154Q

Change-Id: Ife47c0cfed1a5878206c2c05ea536730ea2b3eb2
CRs-Fixed: 774533
2019-10-28 20:58:30 -07:00
Yue Ma
39b6f2ed51 qcacld-3.0: Add PCIe register window lock related APIs
The register window needs to be configed properly before accessing
any larger than 4K range PCIe registers. Expose the lock in PLD to
avoid race condition when both platform and host drivers
try to config it.

Change-Id: Icd3df3d4d2cc2ecc3df608e7b767a3e654b94500
CRs-Fixed: 2549887
2019-10-28 20:58:30 -07:00
nshrivas
b78f300f9f Release 5.2.0.154P
Release 5.2.0.154P

Change-Id: I235e69620b9c0a956d2c99284ed69a7c87e24c6e
CRs-Fixed: 774533
2019-10-28 18:02:43 -07:00
Tushnim Bhattacharyya
acb23ee6f0 qcacld-3.0: Replace channel with frequency in unsafe_ch_list
Replace channel ID with frequency in struct unsafe_ch_list.

Change-Id: I4db260127b39d8a30d61d4348f70b1a77ddb9d95
CRs-Fixed: 2540581
2019-10-28 18:02:42 -07:00
nshrivas
6e3f16f865 Release 5.2.0.154O
Release 5.2.0.154O

Change-Id: Iabc83db527f3ca7f283b608979d1a038728a5f65
CRs-Fixed: 774533
2019-10-28 08:38:36 -07:00
Liangwei Dong
8c65f23490 qcacld-3.0: Downgrade channel bandwidth for DBS2
In DBS mode 2x2 VHT40 2G and 1x1 VHT 40 5G, the MAC 1 (5G)
doesn't support VHT80. Update the ch_width to max of 40Mhz
in beacon OMN ie when switch to DBS2.

Change-Id: If5cf65bca815d1e8df67a1515b2fb3edcba52a8e
CRs-Fixed: 2520719
2019-10-28 08:38:35 -07:00
nshrivas
21b3a81418 Release 5.2.0.154N
Release 5.2.0.154N

Change-Id: Ic4c2482d1f76c1f3f4ee8fdd36680f5fb4f71fd7
CRs-Fixed: 774533
2019-10-28 07:11:32 -07:00
Liangwei Dong
c213d8e885 qcacld-3.0: Fix memory corruption of GET_PREFERRED_FREQ_LIST
1. Change pcl_list to uint32_t array.
2. Populate weight freq from pcl_list.
3. Correct the skb allocation size to include attr hdr

Change-Id: Iace73efda1ec55b7f12c2ce3bcc1ea3262ad01f8
CRs-Fixed: 2554031
2019-10-28 07:11:31 -07:00
Venkata Sharath Chandra Manchala
cf57262302 qcacld-3.0: Enable FEATURE_TSO_STATS
Enable FEATURE_TSO_STATS based on
FEATURE_TSO flag.

Change-Id: I2fbeac180f6bb0988a6e3660936659ea1f5da4a4
CRs-Fixed: 2392266
2019-10-28 07:11:27 -07:00
nshrivas
177fe7ab24 Release 5.2.0.154M
Release 5.2.0.154M

Change-Id: If71314166928032f9fbfc9543c9aad41dba9b946
CRs-Fixed: 774533
2019-10-28 04:16:07 -07:00
Jianmin Zhu
387e65caa6 qcacld-3.0: Avoid wifi fail when timeout waiting for sme close session
In special case when vdev delete for wlan disabled,
event eWNI_SME_DEL_STA_SELF_RSP  has been sent
to QDF_MODULE_ID_SME queue,  but scheduler thread have no
execution chance,  timed out waiting for sme close session in
hdd_vdev_destroy, sme session isn't cleaned up.
When enable wifi again, vdev create failed for cannot re-open
active session, wifi failed to start any more,  can't recover
until system reboot.
Fix:
When timed out waiting for sme close session in
hdd_vdev_destroy, clean up sme session too as normal process.

Change-Id: If6c6ed313928294bb83ebbc0e716a574e6a07470
CRs-Fixed: 2547355
2019-10-28 04:16:07 -07:00
nshrivas
d636725178 Release 5.2.0.154L
Release 5.2.0.154L

Change-Id: I86469a3f079ecc49b2f271bed3df63687131c03f
CRs-Fixed: 774533
2019-10-27 13:47:43 -07:00
Sravan Kumar Kairam
761ae63623 qcacld-3.0: Support wlan ipa clk voting for kona
Support wlan ipa clk voting for kona. Host should provide
bandiwdth levels to IPA driver for which IPA uc monitors
the levels. Once the threshold is reached IPA uc interrupts
the IPA driver and IPA driver informs host driver via callback
registered.

Change-Id: I9fd805d69858a413f20b9e55a9c02a82054c646b
CRs-Fixed: 2526300
2019-10-27 13:47:42 -07:00
nshrivas
017fd97967 Release 5.2.0.154K
Release 5.2.0.154K

Change-Id: I3abb0933452b0cc90d5399a71056176ed16caddb
CRs-Fixed: 774533
2019-10-26 11:55:09 -07:00
Arun Kumar Khandavalli
a43590e897 qcacld-3.0: Move psoc object to common component
Move to the common psoc object and retrieve the cfg ini
information from the legacy implementation.

Change-Id: I38147c748796550f2adede44b681559a4f329fbf
CRs-Fixed: 2547536
2019-10-26 11:55:08 -07:00
Visweswara Tanuku
1a5e992075 qcacld-3.0: Use correct event id while registering md events
Use correct event ids while registering motion detection
events

Change-Id: I4328060dea7ac14459d194f98e92cd5ba518edd0
CRs-Fixed: 2548224
2019-10-26 11:55:04 -07:00
nshrivas
77577a9187 Release 5.2.0.154J
Release 5.2.0.154J

Change-Id: I6f8bf1754a5f3b046ce5a6fbfee65e7c7adf0a0a
CRs-Fixed: 774533
2019-10-26 08:11:48 -07:00
Jingxiang Ge
f1d8159208 qcacld-3.0: config 11ax linkspeed rate
This change is to support 11ax linkspeed rate
on UI.

It supports different config for gReportMaxLinkSpeed.

Current 11ax rate support to max 80 nss2 mcs11.

Change-Id: Iff8cbafe1354ab50c4b3a90ef8ab698a3350a21d
CRs-Fixed: 2529291
2019-10-26 08:11:48 -07:00
Wu Gao
cef8a74bef qcacld-3.0: Copy peer mac address when register new NDP peer
Since peer mac instead of sta_id used to find pointer to peer in
dp_register_peer, so copy and pass peer mac address when register new
ndp peer.

Change-Id: I47ab345fff83d9c03208c5c1457db0fb7f6ed9c0
CRs-Fixed: 2546705
2019-10-26 08:11:40 -07:00
nshrivas
eea51ad437 Release 5.2.0.154I
Release 5.2.0.154I

Change-Id: Ia3c577b22b042cb774e409f6bea47fa444f987f2
CRs-Fixed: 774533
2019-10-26 03:05:56 -07:00
Manikandan Mohan
0ba7e55beb qcacld-3.0: Update CSR for 6Ghz STA connection
Update SME/CSR for using channel frequency in STA connection
params and handle 6G AP IEs for association.

Change-Id: I1725223b6763a729762b604c850c9b493f739ae6
CRs-fixed: 2552009
2019-10-26 03:05:56 -07:00
Manikandan Mohan
8e4491c8ed qcacld-3.0: Send HE 6GHz band capabilities IE in WLAN frames
HE STA / AP operating in 6GHz should send HE 6GHz band capabilities
element. Update LIM layer for sending this IE in assoc, reassoc and
probe request / response frames.

Change-Id: Ie991ad3656e6b721e0ee0783b5974d438699091c
CRs-fixed: 2552009
2019-10-26 03:05:51 -07:00
Manikandan Mohan
5c1e9aeb3d qcacld-3.0: Update HDD for using channel frequency for STA connection
Due to channel number ambiguity with 6ghz, update channel references
in HDD STA connection path to use channel frequency.

Change-Id: I81f3449c9087030e4d98c17a5b12c731f99b39ab
CRs-fixed: 2552009
2019-10-26 03:05:44 -07:00
nshrivas
9328e053f2 Release 5.2.0.154H
Release 5.2.0.154H

Change-Id: I958a9181f081d365144884d4c2c2e301fe07f824
CRs-Fixed: 774533
2019-10-25 04:40:32 -07:00
Yeshwanth Sriram Guntuka
521b6b254b qcacld-3.0: Increase the rx debug buffer list size
Increase the rx debug buffer list size to 8k to
capture more history.

Change-Id: I56d37e5c25653daa9dac76328808e99ed24a7bff
CRs-Fixed: 2542805
2019-10-25 04:40:32 -07:00
nshrivas
65cb28f27b Release 5.2.0.154G
Release 5.2.0.154G

Change-Id: Ibf0f48c837aa0b2e97c2277dc70c5d495f162be7
CRs-Fixed: 774533
2019-10-25 03:12:54 -07:00
Yu Ouyang
67eeee1a50 qcacld-3.0: optimize WPA3 roam pre-auth offload callback
Function csr_update_sae_config is inital connection, so it should
be out of WLAN_FEATURE_ROAM_OFFLOAD. While function
csr_process_roam_auth_sae_callback is roaming related change,
so it should be in WLAN_FEATURE_ROAM_OFFLOAD.

And do the static inline to the dummy functions to avoid the warning
which defined but not used.

Change-Id: Ib873050d2f5bdb960244d2f900e078f314962a8b
CRs-Fixed: 2552295
2019-10-25 03:12:53 -07:00
Manikandan Mohan
7f218af255 qcacld-3.0: Fix policy manager API update for HOST_ROAM feature
Fix compilation error in WLAN_FEATURE_HOST_ROAM after policy manager
public API update to use channel freq as function argument instead
of channel number.

Change-Id: I690f25a169f4438272d44bb7292558a0171d1ab8
CRs-fixed: 2551820
2019-10-25 03:12:46 -07:00
nshrivas
76b0b3ca27 Release 5.2.0.154F
Release 5.2.0.154F

Change-Id: I741cf0b9435faf84ac74f74666c62bc7e7e1a6d3
CRs-Fixed: 774533
2019-10-25 01:22:38 -07:00
nshrivas
395e3c507c Release 5.2.0.154E
Release 5.2.0.154E

Change-Id: I0f5132b884e96a66feafc3ce6346c8b186d5e85c
CRs-Fixed: 774533
2019-10-24 21:41:48 -07:00
Rakesh Pillai
6c5af2fc0a qcacld-3.0: Use pdev_id instead of global dp handle
As a part of cdp convergence the pdev_id
is used to obtain the pdev handle on need
basis.

Instead of the pdev handle, use the pdev_id to
retrieve datapath pdev handle.

CRs-Fixed: 2539733
Change-Id: I887ea2f1a312207cbb642b33435f4e7111068c62
2019-10-24 21:41:42 -07:00
Rakesh Pillai
ca99b83616 qcacld-3.0: Add ol soc context
Add the soc context for ol_txrx.
This soc layer is used to hold ol pdev context.

CRs-Fixed: 2539731
Change-Id: I27a3f34a533034a4748674ce8b9212163b231b24
2019-10-24 21:41:36 -07:00
nshrivas
6bbb836d2a Release 5.2.0.154D
Release 5.2.0.154D

Change-Id: I558e20c6e99a2806806b8b19b2592981b4d1ea4d
CRs-Fixed: 774533
2019-10-24 18:53:55 -07:00
Li Feng
1b3116857c qcacld-3.0: Fix building error in tcp del ack
Fix building error in tcp del ack.

Change-Id: I74c5612536e703dbd0167ead07433f2ac66437be
CRs-Fixed: 2551290
2019-10-24 18:53:53 -07:00
nshrivas
e5b4b9e03f Release 5.2.0.154C
Release 5.2.0.154C

Change-Id: Ic18a32978ebd6ea36fbdc133955fcc6801e6ac05
CRs-Fixed: 774533
2019-10-24 17:24:24 -07:00
Rachit Kankane
914b79a337 qcacld-3.0: SAP in CAC, block concurrency
At the time of starting / stopping 2nd or 3rd connection,
Host sends WMI_PDEV_SET_HW_CMDID command to FW to change
HW mode to DBS / Single-Mac based on concurrency rule.
FW upon receiving this command turns off TXRX chainmask
which means that radar pulses might get missed for
20ms - 50ms during CAC period. To fix this, Host should
block new connection when existing SAP is performing CAC
on DFS channel.

Change-Id: I51eb117afa763a6ef54211808875419026c9075b
CRs-Fixed: 2533717
2019-10-24 17:24:24 -07:00
nshrivas
f004d01532 Release 5.2.0.154B
Release 5.2.0.154B

Change-Id: I3cd831d6a94f475f11e85b61ab784f3a27043fc4
CRs-Fixed: 774533
2019-10-24 16:03:43 -07:00
nshrivas
91e874ef20 Release 5.2.0.154A
Release 5.2.0.154A

Change-Id: I9fdd5d0976132849549d46c4a4a37b5dde0b58da
CRs-Fixed: 774533
2019-10-24 14:33:37 -07:00
Bala Venkatesh
ce98442c2a qcacld-3.0: Fill the pmf info for TDLS peer
Fill the pfm info of the TDLS peer before sending the peer assoc
command to FW.

Change-Id: I4e336c345c0fb8f063157b3e3a780efa777f1a74
CRs-Fixed: 2535832
2019-10-24 14:33:37 -07:00
Ashish Kumar Dhanotiya
0c91350afc qcacld-3.0: Enable wifi_pos logs
Currently logs for wifi_pos module are not enabled,
because of which it is difficult to debug the issues.

Enable the wifi_pos logs to address above issue.

Change-Id: I777076d5cd0251b7c714bf22fd885e0cabda6ea2
CRs-Fixed: 2547557
2019-10-24 14:33:32 -07:00
nshrivas
a98d0f149b Release 5.2.0.154
Release 5.2.0.154

Change-Id: I8401176ee745c5cb3f607dfab9340b096545750f
CRs-Fixed: 774533
2019-10-24 09:13:12 -07:00
Jianmin Zhu
36626e4fad qcacld-3.0: Fix SAP force scc failed after STA channel switch
After STA channel switch, when SAP try to force scc with STA,
race condition issue happens sometimes between mc thread and sap
restart thread, hdd_ctx->roaming_in_progress isn't cleared when
check roaming status in hdd_softap_set_channel_change, so channel
switch failed.

Fix: change order, make sure hdd_set_roaming_in_progress(false)
happens before policy_mgr_check_concurrent_intf_and_restart_sap.

Change-Id: I1146eb665941fe0beb8f6165272f32ac8f7e74f2
CRs-Fixed: 2549571
2019-10-24 09:13:06 -07:00
Pragaspathi Thilagaraj
c1335b01a0 qcacld-3.0: Fix null pointer dereference in lim_process_auth_retry_timer
In lim, gpLimMlmAuthReq is freed in lim_restore_auth_state if
auth failure timeout happens. gpLimMlmAuthReq is dereferenced in
lim_process_auth_retry_timer. When there is a race where
lim_restore_auth_state is called before lim_process_auth_retry_timer,
then null pointer dereference of gpLimMlmAuthReq happens in
lim_process_auth_retry_timer.

Validate gpLimMlmAuthReq against null before accessing it.

Change-Id: Ic1af10172aa98785c84165c4491c8bdc1b3e508f
CRs-Fixed: 2550793
2019-10-24 09:13:01 -07:00
Jianmin Zhu
c71151b3f7 qcacld-3.0: Fix whunt SAP start failed for wrong channel
Need initialize local var con_ch_freq before use.

Change-Id: I9f770dace7710019bd7d693b6c3b6ba3bdc43af1
CRs-Fixed: 2551516
2019-10-24 09:12:56 -07:00
nshrivas
a7e2cf9fd5 Release 5.2.0.153Z
Release 5.2.0.153Z

Change-Id: I4065b37a341f8c7044b9b62b4622aef892aa9c00
CRs-Fixed: 774533
2019-10-24 04:40:13 -07:00
bings
eb87bc97d8 qcacld-3.0: Fix DFS channel flag check when prevent/allow suspend
wlan_reg_get_channel_state does not return CHANNEL_STATE_DFS for DFS
channel if this channel is in NOL. Use wlan_reg_chan_has_dfs_attribute
to fix this issue.
With above fix, new issue is exposed. hdd_ctx->sap_dfs_ref_cnt is used
as a flag, If hdd_hostapd_channel_allow_suspend is called after
hdd_hostapd_channel_prevent_suspend, whatever the new channel state is,
if the old channel is going to release dfs lock, then dfs lock is
released. Generally we should handle the old channel then handle the
new channel, so exchange the order of hdd_hostapd_channel_prevent_suspend
and hdd_hostapd_channel_allow_suspend when doing channel switch.

Change-Id: I9bbeeb5ac23f3c2eaf694f64e0fea433dcc34740
CRs-Fixed: 2543642
2019-10-24 04:40:13 -07:00
nshrivas
91e06d1763 Release 5.2.0.153Y
Release 5.2.0.153Y

Change-Id: Ic9bc04609a3546e800d79ece088e0f38b3b4ddd6
CRs-Fixed: 774533
2019-10-23 21:29:20 -07:00
Tushnim Bhattacharyya
dd4e60dd31 qcacld-3.0: Free the memory in wma_rx_invalid_peer_ind
Free the memory in wma_rx_invalid_peer_ind in case the
indication is dropped.

Change-Id: I8e1d1fccd15e3af08b04d44670f31eb8f11fbe95
CRs-Fixed: 2550819
2019-10-23 21:29:19 -07:00
nshrivas
f67c42598d Release 5.2.0.153X
Release 5.2.0.153X

Change-Id: I1a18a7706e7495600ccd5a625fe56315b1acd793
CRs-Fixed: 774533
2019-10-23 19:58:20 -07:00
Jianmin Zhu
a3ba967318 qcacld-3.0: Fix build issue on genoa
is_dfs_unsafe_extra_band_chan can't be defined under
FEATURE_WLAN_ESE

Change-Id: I639d38c215782b8ce750f342df2435de2983f1a2
CRs-Fixed: 2549765
2019-10-23 19:58:19 -07:00
nshrivas
eb23f0bd0f Release 5.2.0.153W
Release 5.2.0.153W

Change-Id: Id72b4d127b8e13d4c0e3ef973252e12891dd03e3
CRs-Fixed: 774533
2019-10-23 18:41:16 -07:00
Abhinav Kumar
8cc3b847a0 qcacld-3.0: Reduce the candidate list to 5 in roam cmd for SAE auth
Current driver configuration is as follow:
1. SME active roam command queue timeout is 30 seconds
2. SAE auth timeout is 5 seconds
3. Max BSS count in roam command (CSR_MAX_BSSID_COUNT) for SAE
   authentication is 8

As SAE auth timeout is 5 seconds and SME active command queue timeout
are 30 seconds, so only 6 SAE auth timeouts (30/5 = 6) are enough to
trigger SME active command queue timeout for roam command.

In case of continuous SAE auth time out, Driver will try SAE
connection till 8th candidate. So when driver tries to process SAE
connection for 7th BSSID, device leads to crash as by this time
SAE roam command(connect command) gets removed from SME active roam
command queue.

Fix is to reduce the candidate list to 5 in roam command for SAE
authentication considering SME roam command queue timeout is of 30
seconds.

Change-Id: Ic43f44ef14ea4c3b972635682941a624cdc6dcc7
CRs-Fixed: 2551462
2019-10-23 18:41:15 -07:00
nshrivas
c080a7459e Release 5.2.0.153V
Release 5.2.0.153V

Change-Id: I50b37e3b46460e75ac41faa6f4895841881b2364
CRs-Fixed: 774533
2019-10-23 17:19:30 -07:00
Liangwei Dong
3179b537af qcacld-3.0: Skip DFS NOL check for 6GHz SAP
6GHz channels doesn't need DFS NOL functionality.
Skip DFS NOL check for 6GHz SAP.

Change-Id: Ibdebba0d175e7752c0f6feae2b9412ef3b11b191
CRs-Fixed: 2550593
2019-10-23 17:19:29 -07:00
nshrivas
3162c01092 Release 5.2.0.153U
Release 5.2.0.153U

Change-Id: I40a8a66f568486b574f4110939fe28cbb5c25d44
CRs-Fixed: 774533
2019-10-23 16:00:34 -07:00
sheenam monga
11cf83604e qcacld-3.0: Move PER_ROAM_CONFIG_CMD out of EXTSCAN macro
WMA_SET_PER_ROAM_CONFIG_CMD is dependent on
FEATURE_WLAN_EXTSCAN macro. By default
FEATURE_WLAN_EXTSCAN is disabled and thus
WMA_SET_PER_ROAM_CONFIG_CMD is not handled

To avoid conditional Handling of WMA_SET_PER_ROAM_CONFIG_CMD,
Move WMA_SET_PER_ROAM_CONFIG_CMD out of flag
FEATURE_WLAN_EXTSCAN.

Change-Id: I4574efa2ccc968ead71a9c6d54845f7bd3057e56
CRs-Fixed: 2549779
2019-10-23 16:00:34 -07:00
nshrivas
721635fd3b Release 5.2.0.153T
Release 5.2.0.153T

Change-Id: Idcf92af24b687330ac76ec072fa965e5dd345a30
CRs-Fixed: 774533
2019-10-23 14:29:34 -07:00
Nirav Shah
fc0848cb38 qcacld-3.0: Avoid double free of tx_desc in ol_tx_download_done_hl_free
If tx_desc is freed as part of ol_tx_download_done_base
then do not free again in ol_tx_download_done_hl_free.

Change-Id: I006603f0fad40c0cfce59b8c14b521705cec7ebc
CRs-Fixed: 2544447
2019-10-23 14:29:33 -07:00
nshrivas
3f745f0dfb Release 5.2.0.153S
Release 5.2.0.153S

Change-Id: I249ee724d3ed3838dd0d9db5ab7680f64ef4f463
CRs-Fixed: 774533
2019-10-23 10:31:55 -07:00
Pragaspathi Thilagaraj
f812ccf55a qcacld-3.0: Rename assocReq
Linux coding style doesn't allow camel case notations. So
rename assocReq to be in compliance.

Change-Id: I82e608da9548ac9413f9ecb025e5b662c9f555be
CRs-Fixed: 2480902
2019-10-23 09:01:09 -07:00
nshrivas
837faee786 Release 5.2.0.153R
Release 5.2.0.153R

Change-Id: Ibd42f141ad923fb21e5977efd13952421c386dab
CRs-Fixed: 774533
2019-10-23 06:50:27 -07:00
Liangwei Dong
a383c99ef4 qcacld-3.0: Add regulatory channel list dump
Dump the regulatory channel list with tx power
info. The channel list log can be processed by
script to do validation.

Change-Id: I7b3badd026556c1d805e6f3770fae33838f6ee6e
CRs-Fixed: 2548231
2019-10-23 06:50:26 -07:00
nshrivas
e01dcd46bf Release 5.2.0.153Q
Release 5.2.0.153Q

Change-Id: I11d503079a83e786e7080a55b0e7678be55877f3
CRs-Fixed: 774533
2019-10-23 03:46:38 -07:00
Min Liu
602c1b19a6 qcacld-3.0: Fix race condition when disconnecting
When an attempt of connection failed and followed by a disconnection
initiated from user space, randomly it would take more than 10 seconds
to complete the disconnection due to disconnect_comp_var is not
completed in some race condition and it has to wait till timeout.

To fix this race condition, in hdd_association_completion_handler, also
need to complete disconnect_comp_var for the case when hddDisconInProgress
is true and roam_status is eCSR_ROAM_ASSOCIATION_FAILURE or
eCSR_ROAM_CANCELLED, it will also cover the following scenario besides
the one mentioned above:

Connection is in progress. But the connect command is in pending queue
and is removed from pending queue as part of csr_roam_disconnect.

Change-Id: Ib6a30057469d60efcc905d97b5234ea5a0e097a8
CRs-Fixed: 2547320
2019-10-23 03:46:38 -07:00
Arun Kumar Khandavalli
bcd5634dae qcacld-3.0: Send the vdev create to firmware in the caller thread
Presently upon interface up a message is posted to the scheduler
to create the vdev, which sends the vdev create to the firmware,
for the vdev create there is no response from the firmware host
internally posts a fake message internally for the vdev create
response.

Dont post the vdev create to the scheduler thread but directly
send the vdev create to the firmware in the caller context.

Change-Id: Iafb186b13d948e421d152c3142cb8614fdbbffa6
CRs-Fixed: 2549530
2019-10-23 03:46:29 -07:00
nshrivas
9e3e8386fb Release 5.2.0.153P
Release 5.2.0.153P

Change-Id: I9e709bf01d6af4c3f7e0a25af2cd040070a395d6
CRs-Fixed: 774533
2019-10-23 02:14:37 -07:00
Abhishek Singh
8d92ea7f97 qcacld-3.0: Cleanup chanmode from from struct wma_txrx_node
With des_chan->ch_phymode already having the chanmode value,
remove chanmode from from struct wma_txrx_node to use common
des_chan->ch_phymode

Change-Id: Ib34a032b541367305a9fdba998ed6a00073ac9aa
CRs-Fixed: 2550440
2019-10-23 02:14:33 -07:00
nshrivas
eac41f874a Release 5.2.0.153O
Release 5.2.0.153O

Change-Id: I4323a57873c5fa1c6c1842948de932f92b9c2bcd
CRs-Fixed: 774533
2019-10-22 23:03:37 -07:00
Sourav Mohapatra
4d1f4ccf88 qcacld-3.0: Populate and send correct max rate to the userspace
When the ini gReportMaxLinkSpeed is set, it indicates that the rates
provided to the userspace should give the maximum possible rate for the
given connected parameters. But currently in the driver, the max rate
that is being sent to the userspace is dependent on the NSS at which
the tx/rx is being done. The NSS is calculated by taking the union of
the value from assoc req and from the rate table using MCS index/rates
from firmware. The rates fluctuate as per the tx/rx by firmware which
subsequently affects the NSS in the host.

To keep the max rate independent of this changing NSS, decouple the NSS
calculation to contain the value from only the assoc req when reporting
max rate.

Change-Id: I03d10e397fca6853d05b4812a2adeac0110bc517
CRs-Fixed: 2548498
2019-10-22 23:03:32 -07:00
Yu Ouyang
7117897437 qcacld-3.0: Fix 'sae_info' undeclared issue
Structure csr_roam_info member 'sae_info' is defined only when
WLAN_FEATURE_SAE is defined.
But function csr_process_roam_auth_offload_callback() call it
without any checking.

Because function csr_process_roam_auth_offload_callback() processes
WPA3 SAE info, so rename it, and move it to macro WLAN_FEATURE_SAE.

Change-Id: If3d5c1e6739fbd7bee24d19fbbab3495a9a6f8f6
CRs-Fixed: 2532693
2019-10-22 23:03:27 -07:00
nshrivas
a407fea7d0 Release 5.2.0.153N
Release 5.2.0.153N

Change-Id: I88f94af73a7533ed52874ccad7a44883feb5a0f3
CRs-Fixed: 774533
2019-10-22 18:09:46 -07:00
Manikandan Mohan
19f3609b21 qcacld-3.0: Use policy manager frequency APIs
For 6GHz support and to remove channel number ambiguity use policy
manager APIs updated for frequency in other modules. This change
covers following APIs:
policy_mgr_get_pcl
policy_mgr_update_with_safe_channel_list
policy_mgr_get_valid_chans_from_range
policy_mgr_get_valid_chans
policy_mgr_set_sap_mandatory_channels
policy_mgr_get_pcl_for_existing_conn
policy_mgr_get_mode_specific_conn_info

Change-Id: Ia21829345be2746cd3fc1f2337cfc90abf0c53f4
CRs-fixed: 2550092
2019-10-22 18:09:45 -07:00
Manikandan Mohan
a0bbb518fc qcacld-3.0: Use policy manager frequency APIs
For 6GHz support and to remove channel number ambiguity use policy
manager APIs updated for frequency in other modules. This change
covers following APIs:
policy_mgr_get_chan_by_session_id
policy_mgr_get_mcc_operating_channel
policy_mgr_check_and_set_hw_mode_for_channel_switch
policy_mgr_is_chan_ok_for_dnbs
policy_mgr_is_safe_channel
policy_mgr_valid_sap_conc_channel_check
policy_mgr_disallow_mcc
policy_mgr_add_sap_mandatory_chan
policy_mgr_remove_sap_mandatory_chan
policy_mgr_is_hwmode_set_for_given_chnl
policy_mgr_is_valid_for_channel_switch
policy_mgr_update_user_config_sap_chan
policy_mgr_is_sap_restart_required_after_sta_disconnect
policy_mgr_is_sta_sap_scc
policy_mgr_nan_sap_scc_on_unsafe_ch_chk

Change-Id: I682f8380d9dc41fc015d73f06b6e055d1d04ef97
CRs-fixed: 2545110
2019-10-22 18:09:31 -07:00
Manikandan Mohan
282c4b6f66 qcacld-3.0: Use policy manager frequency APIs
For 6GHz support and to remove channel number ambiguity use policy
manager APIs updated for frequency in other modules. This change
covers following APIs:

policy_mgr_allow_concurrency
policy_mgr_nan_sap_pre_enable_conc_check
policy_mgr_allow_concurrency_csa
policy_mgr_current_connections_update
policy_mgr_incr_connection_count_utfw
policy_mgr_update_connection_info_utfw
policy_mgr_get_channel_from_scan_result
policy_mgr_update_and_wait_for_connection_update
policy_mgr_get_sap_mandatory_channel
policy_mgr_checkn_update_hw_mode_single_mac_mode

Change-Id: I162c2b90a58539194907c5ecd6915eafecc635cc
CRs-fixed: 2545099
2019-10-22 18:09:25 -07:00
Manikandan Mohan
7fdb02592b qcacld-3.0: Use policy manager frequency APIs
For 6GHz support and to remove channel number ambiguity use policy
manager APIs updated for frequency in other modules. This change
covers following APIs:
policy_mgr_is_chnl_in_diff_band
policy_mgr_check_for_session_conc
policy_mgr_handle_conc_multiport
policy_mgr_change_sap_channel_with_csa
policy_mgr_get_channel
policy_mgr_get_nondfs_preferred_channel

Change-Id: I4a6673db3a02b6e8d7fa94ae452338db618e3883
CRs-fixed: 2545099
2019-10-22 18:09:18 -07:00
nshrivas
9cd843df8f Release 5.2.0.153M
Release 5.2.0.153M

Change-Id: I18b958fd219a154e47dbf5ae29ce20e382ad49ee
CRs-Fixed: 774533
2019-10-22 09:05:34 -07:00
Yeshwanth Sriram Guntuka
4ac1584527 qcacld-3.0: Cleanup sta_index in TDLS structures and APIs
Remove sta index references in TDLS structures and APIs
and mac address would be used instead to refer the peer.

Change-Id: I861f7ce068f3f545598129b9f3955b84b2a6fbce
CRs-Fixed: 2524512
2019-10-22 09:05:33 -07:00
Yeshwanth Sriram Guntuka
d2a2291473 qcacld-3.0: Cleanup sta index references in lim
Remove sta index references in lim since mac address
would be used instead of this index as part of the
sta index cleanup.

Change-Id: Ia7cbb94cf988a04506440ddaca6b1c302e13e852
CRs-Fixed: 2524509
2019-10-22 09:05:24 -07:00
Yeshwanth Sriram Guntuka
3f26210aed qcacld-3.0: Do not use cdp API to get local id in wma
Remove usage of cdp APIs to fetch local id and cleanup
few sta index references in wma and lim.

Change-Id: I32633ef7491b3b91ee55dd813a009c4d8010a3f5
CRs-Fixed: 2524506
2019-10-22 09:05:17 -07:00
Sourav Mohapatra
3e1694a888 qcacld-3.0: Remove IOCTL for fetching ibss info
The IOCTL command WE_IBSS_GET_PEER_INFO used to fetch the IBSS peer info
is not used by any external entities. Also, as sta_id is being removed,
the implementation of the current ioctl is outdated.

Remove the IOCTL command all together.

Change-Id: Id4dfafb8d42f6c04af46a633df2a1d1e232da5e4
CRs-Fixed: 2532488
2019-10-22 09:05:08 -07:00
Yeshwanth Sriram Guntuka
e6b54245d6 qcacld-3.0: Remove sta index in few prints
Remove sta index in few prints and replace it
with MAC address as part of sta_index cleanup.

Change-Id: I689ede9dc345667f1a054f76bf3d08b236131c13
CRs-Fixed: 2524505
2019-10-22 09:05:02 -07:00
Sourav Mohapatra
a3cf12aee4 qcacld-3.0: Remove sta_id from hdd_connection_info
As a part of the sta_id clean up, remove the usage of the sta_id from
struct hdd_connection_info. Instead of the station id, use peer mac
address to interact with the protocol and DP layers.

Change-Id: I60b939c37ff49b50579791f45e3e81ed81b86967
CRs-Fixed: 2524514
2019-10-22 09:04:56 -07:00
Visweswara Tanuku
2f35318e60 qcacld-3.0: In SAP mode, use thermal cfg cmd string similar to STA
In SAP mode use thermal cfg cmd string similar to STA, as
"set_thermal_cfg"

CRs-Fixed: 2542936
Change-Id: I2449f880c7254dcd4abe79e2c896e48edbc6b107
2019-10-22 09:04:51 -07:00
nshrivas
534de3ed51 Release 5.2.0.153L
Release 5.2.0.153L

Change-Id: I443dffae7f5370aabc9b3e51a1a2e822ec63fd93
CRs-Fixed: 774533
2019-10-22 03:36:47 -07:00
Naman Padhiar
c52e7fd605 qcacld-3.0: Add PLD layer for WHUNT
WHUNT is host unit testing framework which simulates
firmware. Add a PLD wrapper layer for this virtual device.

Change-Id: I1d09b8a18a25b414b0c1d56723cc5687f2bfe297
2019-10-22 03:36:46 -07:00
nshrivas
74b120408f Release 5.2.0.153K
Release 5.2.0.153K

Change-Id: Ie1139402d78d1e78a00e73426cb307337bddd3d1
CRs-Fixed: 774533
2019-10-22 01:50:47 -07:00
Kiran Kumar Lokere
81c1aa55a1 qcacld-3.0: Fix SAP Nss 1x1 issue in 160MHz mode
Remove the check that limits the SAP Nss to 1x1 mode when SAP
is brought up with 160MHz bandwidth.

Change-Id: I1f2416b8c0c9500ed9d553ba1fed2f45ff2e9f13
CRs-Fixed: 2549916
2019-10-22 01:50:47 -07:00
guangde
7bd92e6075 qcacld-3.0: modify the assignment method of tstamp
Based on the current, Host driver assign a int value to tstamp directly.
But it is not compatible with previous kernel version.
Use function "ktime_set" to assign the value.

Change-Id: Id5fb5001e22aea8503c2dafbfef3fc8d27de1166
CRs-Fixed: 2549495
2019-10-22 01:50:39 -07:00
gaurank kathpalia
7aed85ed22 qcacld-3.0: Wait for ACS rather than iface change fail
Currently the driver checks for the ACS in progress
in change iface and returns fail if the ACS is in
progress. The return status is not checked by the
kernel and it assumes that the interface change is
successfull, which may lead to out of sync between
driver and kernel.

Fix is to wait for ACS completion if the iface change
or interface down is triggered in between ACS.

Change-Id: Iaabd42fc959a533041b18b181e1b63493f17e0a5
CRs-Fixed: 2541325
2019-10-22 01:50:27 -07:00