Commit Graph

22607 Commits

Author SHA1 Message Date
Will Huang
4d62bb1bc2 qcacld-3.0: Fix roaming/disconnect not sync issue
Change I588a56f4c96d137d3283b2dc57274de069ecb4ab changed
wlan_cm_abort_rso() return status from BUSY to FAILURE when roaming
in progress, it caused disconnect command not wait for roaming
complete/abort, and lead to abnormal data access.

Change-Id: I16004b006283c05ed94fb3ca4bc0e9376485aca7
CRs-Fixed: 2910443
2021-04-07 01:21:54 -07:00
Nisha Menon
4df6282e58 qcacld-3.0: Enable feature to dump reo queue info in DDR
Enable DUMP_REO_QUEUE_INFO_IN_DDR to send cache flush cmd
to REO using cmd: iwpriv wlan0 txrx_stats 34 0

Cache flush cmd will invalidate the h/w cache and ensure
that h/w writes to DDR.
In the cmd callback, the reo status tlvs are processed
and the vaddr of the reo queue desc is used to read the
queue information from DDR and dump it in the host driver logs.

Change-Id: I4521b777d13c490ac687f9ff673182262bc52f62
CRs-Fixed: 2899824
2021-04-07 01:21:48 -07:00
snandini
e730a41380 Release 5.2.0.228X
Release 5.2.0.228X

Change-Id: Ic01d75852701dc61e469297e26093a607ce2f944
CRs-Fixed: 774533
2021-04-06 23:12:27 -07:00
Pragaspathi Thilagaraj
4cad5e9c11 qcacld-3.0: Enable partial roam scan for provided triggers
By default, the driver fills the roam scan scheme as none for
all the triggers in WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID
but if the roam scan scheme bitmap is set for particular
trigger, then for the corresponding trigger the roam scan scheme
should be sent as ROAM_TRIGGER_SCAN_MODE_PARTIAL.

Send ROAM_TRIGGER_SCAN_MODE_PARTIAL if roam scan scheme bitmap is
provided.

Change-Id: I82f16f7c0e24be472c95278eb3085f7d2623b63a
CRs-Fixed: 2914142
2021-04-06 23:12:27 -07:00
Tushnim Bhattacharyya
e6b62ba558 qcacld-3.0: Remove all WLAN_REG_IS_SAME_BAND_CHANNELS instances
Use WLAN_REG_IS_SAME_BAND_FREQS API to check if 2 channel
frequencies are on same band instead of the deprecated
WLAN_REG_IS_SAME_BAND_CHANNELS API as part of regulatory
cleanup effort.

Change-Id: I05c7a97d5217cdd725734ece457e859d5e1588c2
CRs-Fixed: 2898307
2021-04-06 23:12:23 -07:00
snandini
5938c096ce Release 5.2.0.228W
Release 5.2.0.228W

Change-Id: Iad632e32754ef7d363aafd6bd75a48e2673789a3
CRs-Fixed: 774533
2021-04-06 18:42:58 -07:00
Yu Wang
ffbb93ace5 qcacld-3.0: remove delay_before_vdev_stop from wma_txrx_node
The delay before vdev stop is a global config,
no need to set for each interface separately.

Change-Id: I5760cf083a6749bb82cc88635a947f1d18308dfe
CRs-Fixed: 2904748
2021-04-06 18:42:57 -07:00
snandini
7fa9d56ddd Release 5.2.0.228V
Release 5.2.0.228V

Change-Id: If6a11ba05f931c1223c07dada94f33bcab308628
CRs-Fixed: 774533
2021-04-06 15:31:09 -07:00
Lincoln Tran
3de659e7a6 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-06 15:31:09 -07:00
snandini
6a4f96c6af Release 5.2.0.228U
Release 5.2.0.228U

Change-Id: Ifff17445ba44b925999a51e91c607755bd876b1e
CRs-Fixed: 774533
2021-04-05 15:22:28 -07:00
sheenam monga
d0b9b96422 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-05 15:22:28 -07:00
sheenam monga
6e6c139e05 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-05 15:22:23 -07:00
Lincoln Tran
9974417ba9 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 15:22:19 -07:00
sheenam monga
70f283c5d8 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-05 15:22:14 -07:00
snandini
4e1a542e44 Release 5.2.0.228T
Release 5.2.0.228T

Change-Id: I8c4666c25cbd1d0b5015f0dc600b273fbe5fc85f
CRs-Fixed: 774533
2021-04-05 08:50:39 -07:00
Karthik Kantamneni
54860cdcc8 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 08:50:39 -07:00
snandini
427d850874 Release 5.2.0.228S
Release 5.2.0.228S

Change-Id: I5080adef0df17905d41b5d30a68a6245a4273bb1
CRs-Fixed: 774533
2021-04-05 06:53:30 -07:00
Paul Zhang
41ab8a6492 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-05 06:53:30 -07:00
Tushnim Bhattacharyya
c6b86c0ac9 qcacld-3.0: Remove all WLAN_REG_CHAN_TO_BAND instances
Use wlan_reg_freq_to_band API to get band instead of
the deprecated WLAN_REG_CHAN_TO_BAND API as part of
regulatory cleanup effort.

Change-Id: Id3028ecba15608c6bd48dff1ed5d5a8ef15cdab4
CRs-Fixed: 2898140
2021-04-05 06:53:26 -07:00
snandini
42db4775bd Release 5.2.0.228R
Release 5.2.0.228R

Change-Id: Ic38b86f05a74fec6e6e5adb87fb299125bf8fa05
CRs-Fixed: 774533
2021-04-05 04:45:15 -07:00
Rakesh Pillai
2d815e7b97 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-05 04:45:15 -07:00
Nirav Shah
3a672d5526 qcacld-3.0: set nan_separate_iface_support flag in FTM mode
Set nan_separate_iface_support flag in FTM mode to avoid
create NAN vdev in FTM mode. This helps in FTM mode test cases
where max supported vdevs are used.

Change-Id: Ia628655a87505db787043ef29dd18d259052b521
CRs-Fixed: 2888703
2021-04-05 04:45:10 -07:00
snandini
51702b03e8 Release 5.2.0.228Q
Release 5.2.0.228Q

Change-Id: Iaf1cbb0f7a5f67d0a1fb640e2cfa3209908b926e
CRs-Fixed: 774533
2021-04-02 22:30:49 -07:00
Gururaj Pandurangi
21cec91ea2 qcacld-3.0: Fix tx power calculation
Fix the TPE IE population for SAP. The total power and PSD power were
swapped. Fix the TPC power calculation logic for non-PSD case when
TPE IE is present.

Change-Id: I0fb9b9318d1b5a3e1c8071714b7e3f6129828c92
CRs-Fixed: 2910658
2021-04-02 22:30:49 -07:00
snandini
e2e98f3ae0 Release 5.2.0.228P
Release 5.2.0.228P

Change-Id: Idd21ca67ffb2733d4b91e607653cecbe7952267e
CRs-Fixed: 774533
2021-04-02 15:03:10 -07:00
Kiran Kumar Lokere
c702414dd6 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-02 15:03:09 -07:00
snandini
68c8c1a7c2 Release 5.2.0.228O
Release 5.2.0.228O

Change-Id: Iaaa32d50fe0eb6ee77980d44dc3fb2c9b1abbf42
CRs-Fixed: 774533
2021-04-01 20:34:02 -07:00
Vevek Venkatesan
42c0970be1 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-01 20:34:02 -07:00
Vevek Venkatesan
f78f8a32dd 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-01 20:33:57 -07:00
snandini
53b3c4f745 Release 5.2.0.228N
Release 5.2.0.228N

Change-Id: If2169eef01c326dba078b1889a774c657b7f746e
CRs-Fixed: 774533
2021-04-01 18:20:13 -07:00
Rajeev Kumar
e9e67c4a8d 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-01 18:20:13 -07:00
snandini
14b9bb67ea Release 5.2.0.228M
Release 5.2.0.228M

Change-Id: Iba0a9b3146df65a9de11d2f53c34d32bc357dd66
CRs-Fixed: 774533
2021-04-01 16:23:22 -07:00
Jingxiang Ge
fd681878a7 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-01 16:23:22 -07:00
snandini
b987aa82b0 Release 5.2.0.228L
Release 5.2.0.228L

Change-Id: I118381114526eaf762a524bc0963844b2fc5806f
CRs-Fixed: 774533
2021-04-01 11:00:56 -07:00
Utkarsh Bhatnagar
f469d5b928 qcacld-3.0: Add connection record info in connection manager code
Add connection record info in connection manager code.

Change-Id: Idf61755eeaad5990223895b66487a08fc69bdfc3
CRs-Fixed: 2913983
2021-04-01 11:00:56 -07:00
Jyoti Kumari
36b13ee533 qcacld-3.0: Update crypto type properly during lim join req
The crypto type does not get populated properly from
csr_roam_prepare_bss_config() to lim_process_sme_join_req(). This
makes auth type to be picked as 0 (open) in lim even in SAE
connection and AP rejects the association with reason
INVALID_AUTH_ALG as SAE authentication is expected.

Invoke lim_set_privacy() from lim_process_sme_join_req() to
update all required parameters.

Change-Id: I1c7a5d11b4f4255fba88597a6c57ae2a009b94f9
CRs-Fixed: 2906991
2021-04-01 11:00:50 -07:00
snandini
cfd42f51b2 Release 5.2.0.228K
Release 5.2.0.228K

Change-Id: I72d67da665c4aa25e015397332da9239eed90805
CRs-Fixed: 774533
2021-04-01 08:11:58 -07:00
Utkarsh Bhatnagar
302e1f68b9 qcacld-3.0: Move unused code under CM disable macro
Move unused code under CM disable macro.

Change-Id: Icee35a07a0275b218c453502f503f063dbfec782
CRs-Fixed: 2913566
2021-04-01 08:11:58 -07:00
snandini
59d8ec74dc Release 5.2.0.228J
Release 5.2.0.228J

Change-Id: Ife95526143b5fbdf8ebb7a445487cf5dc6434a2d
CRs-Fixed: 774533
2021-04-01 03:23:03 -07:00
Lin Bai
a9789c4738 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 03:23:03 -07:00
snandini
280898579b Release 5.2.0.228I
Release 5.2.0.228I

Change-Id: I00795750a43883a9215117e0a589ac32b5189346
CRs-Fixed: 774533
2021-03-31 23:10:32 -07:00
Lincoln Tran
f2ab28004f 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-03-31 23:10:32 -07:00
snandini
cd52d811e5 Release 5.2.0.228H
Release 5.2.0.228H

Change-Id: I6455690e1781f21193f661c1fd3f3d6646f515ea
CRs-Fixed: 774533
2021-03-31 21:10:06 -07:00
Jeff Johnson
a2f607aa0b qcacld-3.0: Use $(call symlink-file) to create symlinks
Currently Android.mk uses $(shell) to create symlinks. Due to the way
this is used these commands will run for every build, even if the
symlinks are already present. Per the Hermetic Build feature we should
not execute any unnecessary commands, especially for incremental
builds where no changes are present from the prior build. Therefore
change the symlink logic to use the Android symlink-file rule-based
mechanism.

Change-Id: I47b9de34eec0faa193263765a0a86befb5e92ced
CRs-Fixed: 2907684
2021-03-31 21:10:06 -07:00
snandini
230d9be5a6 Release 5.2.0.228G
Release 5.2.0.228G

Change-Id: I162e10956985ed84fec20fb03403928e1eb53e45
CRs-Fixed: 774533
2021-03-31 17:11:55 -07:00
sheenam monga
f8314f95bc 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-03-31 17:11:55 -07:00
snandini
57dfe04891 Release 5.2.0.228F
Release 5.2.0.228F

Change-Id: I7dc8b78c3205e6920b7f15c55075925870afef78
CRs-Fixed: 774533
2021-03-31 14:14:31 -07:00
Lincoln Tran
71708059d8 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-03-31 14:14:31 -07:00
snandini
256010de20 Release 5.2.0.228E
Release 5.2.0.228E

Change-Id: I0f2266aa69ed55c215212314c0573d95f594b8fc
CRs-Fixed: 774533
2021-03-31 06:04:49 -07:00
Aditya Kodukula
d4cad42cac qcacld-3.0: Remove INI parameter etsi13_srd_chan_in_master_mode
As part of WiFi ini clean-up FR, the ini parameter
etsi13_srd_chan_in_master_mode, is identified as an obsolete. Hence,
it can be deprecated and use its default value for the config
CFG_ETSI_SRD_CHAN_IN_MASTER_MODE.

Change-Id: Ic695e36e9b4fc9952cc405d1345b4a6a7d543dad
CRs-Fixed: 2896031
2021-03-31 06:04:48 -07:00