Графік комітів

22849 Коміти

Автор SHA1 Повідомлення Дата
Vulupala Shashank Reddy
13d111a33a qcacld-3.0: Fix compilation error because of unused variable
Fix compilation error due to unused variable tx_retry_cnt
in packet capture.

Change-Id: I9df7ae71723390fb6e1f58495efbb8bdfe42edf4
CRs-Fixed: 2942168
2021-05-10 17:56:37 -07:00
Madan Koyyalamudi
eaa8813895 Release 5.2.0.233A
Release 5.2.0.233A

Change-Id: I13d5814e1a003a27767e9462690ddbed83246931
CRs-Fixed: 774533
2021-05-10 14:47:48 -07:00
Abhishek Singh
39455350a3 qcacld-3.0: Add self reassoc and Hw mode change logic for LFR2
Add self reassoc and Hw mode change logic for LFR2.

Change-Id: I2c48f0d36d541df58b6d6c2448bfe526b60df142
CRs-Fixed: 2941794
2021-05-10 14:47:48 -07:00
Madan Koyyalamudi
2b27164e0b Release 5.2.0.233
Release 5.2.0.233

Change-Id: I8bf7ad8f736cee1241575e667c7abead64c4e072
CRs-Fixed: 774533
2021-05-10 12:44:39 -07:00
Guisen Yang
ccbb3118e6 qcacld-3.0: Disable obss scan before suspend
When obss scan is enabled, FW will trigger scan periodically by
a timer. If a scan was triggered, FW need to access host memory
for data transfer. Occasionally, suspend may happen during one
scan, then FW is unable to access host memory and fw will crash.
So disable the obss scan before suspend.

Change-Id: I131258b3c975cc7fcf3931f4b1fc1e1a649383ef
CRs-Fixed: 2904237
2021-05-10 12:44:38 -07:00
Madan Koyyalamudi
8a656a6d50 Release 5.2.0.232Z
Release 5.2.0.232Z

Change-Id: I6a0d1651d24b3177afc1386b31fb633738c531ba
CRs-Fixed: 774533
2021-05-10 09:02:55 -07:00
Utkarsh Bhatnagar
c7e32c7021 qcacld-3.0: Enable TDLS 11AX only if supported by FW
Don't fill the 11ax capabilities if FW doesn't support
TDLS 11AX capability.

Change-Id: I267ccaa439bb3cf17d27493172b4f324d112724b
CRs-Fixed: 2925250
2021-05-10 09:02:55 -07:00
Karthik Kantamneni
5f7a749e92 qcacld-3.0: Enable TX HW descriptor history support
Enable TX HW descriptor history support for Lithium targets

Change-Id: I84c079cb28f0e320de5378291a21263b8417372f
CRs-Fixed: 2934910
2021-05-10 09:02:51 -07:00
Madan Koyyalamudi
75647e4a8f Release 5.2.0.232Y
Release 5.2.0.232Y

Change-Id: Id3a861f203b3aa1481d601fb9717134d9b84cc67
CRs-Fixed: 774533
2021-05-10 02:05:23 -07:00
Liangwei Dong
1ad0172d7e qcacld-3.0: Fix LTE unsafe channel switching failure of SAP
At present LTE unsafe channel switch and DCS is using
hdd_switch_sap_channel to switch channel of SAP.
hdd_switch_sap_channel has no bw setting parameters and just
use the original bw of SAP - ch_width_orig. The ch_width_orig
(80Mhz) may not be applicable if SAP is channel switching from
5G 80Mhz to 2G. Use the new API wlan_get_ap_prefer_conc_ch_params
to override the bw to appropriate value for the new channel.

Change-Id: I9ab6c92a0534517c524bd56b0c3087d7f75f6368
CRs-Fixed: 2939654
2021-05-10 02:05:23 -07:00
Surabhi Vishnoi
63465be34e qcacld-3.0: Reset the value of static rssi_comb to zero
Reset the value of static variable rssi_comb to zero when
last mpdu of ppdu is received in packet capture mode.

Change-Id: Ida76dfb9c98a8e2718844f890e0303802db5bbed
CRs-Fixed: 2940871
2021-05-10 02:05:18 -07:00
Surabhi Vishnoi
3f6f415064 qcacld-3.0: Add support for TSO frames in packet capture mode
Currently, TSO frames are not handled in packet capture mode.
Add support to handle TSO frames.

Change-Id: Ib901defcd369b01a33c87ca888ad80fe5fd086c7
CRs-Fixed: 2932138
2021-05-10 02:05:13 -07:00
Madan Koyyalamudi
a7f36cd4c4 Release 5.2.0.232X
Release 5.2.0.232X

Change-Id: I2c7a5f8a4f35d92f51949053f9a2d7ba5ee7e3e0
CRs-Fixed: 774533
2021-05-08 17:43:55 -07:00
Pragaspathi Thilagaraj
6e08095ff9 qcacld-3.0: Send update pmk cmd only if set/del pmksa is successful
The WMI_PDEV_UPDATE_PMK_CACHE_CMDID command is sent even if the
delete/set pmksa command fails due to same entry with same pmk
already exists. This can cause invalid pmk
entries to be updated in the Fw pmk table and also the host/fw
pmksa table goes out of sync.

To avoid this, send the WMI_PDEV_UPDATE_PMK_CACHE_CMDID command
only if set pmksa/del pmksa is successful at crypto

Change-Id: I080ebd9f6ca11bac216e6e8c62ef6060f0adef67
CRs-Fixed: 2937175
2021-05-08 17:43:54 -07:00
Madan Koyyalamudi
6f0ccd1f37 Release 5.2.0.232W
Release 5.2.0.232W

Change-Id: I4c7fb44df30badee468d56a20d86091940c60d49
CRs-Fixed: 774533
2021-05-07 22:53:43 -07:00
Gururaj Pandurangi
8d62ca99ce qcacld-3.0: Avoid obj mgr logging on console for MCC
Avoid obj mgr logging of get ref API print on console
for MCC as it leads to excessive logging and assert.

Change-Id: I75fb9381a7c122f4d7701888da35c7e38836250e
CRs-Fixed: 2941196
2021-05-07 22:53:43 -07:00
Lincoln Tran
1f2a49ed00 qcacld-3.0: Send band correct TX BF caps
In 6G 160Mhz case, beamforming values are not being sent correctly
because the HE capability is populated from the minimum between bands.
Since FW is advertising the 2G capabilities as a lower value, these are
taking effect. Update these values from the correct band.

Change-Id: I0a0bc14860487f104e7b872894f1eb939c06a613
CRs-fixed: 2939702
2021-05-07 22:53:39 -07:00
Madan Koyyalamudi
6faa55f39d Release 5.2.0.232V
Release 5.2.0.232V

Change-Id: I60a61f0d729809577f43b225c7adca858c895255
CRs-Fixed: 774533
2021-05-07 18:55:27 -07:00
Pragaspathi Thilagaraj
77ee19f896 qcacld-3.0: Fill default CFR NSS/BW values during start capture
Currently if the userspace doesn't send the NSS/BW values, then
the filter_set_valid_mask flag is not set in the
WMI_CFR_CAPTURE_FILTER_CMDID command. So the target doesn't
configure the BW and NSS filter in HW leading to frames getting
filtered out.

Fill default CFR capture NSS and BW values during start
capture.

Change-Id: I46004aa38c09dec8995fff84a3e699581675221b
CRs-Fixed: 2932529
2021-05-07 11:42:56 -07:00
Madan Koyyalamudi
5356180fa2 Release 5.2.0.232U
Release 5.2.0.232U

Change-Id: I6d1a964371e1cc4714934eed0c6a7639502551eb
CRs-Fixed: 774533
2021-05-07 07:17:56 -07:00
Surabhi Vishnoi
911ffbd52f qcacld-3.0: Register for mgmt control frames in pkt capture mode
Register for management control frames with the mgmt txrx
component in packet capture mode.

Change-Id: Ibaa20e00753cdeb6a15a79bd458166b47652cdb5
CRs-Fixed: 2932144
2021-05-07 07:17:56 -07:00
Madan Koyyalamudi
83ef88e57f Release 5.2.0.232T
Release 5.2.0.232T

Change-Id: Ied34d14abb0ca7c2647f850fa34f86b014a7a552
CRs-Fixed: 774533
2021-05-07 05:05:01 -07:00
Utkarsh Bhatnagar
e649bde5af qcacld-3.0: Add ini to configure BLE scan policy
Add gConfigBleScanCoexPolicy which can be used to
control performance of ble scan case.
’0’ to place more emphasis on BLE Scan results
‘1’ to place more emphasis on WLAN performance

Change-Id: I46c735d8695523d14f6372bc5e47d1d1f51589ae
CRs-Fixed: 2935051
2021-05-07 05:05:01 -07:00
Madan Koyyalamudi
b081b0101f Release 5.2.0.232S
Release 5.2.0.232S

Change-Id: I92bc4045d3f02860a196ce58ffab2d6eba590f0b
CRs-Fixed: 774533
2021-05-07 01:56:27 -07:00
Jia Ding
96a5992852 qcacld-3.0: Add 320MHz support for SAP module
As part of 11BE 320MHz bandwidth support, add 320MHz support for
SAP module, including 320MHz ACS support.

Change-Id: If26d9e62b16bbecbb1ea10c70f42e9a8464a70c7
CRs-Fixed: 2935873
2021-05-07 01:56:26 -07:00
Madan Koyyalamudi
ecc86fe2c6 Release 5.2.0.232R
Release 5.2.0.232R

Change-Id: I81c03515d9e50c382c1543a635a9634e6457a03b
CRs-Fixed: 774533
2021-05-06 22:52:30 -07:00
Jia Ding
49d869da28 qcacld-3.0: Get max supported EHT bandwidth in SME
As part of 320MHz bandwidth support for 11BE, define an API
to get max supported EHT bandwidth in SME, which in turn gets
max BW from WMA layer.

Change-Id: Ifae397ec38cd89758215a9d09fe58a4d7afd22f4
CRs-Fixed: 2935861
2021-05-06 22:52:29 -07:00
Madan Koyyalamudi
e21d97a484 Release 5.2.0.232Q
Release 5.2.0.232Q

Change-Id: I1e8c04ab254b7af050dc1bd685fcb9d39f050321
CRs-Fixed: 774533
2021-05-06 20:53:01 -07:00
Lincoln Tran
5ccffc5260 qcacld-3.0: Send 6G HE caps to userspace
New checks have been added in userspace to verify the 6GHz HE
capabilities before allowing the connection. These capabilities
are not currently being shared by host. Add logic to send the
6GHz HE capabilities to userspace.
Also, add APIs to get capabilities from MLME component.

Change-Id: I3d2bbe0d87be6094b6fc74ce01d0e418873cbc6f
CRs-fixed: 2931130
2021-05-06 20:53:00 -07:00
Madan Koyyalamudi
1c084696a6 Release 5.2.0.232P
Release 5.2.0.232P

Change-Id: I39c071b1e2e70bf0c01c2b4491bbf0296ac54f3a
CRs-Fixed: 774533
2021-05-06 16:56:35 -07:00
Amruta Kulkarni
7c43640fdc qcacld-3.0: Allocate separate memory for set pmksa
In roam sync handling, pmksa memory is freed right after
set pmka entry is updated in crypto priv params instead
allocate separate buffer for crypto.

Change-Id: I337efcb29d2233b016f93cae7f4f23d3203786a6
CRs-Fixed: 2931162
2021-05-06 16:56:35 -07:00
Madan Koyyalamudi
a65a114e24 Release 5.2.0.232O
Release 5.2.0.232O

Change-Id: I334a0d944dbc030b1c0c93100af19873b16d593e
CRs-Fixed: 774533
2021-05-06 13:49:45 -07:00
Utkarsh Bhatnagar
cd22a0f327 qcacld-3.0: Add Reassoc req handling code for connection manager
Add Reassoc req handling code for connection manager.

Change-Id: I2735642df3132738993e801acdb6c9dcba1ac80f
CRs-Fixed: 2939872
2021-05-06 13:49:44 -07:00
Vevek Venkatesan
1822c0e153 qcacld-3.0: add Tx desc history in non-critical prealloc memory
Add the Tx desc history buffers into non-critical category of
prealloc memory.

Change-Id: I9e9b466a8e836cbc02ff7754e545b99b984cb02d
CRs-Fixed: 2936445
2021-05-06 13:49:40 -07:00
Vevek Venkatesan
99c942c15d qcacld-3.0: enable Tx descriptor history in Tx and comp rings
Enable the history support to log Tx descriptors programmed
in Tx and completion HW rings.

Change-Id: I5ce308354714da78baa05500bc73e1a9ec91b958
CRs-Fixed: 2935363
2021-05-06 13:49:36 -07:00
Madan Koyyalamudi
5dc2d6dafb Release 5.2.0.232N
Release 5.2.0.232N

Change-Id: I13840b9ba6e3818bdd7b8bda626c9d4d23dc503d
CRs-Fixed: 774533
2021-05-06 10:44:10 -07:00
Srinivas Dasari
ed3a67f8a9 qcacld-3.0: Stop opportunistic timer for NAN cmds in HL platforms
Opportunistic timer gets triggered as soon as a DBS use case
is completed and hw_mode would be set to SMM when the
timer(5 seconds) expires.
Below is an example scenario,
1. DBS is enabled to support STA on 5GHz + SAP on 2.4GHz on
   a Helium device.
2. SAP is disabled(to enable NAN as NAN+SAP is not supported on
   HL platforms)
3. Opportunistic timer gets triggered with a timeout of 5 seconds
   as DBS is not needed anymore.
4. Once the timer expires, WMI_PDEV_SET_HW_MODE_CMDID command
   would be sent to firmware to set the hw_mode to SMM.

But if framework enables NAN immediately after disabling SAP,
firmware can't allow it as NAN is not supported in DBS mode in
Helium platforms. Thereby firmware either rejects the NAN enable
or defer it till set_hw_mode command is received(which introduces
a delay of 5 seconds as host sends it after timer expiry).

So, stop the timer and complete corresponding action when a NAN
command is received from framework to avoid this failure/delay.

Change-Id: I50521c0dd5f2314034957a0f65898c737cfe7e2e
CRs-Fixed: 2937407
2021-05-06 10:44:09 -07:00
Yu Tian
99ded622dc qcacld-3.0: Set HIF PM link state on in RTPM suspend failure flow
HIF PM link state is used to indicate bus is alive or not. This
indicates RING HP/TP updating directly or using async method.In
RTPM suspend failure flow, CLD reject RTPM suspent request, but
state is not resumed correctly.

Change-Id: I3b96dc1fb34e2810d721e1fcb4db609a3d1d684d
CRs-Fixed: 2919930
2021-05-06 10:44:05 -07:00
Madan Koyyalamudi
653fb55af8 Release 5.2.0.232M
Release 5.2.0.232M

Change-Id: Ia0e6283cb914289f27c40549e20b22afb4205824
CRs-Fixed: 774533
2021-05-06 08:32:53 -07:00
Utkarsh Bhatnagar
e72f65a18d qcacld-3.0: Process country and TPE IE for connection mgr
Change I57acca2257a263225d9bafb0f94e195a99224a60 and
I7d247ae9fc83d7b578b01ec664247c807f7834fc add code in the non
connection manaeger part of the code which is not used now.

Thus move the logic in LIM for connection manager.

Change-Id: Iaa7c31ca9deb3dae9af1aa0161f0177b1b6d9f93
CRs-Fixed: 2939766
2021-05-06 08:32:53 -07:00
Surabhi Vishnoi
113d7c1019 qcacld-3.0: Set retry flag in frame ctrl in tx data pkts
If the retry count is more than zero then set the retry flag in
frame control of tx data packets in packet capture mode.

Change-Id: Ie1ecfc30c30946d97c92ee2612c825f8d3539f25
CRs-Fixed: 2932130
2021-05-06 08:32:48 -07:00
Liangwei Dong
9a7ab6fe1d qcacld-3.0: Refine SAP force SCC target channel bandwdith selection
Merge the bandwidth selection of the two API
wlansap_get_csa_chanwidth_from_phymode &
wlan_sap_get_concurrent.
Update 5G Force SCC target Max BW selection for dbs hw:
1. Max BW 80Mhz if sta_sap_scc_on_dfs_chan = 1 and Single SAP
2. Max BW 80Mhz if sta_sap_scc_on_dfs_chan = 0 and STA+SAP SCC
3. other case use User configured BW

The above Max BW value will be limited by SAP user configured
BW at the end.

Change-Id: I1b165d1411288ca6845f90103adbf8bbfc34f67d
CRs-Fixed: 2925750
2021-05-06 08:32:44 -07:00
Surabhi Vishnoi
5b633bab5e qcacld-3.0: Fix retry count in tx data packets in packet capture mode
Transmit count received in tx completion status includes the success
transmission also, so retry count will be one less than transmit
count.

Change-Id: I81a06d4800b2f1015e618938229b7d7abfe5ed2e
CRs-Fixed: 2932141
2021-05-06 08:32:39 -07:00
Madan Koyyalamudi
f5680d45c8 Release 5.2.0.232L
Release 5.2.0.232L

Change-Id: I351fd44249d805d9f4bbf2eb4e61fba4108227b6
CRs-Fixed: 774533
2021-05-06 06:23:38 -07:00
Ananya Gupta
64cfae78e5 qcacld-3.0: Enable IPA when loaded as module
Currently, module 'm' is converted to 'y' in QGKI when
compiling. In Waipio, GKI2 is present in which 'm'
is not being converted and hence IPA_OFFLOAD is not enabled.
To fix this, checking if CONFIG_IPA3 is either set to y or m
and then enabling CONFIG_IPA_OFFLOAD.
From Kernel 5.10, few IPA functions are depreciated for which
putting the depreciated functions under kernel check condition.

Change-Id: Iba3735692267130b76a8eaaaeeb53c263f8f0ddf
CRs-Fixed: 2921600
2021-05-06 06:23:38 -07:00
Surabhi Vishnoi
577903520f qcacld-3.0: Fix nss value in rx data packets in packet capture mode
Currently, the value of the nss is filled wrong in radiotap
header of rx data packets received in packet capture mode.
Fix the nss value in rx status in packet capture mode.

Change-Id: I15ceb16869aa15a2191f25feb3ef56625435fe4c
CRs-Fixed: 2932135
2021-05-06 06:23:22 -07:00
Jia Ding
3644001a81 qcacld-3.0: Add 320MHz support in WMA layer
As part of 320MHz bandwidth support for 11BE, add 320MHz bandwidth
in WMA layer, where in particular set bw_320 to 1 in wma_send_peer_assoc
and populate ch_width to 320MHz in wma_update_channel_list.

Change-Id: I61793add8d86b0557bd4eed78233860e6ade1c18
CRs-Fixed: 2935851
2021-05-06 06:23:17 -07:00
Madan Koyyalamudi
d846a3f774 Release 5.2.0.232K
Release 5.2.0.232K

Change-Id: If4fe0302cb9dfe7fec4ee9d1ad0913509e173214
CRs-Fixed: 774533
2021-05-06 03:31:00 -07:00
lihual
5a8e94dad0 qcacld-3.0: Restart roam for LFR2 when there is no candidate
When the AP channel is changed, fw reports a suitable AP.
But it's skipped by host as it has same bssid as the one
currently associated. The same process repeats continually,
which result in fail to reconnect with the AP. To avoid this,
send BMISS indication to upper layer and restart roam.

Change-Id: Idfcb69f81ce72a4ab7ef0c105f3af40cb92c53d5
CRs-Fixed: 2913663
2021-05-06 03:31:00 -07:00
lihual
00d622448a qcacld-3.0: Fail to disable mcs12/13 via ini in SAP mode
In sap mode, he_mcs_12_13_map will leverage peer station's
capability in function lim_add_he_cap(), which result in
failure in disabling mcs12/13 via ini he_mcs_12_13_support
when peer sta take qcn IE in assoc req frame. To address this,
we should take intersection of fw cap for mcs12/13, which
has already done in function lim_intersect_sta_he_caps.
So don't overwrite he_mcs_12_13_map in lim_add_he_cap().

Change-Id: Ia8c1febbc0a6487140b3d2e9b1b5dfed46226098
CRs-Fixed: 2919083
2021-05-06 03:30:56 -07:00