Commit-Graf

23920 Incheckningar

Upphovsman SHA1 Meddelande Datum
abhinav kumar
aff41cb30e qcacld-3.0: Send rso config to fw as per setband
When band is changed from dual-band to single band
(2G only):
1. host need to remove IDLE & BTC trigger bits from
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID
2. Send WMI_ROAM_IDLE_CONFIG_CMDID with enable=0

When band is changed from single band (2G only) to
dual-band:
1. host need to add IDLE & BTC trigger bits from
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID
2. Send WMI_ROAM_IDLE_CONFIG_CMDID with enable=1
and with default configurations.

To configure the above value in FW, send an RSO
update to FW whenever host receives set band command
from the upper layer.

Change-Id: I5a78deee713ff8514640d1867098e4045b77a231
CRs-Fixed: 3033081
2021-09-20 16:59:23 -07:00
Madan Koyyalamudi
809911a7a3 Release 5.2.0.248L
Release 5.2.0.248L

Change-Id: Idfb961e7101ae6ff66bb339a803c97f869bd311a
CRs-Fixed: 774533
2021-09-20 12:12:01 -07:00
Srinivas Dasari
c3470070d6 qcacld-3.0: Enable ROAM wma to target_if convergence
Enable ROAM_TARGET_IF_CONVERGENCE to enable the
wma to target_if roaming convergence code.
This is a temporary change and shall be reverted by
removing the define ROAM_TARGET_IF_CONVERGENCE usage and
the legacy code(i.e. code present in else part).

Change-Id: I840573b4699f23b7633b8049741a57a0dda975a7
CRs-Fixed: 3039950
2021-09-20 12:12:00 -07:00
Srinivas Dasari
2640226147 qcacld-3.0: memset reject_ap_info properly before usage
Currently, reject_ap_info is used at many places and memset is
not done before filling it. memset the buffer to avoid reading
garbage values.
Also, modify the current initialization of ap_info in
cm_add_bssid_to_reject_list to memset.

Change-Id: Ic0fabc1733c4ea63dccb2e45b2a2dc37791e594d
CRs-Fixed: 3040299
2021-09-20 16:50:37 +05:30
Madan Koyyalamudi
c9319cfa3d Release 5.2.0.248K
Release 5.2.0.248K

Change-Id: I965045dcfcaccdb083838b2aa5f649d93ec8821f
CRs-Fixed: 774533
2021-09-20 02:01:12 -07:00
Vulupala Shashank Reddy
edb92df199 qcacld-3.0: Fix PHY type of rx legacy packets in packet capture
OFDM and CCK flags should not be set based on frequency. These
flags are already filled in pkt_capture_rx_get_phy_info based
on preamble.

Change-Id: Ie809ee2e3546ed69bedab12d73d408b379d6b73d
CRs-Fixed: 2965290
2021-09-20 02:01:12 -07:00
Madan Koyyalamudi
7e35aa655b Release 5.2.0.248J
Release 5.2.0.248J

Change-Id: I2a447875677e306cd40f54751a10353d997c41a1
CRs-Fixed: 774533
2021-09-19 21:31:26 -07:00
Wu Gao
36d764e1af qcacld-3.0: Stop CFR once get disconnection event
CFR only works when DUT as STA and connected to AP. But, host doesn't
stop CFR if CFR started and disconnect to AP. So add this change to
stop CFR once get disconnection event.

Change-Id: I5a616dbe4c35311fb260514a8d33ed9a1361c514
CRs-Fixed: 3026715
2021-09-19 21:31:25 -07:00
Madan Koyyalamudi
22e96c1faa Release 5.2.0.248I
Release 5.2.0.248I

Change-Id: I9c95eccb417122ed27d2f21bf0a23e2b322bf315
CRs-Fixed: 774533
2021-09-19 04:50:33 -07:00
Srinivas Dasari
f1e2971dd9 qcacld-3.0: Don't repost ROAM event to scheduler thread
Currently, the ROAM event is posted to scheduler thread when it's
received from firmware. This is done to avoid processing the
complete event in IRQ context as the same callback gets called
from IRQ context for WOW events(WOW_REASON_LOW_RSSI and
WOW_REASON_HO_FAIL). Posting the ROAM event to scheduler
thread may introduce some additional delay in processing it back
as there would be a context switch.
If this ROAM event carries ROAM_START which is followed by a
ROAM_SYNC event, there is chance to process the ROAM_SYNC
before ROAM_START as ROAM_SYNC would be processed in the same
context whereas ROAM_START needs a context switch. This results
into an invalid connection manager state after processing
ROAM_START event, which results a connection failure.
Same is applicable for ROAM_PMKID_REQ_EVENT and
ROAM_VDEV_DISCONNECT_EVENT. Avoid reposting the same to scheduler
thread.

Change-Id: Ic4fc1b3baf12e4ceee9a0975ebfee77fb88ab6f0
CRs-Fixed: 3033657
2021-09-19 04:50:33 -07:00
Madan Koyyalamudi
2aada2b493 Release 5.2.0.248H
Release 5.2.0.248H

Change-Id: I309eec798ae2accd10c92a800261fc5387ebb3de
CRs-Fixed: 774533
2021-09-18 21:40:06 -07:00
Jianmin Zhu
509be8c4f4 qcacld-3.0: Fix SAP alone failed when g_sta_sap_scc_on_dfs_chan is 1
if g_sta_sap_scc_on_dfs_chan is 1, SAP can't start on DFS channel except
there is STA/P2P client on it.
When SAP start alone,  when select SAP channel after ACS, need remove DFS
channel correctly by valid check.

Change-Id: Ie500816bb0aeae3efd18767e64901bf19bedd6fc
CRs-Fixed: 3036095
2021-09-18 21:40:05 -07:00
Madan Koyyalamudi
43c3d663af Release 5.2.0.248G
Release 5.2.0.248G

Change-Id: Id6ca33941db5bc4e047daca27d5146ff31fb6c0e
CRs-Fixed: 774533
2021-09-18 19:26:55 -07:00
Wu Gao
943e48a155 qcacld-3.0: Correct tx power value
It's 0.5 db unit from halphy, so correct the tx power in host side.

Change-Id: I119f86814310d402a8bf4c200c92a680488e5731
CRs-Fixed: 3030628
2021-09-18 19:26:55 -07:00
Madan Koyyalamudi
826fe85687 Release 5.2.0.248F
Release 5.2.0.248F

Change-Id: Ia84e8d9f83091fc486d806c460b624b1f599c1f2
CRs-Fixed: 774533
2021-09-18 10:54:52 -07:00
Aditya Kodukula
ecaf320fdc qcacld-3.0: Add Kernel version check to enable AKM support
Add a kernel vesion check to enable the AKM suites support.

Change-Id: I3d4897b37023e357b7023e60c6777c9b836f5df0
CRs-Fixed: 3035884
2021-09-18 10:54:52 -07:00
Madan Koyyalamudi
f7c93a3579 Release 5.2.0.248E
Release 5.2.0.248E

Change-Id: I1fede316cb2148471aebd9606131959610b653f0
CRs-Fixed: 774533
2021-09-17 16:53:26 -07:00
Gururaj Pandurangi
98f9fe57f4 qcacld-3.0: Reduce log level of certain error logs
Reduce log level of a few error logs to reduce
excessive logging.

Change-Id: I3e93d033bc29a7dfee5c5ef18d52cded54fc1cbb
CRs-Fixed: 3035970
2021-09-17 16:53:25 -07:00
Madan Koyyalamudi
062e9de50c Release 5.2.0.248D
Release 5.2.0.248D

Change-Id: I5ebba1f3c41f99fde3c586ba7edf2493f84c5864
CRs-Fixed: 774533
2021-09-17 13:47:53 -07:00
Pragaspathi Thilagaraj
c575e2a228 qcacld-3.0: Enhance the dequeue logic to limit logs per second
Restrict the dequeue logic to send only 20 logs per second
to userspace. Add check to see if queue is empty before
trying to dequeue.

Change-Id: I778556c649d123718cf76c943c5b2ed7f6c6e8e5
CRs-Fixed: 3014554
2021-09-17 13:47:52 -07:00
Pragaspathi Thilagaraj
612fe2eca2 qcacld-3.0: Add infrastructure for connect/roam logging
Add new files for connect/roam logging. Add changes to
initialize the logging buffer.
Make changes to support enqueue/dequeue log.
Define enums for MAIN_TAG, Sub TAG, category.
Add structure definitions for logging buffer.

Change-Id: I1d283fcf464da90d4f5533214d480ddda156ec27
CRs-Fixed: 3013486
2021-09-17 13:47:47 -07:00
Madan Koyyalamudi
a508e25951 Release 5.2.0.248C
Release 5.2.0.248C

Change-Id: I63468fa7763704bba2f30086436c0c0964d70d9f
CRs-Fixed: 774533
2021-09-17 11:28:50 -07:00
Ashish Kumar Dhanotiya
6e6c8ad277 qcacld-3.0: Update HE connection width correctly
Currently driver does not update HE connection width
correctly when it indicates about assoc indication from
lim to hdd. Which results in incorrect indication of chwidth
to hdd.

To address this issue update HE connection width correctly
from lim to hdd.

Change-Id: I9ccc4435dc621ed3698f944fd2821afd648f2d1a
CRs-Fixed: 3028799
2021-09-17 11:28:50 -07:00
Sandeep Puligilla
8adfd4347f qcacld-3.0: Higher Bandwidth support 80/80+80/160 in 2.4G Band
Higher Bandwidth support 80/80+80/160 is enabled on 2.4G Band.

Modififed the population of peer capability logic to disable
80+80/160 based on the band.

Change-Id: I8319ef3fcd93676bca1115a088a926a772545d24
CRs-Fixed: 3030837
2021-09-17 11:28:45 -07:00
Ashish Kumar Dhanotiya
7195028bb7 qcacld-3.0: Create dump in progress wifi kobject under feature flag
Currently wifi creates kobject for dump in progress feature without
any feature flag, since this kobject is for dump is progress
feature and there is already feature flag available for this
feature so move this code under feature flag.

Change-Id: Ib1155194dbec434c3ecd9949514c6c9931e3e661
CRs-Fixed: 3036752
2021-09-17 11:28:40 -07:00
Madan Koyyalamudi
33380818b0 Release 5.2.0.248B
Release 5.2.0.248B

Change-Id: Ie3f931d4cfa3358ad3979bb5f5ad77f32d0e7503
CRs-Fixed: 774533
2021-09-17 08:45:11 -07:00
Vulupala Shashank Reddy
d593e54614 qcacld-3.0: Do not fill average rssi for RX packets
Currently average rssi is filled in rx packets as rssi not
available in rx tlv, but now ucode is providing rssi value
in rx tlv so do not fill average rssi as rssi is already
filled from rx tlv in packet capture component.

Change-Id: I67e5e4cf6f0eade0640012802d79fe92b87de001
CRs-Fixed: 3022166
2021-09-17 08:45:10 -07:00
Madan Koyyalamudi
6eb4789d87 Release 5.2.0.248A
Release 5.2.0.248A

Change-Id: Icc4b20923b1498c2c3c41d7fff62aabd26f5c46c
CRs-Fixed: 774533
2021-09-17 03:40:47 -07:00
Jyoti Kumari
6387e91bc8 qcacld-3.0: Don't allow GO/GC+GO/GC+STA on the same band
Add support to allow/disallow three port combinations on
same band based on PCL table

Change-Id: Id2e9ad7d17bab6ea0aff6913b25f0eb330dc6c13
CRs-Fixed: 3028527
2021-09-17 03:40:47 -07:00
Madan Koyyalamudi
62e29ab7ec Release 5.2.0.248
Release 5.2.0.248

Change-Id: I674f0f2ecf3317d05b5ab3f1cb2da395e07fb68f
CRs-Fixed: 774533
2021-09-17 01:18:27 -07:00
sheenam monga
265f8960fa qcacld-3.0: Enhance g_enable_go_force_scc for liberal mode
INI g_enable_go_force_scc states the force MCC to SCC mode.
Mode 1-strict: Implement force scc strictly as part of start bss
Mode 2-liberal: Turn on p2p go on provided channel and move
first p2p go to the new p2p go channel after set key.

Currently for p2p-GO forceSCC, support is present where no matter
what is the GO negotiated channel in start_bss, driver will force
the other GO/STA/GC channel (on the same band) to the current GO
channel. This is force SCC strict mode where value 1 is used for
g_enable_go_force_scc ini. In this mode GC will have to do full
scan as the GO channel may be different from actual negotiated
channel. DUT may see some issues if GC dosent do full scan in
this mode.

As part of this change, add support for value 2(Liberal mode)
in g_enable_go_force_scc ini. As part of this liberal mode,
driver will allow the GO to start in MCC mode and after set key,
it will check any other concurrent GO and will do forceSCC for
that GO to the newly formed GO channel.

Change-Id: Ifc7beb06335616c51dc064f48a78b825dbdbda25
CRs-Fixed: 2992098
2021-09-17 01:18:27 -07:00
sheenam monga
c339ab4ddf qcacld-3.0: Check Fw capability to support p2p + p2p concurrency
Check fw capability to support p2p + p2p concurrency from
soc_fw_ext_caps and based on fw capability, set policy
mgr concurrency for p2p + p2p.

Change-Id: Ia32f81f37174e9d722911b1fae6d4897d0af9816
CRs-Fixed: 2991300
2021-09-17 01:18:20 -07:00
Jyoti Kumari
24cc88ae75 qcacld-3.0: Argument mismatch in sta_ap work queue
From the caller, the args comes as pm_ctx but in definition
it's assigned as work_info which causes crash.

Change-Id: I9928a2c3862407b02cb34356ad54895e1d3069c7
CRs-Fixed: 3035090
2021-09-17 01:18:14 -07:00
Will Huang
5936edf256 qcacld-3.0: Add H2E require flag to extended support rate
If SAE/H2E required by hostapd configure, it must populate in
supported rate or extended support rate set, add host driver support
to check this flag and populate it in extended support rate set.

Change-Id: Id75b5743e93a1a0f1d13150d5436d256e2ca117c
CRs-Fixed: 3016492
2021-09-17 01:18:06 -07:00
Madan Koyyalamudi
20a00e8cab Release 5.2.0.247Z
Release 5.2.0.247Z

Change-Id: I71c55fdfdc90349b62c7e41ca40be2295e3126a4
CRs-Fixed: 774533
2021-09-16 10:47:25 -07:00
Pragaspathi Thilagaraj
6d69abef11 qcacld-3.0: Fix invalid bss descriptor length check
bss_descriptor->length is calculated as:
bss_desc->length = ie_length + sizeof(*bss_desc) -
                   sizeof(bss_desc->len)

In wlan_get_ielen_from_bss_description(), the bss_desc length is
validated as below to return failure if ie_length is 0:
=> (bss_desc->length - sizeof(bss_desc->len)) <= ieFields_offset
Since the bss_desc->length already has the sizeof(bss_desc->len)
subtracted while it was populated.
So this could return failure, if the SSID IE length is less than
or equal to 4.
To avoid this, change the failure condition as below:
(bss_desc->length <= (ieFields_offset - sizeof(bss_desc->len))

Change-Id: Ib0af8e967c26ff0ca9a3b8c44107be4e80378e01
CRs-Fixed: 3022657
2021-09-16 10:47:24 -07:00
Ashish Kumar Dhanotiya
33ec87f37a qcacld-3.0: Add feature flag for connection roaming ini
Currently driver don't have any feature flag for connection
roaming ini config and it directly tries to read the connection
roaming ini file, on some of the platforms if this ini file is
not present it returns failure message but some of the platforms
results in timeout which results in unexpected behavior.

To address above issue add a feature flag to read connection
roaming ini config.

Change-Id: Ica4159533e46ca5cc2048bf50eab2290bf5ae7d5
CRs-Fixed: 3035148
2021-09-16 10:47:19 -07:00
Madan Koyyalamudi
994d6cf5e2 Release 5.2.0.247Y
Release 5.2.0.247Y

Change-Id: I15860f2bd2adf3f108bde2cc3298a79e6d96056c
CRs-Fixed: 774533
2021-09-16 08:28:20 -07:00
Alan Chen
b876624d30 qcacld-3.0: Change log level of ns offload print
Change the failed to cache ns request log level from error to debug.

Change-Id: Idc5799f41d831c238efd6061e1363a9fd58b63c5
CRs-Fixed: 3037768
2021-09-16 08:28:20 -07:00
Madan Koyyalamudi
4046d9f920 Release 5.2.0.247X
Release 5.2.0.247X

Change-Id: Ide576a7e325c109b57a07266ae9d9a0df6eec014
CRs-Fixed: 774533
2021-09-16 05:09:24 -07:00
Kiran Kumar Lokere
ede9944e73 qcacld-3.0: Fix the issue with HE mcs map config
Supported HE Rx MCS map is disabled if the intersected Tx MCS
map has no supported MCS. Derive the Rx MCS map with self Tx and
peer Rx MCS map.

Change-Id: I27281c168dd507edc97b1e6a4085037c508a5b96
CRs-Fixed: 3030433
2021-09-16 05:09:23 -07:00
Madan Koyyalamudi
f81d4dc850 Release 5.2.0.247W
Release 5.2.0.247W

Change-Id: Icf995b5283509a79de2c0fd1b024d2fff3f78aeb
CRs-Fixed: 774533
2021-09-15 21:40:58 -07:00
Wu Gao
1d47331183 qcacld-3.0: Required to support 64 peers on SDX65
This is requirement about support 64 peers for AP+AP case on SDX65
platform.

Change-Id: I2cdd42034f1f1e8e7907f50ad86a33f494a23d48
CRs-Fixed: 3017839
2021-09-15 21:40:58 -07:00
Madan Koyyalamudi
3e89fb67ba Release 5.2.0.247V
Release 5.2.0.247V

Change-Id: I99ccf561ab2aa65ec4fb584d1a7a69e07519f260
CRs-Fixed: 774533
2021-09-15 18:51:20 -07:00
Bapiraju Alla
a258356ca1 qcacld-3.0: Don't set link id info present in ML probe request
Don't set link id info present bit in the ML IE of the probe request

Change-Id: I62a04969c8c6f731ab8c68f6af2cb29219a19cb2
CRs-Fixed: 3035997
2021-09-15 18:51:20 -07:00
Madan Koyyalamudi
f28e14bfa2 Release 5.2.0.247U
Release 5.2.0.247U

Change-Id: Iefff8b899fa8c39d97f448cf41b5cb78f912a217
CRs-Fixed: 774533
2021-09-15 10:49:51 -07:00
Yu Wang
8414ad919b qcacld-3.0: add support for hw mode selection offload
If flag WMI_SERVICE_HW_MODE_POLICY_OFFLOAD_SUPPORT is
advertised in service capability, host should not set
HW mode explicitly, firmware takes control of managing
HW mode.

Change-Id: I10a8ad5201db375cc21255661b7cf46b9dd6e05f
CRs-Fixed: 3017062
2021-09-15 10:49:51 -07:00
Madan Koyyalamudi
b5bc501181 Release 5.2.0.247T
Release 5.2.0.247T

Change-Id: I13cd281baef7d65597bca060d8131d144259d41a
CRs-Fixed: 774533
2021-09-15 08:40:19 -07:00
Will Huang
a54bb30ccb qcacld-3.0: Rename variables name chan to chan_freq of wlan_hdd_mgmt_tx
We have fixed using channel number as internal parameter instead of
chan frequency with change I60fe37d7d716eeaceaa00f3fb59c77b629ebacac,
but variables name are still chan which might cause confused to reader.

Rename all places where "chan" to "chan_freq", which actually channel
frequency used. And alter miss APIs which still expect channel number.

Change-Id: I948cbad133a17093f49384b563966d2c53b51707
CRs-Fixed: 3033951
2021-09-15 08:40:19 -07:00
Madan Koyyalamudi
9e8cf68953 Release 5.2.0.247S
Release 5.2.0.247S

Change-Id: I23c331141fdcc09d93f498dc97394fb162a97dfe
CRs-Fixed: 774533
2021-09-15 06:12:52 -07:00