Commit graph

21,399 commits

Author SHA1 Message Date
Vulupala Shashank Reddy
dbc0189477 qcacld-3.0: Process Tx data packet for pkt capture mode
Subscribe for Tx data wdi event and process Tx data packets
and post into mon thread for packet capture mode

Change-Id: Id4c231ce8f32c45f579289b37cb810581c6ab31b
CRs-Fixed: 2845593
2021-01-11 00:47:50 -08:00
snandini
be82a83aab Release 2.0.8.7U
Release 2.0.8.7U

Change-Id: I79f714f6549182247c11d3d1e863070b89c4cf8f
CRs-Fixed: 774533
2021-01-10 22:43:37 -08:00
Liangwei Dong
2d9b7778d6 qcacld-3.0: acquire lock before update connection list
Acquire connection list lock in policy mgr before update the
entry. The "conn_index" maybe changed for a connection entry
if other connection is up or down.
Fix by acquire connection to protect the whole "update" operation.

Change-Id: I91e82e74884ef32e83e0c4105e88bafe8d99db3d
CRs-Fixed: 2848209
2021-01-11 10:09:42 +08:00
snandini
d542b5d6ed Release 2.0.8.7T
Release 2.0.8.7T

Change-Id: I097f72aad5f6e079fe7a1a6fb1f259eda291fa2c
CRs-Fixed: 774533
2021-01-10 07:13:46 -08:00
Rajasekaran Kalidoss
3798975a1d qcacld-3.0: Configure TWT SAP PDEV and SAP STA Count
Configure TWT SAP PDEV count using CONFIG_WLAN_TWT_SAP_PDEV_COUNT
and SAP STA count CONFIG_WLAN_TWT_SAP_STA_COUNT for QCA6490

Change-Id: I74ef054d9cb64ccf66d7e1e788a8cc75aec70cb9
CRs-Fixed: 2843660
2021-01-10 07:13:45 -08:00
snandini
26e812d98f Release 2.0.8.7S
Release 2.0.8.7S

Change-Id: I3d8fbfe45b5392bff622d3e2f55c9f81db94217c
CRs-Fixed: 774533
2021-01-09 17:19:32 -08:00
Vevek Venkatesan
90a51a157e qcacld-3.0: sync rtpm suspend resume only for CE wake irq type
In moselle, the runtime suspend and wow resume sync logic has
been added without any condition, since hastings is doing APPS
side PCI bus suspend which cannot be reverted on suspend failure,
so doing this sync logic only if wake irq type is CE interrupt.

Change-Id: I07dc5a99d0661fe1ef81e7a46e7053244edf8eb6
CRs-Fixed: 2851261
2021-01-10 00:30:50 +05:30
snandini
e3cfbe8afe Release 2.0.8.7R
Release 2.0.8.7R

Change-Id: Iec2f7fc22ce84c4e47ebc0258db9762fca4ad5f0
CRs-Fixed: 774533
2021-01-08 23:22:44 -08:00
Jinwei Chen
12afdcda9f qcacld-3.0: enable macro for monitor mode rssi conversion
enable DP_MON_RSSI_IN_DBM macro for monitor mode rssi
conversion.

CRs-Fixed: 2848120
Change-Id: Idd54f8658611a766ade17700b38904c90d1d4241
2021-01-08 15:13:51 -08:00
snandini
9c8bb987f2 Release 2.0.8.7Q
Release 2.0.8.7Q

Change-Id: I80c99d3689e9ee90ea6199174120ecffe117fee0
CRs-Fixed: 774533
2021-01-08 08:58:01 -08:00
Yeshwanth Sriram Guntuka
94fd18736f qcacld-3.0: Enable PCI link status sanity for Lithium
Enable PCI link status sanity for Lithium.

Change-Id: I767a467a4b70435037f5ccce9e740f95f8b6112a
CRs-Fixed: 2821831
2021-01-08 08:58:00 -08:00
snandini
45439173de Release 2.0.8.7P
Release 2.0.8.7P

Change-Id: I6f0113efc2f9ff51c82ca5ef90a560b4a431c75a
CRs-Fixed: 774533
2021-01-08 02:46:22 -08:00
Manikanta Pubbisetty
0d8c33d51c qcacld-3.0: avoid FSE cache flush messages during runtime suspend
When runtime power management is enabled, until the system is fully
resumed, we do not post any message to CE, instead they will be queued
in HTC. Once the device is fully resumed, all HTT messages in the queues
will be downloaded to CE at once. In some corner cases, it is found that
too many FSE caches flush messages getting queued during the runtime
resume; once the device is fully resumed, all these would be downloaded
to the FW/HW at once causing unintended crashes.

Do not post FSE cache flush messages when the device is resuming from
runtime suspend to avoid this problem.

Change-Id: Iaa7a25e6f84ef4ac9c3cdf6a5c052538b142ea3f
CRs-Fixed: 2839431
2021-01-08 02:46:22 -08:00
Bapiraju Alla
8818ab5102 qcacld-3.0: Don't Check for concurrency if pre_cac adapter exists
Currently, host driver is checking for concurrency while handling
the pre_cac request. pre_cac adapter won't be deleted until SAP is
stopped. As a result the second pre cac request for the same SAP
will be dropped due to this concurrency check.

To avoid this, Don't check for pre cac concurrency if the pre cac
adapter is already exists.

Change-Id: I780c6310cf819da1a2f5c7c93590ccb1b544e7a4
CRs-Fixed: 2848736
2021-01-08 02:46:17 -08:00
snandini
eacb3b9a83 Release 2.0.8.7O
Release 2.0.8.7O

Change-Id: Iba12a72aaf670126cbf7734a36bf9ddf7661f016
CRs-Fixed: 774533
2021-01-07 22:41:39 -08:00
Arun Kumar Khandavalli
add66eaa8c qcacld-3.0: Release the vdev reference in pmo
In pmo_core_configure_dynamic_wake_events vdev reference is acquired
and its not released leading to the reference leak, leading to
vdev destroy timeout.

Release the vdev reference to resolve the issue.

Change-Id: Idd3bcb366f211e037ede278c91d6bcefd4165651
CRs-Fixed: 2850076
2021-01-07 22:41:39 -08:00
snandini
58d5cfdd94 Release 2.0.8.7N
Release 2.0.8.7N

Change-Id: I9d0bfefddbfa42acafb782df141499255c8ef942
CRs-Fixed: 774533
2021-01-07 14:00:34 -08:00
Liangwei Dong
2c9648d470 qcacld-3.0: Avoid unnecessary AP Start evt
Event WLAN_IF_MGR_EV_AP_START_BSS delivery will trigger roam disable/
enable. That will involve lots of wmi command to set roaming parameters
to firmware. When the AP is "started" state, the
wlan_hdd_cfg80211_start_bss will be called to update AP (GO) IE and
wlansap_start_bss will be skipped. In this case, we don't
need to deliver WLAN_IF_MGR_EV_AP_START_BSS event.

Change-Id: I801fd7a5eaf7b97b2c74930c9e4088db83c86a09
CRs-Fixed: 2847224
2021-01-07 14:00:34 -08:00
snandini
efa29f514c Release 2.0.8.7M
Release 2.0.8.7M

Change-Id: I9504d81b7f1214fdfb95a396f4266c93b8b14af7
CRs-Fixed: 774533
2021-01-07 11:54:52 -08:00
Yeshwanth Sriram Guntuka
a62a5a637c qcacld-3.0: Set nud_state to PROBE on NUD_FAILED event post roaming
In the issue scenario, roaming is triggered due to NUD_FAILED
event and nud state is set to NONE once roaming is completed.
NUD_FAILED events could be received without any NUD_PROBE
INCOMPLETE events post this roaming and these nud failures
are not honored due to which further roaming due to NUD_FAILURE
won't be triggered.

Fix is to set nud state to PROBE explicity on receiving
NUD_FAILED event post roaming.

Change-Id: Ib34b82f478263eb9664112a25f2d1f8bd858f5dc
CRs-Fixed: 2837825
2021-01-07 11:54:51 -08:00
snandini
dcc97e4d06 Release 2.0.8.7L
Release 2.0.8.7L

Change-Id: Id544d6e8c28094bcc9a1b1719f07207de29f0b8f
CRs-Fixed: 774533
2021-01-07 05:49:03 -08:00
Rakesh Pillai
8a68343fc8 qcacld-3.0: Add rx ring history to pre-alloc memory
Add entries to pre-allocate memory region for
recording datapath rx ring history.

Change-Id: Iffac199c48a9638c94d8568bbc7567bf214ffcc2
CRs-Fixed: 2847548
2021-01-07 05:49:03 -08:00
snandini
f19224c5d2 Release 2.0.8.7K
Release 2.0.8.7K

Change-Id: I5c1205973ce4bd9ad9551a96e96e4c77ebed327a
CRs-Fixed: 774533
2021-01-06 06:44:47 -08:00
Abhishek Ambure
2e9056737a qcacld-3.0: Use sw_target_freq to prepare tx_power_env IE
In populate_dot11f_chan_switch_wrapper() host uses channel number to
prepare tx_power_env IE. As channel number is input to
populate_dot11f_tx_power_env(), tx_power_env IE gets wrong values of
max tx power constraints.
Hence input sw_target_freq to populate_dot11f_tx_power_env().

Change-Id: If3112f9e68bdb57cbfd3073ed25f3dcf4f9750d7
CRs-Fixed: 2842552
2021-01-06 06:44:47 -08:00
snandini
09450de002 Release 2.0.8.7J
Release 2.0.8.7J

Change-Id: I0b01a19f6c2a4d92cbcb5edb91f2a2cd4e64e5c4
CRs-Fixed: 774533
2021-01-05 21:55:48 -08:00
Jinwei Chen
f8a401631f qcacld-3.0: Fix invalid BW vote for FISA aggregation case
Currently for FISA aggregated RX frame, one skb will contain 2~16
RX msdu, if only count 1 RX msdu into stats, BW vote is not right
that even if RX T-put > 1 Gbps, wlan only vote 4(high), this can not
satisfy the vote requirement for peak T-put > 2 Gbps which should be
5(very high) which then degrade the T-put.

Fix RX packets stats correctly for aggregated RX frame.

Change-Id: Idd0cee1b68555dedad49025c03a13a929ec2af1c
CRs-Fixed: 2838667
2021-01-05 18:23:51 -08:00
snandini
a944045a04 Release 2.0.8.7I
Release 2.0.8.7I

Change-Id: I73d20d9368423667f19c3b39b0bed3556c7e8473
CRs-Fixed: 774533
2021-01-05 15:31:13 -08:00
snandini
311f0f392b qcacld-3.0: Modify IEs for 6 GHz processing
Modify IEs for 6 GHz processing.

Country IE - Make the first triplet mandatory and keep
rest of the triplets as optional as 6ghz channels are
denoted by operating class/subband sequence and the
triplet field will have details about it.

transmit_power_env IE - Rename vht_transmit_power_env to
transmit_power_env and add 3 new subfields-
Max tx_pwr_count - indicates the number of local max tx
power For X MHz fields (where X = 20, 40, 80, or 160/80+80)
minus 1 in max tx pwr field of the TPE element.
Max tx_pwr_interpret - indicates the contents of max tx power
field (local EIRP, Local EIRP PSD etc) and interpretation of
the max tx power count field.
Max tx_pwr_category - indicates a category for which max
tx powers apply. A value of 0 indicates the default category;
the interpretation of other values depends on the country.

HE Ops IE - Addition of a 3-bit subfield Regulatory info,
reg_info indicates TYPE of the 6GHZ AP that is carrying this
IE in the beacon: this would typically be SP, LPI or VLP.

Change-Id: If6fbb8a92a6f80b6bcf18906494d08ff048d68a4
CRs-Fixed: 2822657
2021-01-05 15:31:13 -08:00
snandini
850ecb375d Release 2.0.8.7H
Release 2.0.8.7H

Change-Id: I0e8ff10f2d40159d6ce50b50ff02f385c9edd528
CRs-Fixed: 774533
2021-01-05 05:37:56 -08:00
Vevek Venkatesan
4a40f3bd18 qcacld-3.0: add sync between suspend and wow resume in runtime pm
In moselle, once wow enabled there is a possibility that wow wake
interrupt can be fired from FW during runtime suspend in progress
in host, this will introduce a race between runtime suspend and
resume, so adding a synchronization between runtime suspend and
wow triggered runtime resume.

Change-Id: I19a4d70f47d5c202d0ba291c3edc8a260690f434
CRs-Fixed: 2845670
2021-01-05 05:37:56 -08:00
snandini
576ad65201 Release 2.0.8.7G
Release 2.0.8.7G

Change-Id: Ieb18a0f024363f2ee1b72cb45f5e7d9363b9ac22
CRs-Fixed: 774533
2021-01-05 01:39:43 -08:00
Ashish Kumar Dhanotiya
ba856a8978 qcacld-3.0: Update he and ht rate flags correctly
Currently driver does not update he and ht rate flags correctly
in wma as rate flags should include all the subsets of the
lower rate sets, which is not the case today and driver only
updates the higher rate flag. Because of which it leads to
invalid computation of txrate at the kernel.

To address this issue, update he and ht rate flags correctly in
wma.

change-Id: I6ec68af1f75650990384efbd61536042329665b2
CRs-Fixed: 2837245
2021-01-04 21:54:11 -08:00
snandini
ebcde93b7b Release 2.0.8.7F
Release 2.0.8.7F

Change-Id: Icfe5ebaeaba5b25d9d63865c83da0c341ad28358
CRs-Fixed: 774533
2021-01-04 01:13:27 -08:00
sheenam monga
192bf9d78d qcacld-3.0: Use CFG_BTM_ENABLE to forward BTM request frame
Enable 10th bit of CFG_BTM_ENABLE ini to forward BTM request
frame to upper layers when frame contains MBO assoc retry
attribute. when supplicant receives this MBO frame it will
use the frame info for blacklisting the AP so for the next
connection framework will avoid this AP.

Change-Id: I9a675cc01769c38ad5be26ea5fd28ada8dc03546
CRs-Fixed: 2843323
2021-01-04 01:13:26 -08:00
snandini
732c44d52b Release 2.0.8.7E
Release 2.0.8.7E

Change-Id: I3a1524a9c7217850ba82bb2bf283ad6214ae5ffc
CRs-Fixed: 774533
2021-01-03 17:33:09 -08:00
Yu Wang
28e3a2d1c0 qcacld-3.0: skip redundant update request for dual mac cfg
Dual mac configuration is static from wlan module
start to module stop, no need to update for each
adapter starting.
To reduce the time cost on starting adapter, add
a flag to indicate the status of dual mac config,
skip the update request if it's been updated.

Change-Id: I033cda08173503d133a06eca617655d1cefe4d0d
CRs-Fixed: 2839192
2021-01-03 17:33:09 -08:00
snandini
cd5a2c78fd Release 2.0.8.7D
Release 2.0.8.7D

Change-Id: I3f6eb5e2861012309be56ceb9aadf897a843d7ba
CRs-Fixed: 774533
2021-01-03 01:02:33 -08:00
Abdul Muqtadeer Ahmed
2448e874b3 qcacld-3.0: Use objmgr api to get the vdev for pmo
Currently pmo_psoc_get_vdev api just returns the vdev without
taking the vdev reference and it is caller's responsibility to
take the reference, there could be a race condition where after
getting the vdev and before getting the reference of that vdev,
some other thread may delete this vdev.

To avoid this issue use objmgr api to get the vdev for pmo.

Change-Id: I3495589e2dbbb7d8efc579a62fff1a08a92c318f
CRs-Fixed: 2771211
2021-01-03 01:02:31 -08:00
snandini
c9bb058c22 Release 2.0.8.7C
Release 2.0.8.7C

Change-Id: I18ae304fce9cedaadbd2b768d36777333fe0d8ef
CRs-Fixed: 774533
2020-12-30 23:13:19 -08:00
Rakesh Pillai
95ee442b31 qcacld-3.0: Set DMA mask during before pre-alloc
Currently the DMA mask is set as a part of hif enable
which is called after the datapath memory pre-alloc.
As a part of datapath pre-alloc even dma memory is
pre-alloced, which is attempted with a default dma
mask of 32, since no mask is set by the driver.

To fix this, set the dma mask before datapath memory
pre-allocation is done.

Change-Id: Id850cbd28e2ea88aa68779867db2cb3c9d9a7856
CRs-Fixed: 2845019
2020-12-30 23:13:19 -08:00
snandini
4ee9191317 Release 2.0.8.7B
Release 2.0.8.7B

Change-Id: Ibdd6159000361b4d5544b9f60c7cfe4deab497ce
CRs-Fixed: 774533
2020-12-30 05:49:07 -08:00
Pragaspathi Thilagaraj
662b6a1dbc qcacld-3.0: Send Roam scan mode value 0 to disable roaming
When RSO stop is sent to firmware, if reason is disconnect
or driver internally disabled roam, the Roam scan mode should
be 0, but driver is sending value as 4. This causes firmware
to have roam offload registered on 2 vdevs for targets where
simultaneous roaming is not enabled.

Pass the proper reason code to fill roam scan mode config
while sending RSO stop.

Change-Id: I0bc3674526663742cc3c3fc85076698f3dcaa197
CRs-Fixed: 2833353
2020-12-30 05:49:07 -08:00
snandini
0c938fe19c Release 2.0.8.7A
Release 2.0.8.7A

Change-Id: I428aa22793b4b8c704cdb50a8ec0eb957f5b7a7c
CRs-Fixed: 774533
2020-12-29 19:58:01 -08:00
Abhinav Kumar
cbed0d92f6 qcacld-3.0: Stop roaming while disconnection
When host receives ap capability change indication,
internal disconnection is triggered from csr without
sending stop roaming (RSO stop) to fw. So in STA+STA
scenario, after connection on 1st sta, roaming will
be enabled on 2nd sta, but since RSO stop was not sent
on 1st sta, firmware will assert as btm offload is not
disabled at the 1st STA.

Disable roaming first, followed by vdev stop/vdev down to
firmware.

Change-Id: I183b590b36ecfd81150bb59c33c4752c718c93ba
CRs-Fixed: 2798081
2020-12-29 19:58:01 -08:00
snandini
25ac5ea019 Release 2.0.8.7
Release 2.0.8.7

Change-Id: Ifd03869cf1ccc15e03b1577c778c351be3d56bb9
CRs-Fixed: 774533
2020-12-28 21:56:56 -08:00
Jinwei Chen
59cbbf640b qcacld-3.0: support fisa fse cache flushing disable/enable
FISA FSE cache flushing is not allowed after PCIe bus suspended,
add function to support FISA FSE cache flushing disable/enable.

Change-Id: I4371e2941a4d2b590fa66db8390135f2620b54a3
CRs-Fixed: 2841740
2020-12-28 18:31:34 -08:00
snandini
c929715783 Release 2.0.8.6Z
Release 2.0.8.6Z

Change-Id: I17923c47cce49b5630105a425b4f4b2f218a5e9b
CRs-Fixed: 774533
2020-12-28 03:44:51 -08:00
sheenam monga
1048d0a079 qcacld-3.0: Update documenation of CFG_BTM_ENABLE
FW considers 9th bit of CFG_BTM_ENABLE for btm query
with candidate list which is not mentioned in ini
documentation.

Change-Id: I4fefdaa464e14c350d885107a28051fa0ad309f0
CRs-Fixed: 2839587
2020-12-28 03:44:51 -08:00
snandini
7894905411 Release 2.0.8.6Y
Release 2.0.8.6Y

Change-Id: I00eaf533967ebe6e6c3d587dde484b988e256682
CRs-Fixed: 774533
2020-12-28 01:41:15 -08:00
Jianmin Zhu
6a2b3320b7 qcacld-3.0: Clear RSN CAP When set IE for WAPI connection
RSN CAP isn't needed and set when set IE for WAPI connection, if last
connection is WPA2, vdev crypto params rsn caps is set, it need to be
cleared, or RSN CAP is set for WAPI, WAPI connection may fail.

change-Id: I2120751576b0ab260077e013ef88428238e53896
CRs-Fixed: 2841012
2020-12-28 01:41:15 -08:00