Commit graph

21,895 commits

Author SHA1 Message Date
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
abhinav kumar
dc2960be8c qcacld-3.0: Configure proper default scan mode while roaming
Currently, host configures scan mode as ROAM_TRIGGER_SCAN_MODE_PARTIAL
instead of ROAM_TRIGGER_SCAN_MODE_NONE via
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID command for below roam
reasons:
WMI_ROAM_TRIGGER_REASON_BSS_LOAD
WMI_ROAM_TRIGGER_REASON_BTM
WMI_ROAM_TRIGGER_REASON_LOW_RSSI
WMI_ROAM_TRIGGER_REASON_BMISS
WMI_ROAM_TRIGGER_REASON_PER
WMI_ROAM_TRIGGER_REASON_PMK_TIMEOUT

Fix is to send proper by-default scan mode while roaming.

Change-Id: I60999c1c0f1068417aed54bcb49d16cfaed135d5
CRs-Fixed: 2907413
2021-04-01 07:27:52 -07:00
snandini
2992a0ab82 Release 2.0.8.14B
Release 2.0.8.14B

Change-Id: I15a66620fe34a36f4e7c3b24e3eb92562557e63b
CRs-Fixed: 774533
2021-04-01 03:45:30 -07:00
Yu Wang
c6d22684e7 qcacld-3.0: protect the reject ap list with mutex lock
Any operation on the reject ap list should be protected
by the mutex lock, otherwise, race condition may happen
and result in list corruption.

Change-Id: Iefe0594a62563d800e85f8f6ebd747ab46c19fcf
CRs-Fixed: 2901576
2021-04-01 03:45:30 -07:00
snandini
2bb9321aa9 Release 2.0.8.14A
Release 2.0.8.14A

Change-Id: I609990b8dd1d00aee5cdc7e8bd0f2eea38bdbdd5
CRs-Fixed: 774533
2021-03-31 13:16:22 -07:00
Yeshwanth Sriram Guntuka
7108fe3ca7 qcacld-3.0: Set system suspend/resume state in hif ctx
Set system state in hif ctx to suspend or resume on
system suspend and resume respectively.

Change-Id: If1904a4fe5c861deed1b35071be10cb8cc8d6407
CRs-Fixed: 2899520
2021-03-31 13:16:22 -07:00
snandini
10a966aa54 Release 2.0.8.14
Release 2.0.8.14

Change-Id: I3475fd6896ee4da3082fa6738ec393a5e12becfa
CRs-Fixed: 774533
2021-03-30 11:53:35 -07:00
Pragaspathi Thilagaraj
f5107588de qcacld-3.0: Populate the missing extended capabilities in SET IE
In Extended capabilities sent in assoc request, TWT capabilities
are included so 10 octets are present, but in set ie command,
only 9 octets are included.
Also the Beamformee STS <= 80Mhz capability is not populated
per band based on firmware advertised capability in the
set per band ie command, so there is mismatch in this field in
initial association and roaming.

Populate the missing bytes in IE sent via set ie command to
firmware, also update the beamformee sts capability per band.

Change-Id: I2d191cedface935970ed4f974c09c3b4c5acd477
CRs-Fixed: 2891017
2021-03-30 11:53:35 -07:00
Utkarsh Bhatnagar
3e70c71cb1 qcacld-3.0: Fix TDLS teardown issue
TDLS teardown happens in high throughput
scenario as rx pkt count increment API
"tdls_update_rx_pkt_cnt" is not called
if hdd_is_current_high_throughput API
returns TRUE. The reason for this is due
to high cpu cycles consumed by
tdls_update_rx_pkt_cnt API.
As part of fix optimize tdls_update_rx_pkt_cnt,
tdls_update_tx_pkt_cnt API's for high
throughput scenario. In high throughput
scenario mostly the use-case is to increment
the pkt counter so move that logic to
the top of the API's.

Change-Id: I4eb0da3571c45b5ee91e051e251158af15f73973
CRs-Fixed: 2888746
2021-03-30 11:53:31 -07:00
Deeksha Gupta
aa24ae5b1b qcacld-3.0: Support P2P in 6GHz mode
Currently, P2P mode is not supported in 6GHz mode

Add P2P mode in policy_mgr_is_6ghz_conc_mode_supported
API to support P2P mode in 6GHz mode as fix this.

Change-Id: I2e160641c1784dbbd592b237da6b38929f33abbe
CRs-Fixed: 2896291
2021-03-30 11:53:26 -07:00
snandini
cde4225641 Release 2.0.8.13Z
Release 2.0.8.13Z

Change-Id: I6c72a9f90c32c039c6298e78b4a883f6aaa1b3d9
CRs-Fixed: 774533
2021-03-30 04:28:07 -07:00
sheenam monga
28f9331433 qcacld-3.0: Print string format for reject ap type
Update reject ap type to string from int value while
dumping blacklisted bssid for debugging purpose.

Change-Id: I2a12949e9e46f6fad32cc54ac975dfbfbdba88ab
CRs-Fixed: 2857907
2021-03-30 04:28:07 -07:00
sheenam monga
622b4795a1 qcacld-3.0: Dump blacklist bssids
Add dump to print blacklisted bssids
with reason code and source.

Change-Id: I85734ad5aea0c8088e3f8ed2bdbb31971457942d
CRs-Fixed: 2849487
2021-03-30 04:28:02 -07:00
Pragaspathi Thilagaraj
218363cf69 qcacld-3.0: Add new ini to disable TWT in 2.4Ghz connection
Add new ini "enable_twt_24ghz" to enable/disable host triggered
TWT in 2.4Ghz connection. Check this ini value in TWT get
capability. The userspace will query the self capability before
triggering the host TWT.

Change-Id: I3544de89f438fc526f8a2554c6aeebcd25d6c415
CRs-Fixed: 2904775
2021-03-30 04:27:58 -07:00
snandini
5895af1c63 Release 2.0.8.13Y
Release 2.0.8.13Y

Change-Id: I1be6c9a764e6da8fb0d87fba18268fa3b507f3d5
CRs-Fixed: 774533
2021-03-30 02:13:48 -07:00
Utkarsh Bhatnagar
034978b624 qcacld-3.0: Fix TDLS ax throughput issue
When TDLS connection is made in 160 MHZ
for 11ax staions, the MCS rates for the
same aren't updated correctly.
Also, MCS rate can change in case the
connection between both stations is made
with AP operating in NSS 1x1, as there is
a check in lim_populate_he_mcs_set which
will disable MCS rates corresponding to
nss > 1x1.

To fix this, copy 160 MHZ mcs from the
staion parameters which gets updated in
change station. Also, use nss parameter
which is passed by lim_populate_he_mcs_set()
in the check which was used to disable mcs
rates corresponding to nss > 1x1. Thus,
peer station nss will be used to
determine whether to disable or not.

Change-Id: I23079aed3795202e6ae32583a220c1ed3227c1dd
CRs-Fixed: 2904540
2021-03-30 02:13:48 -07:00