Commit Graph

18471 Commits

Author SHA1 Message Date
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
Amar Singhal
8bf9970419 qcacld-3.0: Remove DFS check after cac end notify
DFS check cannot be on atomic channel, but full channel width.

Change-Id: I6f7ea80923db6ea96c995d1d5a2faf8b4576950f
CRs-Fixed: 2615778
2020-02-12 08:01:42 -08:00
nshrivas
2768e99057 Release 5.2.0.170C
Release 5.2.0.170C

Change-Id: I0d1ca07441d0deb830dac9ea1757bce5218e8fa4
CRs-Fixed: 774533
2020-02-12 04:00:53 -08:00
Liangwei Dong
8f4c8c140c qcacld-3.0: Fix potential memory leak of stats_event
To free stats_event in the failure case of wlan_hdd_get_station_stats.

Change-Id: I679a6109ec2370f9126b0b3201b1035869cef14e
CRs-Fixed: 2618356
2020-02-12 04:00:51 -08:00
nshrivas
e48e7b4612 Release 5.2.0.170B
Release 5.2.0.170B

Change-Id: I7c7ba83b9a320d25c300a8b8df29a2f9ac9da1f6
CRs-Fixed: 774533
2020-02-11 18:43:31 -08:00
Vulupala Shashank Reddy
6e5c807513 qcacld-3.0: Add INI parameter for packet capture mode support
Add INI parameter for packet capture mode

"packet_capture_mode" - ini to set packet capture mode.

Change-Id: Ie60c142af753c65b44aa0018440e43a215e51a27
CRs-Fixed: 2614578
2020-02-11 18:43:31 -08:00
nshrivas
2e9da7605c Release 5.2.0.170A
Release 5.2.0.170A

Change-Id: I4154b81687f95766b54656837c430f41ff839391
CRs-Fixed: 774533
2020-02-11 11:04:41 -08:00
Abhishek Ambure
b3f5f95275 qcacld-3.0: Change default value of idle_roam_rssi_delta to 3
idle_roam_rssi_delta - This threshold is the criteria to decide whether
DUT is idle or moving. If rssi delta is more than configured thresold
then its considered as not idle. RSSI delta is entered in dBm. Idle
roaming can be triggered if the connected AP rssi change exceeds or
falls below the rssi delta and if other criteria of ini
"enable_idle_roam" is met.

To enhance idle roaming, idle_roam_rssi_delta default value is changed
to 3.

Change-Id: I9a5b06081d59d8502c40df0485c2b997cbcb2b80
CRs-Fixed: 2619436
2020-02-11 11:04:41 -08:00
Ashish Kumar Dhanotiya
6b3041aed2 qcacld-3.0: Fix compilation issue in SAR limits file
There are compilation issues if feature FEATURE_SAR_LIMITS
is disabled.
Fix compilation issues relaterd to feature FEATURE_SAR_LIMITS.

Change-Id: Ifdb7c14ea3e973bc63560eb78edd084a53e28974
CRs-Fixed: 2619492
2020-02-11 11:04:28 -08:00
nshrivas
d14d7052b3 Release 5.2.0.170
Release 5.2.0.170

Change-Id: Ia6ca6f71f652afe27793dfd7c019548bd6cb06e2
CRs-Fixed: 774533
2020-02-11 09:16:30 -08:00
sheenam monga
e0e91c48d5 qcacld-3.0: vdev validation before sending unit test command
Currently, There is no check to validate vdev in function
wma_form_unit_test_cmd_and_send before sending command to
fw which may lead to fw crash due to invalid vdev id.

Fix is to add validation check for vdev before invoking
wmi_unified_unit_test_cmd and sme_send_unit_test_cmd.

Change-Id: I61db37417f05968365f210515c28eb6184279c77
CRs-Fixed: 2618295
2020-02-11 09:16:30 -08:00
nshrivas
d7921d0853 Release 5.2.0.169Z
Release 5.2.0.169Z

Change-Id: If51e78bc3c1364b715a6a2d58175f7bf11954a38
CRs-Fixed: 774533
2020-02-11 05:43:07 -08:00
Alan Chen
f32d8e8dcf qcacld-3.0: Add check for eHDD_DOT11_MODE_AUTO before updating umac
Currently, eHDD_DOT11_MODE_AUTO has not been checked, so if gDot11Mode
ini is set to 0, this would fail to update umac with the correct HE
capability. Add an if check for eHDD_DOT11_MODE_AUTO to check if it
has been enabled.

Change-Id: I5d26314f4bcfedcf1e913625ac946118ddb9a983
CRs-Fixed: 2619091
2020-02-11 05:43:07 -08:00
nshrivas
dff8b7357c Release 5.2.0.169Y
Release 5.2.0.169Y

Change-Id: I32cbe500f8db9bd5aedf394cd8821ef3b38a60df
CRs-Fixed: 774533
2020-02-11 04:14:21 -08:00
Bapiraju Alla
dfd1ba0a7e qcacld-3.0: Change STA default keep alive time from 60 to 30
AP has less keep alive timer than STA, so AP is kicking out the STA and
sending the deauth.

To resolve this change CFG_INFRA_STA_KEEP_ALIVE_PERIOD_DEFAULT value from
60 to 30.

Change-Id: I0522071bc634b029178de6e09c11d237351a334d
CRs-Fixed: 2616279
2020-02-11 04:14:21 -08:00
nshrivas
7ea4682d12 Release 5.2.0.169X
Release 5.2.0.169X

Change-Id: I9ad64bda41d364a242c075d0446faef79ada1aee
CRs-Fixed: 774533
2020-02-11 02:38:51 -08:00
nakul kachhwaha
964cd0e528 qcacld-3.0: Fix compilation issue on kernel v4.19
Removed ol_tx_hl_vdev_bundle_timer definition for
kernel v4.15 as __os_timer_shim will wrap the kernel
timer handler API prototype as per new definition for
kernel v4.15 and above.

Change-Id: I873ba706050ea8020e4af7133c86ef8aabb93d53
CRs-Fixed: 2602835
2020-02-11 02:38:51 -08:00
nshrivas
9b818b0624 Release 5.2.0.169W
Release 5.2.0.169W

Change-Id: I75adff37fc557547739a47584378a6f0fc088e9d
CRs-Fixed: 774533
2020-02-10 13:32:46 -08:00