Commit graph

21,910 commits

Author SHA1 Message Date
snandini
6eb29edb0e Release 2.0.8.14V
Release 2.0.8.14V

Change-Id: I3b1f53803c525ad486fd3d1bbef4d4f99ce1fcf6
CRs-Fixed: 774533
2021-04-09 15:10:34 -07:00
Bapiraju Alla
cd21320cc0 qcacld-3.0: Don't enable HIF_DETECTION_LATENCY feature for all targets
The feature HIF_DETECTION_LATENCY_ENABLE is not applicable for all targets.
To avoid issues, enable this feature based on target.

Change-Id: Ia7bab02710ee2bbb9f487571ec98992ac338961f
CRs-Fixed: 2915968
2021-04-09 15:10:34 -07:00
Bapiraju Alla
2c94725484 qcacld-3.0: Don't configure FW dbg log levels for every vdev create
Currently FW dbg log levels are configured for every vdev creation.
But this is pdev level configuration and doesn't required to configure
for every vdev. Because of this WMI commands are getting flooded.

To avoid this, configure FW debug log levels only for first vdev
creation.

Change-Id: Ie395c1a7b0756a08ad7948997531c6920d83ae0b
CRs-fixed: 2913901
2021-04-09 15:10:29 -07:00
Yeshwanth Sriram Guntuka
aa4fce03a0 qcacld-3.0: Ignore RTPM suspend on pending IPA tx comps
In STA+SAP mode, disable pipes is not done as part of either
last client disconnection or SAP down. In the scenario where
APPS suspend does not get triggered, IPA pipes are not disabled
and on runtime suspend, PCIe link is suspended which would result
in a NOC error if IPA HW accesses wlan registers.

Fix is to avoid runtime suspend if there are any pending IPA
tx completions.

Change-Id: I190da658d233cb5d6c85846312ddc7a251f9f9d5
CRs-Fixed: 2918334
2021-04-09 15:10:25 -07:00
snandini
446ea30bf2 Release 2.0.8.14U
Release 2.0.8.14U

Change-Id: I6c24484e2b762a3d81fc252f039e92024b2a1a61
CRs-Fixed: 774533
2021-04-09 12:11:26 -07:00
Srinivas Girigowda
c1db41bdff qcacld-3.0: Add support for TWT re-negotiation failure
1. If the TWT setup parameter re-negotiation results in failure,
   then host driver shall trigger TWT teardown for the
   existing TWT session.
2. Upon receiving the TWT teardown confirmation from the firmware,
   host driver shall cleanup TWT session, send teardown notification
   to the user space and ready for next TWT setup command.

Change-Id: I553ae7de8d900a3dc12d563b781f9fefa36f8a0b
CRs-Fixed: 2916548
2021-04-09 12:11:25 -07:00
snandini
d6b8ea216e Release 2.0.8.14T
Release 2.0.8.14T

Change-Id: Ib3ea004b2a2b662dd7948be5a53fed257391d8ac
CRs-Fixed: 774533
2021-04-09 08:04:10 -07:00
sheenam monga
1d36a273e4 qcacld-3.0: Add feature flag to support IGMP offload
Add Feature flag WLAN_FEATURE_IGMP_OFFLOAD to support
IGMP offload feature.

Change-Id: I3a58e66a4e323e03c6d32c02ac1b401f23eb9d3c
CRs-Fixed: 2916022
2021-04-08 22:12:13 -07:00
snandini
ada752ef82 Release 2.0.8.14S
Release 2.0.8.14S

Change-Id: I49f2d2ddb8be007e859a55b300b72e207eaf808e
CRs-Fixed: 774533
2021-04-07 20:41:54 -07:00
Kiran Kumar Lokere
92b20896c9 qcacld-3.0: Add support for RF test mode and safe mode config
Add RF test mode and safe mode configuration support for 6GHz.

Change-Id: Icb6382f425b21e89a8cb2481c8f7bf480c4f6c19
CRs-Fixed: 2904749
2021-04-07 20:41:54 -07:00
Lincoln Tran
d9380f3a2c qcacld-3.0: Add operating class triplet to country IE
The operating class triplet was removed from country IE. Add the logic
to populate it back in.

Change-Id: Ia9a1489e04d832b650dbe203534f38980e7e1506
CRs-fixed: 2913363
2021-04-07 15:22:57 -07:00
snandini
4d89b07c2f Release 2.0.8.14R
Release 2.0.8.14R

Change-Id: Ib41603588633f0204517b40ff4540dfa136ed7dd
CRs-Fixed: 774533
2021-04-07 09:22:46 -07:00
sheenam monga
3496342c63 qcacld-3.0: Send igmp offload command to fw
Send igmp offload command to fw with disable flag
once host comes to resume state from suspended state.

Change-Id: Iec2c6830028bf13dd90ac0a842774a4a7138286c
CRs-Fixed: 2911248
2021-04-07 09:22:46 -07:00
sheenam monga
f5917bfcf7 qcacld-3.0: Add support to offload igmp feature to fw
offload igmp feature to fw in case of suspended state
to avoid high power consumption.

Change-Id: I05fbf23dc2836f8f5dc6e2f45b35bf2d30c39790
CRs-Fixed: 2907644
2021-04-07 09:22:41 -07:00
snandini
78801b3398 Release 2.0.8.14Q
Release 2.0.8.14Q

Change-Id: Iddf891954a5136582065688294394eee33238335
CRs-Fixed: 774533
2021-04-07 07:09:39 -07:00
sheenam monga
689290d021 qcacld-3.0: Add ini to enable disable igmp offload
enable/disable the IGMP offload feature to FW.

Change-Id: I57241b193598124cba147e86c2d5199c1d5c53ee
CRs-Fixed: 2904964
2021-04-07 07:09:39 -07:00
snandini
962fbb0cdb Release 2.0.8.14P
Release 2.0.8.14P

Change-Id: I85ce8bc7368ee63d6626d2ce33902378222c2615
CRs-Fixed: 774533
2021-04-06 21:21:28 -07:00
Paul Zhang
eca38e5722 qcacld-3.0: Kbuild: Refine add-wlan-objs
The current implementation of add-wlan-objs does not work correctly
with GNU Make 3.81 which is widely in use. So refine the function in a
manner that works with 3.81 as well as newer versions of Make.

Change-Id: Ic689367cccc16cf6ab23eeeb58665d84c5db3a26
CRs-Fixed: 2903606
2021-04-06 21:21:28 -07:00
Rakesh Pillai
95f8f86e54 qcacld-3.0: Reset tcp delack setting only if its enabled
Currently the tcp delack reset config is initiated,
unconditionally, when the bus bandwidth timer is stopped.
This leads to unnecessary tcpdelack settings even if
it has not been enabled.

Reset the tcp delack setting from bus bandwidth timer stop
only if tcp delack is enabled.

Change-Id: I492ed18e80703f64bb0340d781f64760d6da2004
CRs-Fixed: 2914604
2021-04-06 21:21:23 -07:00
snandini
09d1d1e2d1 Release 2.0.8.14O
Release 2.0.8.14O

Change-Id: Ibe4d46f19ef53ee1fa4c0dd6594e2b17519303fb
CRs-Fixed: 774533
2021-04-05 18:21:58 -07:00
Lincoln Tran
6549e02ce3 qcacld-3.0: Update the AP pwr mode when country changes
Currently, the AP power mode is only updated during HE OP IE population.
This causes the country IE to use the incorrect TX powers since HE OP is
populated afterwards. Add a call to update the power mode whenever the
country changes.

Change-Id: I46641d12f1aed045dbe1becf4b96ff65c5746c5b
CRs-fixed: 2910774
2021-04-05 18:21:58 -07:00
snandini
4b954f966b Release 2.0.8.14N
Release 2.0.8.14N

Change-Id: I221d610a6612818495fcd2ab6139f2e29b6d9535
CRs-Fixed: 774533
2021-04-05 15:44:33 -07:00
Karthik Kantamneni
048b699a11 qcacld-3.0: In resume sequence mark runtime resume as success properly
Currently runtime resume is marked as success after kicking
HTC queues, due to this non PM marked WMI commands are not
sent out properly.

Fix this by marking runtime resume as success before kicking
HTC queues, since resume is set as success as part of HTC kick
queues WMI commands will be sent out properly.

Change-Id: I5e3f98cbc5888bdf83f760b055c9b706c18737ef
CRs-Fixed: 2899609
2021-04-05 15:44:33 -07:00
Gururaj Pandurangi
4b966d127d qcacld-3.0: Fix tx power calculation
Fix the TPE IE population for SAP. The total power and PSD power
are interchanged in TPE populate API.
Also, fix the TPC power calculation logic STA in non-PSD case when
TPE IE is present.
Populate current AP power type for SAP as well.

Change-Id: I0fb9b9318d1b5a3e1c8071714b7e3f6129828c92
CRs-Fixed: 2910658
2021-04-05 15:44:28 -07:00
Lincoln Tran
6a4eac9e68 qcacld-3.0: Fix call to set chan params
Set channel width when calling wlan_reg_set_channel_params_for_freq.
Also, in the case of 160MHz, mhz_freq_seg1 should be used instead of
mhz_freq_seg0 to get center frequency.
Send total eirp power to FW instead of psd power for PSD case as
part of WMI_VDEV_SET_TPC_POWER_CMDID.

Change-Id: Id37d2ca37c7ae1ac07df1444129801fcba37f219
CRs-fixed: 2906551
2021-04-05 11:31:04 -07:00
snandini
e9c4749fbd Release 2.0.8.14M
Release 2.0.8.14M

Change-Id: I5e5dc7fc63281bd4361a9e4ffcf079eccabcac4e
CRs-Fixed: 774533
2021-04-05 05:00:29 -07:00
sheenam monga
c4bea427da qcacld-3.0: Add ini to support different versions of IGMP
Add bit mask ini support to decide IGMP version

Change-Id: I2676f9adb83c421c28a1d19efb8fe13a64f34de9
CRs-Fixed: 2907553
2021-04-05 05:00:29 -07:00
snandini
57a1dcb996 Release 2.0.8.14L
Release 2.0.8.14L

Change-Id: I0ce8f8b86829264978f1bae596de16358233c5b5
CRs-Fixed: 774533
2021-04-02 22:09:34 -07:00
Amruta Kulkarni
9f97242cdb qcacld-3.0: Add Reject AP to BLM list after context change
In scenario, when ROAM HO failure is piggybacked on WOW wake up,
the blm reject AP addition fails as mutex can't be acquired in
interrupt context. With this change, the reject bssid blm
addition will happen after changing context to scheduler thread.

Change-Id: I685501b7ea48e4461922a7a50fb39c52d4d607f3
CRs-Fixed: 2880712
2021-04-02 22:09:33 -07:00
snandini
67df66442a Release 2.0.8.14K
Release 2.0.8.14K

Change-Id: I7dd08e520245c5bbb5f5c1c052e3bc2e20b8fbaf
CRs-Fixed: 774533
2021-04-02 14:35:10 -07:00
Zhaoyang Liu
13451a9fda qcacld-3.0: populate country information based on band
For sap mode, beacon frame has country IE, but country info
fields have all bands channels information. Using band based
chanel list to populate country IE information.

Change-Id: I0be084b9b539d453e5386c6a25dd2d9daa5de21c
CRs-Fixed: 2819683
2021-04-02 14:35:09 -07:00
Srinivas Girigowda
ddbb999cf4 qcacld-3.0: TWT: Return proper error code
Return proper error code.

Change-Id: I6aab99d9954516306404f39b21c8382f04751f94
CRs-Fixed: 2910910
2021-04-02 14:35:05 -07:00
snandini
a65bedb2c6 Release 2.0.8.14J
Release 2.0.8.14J

Change-Id: I35598feae7615a323c1b118708384e167d573c94
CRs-Fixed: 774533
2021-04-02 10:21:30 -07:00
Rajeev Kumar
41d927b4ac qcacld-3.0: Replace request_firmware by firmware_request_nowarn
Replace request_firmware by firmware_request_nowarn to avoid warning
message when the file is not found and sysfs fallback mechanism is
enabled if direct filesystem lookup fails.

Change-Id: Ia182bcf990144ac12434253144e772f6a0780cfe
CRs-Fixed: 2912035
2021-04-02 10:21:30 -07:00
snandini
9cfa6d3fb3 Release 2.0.8.14I
Release 2.0.8.14I

Change-Id: If7765e22ce8e0d3aa97b889da168b643785a1b12
CRs-Fixed: 774533
2021-04-02 04:34:25 -07:00
Vevek Venkatesan
586dabfad9 qcacld-3.0: add checks for deinit in ipa_register_ready_cb
Since stop_modules can happen in parallel due to idle shutdown,
add additional checks whether the IPA deinit happened already
or in-progress, in ipa_register_ready_cb.

Change-Id: Icc1973be3e90d4231addcebab55e621d19c5789c
CRs-Fixed: 2903419
2021-04-02 04:34:24 -07:00
Vevek Venkatesan
d03b22c36f qcacld-3.0: add CDS API to check if driver state module stop
Add a CDS API to check if the driver state is module stop and
also register for QDF wrapper for the same.

Change-Id: I99fbdda593ca229ef8db956c609735ae6509d511
CRs-Fixed: 2912747
2021-04-02 04:34:20 -07:00
snandini
949a755a70 Release 2.0.8.14H
Release 2.0.8.14H

Change-Id: Iffccd51fec00590018c5ab3b0af19a6b1db72070
CRs-Fixed: 774533
2021-04-02 02:19:58 -07:00
Manikanta Pubbisetty
9f905c47a3 qcacld-3.0: add pld API for disable_irq()
When the SRNG IRQs are disabled during suspend, it is
required to disable the interrupts and wait for interrupts
that are pending to complete. Adding a pld/pfrm API to disable
irq synchronously.

CRs-Fixed: 2908685
Change-Id: Ia1f17d54cbe08e8dc101c0ecc2ddee9275712659
2021-04-02 02:19:58 -07:00
snandini
567bfa00bf Release 2.0.8.14G
Release 2.0.8.14G

Change-Id: Ia5bdba2ba4fe31822d087186465d71f82ddac7bb
CRs-Fixed: 774533
2021-04-02 00:00:33 -07:00
Jingxiang Ge
93871ddbaa qcacld-3.0: Keep adapter->dev for netdev ref check
adapter->dev is used for get ref, issue happens
1  adapter is used to dev hold in thread_1
2  adapter is removed in thread_2 for interface
   delete, and adapter->dev is set to NULL in
   hdd_uninit.
3  thread_1 use adapter->dev for dev_put, then
   adapter->dev is invalid here.

As adapter->dev will be invalid only after dev_put,
so not set null adapter->dev in hdd_uninit in case
dev_put need it.

Change-Id: Id764a6ef15ef8fc4eae24a3f2428d8cec55716aa
CRs-Fixed: 2912285
2021-04-02 00:00:33 -07:00
snandini
41f8302ca8 Release 2.0.8.14F
Release 2.0.8.14F

Change-Id: I96558023eb711eb165dcbccc4a92fff591bbf54d
CRs-Fixed: 774533
2021-04-01 21:31:52 -07:00
Lin Bai
e522321181 qcacld-3.0: Disable STA power save before initiating disconnection
Target side STA PS module will only stop when WMI_VDEV_STOP
received, and QoS-null frame is possible to be sent in
the window from DEAUTH TX to WMI_VDEV_STOP.

Disable STA power save before disconnecting process,
to avoid QoS-null in such window.

Change-Id: I3f33fc7ab81f70c22218cd3cc5a4ba934c6bccae
2021-04-01 21:31:51 -07:00
snandini
563cb15a58 Release 2.0.8.14E
Release 2.0.8.14E

Change-Id: Ibee47fbacaf3c311c0b1c483f84b6b2d05b53295
CRs-Fixed: 774533
2021-04-01 11:50:44 -07:00
Lincoln Tran
9c2715c7cc qcacld-3.0: Expand the regulatory update critical section
Currently, host exits the regulatory update critical section as soon
as hdd_regulatory_dyn_cbk finishes. However, there is some work that
is scheduled to send the updated scan channel list to FW, which needs
to go inside the critical section as well. Move the logic to exit the
critical section after host sends the channel list.

Change-Id: I01f82232bdd4d4b3403f46dee5278fc74d50b05a
CRs-fixed: 2905643
2021-04-01 11:50:44 -07:00
Deeksha Gupta
221b44606e qcacld-3.0: Iterate till nth adapter in hdd_adapter_iterate()
Currently,there is an issue in hdd_adapter_iterator(), as it
is iterate till (n-1)th adapter. Due to this, in STA+STA+P2P
scenario, driver allows wlan0 scan when P2P connection in
progress as hdd_is_connection_in_progress() only check for
STA mode and miss the P2P mode.

Iterate till nth adapter as a fix.

Change-Id: Ia6e49b3a8372634756e89032ee9d599583160479
CRs-Fixed: 2907307
2021-04-01 11:50:40 -07:00
snandini
ba007a53a3 Release 2.0.8.14D
Release 2.0.8.14D

Change-Id: Ic1e0bf6258a1d2a8415b068eec53a677241a7ab8
CRs-Fixed: 774533
2021-04-01 09:42:40 -07:00
Deeksha Gupta
b729f073fc qcacld-3.0: Allow only one twt statistics and clear statistics command
Don't allow twt statistics or clear statistics command
if twt statistics or clear statistics is in_progress.

As a Fix, reject the new twt statistic or clear statistic
command till existing twt statistic or clear statistic
command completion.

Change-Id: I710a81ae3409f181689b2e4c9e9d4e583d4aadab
CRs-Fixed: 2870592
2021-04-01 09:42:40 -07:00
Deeksha Gupta
f87d3036a7 qcacld-3.0: Block the TWT setup till notify event is received
Currently, TWT setup is allowed after roaming even if
TWT notify from firmware is not received.

Block the TWT setup till notify event is received
from firmware.

Change-Id: Ia6ff8fe9e05f32ddf6dbdd608d9090b612237f26
CRs-Fixed: 2870610
2021-04-01 09:42:35 -07:00
snandini
a7b932e110 Release 2.0.8.14C
Release 2.0.8.14C

Change-Id: I668488c89d18ce634fb28157d2d4c764c29767d3
CRs-Fixed: 774533
2021-04-01 07:27:52 -07:00