Commit graph

21,559 commits

Author SHA1 Message Date
snandini
3fe2b7ad76 Release 2.0.8.10H
Release 2.0.8.10H

Change-Id: I07945ec6bfc385fa52adfeca5b5744a7de45b3ba
CRs-Fixed: 774533
2021-02-07 23:31:38 -08:00
Abhishek Ambure
e11cb83e40 qcacld-3.0: Set OEM 6Ghz support only if Reg domain supports 6Ghz
Host uses "oem_6g_support_disable" INI value to configure
oem_6g_support_disable of wifi pos priv psoc object. If the Reg
domain doesn't support 6Ghz band and INI "oem_6g_support_disable"
value is 0, then host enables support for 6Ghz. Thus OEM apps
supporting 6Ghz fails to get 6Ghz channel information from host.
Hence use reg domain 6Ghz support  and "oem_6g_support_disable"
INI value to update oem_6g_support_disable of wifi pos priv psoc
object.

Change-Id: Id5e5b6220f3ce880da3c40aa959887ebc6bbfa7c
CRs-Fixed: 2870971
2021-02-07 23:31:38 -08:00
snandini
ef662c68c6 Release 2.0.8.10G
Release 2.0.8.10G

Change-Id: I713f5569e277728b6b1fb5f964f71597ce4c7d5c
CRs-Fixed: 774533
2021-02-07 21:17:32 -08:00
Jingxiang Ge
b3b4c350b5 qcacld-3.0: check state for netdev_features_update_work
before deinit netdev_features_update_work, check if it
has been initialized.

Change-Id: Ib9ba1ed42f4616872ec6eb8a24c6c0d1e316e356
CRs-Fixed: 2871324
2021-02-08 09:45:21 +08:00
snandini
bccd8e0a19 Release 2.0.8.10F
Release 2.0.8.10F

Change-Id: I2e1e38e2cf57ab5b5214d0d8b6d5154a47f75360
CRs-Fixed: 774533
2021-02-06 02:11:50 -08:00
Pragaspathi Thilagaraj
0f24555d0c qcacld-3.0: Allow TWT events to wake up wlan host
Currently when TWT commands are sent to firmware, the host driver
doesn't acquire wake lock. So the wlan can got to wow mode before
receiving the TWT command response and the response will get
dropped since host is in wow mode.

To avoid this make the TWT events as wakeable so firmware can
wake up host if host is suspended.

Change-Id: I2750049f9173de564e24114731d3fdd8ec8d6d86
CRs-Fixed: 2869865
2021-02-06 02:11:50 -08:00
snandini
f8aa96ee20 Release 2.0.8.10E
Release 2.0.8.10E

Change-Id: Ieba89b53c57aa2db714f18b6ff3710ccf46505bd
CRs-Fixed: 774533
2021-02-05 20:37:16 -08:00
Rajeev Kumar
a545367d20 qcacld-3.0: Add FW capability check for sap and go d3 wow
Add WMI service FW capability check before enabling D0 and D3
WoW for SAP and GO clients connected mode.

Change-Id: I878e4ee33807804e049bf1e8b8078d28fc1d4834
CRs-Fixed: 2869072
2021-02-05 20:37:16 -08:00
snandini
db7d4f9cb1 Release 2.0.8.10D
Release 2.0.8.10D

Change-Id: Ie4c8fdaa4a8b6aa338bb5005de3df04c37a1864c
CRs-Fixed: 774533
2021-02-05 14:03:15 -08:00
sandhu
80b3077490 qcacld-3.0: Initialize fisa flow entry napi id to other than zero value
Zero initialization of Napi id can cause napi id zero context to flush
flow that are uninitialized. Which may cause a race condition if some
other napi context is using the uninitialized fisa flow entry during the
flow learning phase.

Change-Id: Iedca4ee112efa29c70a632c4a365e95f71e8f506
CRs-Fixed: 2864633
2021-02-05 10:00:19 -08:00
snandini
0e597336ba Release 2.0.8.10C
Release 2.0.8.10C

Change-Id: I992d2578735095b1b1f4c51ec3ce94e8084a1ea5
CRs-Fixed: 774533
2021-02-04 22:36:55 -08:00
Jingxiang Ge
e226305aa6 qcacld-3.0: Fix mcs12_13 wrong rate issue
issue step:
1 first connect with mcs_12_13 supported ap
2 switch to connect with non support mcs_12_13 ap

the linkspeed for 2nd ap will be wrong as it is leverage
1st ap's sta info in vdev_mlme_obj.

Fix is reinit mcs_12_13 in vdev_mlme_obj for each connection.
no matter if it is 11ax AP.
Change-Id: I7f6ceb2543be1df324f57183758872e6d807d8f9
CRs-Fixed: 2868617
2021-02-04 18:25:36 -08:00
snandini
959bcad177 Release 2.0.8.10B
Release 2.0.8.10B

Change-Id: I2723a3e2b976cb0f801097f50f42f0fbe455cc50
CRs-Fixed: 774533
2021-02-04 18:10:22 -08:00
Karthik Kantamneni
0cf7748cf7 qcacld-3.0: Initialize pld_soc_info to default values
Some of the members in pld_soc_info structure is not assigned by
platform API's. To avoid uninitialized value access by calling
function initialize pld_soc_info to default value.

Change-Id: I4b6816bf72ebb518b1b8af529763c2f8a8edb38d
CRs-Fixed: 2858219
2021-02-04 18:10:22 -08:00
snandini
fb53f776c1 Release 2.0.8.10A
Release 2.0.8.10A

Change-Id: If08f26947e5923fac25c579a50b709aa0a564dc4
CRs-Fixed: 774533
2021-02-04 12:07:33 -08:00
Surabhi Vishnoi
82192d495b qcacld-3.0: Update the channel in tx_status for pkt capture mode
Update the channel info in the tx_status from policy manager for
packet capture mode.

Change-Id: Id237a0ee3d102b60c2cd9d47f2febb4538f29e2f
CRs-Fixed: 2869411
2021-02-04 12:07:33 -08:00
snandini
60cf1132a2 Release 2.0.8.10
Release 2.0.8.10

Change-Id: If474a0d6770db6dc082c5053dff44d430735b3b6
CRs-Fixed: 774533
2021-02-04 07:44:10 -08:00
Balaji Pothunoori
e5b5b5b78c qcacld-3.0: addba request reject for peer ap
Add user controlled rx addba request reject for peer AP based
on ini configuration.

Change-Id: I80a4b78c1af77f5bfa68be3163f9e9a78cc64245
CRs-fixed: 2835511
2021-02-04 03:38:46 -08:00
snandini
bea5630cb9 Release 2.0.8.9Z
Release 2.0.8.9Z

Change-Id: I79cfdf08653030d4caa28f4e673cd0ecab038ed0
CRs-Fixed: 774533
2021-02-03 20:21:06 -08:00
Vevek Venkatesan
dd76fbe75d qcacld-3.0: decouple bw monitor from WDI3_STATS_UPDATE
Decouple BW monitor from WDI3_STATS_UPDATE and add as a
separate feature flag WDI3_STATS_BW_MONITOR.

Change-Id: I77fb5658d995daceaada6a7d64f669da706ead9c
CRs-Fixed: 2868582
2021-02-03 20:21:05 -08:00
Kiran Kumar Lokere
0e2de2d0a3 qcacld-3.0: Fix the fixed rate disable cmd setting value
Correct the fixed rate disable setting parameter value.

Change-Id: I6d7130015053a7bebac99517f32520e324887f93
CRs-Fixed: 2868210
2021-02-03 20:21:01 -08:00
Abhishek Ambure
8bc8235c1a qcacld-3.0: Update RSO state on drv cmd for roam state
User uses SETROAMMODE command to enable/disable Legacy Fast Roaming.
Host processes SETROAMMODE and sets ini config value as per user
request and doesn't update RSO state in driver and doesn't update
RSO state change to FW. Due to this, runtime LFR config doesn't
take effect in FW and host RSO state machine.
Hence update RSO state in host and FW while processing SETROAMMODE
command.

Change-Id: I73d865468e5538566f1e0d0240d77916eb445440
CRs-Fixed: 2867697
2021-02-03 20:20:58 -08:00
snandini
ec3d963c43 Release 2.0.8.9Y
Release 2.0.8.9Y

Change-Id: Ieabfff111dd317a4a026e9941422aeef57563ce5
CRs-Fixed: 774533
2021-02-03 18:01:54 -08:00
Bapiraju Alla
01c2d95ec5 qcacld-3.0: Make net_dev_hold_ref_count as atomic
Currently the reference count variable used to detect the net device
reference leaks is not atomic. Because of this, the reference count
updation may not be reliable in multi thread scenario.

To address this, make the net_dev_hold_ref_count increment and
decrement as atomic.

Change-Id: Ifa87177164e87880d0c6d71fb40ca03a3919519e
CRs-Fixed: 2868029
2021-02-03 18:01:54 -08:00
snandini
486cc46b9c Release 2.0.8.9X
Release 2.0.8.9X

Change-Id: Ic58d02aec80386c01806961e2a648884f121f679
CRs-Fixed: 774533
2021-02-03 05:22:03 -08:00
Abhinav Kumar
d8194cda04 qcacld-3.0: Fix compatibility issue
The sequence of roam states info print depends on
the sequence of Tlvs coming via WMI_ROAM_STATS_EVENTID
event.

FW does not send roam trigger, roam scan and btm rsp
info to HOST in case of new host and old FW combo.
This results in 11v info print miss in kmsg log.

Fix is to print tlvs info in a proper sequence.

Change-Id: Ic51ceebcbf3846231c2181b0a4a92d59faaaaaff
CRs-Fixed: 2841325
2021-02-03 01:46:05 -08:00
Abhinav Kumar
76710bf7f7 qcacld-3.0: Print roam message info in kmsg
The event WMI_ROAM_STATS_EVENTID is received after
every roam, once the roam synch complete is sent by the host.
This event contains details regarding the roam RSSI TH reset.
This helps in debugging/understanding the scenario when roam
failure happens.
Print the info received related to roam RSSI TH reset into kmsg.

Change-Id: Ibee9fc6e9220511d6679efb24080c79bcd807ab8
CRs-Fixed: 2826321
2021-02-03 01:41:45 -08:00
snandini
534b052d39 Release 2.0.8.9W
Release 2.0.8.9W

Change-Id: I6cf4db5b481f20477582fef021102a0496776eb0
CRs-Fixed: 774533
2021-02-02 13:57:04 -08:00
Rajeev Kumar
964bb04a28 qcacld-3.0: Set target config with default sap and go d3 config
Host needs to send down sap and go client connected mode d3 wow
feature support and hence save the default config which will be
send later down to FW via WMI INIT CMD.

Change-Id: I71ff3155e30ea03c63045473ad256dc14026f5fd
CRs-Fixed: 2866617
2021-02-02 13:57:04 -08:00
snandini
375a02b971 Release 2.0.8.9V
Release 2.0.8.9V

Change-Id: Ib1b9771ec07445837b3cee89588605549f6a21a7
CRs-Fixed: 774533
2021-02-02 09:19:34 -08:00
Pragaspathi Thilagaraj
c484007a83 qcacld-3.0: Fix AEAD decryption failure with FILS PMF connection
AEAD decryption failure happens when AP sends association
rejection frame as part of the PMF SA query procedure. AP
doesn't include FILS Session IE, but STA tries to AEAD decrypt
the frame starting from the FILS session IE and drops the
association rejection frame due to AEAD decryption frame.
So association failure timeout kicks in and proper reason
code is not indicated to userspace due to which automatic
connection retry to the AP doesn't happen.

Skip AEAD decryption if status code is not success in the
association response frame and proceed to parse the frame.

Change-Id: I9dcc85afb896717cfd20102c219b58e0e982f340
CRs-Fixed: 2797416
2021-02-02 09:19:34 -08:00
snandini
1fb2dab782 Release 2.0.8.9U
Release 2.0.8.9U

Change-Id: Ie216e152dd6a28a13f1b9f5ce981a2601b514720
CRs-Fixed: 774533
2021-02-02 00:03:08 -08:00
Kiran Kumar Lokere
6cf1003125 qcacld-3.0: Update the session he cap if channel is changed
Update the session he capabilities when SAP switches to new
channel and if new channel band or channel width is different from
current session channel info.

Change-Id: I1a91864eb6f26189c37b2dc715e6b6d7fb950458
CRs-Fixed: 2863366
2021-02-02 00:03:08 -08:00
snandini
e31e29c20c Release 2.0.8.9T
Release 2.0.8.9T

Change-Id: Ie20132be14e190fa95178114f94fe089ef522859
CRs-Fixed: 774533
2021-02-01 20:52:48 -08:00
Arun Kumar Khandavalli
332c4e19ab qcacld-3.0: Release sme global lock in the error condition
with recent commit 203218df88e7 
("qcacld-3.0: Set sme power stats response cb and context to NULL")  
fix in the error condition the sme global lock is not getting released 
resulting in the mc thread being struck.

Release the sme global lock in the error condition.

Change-Id: I6235a632c6b74c48374d4584eb727bf9ffe296a8
CRs-Fixed: 2867358
2021-02-01 20:52:48 -08:00
snandini
20f79de095 Release 2.0.8.9S
Release 2.0.8.9S

Change-Id: I963b019e2aadb2cf783a565e42fd8d685c74e174
CRs-Fixed: 774533
2021-02-01 18:40:06 -08:00
gaurank kathpalia
6f939ff044 qcacld-3.0: Move HE caps to vdev mlme priv
Move HE caps to vdev mlme priv and remove it from csr session.

Change-Id: I3f68aa66cfd1828dea4e46aff1dd758fbfde4a48
CRs-Fixed: 2809092
2021-02-01 18:40:05 -08:00
snandini
6206963745 Release 2.0.8.9R
Release 2.0.8.9R

Change-Id: Ia2e41126291faf0a99cac659bffb0418e3955208
CRs-Fixed: 774533
2021-02-01 16:20:03 -08:00
Liangwei Dong
9380857123 qcacld-3.0: Fix SAP 160Mhz radar event miss issue
When SAP operated in channel 36 with 160Mhz, the primary channel
36 is non-dfs and existing checking dfs will drop the radar event
if the radar detected on channel 52. Change policy mgr API to
check the dfs flags instead of primary channel state.

Change-Id: Ie2f242182b8df30e5d1875e278c5ebffa2e7cafd
CRs-Fixed: 2865173
2021-02-01 16:20:03 -08:00
snandini
b64317d44b Release 2.0.8.9Q
Release 2.0.8.9Q

Change-Id: If9e1b71224424fa5eb73f019d8c07b3c3d381dec
CRs-Fixed: 774533
2021-02-01 12:42:12 -08:00
Ashish Kumar Dhanotiya
49ff00af85 qcacld-3.0: check net dev ref leak before removing adapter from list
Currently driver checks net dev ref leak for adapter, once it
removes adapter from the list which is not the correct way as
in some cases it is possible that one thread loops through the
the adapter list and uses one of the adapter and the other thread
deletes the adapter from the list, since the adapter is deleted
from the list, it's next and previous pointers will point to
itself which will lead first thread to fall into infinite loop.

To address above issue check net dev ref leak before removing
adapter from the adapter list so that it will make sure that
no other thread is holding the referene of this adapter.

Change-Id: I819458e9de8f016898e24bf3bb376acb657e8187
CRs-Fixed: 2854000
2021-02-01 12:42:12 -08:00
Lincoln Tran
c7ffe15429 qcacld-3.0: Rate limit logs related to SAP chan select
When selecting channel for SAP to operate on, it searches,
calculates, and sorts the channels. Each of these steps produces a lot
of prints, so rate limit them to prevent a time out.

Change-Id: If78c7a4f840bf9353f42dd544134ee690637d22e
CRs-fixed: 2865639
2021-02-01 08:47:36 -08:00
snandini
6f7b6c565e Release 2.0.8.9P
Release 2.0.8.9P

Change-Id: I22b17d59bb751d766f724dcc1a0b993e6ff6aa05
CRs-Fixed: 774533
2021-02-01 05:49:41 -08:00
Min Liu
23a4c839ad qcacld-3.0: Fix iwpriv command getMaxAssoc
Fix the issue that iwpriv command getMaxAssoc act as setMaxAssoc.

Change-Id: I8fddc0ff724147cb55d53b0ce5a918745b3101d3
CRs-Fixed: 2844640
2021-02-01 05:49:41 -08:00
snandini
5eef4197a9 Release 2.0.8.9O
Release 2.0.8.9O

Change-Id: I232f08504c9baffafa45993be07b5cc1e8f641b7
CRs-Fixed: 774533
2021-01-31 17:20:49 -08:00
Abdul Muqtadeer Ahmed
50982ac6b3 qcacld-3.0: Replace mission mode with monitor mode
The command should not be sent when device is in monitor mode.
But it is allowed in mission mode.

Change-Id: Ic21a8244425315577e7f0b2423c4fe6c5ac42702
CRs-Fixed: 2847777
2021-01-31 17:20:49 -08:00
Abdul Muqtadeer Ahmed
f324265e16 qcacld-3.0: Add new driver commands
TPUT_DEBUG_MODE_ENABLE and TPUT_DEBUG_MODE_DISABLE are two new driver
commands. So when this commands will get issue, host needs to send
setUnitTestcmd with different arguments for different target to
enable/disable the module logging.

Change-Id: I5deb18f08f59ce936696e00b6537b0acf7c846a1
CRs-Fixed: 2842740
2021-01-31 17:20:45 -08:00
snandini
6b0935a924 Release 2.0.8.9N
Release 2.0.8.9N

Change-Id: I583a2f540b36ad65c6d035dd1049af4afe6b0684
CRs-Fixed: 774533
2021-01-31 14:07:19 -08:00
Utkarsh Bhatnagar
036a02041d qcacld-3.0: Don't use Auto API to get Op class from freq
Use wlan_reg_freq_width_to_chan_op_class() instead of
wlan_reg_freq_width_to_chan_op_class_auto() to convert freq
to Operating class.
As the auto API forces the non-6Ghz channel to use the channel
map class. With auto API, in case of 6Ghz band, only those classes
specified in global operating class can be used

For OCV validation , always use global opclass as mandated by spec

Change-Id: I8ae776199f3b886f3c9cec83070294fca2135b50
CRs-Fixed: 2848638
2021-01-31 14:07:19 -08:00
snandini
0cae238680 Release 2.0.8.9M
Release 2.0.8.9M

Change-Id: I7ea787b67c413390da9c2136f617a3fed6f27c08
CRs-Fixed: 774533
2021-01-31 12:02:34 -08:00