Commit Graph

18510 Commits

Author SHA1 Message Date
Amar Singhal
eb88acdd27 qcacld-3.0: Correctly check for frequency in an operating class
Use the country and operating class information to check for a
given frequency.

Change-Id: Ib154b7f292c2623673063ebe5f0d4f76eb4e99e1
CRs-Fixed: 2619355
2020-02-16 02:04:58 -08:00
nshrivas
d5b6157257 Release 5.2.0.171F
Release 5.2.0.171F

Change-Id: If7d497b9062aeccf93d4494a48d437a7f3c4e24a
CRs-Fixed: 774533
2020-02-15 20:28:04 -08:00
Abhishek Ambure
83c11be72e qcacld-3.0: Add support to configure candidate min roam score delta
During CU and low rssi based roam triggers, consider AP as roam candidate
only if its roam score is better than connected AP score by at least
min_roam_score_delta.

User configures this candidate minimum roam score delta value using
"min_roam_score_delta" INI. User can set candidate minimum score delta
value between 0 to 10000 and default value is 1850.

Firmware will trigger roaming only if roam score of candidate AP is
greater than "min_roam_score_delta" & "roam_score_delta" values of
connected AP.

Change-Id: I180e769b5629aa405dbd89ed73e39e228adf92db
CRS-Fixed: 2614117
2020-02-15 20:28:04 -08:00
nshrivas
63f851b820 Release 5.2.0.171E
Release 5.2.0.171E

Change-Id: I22ac6c4ce0754191fe739447ec78252da4d90f0b
CRs-Fixed: 774533
2020-02-15 16:09:58 -08:00
sheenam monga
698e3afc12 qcacld-3.0: Update trace dump to nofl dump
Currently, additional unnecessary information is printed via
trace dump.

Remove unnecessary information by using nofl trace
in lim_trace_dump, sme_trace_dump and hdd_trace_dump

Change-Id: I3a02d05030e390ce39b4d33e57190a1aa586d132
CRs-Fixed: 2622095
2020-02-15 16:09:58 -08:00
nshrivas
6679249983 Release 5.2.0.171D
Release 5.2.0.171D

Change-Id: I816c9269e570ef7b5548bc63ae98b2fcd24bc167
CRs-Fixed: 774533
2020-02-15 14:36:24 -08:00
Jianmin Zhu
37601dc95c qcacld-3.0: buff size of ADDBA rsp is larger than peer's capability
buff_size got from cdp_addba_responsesetup isn't used for ADDBA rsp.
buffer size of ADDBA rsp is hardcoded, not by negotiation with peer.

Change-Id: Ia30e17976ab3b5a1e9574d25aca9f170ff8fbead
CRs-Fixed: 2616865
2020-02-15 14:36:23 -08:00
nshrivas
348391b1c5 Release 5.2.0.171C
Release 5.2.0.171C

Change-Id: If0940c9b799f7d50f6b55b123e3c6f0669fea961
CRs-Fixed: 774533
2020-02-15 12:56:10 -08:00
Surabhi Vishnoi
6ecac484fc qcacld-3.0: Add function to handle the FTM time sync events from target
Add the function to parse the FTM timesync start/stop and offset
events received from target and populate them in ftm timsync
priv vdev structure.

Change-Id: Ibdcf97bb0a04fc6490c6bd2c26701036df92c5d4
CRs-Fixed: 2618646
2020-02-15 12:56:09 -08:00
nshrivas
b2884dad6e Release 5.2.0.171B
Release 5.2.0.171B

Change-Id: Iaedfc77ace2d4ed70c573cd0486dee050ab06eca
CRs-Fixed: 774533
2020-02-15 10:11:21 -08:00
Manjunathappa Prakash
a79c85f229 qcacld-3.0: Check for null deliver function in fisa
Consider case where vdev is valid but deliver function
callback is deregistered. Check for null delivery function.

Change-Id: If17f1d680a10c2009a910172a66cd8dcf7cdffbd
CRs-Fixed: 2613162
2020-02-15 10:11:20 -08:00
nshrivas
42efaf461c Release 5.2.0.171A
Release 5.2.0.171A

Change-Id: I8812df8bfa92ace858f68990e60195a0c5f451a5
CRs-Fixed: 774533
2020-02-15 08:45:09 -08:00
Srinivas Dasari
644dbc18c1 qcacld-3.0: Add reason codes for internal disconnections
Currently, host driver sends disconnect reason code as UNSPECIFIED
to kernel in most of the disconnection scenarios. Correct the same
to send proper reason code received from peer in case of peer
initiated disconnections.
Introduce new reason codes for internal disconnections and assign
proper reason code for each possible disconnect scenario.

Change-Id: I99bf4573b59dc810e0a1529fcd48061d10acae4e
CRs-Fixed: 2622310
2020-02-15 08:45:08 -08:00
nshrivas
3a19d9fa48 Release 5.2.0.171
Release 5.2.0.171

Change-Id: I199ab2cd46644e2518bd75031e4db89b29a0f460
CRs-Fixed: 774533
2020-02-15 07:31:25 -08:00
Pragaspathi Thilagaraj
d7b4332cb5 qcacld-3.0: Fill correct reason code after deauth roaming failure
After deauth/disassoc, roaming is triggered by the firmware and
if roaming failure occurs before handoff is started, then
firmware sends the WMI_ROAM_EVENTID event with deauth reason.
Currently unspecified reason is sent to the upper layers for
every emergency deauth roaming failure.

Extract the reason code from the deauth/disassoc frame sent by
the AP, received in WMI_ROAM_EVENTID.

Change-Id: I461a38e8a8e60fa26b2ace3f54a6f8208f00838d
CRs-Fixed: 2611473
2020-02-15 07:31:25 -08:00
nshrivas
6f445399b9 Release 5.2.0.170Z
Release 5.2.0.170Z

Change-Id: I97f17b824a62057eac7a8366da29074bdb12173a
CRs-Fixed: 774533
2020-02-15 06:11:19 -08:00
Liangwei Dong
c1aed9f593 qcacld-3.0: Send HE 6GHZ band Capabilities IE to firmware
Send HE 6GHZ band Capabilities IE to firmware by WMI command.
Firmware will add the IE to probe request during scan.

Change-Id: I4a383a46206a50da244485f71e38ca8e4e847c10
CRs-Fixed: 2621402
2020-02-15 06:11:19 -08:00
nshrivas
1cfaf81095 Release 5.2.0.170Y
Release 5.2.0.170Y

Change-Id: I3ff70f7197bc1613ef0cf4f2fcda4b2912a8f4b6
CRs-Fixed: 774533
2020-02-15 04:42:56 -08:00
Vinay Gannevaram
521ebf80b1 qcacld-3.0: Add support to get fwr phymode for frequency
Currently, wifi-pos uses channel number to get the fwr phymode.
For adding 6g support wifi-pos need to get the phymode from
frequency instead of channel number.
As a part of fix, Add handler for getting phymode based on
frequency

CRs-Fixed: 2617906
Change-Id: Ie65b3ed98760cef152df3697805593efbad4d5a1
2020-02-15 04:42:56 -08:00
nshrivas
98d57896c3 Release 5.2.0.170X
Release 5.2.0.170X

Change-Id: I1a7819fd193e7e00be933fb181fa87303afff4bf
CRs-Fixed: 774533
2020-02-15 03:15:10 -08:00
gaurank kathpalia
869696d0b9 qcacld-3.0: Optimize log in roam and connect path
Optimize log in roam and connect path.

Change-Id: I1b9f09b7fcc0569a863f11cbd763c105fcf9d144
CRs-Fixed: 2622252
2020-02-15 03:15:10 -08:00
nshrivas
526ce5bff1 Release 5.2.0.170W
Release 5.2.0.170W

Change-Id: I6f3ca6f739f9266e119fa69da87725b8aa5a2ae9
CRs-Fixed: 774533
2020-02-15 01:58:26 -08:00
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