Commit Graph

18538 Commits

Author SHA1 Message Date
Jianmin Zhu
5b0746560d qcacld-3.0: suspend scan before scheduler thread suspended
Scan cmd still can be exist after scheduler thread is suspended
when host suspend, the scan cmd can't be removed from
serialization list by either complete or cancel any more since
both depends on scheduler thread, suspend thread blocked 30s to
wait scan cmd cleared.

Roam sync event from F/W can't be handled and Roam sync complete
can't be sent to F/W since scheduler thread suspended, then F/W
assert for roam sync cmd timeout.

After receive F/W down event, host will try SSR, but blocked by
unfinished suspend thread too.

Fix: suspend all components including scan before suspend
scheduler thread, make sure scan cmd is cleared and no new scan
is allowed any more before scheduler thread suspended.

Change-Id: I7a3badeedea018e4d92bbe8660692e42923852aa
CRs-Fixed: 2620650
2020-02-15 01:58:26 -08:00
nshrivas
15d20e9cbb Release 5.2.0.170V
Release 5.2.0.170V

Change-Id: I162f0f46d1330219a33c1578ba78bc0cd71d276b
CRs-Fixed: 774533
2020-02-15 00:31:41 -08:00
Nisha Menon
ce65875d4a qcacld-3.0: Enable MCL feature flag MAX_ALLOC_PAGE_SIZE
This feature flag is used to set the page size to 4KB
for MCL and to use the max_alloc_size config ini param
for page size in the WIN specific code.

The page size is used to allocate link descriptor pages
for the WBM idle link ring instead of the desc bank
contiguous memory allocations.

Change-Id: I9ff575efc475473654cb4b66a95285c779599b24
CRs-Fixed: 2612385
2020-02-15 00:31:41 -08:00
nshrivas
5504c32f16 Release 5.2.0.170U
Release 5.2.0.170U

Change-Id: I108418b7f552d36f205b4e968806b4ba04a5a6c9
CRs-Fixed: 774533
2020-02-14 23:08:54 -08:00
Vevek Venkatesan
6f854c03d4 qcacld-3.0: enable custom dscp-to-up map feature
Enable custom DSCP-to-UP map table feature for
Hastings targets.

Change-Id: I4936bd62c9b4f6dfc917471226811f3fb5eb04af
CRs-Fixed: 2621305
2020-02-14 23:08:54 -08:00
nshrivas
f645536c29 Release 5.2.0.170T
Release 5.2.0.170T

Change-Id: I4f6a020afa4c4961bacff4aabbd7f0752b15737a
CRs-Fixed: 774533
2020-02-14 17:52:43 -08:00
Abhishek Singh
521b203a59 qcacld-3.0: Optimize LL Stats prints
Optimize LL Stats prints.

Change-Id: Ia24ae8ca295fce64ae57ea7a5fd9381ed4458464
CRs-Fixed: 2621350
2020-02-14 17:52:43 -08:00
guangde
7501cf57a7 qcacld-3.0: Add athdiag functions for USB interface
For QCN7605 chip, FW team need athdiag tool to operate FW
information. Host driver need to pass the command and result
between athdiag tool and FW.

Change-Id: Ib3f4498ba560b2b76ec6939760535069777b972c
CRs-Fixed: 2595510
2020-02-14 17:52:29 -08:00
nshrivas
122098ee87 Release 5.2.0.170S
Release 5.2.0.170S

Change-Id: I3d0a5746c666891041da7f5b3a967b9d7896cd21
CRs-Fixed: 774533
2020-02-14 15:20:54 -08:00
Alan Chen
33628529ff qcacld-3.0: Add null check for logging PMKSA BSSID
When wlan_hdd_del_mksa_cache is not successful, it prints a failure
message with the PMKSA BSSID without checking whether it is null,
causing it to access a null pointer. Add a null check for PMKSA BSSID
using it in the log.

Change-Id: I7c2f67fe709c61d5371635950021cb8687175245
CRs-Fixed: 2621607
2020-02-14 15:20:54 -08:00
nshrivas
3aadd0315c Release 5.2.0.170R
Release 5.2.0.170R

Change-Id: I138c5a0cacc37275971a84891898209f2c71f4a8
CRs-Fixed: 774533
2020-02-14 13:34:48 -08:00
Alan Chen
a3de1a56ee qcacld-3.0: Add vdev start check before sending arp_ns stats cmd to fw
Add vdev start check such that host does not send ARP_NS stats command
to FW when vdev is already stopped.

Change-Id: I94c0b4c26db3f48c7b2de1ad3003c0f0520fa396
CRs-Fixed: 2621587
2020-02-14 13:34:48 -08:00
Srinivas Dasari
4a63e6fdbb qcacld-3.0: Move disconnect ie info to a structure
Move disconnect ie info to a structure (wlan_disconnect_info)
and use it in mlme_legacy_priv. This helps to enhance the
structure further.

Change-Id: Id16e7eeb45a3f4c2fefac297f6730baf6b9e8991
CRs-Fixed: 2621149
2020-02-14 13:34:37 -08:00
nshrivas
202317b2cd Release 5.2.0.170Q
Release 5.2.0.170Q

Change-Id: Ifc64ca4c0b5d3bd8ca9c86c81266b33bc4e62e58
CRs-Fixed: 774533
2020-02-14 12:09:30 -08:00
Abhishek Singh
a7efaea28f qcacld-3.0: Optimize PMO prints
Optimize PMO prints.

Change-Id: I0595e5b51edfe3ad0a0abb239cb53e67938d2efa
CRs-Fixed: 2621351
2020-02-14 12:09:29 -08:00
nshrivas
3c9f90ae6f Release 5.2.0.170P
Release 5.2.0.170P

Change-Id: Ia3d0a54440a46228c3cab849700453e8053e89bc
CRs-Fixed: 774533
2020-02-14 09:02:00 -08:00
Chaoli Zhou
803ea570f6 qcacld-3.0: Set pcie addr flag for IPA tx/rx ring
As for WDI2 over gsi, IPA driver adds is_txr_rn_db_pcie_addr
and is_evt_rn_db_pcie_addr in ipa_wdi_pipe_setup_info and
ipa_wdi_pipe_setup_info_smmu these two structures to check
if doorbell address is PCIe mapped address or not. So, it
need to set such flag from wlan host driver for IPA transfer
and event rings.

Change-Id: Ic71a460c6e87f5b77be737fa9a8e860ab7424e82
2020-02-14 09:02:00 -08:00
Sourav Mohapatra
eb7227cc06 qcacld-3.0: Add param to configure channel avoidance indication from FW
Currently, when WWAN channel changes, the list of WLAN channels that
needs to be avoided is given to WLAN FW. WLAN FW indicates the list
to host. Upon receiving Channel avoidance indication, host switches
the operating-channel of SAP (if any and conflicting).

When there is a frequent channel change from WWAN side, it causes
frequent SAP disconnection. To mitigate this problem, as part of
this change send the configuration to the WLAN FW which delays
the channel avoidance indication before sending it to host.

Change-Id: If67775d59b9f61d3592a5f6609d3b002899e5daf
CRs-Fixed: 2615917
2020-02-14 09:01:44 -08:00
nshrivas
de91e16e18 Release 5.2.0.170O
Release 5.2.0.170O

Change-Id: I6bee39d22adc7b826cdbbfe050ec7306a0c09e1b
CRs-Fixed: 774533
2020-02-14 04:17:45 -08:00
Ashish Kumar Dhanotiya
15d3b0d7b2 qcacld-3.0: Add support to dynamically set dwell time for 2g
Currently there is no support to dynamically set dwell time
for 2g channels.
Add support in existing command SETDWELLTIME to dynamically
configure dwell time for 2g channels.
Along with set, add support to get dwell time for 2g channels
with the existing driver command GETDWELLTIME.

Change-Id: Ifb4722ff3fdb2671e02794fc5b691b06aad98256
CRs-Fixed: 2620366
2020-02-14 04:17:45 -08:00
Chaoli Zhou
6189e28cfd qcacld-3.0: Add one flag to support Genoa IPA over GSI
Add flag IPA_WDI2_GSI to the Kbuild that can be used to
configure whether need to get "is_over_gsi" from IPA driver
for Genoa IPA over GSI case.

Change-Id: Ib6de50d5b3ffb581d85deff089ae77a1a39998ca
2020-02-14 04:17:28 -08:00
nshrivas
47edb229f2 Release 5.2.0.170N
Release 5.2.0.170N

Change-Id: I7850c0e5bf4d2f84203628070d4007c1b912ceda
CRs-Fixed: 774533
2020-02-13 22:08:33 -08:00
Abhishek Singh
3c56fdd796 qcacld-3.0: Optimize logs in TX assoc req and RX assoc rsp
Optimize logs while sending assoc req and assoc rsp handling
frame by dumping the assoc req frame and not printing each
params separately. Also avoid multiple dump of same frame.

Change-Id: Ibcf2d9aa8de292b9b9f4b4c6a53a0f694d69475c
CRs-Fixed: 2619553
2020-02-13 22:08:33 -08:00
nshrivas
8ee26b9493 Release 5.2.0.170M
Release 5.2.0.170M

Change-Id: Ie3f7def48f41a0528d7f4ccdc7a3c3ecabd38f15
CRs-Fixed: 774533
2020-02-13 18:32:05 -08:00
Sourav Mohapatra
dee8db155c qcacld-3.0: Cleanup logs in HDD APF path
Cleanup logging in HDD APF path.

Change-Id: Iceb78d0decbeb8d4a7c1723681fe03b9a3427b02
CRs-Fixed: 2618579
2020-02-13 18:32:05 -08:00
Yeshwanth Sriram Guntuka
b9502644d0 qcacld-3.0: Update default value of dp_proto_event_bitmap
Update default value of dp_proto_event_bitmap to track all
the supported protocol pkt types.

Change-Id: Ib6355f43fa667f80b31418320f3bdb2373fdf9e1
CRs-Fixed: 2618474
2020-02-13 18:31:41 -08:00
nshrivas
5eabe837da Release 5.2.0.170L
Release 5.2.0.170L

Change-Id: I5184648444a0c0bd4d378f92c62d4a842ffb6839
CRs-Fixed: 774533
2020-02-13 16:54:00 -08:00
Amruta Kulkarni
68f42668f1 qcacld-3.0: Fix to not set HT/VHT caps during 6ghz unicast probe req
In 6ghz, host should not set HT/VHT caps when sending unicast
probe request.

Change-Id: Ib31a08d2bda3dcba9e5f1e16107552d2ba18bcf1
CRs-Fixed: 2619300
2020-02-13 16:54:00 -08:00
nshrivas
7d4014db17 Release 5.2.0.170K
Release 5.2.0.170K

Change-Id: I085ef9145131564fffa4efcee11c1d1de82721bd
CRs-Fixed: 774533
2020-02-13 13:04:50 -08:00
Venkata Sharath Chandra Manchala
de8bea9272 qcacld-3.0: Add support to request for hardware stats
As part of the vendor extended stats, add API to
request Rx hardware stats for a given vdev id.

Change-Id: I46d73de21724c4c5ebf4a78075b7b2c1d02fe92a
CRs-Fixed: 2605729
2020-02-13 13:04:49 -08:00
nshrivas
06e6767f2b Release 5.2.0.170J
Release 5.2.0.170J

Change-Id: Ib0dd6f57671fdd8557d6636c6c3ee58fa8e41a37
CRs-Fixed: 774533
2020-02-13 08:11:31 -08:00
Pankaj Singh
a740a9a310 qcacld-3.0: Reduce excessive logging in P2P module
Currently there are lot of duplicate logging. Identify and
reduce those logs that are not absolutely necessary.

Change-Id: Ia2df5a46610b885be5e27455aef7f7281c7c3c55
CRs-Fixed: 2617719
2020-02-13 08:11:31 -08:00
nshrivas
70ae77c08b Release 5.2.0.170I
Release 5.2.0.170I

Change-Id: Iadaa7575a0aec26d493ef646cdb7a6095f99fc71
CRs-Fixed: 774533
2020-02-13 05:53:34 -08:00
Yu Wang
6c9129693d qcacld-3.0: add vendor cmd support for BT coex chain mode
Add a new qca sub command QCA_NL80211_VENDOR_SUBCMD_BTC_CHAIN_MODE.

This command is used to set BT coex chain mode via
WMI_COEX_CONFIG_BTCOEX_SEPARATE_CHAIN_MODE, it has 2 args:
arg1: BTC chain mode, including shared (0, default) and separated(1).
arg2: force restart flag. true means doing vdev restart after applying
      the new configurations; while false or NOT set means not.

CRs-Fixed: 2534768
Change-Id: I869096784e5089a6c90e94e76234cd13c9b1a13a
2020-02-13 05:53:34 -08:00
Yu Wang
0f8390bd10 qcacld-3.0: add build support for coex qcacmn component
Add Kbuild changes to include files of coex component.
Introduce a new build config 'CONFIG_FEATURE_COEX'.

CRs-Fixed: 2534768
Change-Id: I3c97dda6c446c7474d4d7babf2dc88fe6e4dd0ef
2020-02-13 05:53:16 -08:00
nshrivas
aa5ba4fedf Release 5.2.0.170H
Release 5.2.0.170H

Change-Id: Ia8ca9ea8c5f3832fb660bfbbc3a0ee6a666f4424
CRs-Fixed: 774533
2020-02-12 23:16:31 -08:00
Rajeev Kumar
e7bae1ec80 qcacld-3.0: Remove redundant wake-up reason code(int) logging
WoW wake-up reason code(string) is already logged and in some
cases wake-up reason code(int) is not populated by firmware
hence remove the redundant wake-up reason integer logging.

Change-Id: Ie8b21965bc9e56bcfe53a80893419a81bd0bed8c
CRs-fixed: 2619212
2020-02-12 23:16:31 -08:00
nshrivas
8575fab059 Release 5.2.0.170G
Release 5.2.0.170G

Change-Id: I56fd7685f19b0839b0f94effc5b03dd52206e320
CRs-Fixed: 774533
2020-02-12 20:10:52 -08:00
Karthik Kantamneni
d33455d6d4 qcacld-3.0: Call runtime pm sync resume when hif ctx is present
Currently if hif ctx is null hdd driver unload is returned without
proper cleanup where hif ctx is not required. To avoid this call
runtime pm sync resume only when hif ctx is present.

CRs-Fixed: 2619481
Change-Id: I761c96446024a175746ef377e1e31b593b93b616
2020-02-12 20:10:52 -08:00
nshrivas
89a5ec2bf2 Release 5.2.0.170F
Release 5.2.0.170F

Change-Id: Ib3024827920731a527b82cbd75b01bf2422ce269
CRs-Fixed: 774533
2020-02-12 11:57:26 -08:00
Manjunathappa Prakash
13dcee71cb qcacld-3.0: Return control after dropping NULL vdev msdus
Return control after dropping NULL vdev msdus and make sure to
NULL terminate the fisa_flow->head_skb.

Change-Id: I50e469f603b48cb578db30aaaaa9f974d469fde1
CRs-Fixed: 2613251
2020-02-12 11:57:26 -08:00
Manjunathappa Prakash
00cce59bcd qcacld-3.0: Check validity of dp_vdev while flushing
Validate vdev before delivering the packets for vdev.
Drop the packets if vdev is deleted.

Change-Id: If92d0fba04d96e3830bb4e6f04c395b4fcd54f84
CRs-Fixed: 2606760
2020-02-12 11:57:09 -08:00
Mohit Khanna
06cce797ed qcacld-3.0: Register FISA callback functions for delivery
Add FISA RX callback functions for fisa enabled case.

Change-Id: Iadd9a1b4e9763293153b1c8c2f263b0107c00c2c
CRs-Fixed: 2600268
2020-02-12 11:56:53 -08:00
Manjunathappa Prakash
a3d85a9a4e qcacld-3.0: Add compile time flag for FISA feature
Add compilation flag for FISA and enable it for QCA6490 chip

Change-Id: I7e0e00a764881c44bcb56ca3916e8b2fbee33921
CRs-Fixed: 2600268
2020-02-12 11:56:35 -08:00
Manjunathappa Prakash
db8c24946b qcacld-3.0: Aggregate the msdus of UDP flow
Aggregate the UDP flow msdu in to jumbo msdu and deliver to stack.
Stack handling of jumbo msdu saves the CPU mips.

Change-Id: I5a5d3fdbf3037d3b538f737bf4de8edc06260ab1
CRs-Fixed: 2600268
2020-02-12 11:56:17 -08:00
Manjunathappa Prakash
1fef6fba0c qcacld-3.0: Add logic to learn and program the flow in to FT
Check the HW TLVs to identify if the flow is already programmed.
If flow doesnot exist make an entry to SW and HW flow table.
Invalidate FSE cache to make fse read updated FT entry

Change-Id: I6acc539c5c7994e438ebb2af9cb3bb5ecbf6e120
CRs-Fixed: 2600268
2020-02-12 11:55:58 -08:00
Manjunathappa Prakash
77686579c1 qcacld-3.0: Allocate and initialize the FST for FISA
Add FST setup functions for allocating SW and DDR HW FT.

Change-Id: I13e7d5a40c7440f95d2308e0da5a883557b6b399
CRs-Fixed: 2600268
2020-02-12 11:55:44 -08:00
nshrivas
88492d1882 Release 5.2.0.170E
Release 5.2.0.170E

Change-Id: Ib15cc76500a7d3c31c3707b3a2a6f6e3450668b8
CRs-Fixed: 774533
2020-02-12 09:54:18 -08:00
Pragaspathi Thilagaraj
8a4ffccc02 qcacld-3.0: Replace stack alloc for struct tPmkidCacheInfo with heap alloc
Currently the strucutre tPmkidCacheInfo is allocated in stack
and used during pmksa operations. This structure takes up ~100
bytes of memory. This will cause stack corruption in low memory
devices.

Move allocations of structure tPmkidCacheInfo to heap.

Change-Id: Ibcf44bc331a9ef94499071af1899914edd75b3cf
CRs-Fixed: 2616488
2020-02-12 09:54:18 -08:00
nshrivas
a3f3606f00 Release 5.2.0.170D
Release 5.2.0.170D

Change-Id: If72b35e454ac789e1255842b8e5506a5b46c6ce2
CRs-Fixed: 774533
2020-02-12 08:01:42 -08:00