Commit Graph

19071 Commits

Author SHA1 Message Date
bings
46d6db59ec qcacld-3.0: Configure chan time quota basing on Miracast on/off
If Miracast is on, driver should send WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID
to FW. Currently this wmi is blocked because gEnableMCCAdaptiveScheduler is
set as 1, which is incorrect.

Add a new dynamic_mcc_adaptive_sched flag to allow wmi command
WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID for Miracast case.

Change-Id: I18e713b75a8cafc1b631bf5a1884a9b0123e5dba
CRs-Fixed: 2652271
2020-04-03 16:07:50 -07:00
nshrivas
d226d1ea3a Release 5.2.0.179X
Release 5.2.0.179X

Change-Id: If7627b320dc96b4aa9f22fcaea82c5e5e441e325
CRs-Fixed: 774533
2020-04-03 14:19:42 -07:00
Vulupala Shashank Reddy
d6e11c6f0f qcacld-3.0: Fix minimum candidate roam score delta value
Change candidate minimum roam score delta value "min_roam_score_delta"
to zero.

Change-Id: Icfb98db30c2333ade40127a7df94e9a0973e4f67
CRs-Fixed: 2655873
2020-04-03 14:19:42 -07:00
nshrivas
80f1312d6b Release 5.2.0.179W
Release 5.2.0.179W

Change-Id: I84887b4bb34c408f9a061ed6446340451a38a65e
CRs-Fixed: 774533
2020-04-03 12:12:21 -07:00
Vulupala Shashank Reddy
b1b7cd32c1 qcacld-3.0: Process Mgmt packets only when packet capture mode is 1
Management frames should be captured only when Packet_Capture_Mode is 1.

Change-Id: Idf719d5d469fecd9d72d475d3245684e5acb0f04
CRs-Fixed: 2647399
2020-04-03 12:12:20 -07:00
nshrivas
3619135589 Release 5.2.0.179V
Release 5.2.0.179V

Change-Id: I201df39fd0b54519794937524fb04de892c41572
CRs-Fixed: 774533
2020-04-03 10:39:09 -07:00
Alan Chen
6a2c5953c1 qcacld-3.0: Change check for wma_is_vdev_started() to WLAN_VDEV_S_UP
When running WHUNT test case for SET NUD STATS vendor command,
wma_set_arp_req_stats is supposed to be sent to FW but it fails to send
due to the check in wma_is_vdev_started(), which is currently checking
if the vdev state is WLAN_VDEV_S_START, instead of WLAN_VDEV_S_UP, thus
allowing vdev state WLAN_VDEV_S_UP to still continue when it is not
started. Hence, change the check to WLAN_VDEV_S_UP to provide proper check.

Change-Id: Ifae00ff26a27df92cd4d09047c326bcccfdbf602
CRs-Fixed: 2651406
2020-04-03 10:39:09 -07:00
nshrivas
433881962b Release 5.2.0.179U
Release 5.2.0.179U

Change-Id: I9a7cf53bfe681a57fd385369fa46e5ca6cc2c5e1
CRs-Fixed: 774533
2020-04-03 07:02:20 -07:00
gaurank kathpalia
f3e208b797 qcacld-3.0: For channel switch fill proper freq0 and freq1
When STA switch channel the freq0 and freq1 are channel number
and not frequency in hdd_chan_change_notify. Thus the freq0 and
freq1 validation fails in nl80211_send_chandef and thus the
channel change is not notified to supplicant.

Fix this by filling freq instead of channel in freq0 and freq1 in
hdd_chan_change_notify.

Change-Id: I03d3a2afcbb812e6da7ec2be9887dd185e754a44
CRs-Fixed: 2655979
2020-04-03 07:02:20 -07:00
nshrivas
f8ad223819 Release 5.2.0.179T
Release 5.2.0.179T

Change-Id: I50497aced0b38b1b572dbd6fa7e24afea4aea4fd
CRs-Fixed: 774533
2020-04-03 05:22:50 -07:00
Pragaspathi Thilagaraj
bc52a55500 qcacld-3.0: Fix stack corruption in beacon request table mode
When beacon report request is received from AP in table mode,
sme_rrm_issue_scan_req() is called recursively till scan results
in all channels for that country code is reached. In 6GHz, the
number of channels are high and recursively calling
sme_rrm_issue_scan_req for that much channels causes stack
corruption.

Remove recursive call to the function sme_rrm_issue_scan_req.
Instead, loop all the frequencies in the list and send
scan results on those channels.

Change-Id: Id75d00cfc98fcf218c6b1f85da3270e210697403
CRs-Fixed: 2654375
2020-04-03 05:22:49 -07:00
Min Liu
75a52a432a qcacld-3.0: Cleanup pending get link status request
In wma_vdev_deinit, check and cleanup pending plink_status_req
if needed.

Change-Id: I0006ec8bda0f8387dbace619c294bb1e9c1c2882
CRs-Fixed: 2654746
2020-04-03 05:22:33 -07:00
nshrivas
1304d4adfb Release 5.2.0.179S
Release 5.2.0.179S

Change-Id: I16097ad8e8a4448aa904e568ad960703cfce4b7e
CRs-Fixed: 774533
2020-04-03 03:42:11 -07:00
Arun Kumar Khandavalli
8037f0b7e9 qcacld-3.0: Send hang data to userspace
With the new feature when the recovery is triggered informatation is
collected from the various modules and send the data to user space.

Change-Id: I8d7bb5be46df6150d0efa1cdb8db74a135ba89d7
CRs-Fixed: 2651903
2020-04-03 03:42:11 -07:00
nshrivas
753c95567c Release 5.2.0.179R
Release 5.2.0.179R

Change-Id: I8e0bab8430c39ada5db36f6b49057bb938bb64bc
CRs-Fixed: 774533
2020-04-03 01:47:02 -07:00
gaurank kathpalia
893fe5bc0c qcacld-3.0: Get proper umac_cmd in CSR serialization util cmds
In csr_nonscan_pending_ll_next/csr_nonscan_pending_ll_peek_head and
csr_nonscan_active_ll_peek_head all commands umac_cmd is mapped
to tSmeCmd. This can lead to invalid pointer access as umac_cmd
can be of different type and does not always map to tSmeCmd.

Thus return the cmds only with source WLAN_UMAC_COMP_MLME, which are
initiated by sme and has tSmeCmd mapped to umac_cmd.

Change-Id: I73e75ef5ea754f4ef548a1cb9b3de2d0e566adf6
CRs-Fixed: 2655838
2020-04-03 01:47:02 -07:00
gaurank kathpalia
b4da5e84c6 qcacld-3.0: Fix logs of Start BSS failure
If start bss fail in logs it indicate start BSS timeout, so
fix the logs to indicate proper logs.

Change-Id: Ie470550a1606a1cddd6577f0945386e8c1a5cc13
CRs-Fixed: 2655836
2020-04-03 01:46:36 -07:00
nshrivas
127f059292 Release 5.2.0.179Q
Release 5.2.0.179Q

Change-Id: I987d2ba532011da9f1bc9b249b75c8c6cc457c70
CRs-Fixed: 774533
2020-04-02 23:54:50 -07:00
Sourav Mohapatra
915d9dc8e1 qcacld-3.0: Return success for stop_bss while SAP is in stopping state
If the SAP is already in stopping state and wlansap_stop_bss is invoked
as a part of stop_adapter, it returns error which causes the
stop_adapter not to wait for the vdev to return to proper state.

To avoid this, return success in case of SAP_STOPPING for the event
eSAP_HDD_STOP_INFRA_BSS

Change-Id: I99a2cd0a1d12b8e43fb3e88b6889e1d651633283
CRs-Fixed: 2654042
2020-04-02 23:54:50 -07:00
Srinivas Dasari
37148c7604 qcacld-3.0: Print the remaining length when nla_put fails
nla_put fails when there is no sufficient buffer to put the
beacon IEs. Enhance the log to print available buffer length and
the beacon IEs length.

Change-Id: If6e37455f6fbe795b293f626ad9cbb24a9effcd0
CRs-Fixed: 2629807
2020-04-02 23:54:31 -07:00
nshrivas
3381f78f92 Release 5.2.0.179P
Release 5.2.0.179P

Change-Id: I154fa84aac58d1dee1fc46d18e43747f4e4cf98e
CRs-Fixed: 774533
2020-04-02 20:44:20 -07:00
Yeshwanth Sriram Guntuka
929edf94c4 qcacld-3.0: Enable build configuration for dp hang event
Enable the build configuration for dp hang event to
enable the datapath hang event logging feature.

Change-Id: I8044f977e417a311a17e446cc6b71211d217ae4b
CRs-Fixed:
2020-04-02 20:44:19 -07:00
Arun Kumar Khandavalli
4f8adceefe qcacld-3.0: update hang data for pe session
Update the hang data for the pessssion. For the pe module
update the various states which will give insight into the reason
for recovery.

Change-Id: I7e3f18bd8b18dd0d56c09d4a4ce38ce7c3677ecc
CRs-Fixed: 2651762
2020-04-02 20:44:06 -07:00
nshrivas
338bf2a04d Release 5.2.0.179O
Release 5.2.0.179O

Change-Id: I14f59ec93f544cbb145bb6b131d7f10de6be0ba6
CRs-Fixed: 774533
2020-04-02 14:31:12 -07:00
Yeshwanth Sriram Guntuka
d251c49727 qcacld-3.0: Remove recovery notifier from ol layer
Remove ol recovery notifier to log ce info as the notifier
is added in hif layer.

Change-Id: Ia3b56f677d7207f7b650ee1060032c285fa946fe
CRs-Fixed: 2649143
2020-04-02 14:31:11 -07:00
nshrivas
bdae2f30d6 Release 5.2.0.179N
Release 5.2.0.179N

Change-Id: Iddb1013f7dfe5377f92950c68f9d6230aca29a57
CRs-Fixed: 774533
2020-04-02 12:44:07 -07:00
Abhishek Ambure
4f81aead61 qcacld-3.0: Add OMN IE in assoc request if VHT op mode present
If DUT connects to an AP in VHT mode with 40/80Mhz bandwidth in 5Ghz
band and then if user changes the country code(EC) where only 20Mhz
bandwidth present in 5ghz, then after association AP may ignore DUT's
support for only 20Mhz and keeps transmitting data in 40/80Mhz.
As DUT doesn't support these bandwidth, DUT doesn't ack the data
packets with higher received higher bandwidth. Thus DUT's RX throughout
degrades. This is an IOT issue where AP expects OMN IE with channel width
set to 20mhz . As DUT is not sending OMN IE low throughput issue is
observed

Hence host adds OMN ie in the association request only if the AP to
which DUT associates advertises OMN IE and DUT supports VHT.

Change-Id: Ie59323c4c7dc4e4abc332e7204768b6a560d22d1
CRs-Fixed: 2650234
2020-04-02 12:44:07 -07:00
nshrivas
82d7122b3f Release 5.2.0.179M
Release 5.2.0.179M

Change-Id: I5e5365561857964a16709553bbd18a445328b056
CRs-Fixed: 774533
2020-04-02 00:11:32 -07:00
Bapiraju Alla
5e23b7cfd7 qcacld-3.0: Add param for OCL mode configuration
Currently there is no provision to configure OCL mode in FW during
driver bootup.

To enable this configuration add a new INI configuration parameter
gOclCfg.

Change-Id: I87c9131f5395c394f745e0170f0d9b3d1571d030
CRs-Fixed: 2644312
2020-04-02 00:11:32 -07:00
nshrivas
c589449c9a Release 5.2.0.179L
Release 5.2.0.179L

Change-Id: Idfc28694d1fb73e2a7e46a122ce8c5cc3786b58d
CRs-Fixed: 774533
2020-04-01 14:28:23 -07:00
Kiran Kumar Lokere
b56a540667 qcacld-3.0: Fix 40MHz flag setting for 6GHz connection
In peer assoc the 40MHz flag is set if HT is enabled and bandwidth
is 40MHz which fails the 40MHz setting for 6GHz connection as HT
is not supported in 6GHz band.

Remove the HT check for 40MHz flag setting in peer assoc.

Change-Id: I2a34dd6fbbca50912952f532e8b485148bf3c3a2
CRs-Fixed: 2649524
2020-04-01 14:28:22 -07:00
nshrivas
4df7deec7f Release 5.2.0.179K
Release 5.2.0.179K

Change-Id: Ie9fa99b7a97d65974be49cad9f387f687fceb723
CRs-Fixed: 774533
2020-04-01 12:39:39 -07:00
Arun Kumar Khandavalli
74014d9143 qcacld-3.0: Update hdd hang data
Whenever a recovery is triggered in the hdd layer update the
various vdev data for hang event:
	1) Vdev id
	2) vdev opmode
	3) vdev state and substate

if the reason for recovery is max scan failures update the last
scan reject, reason and the vdev id on which scan is rejected.

Change-Id: I84928e56bac1fe58e7eada0a0574b2f23124ae65
CRs-Fixed: 2651694
2020-04-01 12:39:39 -07:00
Arun Kumar Khandavalli
81f73d678b qcacld-3.0: update the hang data for the cds module
Update the hang data for the cds module, as part of the hang
data following information is filled:
	1) Hang Event version
	2) Wlan Driver version
	3) Reason for recovery

Change-Id: Ie5a008d1f9512f8e83a1d099fe333b0d2ce90abb
CRs-Fixed: 2650848
2020-04-01 12:39:19 -07:00
Arun Kumar Khandavalli
29ca29fb41 qcacld-3.0: Add build configuration for the htc hang event
htc hang event configuration has been added, enable
the build configration for the feature.

Change-Id: I5441f95288db46ca58ef44f4c825b9f4f7cf59ac
CRs-Fixed: 2651750
2020-04-01 12:39:00 -07:00
nshrivas
fa5c0fd870 Release 5.2.0.179J
Release 5.2.0.179J

Change-Id: I7f99f52c506dcb98a4f6cf7da9cbe2c88d9b5dea
CRs-Fixed: 774533
2020-04-01 10:46:22 -07:00
gaurank kathpalia
82511bc630 qcacld-3.0: Add support for STA+NAN+NDI+NDI
Add support for four port concurrency for
STA+NAN discovery + NDI + NDI.

Change-Id: I7d6d3f482a61bef7f3d0a31eee3fdfe5e5e9d879
CRs-Fixed: 2633982
2020-04-01 10:46:22 -07:00
nshrivas
d6a5f31685 Release 5.2.0.179I
Release 5.2.0.179I

Change-Id: I222f1dd23b9975a6113ca35794952793a40141e4
CRs-Fixed: 774533
2020-04-01 05:57:21 -07:00
Yue Ma
c984192e1b qcacld-3.0: Fix bugs from PM QOS notifier for runtime PM
Destroy PM QOS spinlock after unregistering PM QOS notifier. Use
hif_pm_runtime_put() instead of hif_pm_runtime_put_noidle() so that
it can trigger a runtime PM suspend after usage count reaching 0.

Change-Id: I93949857636de6d9807fa2abceec818a8584c596
CRs-fixed: 2651516
2020-04-01 05:57:21 -07:00
gaurank kathpalia
82f3c99fc5 qcacld-3.0: Flush the blacklist BSSIDs in FW
Currently the expectation from the BLM is to flush
all the BSSIDs which are present in the blacklist
when the user does an explicit on-off, which is
meeting the expectation, but the FW does not flush
this info which leads to async between the two.

Fix is to send 0 blacklist BSSID to FW during
Wifi-off so that it also flushes the list.

Change-Id: I7a0629fefb12deaeec0b5eeea06169272621bf82
CRs-Fixed: 2647018
2020-04-01 05:56:59 -07:00
nshrivas
e90fd6667f Release 5.2.0.179H
Release 5.2.0.179H

Change-Id: Ia4a849b6ffa6606c3a4681f7ca6ba7fa9051a616
CRs-Fixed: 774533
2020-04-01 00:20:33 -07:00
Mohammed Siddiq
2dcd202ecf qcacld-3.0: Add pld code to handle hang event data info
Add code to handle hang event data and length received
from platform driver through uevent.
Change-Id: Ie4acf55cd7d2e602ad10eedbdeed045acfd85f56
CRs-fixed: 2650831
2020-04-01 00:20:33 -07:00
nshrivas
35cdd1e49b Release 5.2.0.179G
Release 5.2.0.179G

Change-Id: Ib744ccf643ea36084b7308fd9520ab2939c94097
CRs-Fixed: 774533
2020-03-31 22:39:20 -07:00
sheenam monga
3ac6630a69 qcacld-3.0: Remove check for conversion of RXMGMT flags to nl80211
Currently, wlan_hdd_cfg80211_convert_rxmgmt_flags  set rxmgmt flags
based on RXMGMT_FLAG_EXTERNAL_AUTH & flag provided by lim.
For some action category like FST, RVS driver itself sets flag value as
RXMGMT_FLAG_NONE. In this case, wlan_hdd_cfg80211_convert_rxmgmt_flags
return -EINVAL and considers it as err.

Fix is to remove if check for wlan_hdd_cfg80211_convert_rxmgmt_flags
to avoid err print in case flag received is RXMGMT_FLAG_NONE.

Change-Id: I321ef05d0571a5b14793d36abfd327dfa97c70a5
CRs-Fixed: 2654080
2020-03-31 22:39:19 -07:00
nshrivas
25f44260b6 Release 5.2.0.179F
Release 5.2.0.179F

Change-Id: I0a3557fdad0b2ee5bfd33263d836d8748bc1f188
CRs-Fixed: 774533
2020-03-31 16:47:40 -07:00
Sravan Goud
b57cdca976 qcacld-3.0: Deregister sap clients before stop bss
In stop bss write to reo remap control registers happen
after pcie power collapse is enabled. As pcie power collapse
is enabled sometimes reo remap register write is not going
through. For sta + sap concurrency this is resulting in NOC
error when other sta interface connecting to AP after stop bss.
Disable autonomy or reo remap registers to sw host destination
rings happen as part of last sap client deregistration. In this
change deregister sap clients before stop bss.

Change-Id: Ic84a1d45b5b376ec8ad28a05246efc4252b390ab
CRs-fixed: 2643092
2020-03-31 16:47:39 -07:00
nshrivas
903c23463d Release 5.2.0.179E
Release 5.2.0.179E

Change-Id: Ic971b69b5f30d1c2b621b194b0fe3af847cbe5d9
CRs-Fixed: 774533
2020-03-31 15:04:45 -07:00
Naman Padhiar
f959a91cdd qcacld-3.0: Protect pld_del_dev function as part of psoc trans
Protect pld_del_dev function as part of psoc transaction
to avoid race condition with pld_deinit.

Change-Id: I57531d649d02a37beb702c8f0467dc60b455804b
2020-03-31 15:04:45 -07:00
Arun Kumar Khandavalli
8a779258cf qcacld-3.0: Add build configuration for the wmi hang event
wmi hang event configuration has been added, enable
the build configration for the feature.

Change-Id: I8c7034d07f369f79191a2496e9000f83eecdba6e
CRs-Fixed: 2651741
2020-03-31 15:04:25 -07:00
nshrivas
a732cc6cb5 Release 5.2.0.179D
Release 5.2.0.179D

Change-Id: Id8717383fe527b3e224d1009b3e28e20f75f5b84
CRs-Fixed: 774533
2020-03-31 11:37:55 -07:00