Commit Graph

17454 次程式碼提交

作者 SHA1 備註 提交日期
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
bings
f39897e136 qcacld-3.0: Fix memory leak in os_if_ndp_end_ind_handler
In os_if_ndp_end_ind_handler, when it returns, make sure the
allocated memory ndp_instance_array is freed.

Change-Id: I39725bdeae01e3e3839f9bbac67721d4a1f38670
CRs-Fixed: 2552236
2019-10-29 22:02:04 -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