Commit Graph

22576 Commits

Author SHA1 Message Date
Kiran Kumar Lokere
8c21a47b8d qcacld-3.0: Add RSNXE IE in beacon addtional IE buffer
Add RSNXE IE to beacon additional buffer to include it in
beacon frames.

Change-Id: Ie27f35bfe7f4a1ad291aa081e23db3b3e4444a57
CRs-Fixed: 2919168
2021-04-09 23:44:52 -07:00
snandini
af4d748ed2 Release 5.2.0.229F
Release 5.2.0.229F

Change-Id: I16b456b798b02dd30ad173df084b34ad15bf6902
CRs-Fixed: 774533
2021-04-09 20:50:27 -07:00
Abhishek Singh
e948157697 qcacld-3.0: Fix the PMK sent for 11r
As part of I418be56d452389a9f7b8d48e28f793567e81767a due to copy
paste error in cm_roam_scan_offload_fill_lfr3_config the pmk was
copied to rso_11i_info instead of rso_11r_info.

Fix this by copying pmk to rso_11r_info.

Change-Id: If4d1ea23ab4b4c43db3fac78fbfd43ad74a7e1b4
CRs-Fixed: 2920206
2021-04-09 20:50:27 -07:00
snandini
5a36a9272e Release 5.2.0.229E
Release 5.2.0.229E

Change-Id: Ia2cab23927caddae662b27f8c05610cf7b1d8186
CRs-Fixed: 774533
2021-04-09 09:50:29 -07:00
Vulupala Shashank Reddy
a8d99b9c1b qcacld-3.0: Fix data rate in mgmt rx packets in packet capture mode
Currently the rate, ofdm and cck flags are filled to support only
legacy rates.To support other rates too, fill ofdm and cck flags
based on phymode and fill rate in terms of 500 Kbps in tx status.

Change-Id: I972919ebd2cbd19a1b55af0324e481fada7f12cd
CRs-Fixed: 2917079
2021-04-09 09:50:29 -07:00
snandini
b35183b4fb Release 5.2.0.229D
Release 5.2.0.229D

Change-Id: I6d0020e9d1bafa79555a7a1959cb4800625e7b53
CRs-Fixed: 774533
2021-04-09 07:33:24 -07:00
Amruta Kulkarni
810927615f qcacld-3.0: Enable CM feature
Enable connection manager feature flag on mainline.

Change-Id: Ice2d0ac61c770066510e666c1791500f1ce8f8ba
CRs-Fixed: 2913164
2021-04-09 07:33:23 -07:00
snandini
47662a1594 Release 5.2.0.229C
Release 5.2.0.229C

Change-Id: Id65bd138b93b101c07b6bc3c87f096d6d1a111ca
CRs-Fixed: 774533
2021-04-09 02:47:12 -07:00
Srinivas Girigowda
6879ad5d67 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 02:47:12 -07:00
snandini
3f77f352f6 Release 5.2.0.229B
Release 5.2.0.229B

Change-Id: I3f8dfe54eda9547efa9092e541503c5d3ffd2ee7
CRs-Fixed: 774533
2021-04-08 14:53:34 -07:00
Bapiraju Alla
97265d9bee 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-08 14:53:34 -07:00
snandini
4f3b4c6b7b Release 5.2.0.229A
Release 5.2.0.229A

Change-Id: I2b21bb31baea4792466d4ef0d0f1d42537c2a594
CRs-Fixed: 774533
2021-04-08 12:51:38 -07:00
Bapiraju Alla
8b956c4400 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-08 12:51:38 -07:00
Yeshwanth Sriram Guntuka
e038ee2882 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-08 12:54:18 +05:30
snandini
0d75a653b1 Release 5.2.0.229
Release 5.2.0.229

Change-Id: I0c562651acb9a2d210520e8f2b5b0260fdc39bd6
CRs-Fixed: 774533
2021-04-07 21:52:00 -07:00
sheenam monga
2deb2fb93e 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-07 21:52:00 -07:00
snandini
1c3ed1b678 Release 5.2.0.228Z
Release 5.2.0.228Z

Change-Id: I6fe2c506aea5ff134030c0c1c6158608da5a10c3
CRs-Fixed: 774533
2021-04-07 19:28:59 -07:00
Pragaspathi Thilagaraj
1d6fac590c qcacld-3.0: Clear TWT context on receiving roam synch indication
The userspace doesn't expect TWT teardown or notify events after
roaming. So to clear the driver internal TWT context, for old
peer, call the mlme_init_twt_context() on roam synch complete.

Change-Id: If1e4fe2d79561885052caf8d5231d1c943f10c96
CRs-Fixed: 2912872
2021-04-07 19:28:59 -07:00
snandini
5d5383a95b Release 5.2.0.228Y
Release 5.2.0.228Y

Change-Id: I45715d9b080b548df9784d6e2c176f4675dc061a
CRs-Fixed: 774533
2021-04-07 01:21:54 -07:00
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