Commit Graph

24301 Commits

Author SHA1 Message Date
Wu Gao
41fdb8f5d0 qcacld-3.0: Fix compilation issue about roam offload
This change fixed compilation issue when defined macro
WLAN_FEATURE_CONNECTIVITY_LOGGING but no WLAN_FEATURE_ROAM_OFFLOAD.

Change-Id: I78f58c2bcfffb66ddf9390a8d724821faa90563c
CRs-Fixed: 3066954
2021-11-03 08:23:08 -07:00
Wu Gao
7585fba94b qcacld-3.0: Fix compilation issue about 64-bit division
This change fixed compilation issue about the 64-bit division in
sdxlemur - a 32-bit architecture, which is not defined
"__aeabi_uldivmod" for the 32-bit architecture.

Change-Id: Ief75e7903fe301f5641fa4f734dc8129a7501b7e
CRs-Fixed: 3067887
2021-11-03 08:23:03 -07:00
Madan Koyyalamudi
a020e241b6 Release 5.2.0.254H
Release 5.2.0.254H

Change-Id: Ie51304afb9529b62c01d0e5c88c8330a9cbd1631
CRs-Fixed: 774533
2021-11-03 03:49:50 -07:00
Rongjing Liao
d0be368b20 qcacld-3.0: Fix stop_bss_event timeout issue
Sometimes 'qdf_event_set(&hostapd_state->qdf_stop_bss_event)'
is invoked from 'wlansap_stop_bss' in other thread before
invoking 'qdf_event_reset(&hostapd_state->qdf_stop_bss_event)'.
Then 'stop_bss_event' timeout happens even if 'qdf_stop_bss_event'
has been set.

To fix this issue, make sure 'qdf_event_reset(&hostapd_state->
qdf_stop_bss_event)' happens before 'wlansap_stop_bss'.

Change-Id: I2e591290453e0a6463f04680fd8c476738ae8a65
CRs-Fixed: 3060404
2021-11-03 03:49:50 -07:00
Madan Koyyalamudi
3d636ecabd Release 5.2.0.254G
Release 5.2.0.254G

Change-Id: I9144590b9bb4d5312a0f8f63c1bfa5d2727ae603
CRs-Fixed: 774533
2021-11-03 02:20:06 -07:00
Bing Sun
7bceef962a qcacld-3.0: Send sta delete confirm to SME for partner link
Currently sta assoc confirm is sent to HDD for every link, so sta
delete confirm should be sent to HDD for every link too.

HDD layer needs sta assoc and delete confirm notification from lim.

Change-Id: Id46078db13f7dc569bb4466dfe685ad1a9ab7cea
CRs-Fixed: 3064782
2021-11-03 02:20:06 -07:00
Madan Koyyalamudi
3aa099fba7 Release 5.2.0.254F
Release 5.2.0.254F

Change-Id: I14f78a54277e6134206eaa9e4e73740fc9a11829
CRs-Fixed: 774533
2021-11-03 00:21:34 -07:00
Sandeep Puligilla
4cf1df7ddc qcacld-3.0: Enable UL MU for 5g/6g
UL MU is not enabled in 5G HE capability.

HE global configuration is populated by averaging
all the hardware modes capabilities. UL MU is disabled
in 2G mode so global capability UL MU is disabled.
Modified code to obtain the UL MU capability from 5G specific
capability structure.

Change-Id: I949b121a4ae7e72228ea0efdec08144a8ad85f20
CRs-Fixed: 3065515
2021-11-03 00:21:33 -07:00
Madan Koyyalamudi
f8abf76cea Release 5.2.0.254E
Release 5.2.0.254E

Change-Id: I2e8455c5f64832ec814ced73cc401f5a9ab30d1b
CRs-Fixed: 774533
2021-11-02 21:21:23 -07:00
Pragaspathi Thilagaraj
6fe2a95d0d qcacld-3.0: Print BTM response for WTC BTM frame also
For the WTC BTM roam trigger, BTM response is not printed.
So print the BTM response logs for WTC BTM frame also.

Change-Id: I679697ec08a42a862c251175261162bc95206d03
CRs-Fixed: 3062727
2021-11-02 21:21:23 -07:00
Madan Koyyalamudi
754b1835c1 Release 5.2.0.254D
Release 5.2.0.254D

Change-Id: Id0f3d971db7256ba331aea1a485c5c501eb2ed05
CRs-Fixed: 774533
2021-11-02 19:32:01 -07:00
Bapiraju Alla
f1fe15362c qcacld-3.0: Fix 11BE compilations when kernel doesn't support 11be
Along with 11BE feature macro, check for Kernel 11be macro to avoid
compilation issues when kernel doesn't support 11be.

Change-Id: I9fb84b6263cbdca4cde93e3a581acdbfe0fe2b34
CRs-Fixed: 3066175
2021-11-02 19:32:01 -07:00
Madan Koyyalamudi
5b790bad1d Release 5.2.0.254C
Release 5.2.0.254C

Change-Id: Ibc7b058e2f3e63cccc5eb47287f51cac8ad21c59
CRs-Fixed: 774533
2021-11-02 17:57:08 -07:00
Arun Kumar Khandavalli
9b71ff1c5f qcacld-3.0: unblock the state control param thread at end of SSR
Currently the state control param thread is unblocked 1st and then
the psoc transition is completed, there could be a chance that SSR
thread got scheduled out and wifi thread tried to comeup and issue
interface up which could fail because psoc transition is till in
progress.

So, unblock the wifi thread waiting on state control param after
stopping the psoc transition at the end of SSR.

Change-Id: I4631fb9aae6a5416ba70b24fe3c053528bd3b7d9
CRs-Fixed: 3066968
2021-11-02 17:57:08 -07:00
Madan Koyyalamudi
a699d4dc3e Release 5.2.0.254B
Release 5.2.0.254B

Change-Id: If04832b3b31203e4e8663568d99ee21c41c744b2
CRs-Fixed: 774533
2021-11-02 16:31:47 -07:00
Yeshwanth Sriram Guntuka
50dc3f6626 qcacld-3.0: Capture few hdd tx stats on per cpu basis
Few of the hdd tx stats are not collected on per cpu
basis due to which these counts could potentially be
lower than the actual values. Collect some of the tx
stats on a per cpu core.

Change-Id: I8eba5df456866bdd50dc5fcfdb9591ac837d9116
CRs-Fixed: 3059303
2021-11-02 16:31:47 -07:00
Madan Koyyalamudi
04057140c6 Release 5.2.0.254A
Release 5.2.0.254A

Change-Id: Ic254105a3a826552753a8cc52e756ae9cf59b4b1
CRs-Fixed: 774533
2021-11-02 11:02:21 -07:00
Gururaj Pandurangi
0388582841 qcacld-3.0: Revert "Disable 6G security check if RF testmode is enabled"
The RF test mode cfg item is kept as 1 by default and no action is required
during init if it is set.

Change-Id: Ieb561fb81f77470c45df46ee2319ff51c05df742
CRs-Fixed: 3056554
2021-11-02 11:02:21 -07:00
Madan Koyyalamudi
61a934da52 Release 5.2.0.254
Release 5.2.0.254

Change-Id: Ia40a40fc0d1bf5633d7afe57d255dce667100d4c
CRs-Fixed: 774533
2021-11-02 06:29:20 -07:00
Srinivas Dasari
36a55492f6 qcacld-3.0: Don't proceed with NDP peer handling if NDI is not UP
Firmware might send NDP peer indication/NDP responder response
while NDI deletion is in progress. Currently, NDP peer entry
gets added though vdev is moved to DOWN state and cleanup is
in progress. This leads to stale peer entry on that NDI vdev
and doesn't allow vdev delete when IFF_DOWN comes, as a peer
is present.
Check the vdev state before creating peer for NDP and skip
peer creation if NDI vdev is not in UP state(which indicates
that the vdev down is happening).
Also, don't process the NDP confirm if NDP peer is not created.

Change-Id: I73e79cc33b1a294e3f4a4a6e2f371033862c5709
CRs-Fixed: 3061756
2021-11-02 06:29:20 -07:00
Madan Koyyalamudi
2a93a7c36e Release 5.2.0.253Z
Release 5.2.0.253Z

Change-Id: I66ea866ed630e81180a38bb804faea605c0bcc1e
CRs-Fixed: 774533
2021-11-02 04:59:56 -07:00
Amruta Kulkarni
c5705afece qcacld-3.0: Update freq param in connectivity log
While logging, scoring info freq param is not updated.
Fix is to add freq info in the log record sent to supplicant.

Change-Id: Id3c0d154e245376f494970c99589db0c3d37f7ac
CRs-Fixed: 3065693
2021-11-02 04:59:56 -07:00
Madan Koyyalamudi
33e9615dcc Release 5.2.0.253Y
Release 5.2.0.253Y

Change-Id: I314b2e15152e224a7a0615e2b700e5310d399a5f
CRs-Fixed: 774533
2021-11-01 20:09:17 -07:00
Lin Bai
c0f9c692df qcacld-3.0: Re-enable RSO when SAP disabled during CSA
RSO for connected STA(s) will be disabled before SAP CSA,
and re-enabled after channel switch complete event received.

In case SAP disabled after CSA request sent, but before
channel switch complete event back, RSO on other connected
STA(s) will be disabled always.

Re-enable RSO properly when SAP disabled.

Change-Id: I64a628f6af5a3ec7cbc278461b983c751498f579
CRs-Fixed: 3065852
2021-11-01 20:09:17 -07:00
Madan Koyyalamudi
68e7213b47 Release 5.2.0.253X
Release 5.2.0.253X

Change-Id: I8b4c6410613cf34690551342afc1fc05c8608227
CRs-Fixed: 774533
2021-11-01 01:42:17 -07:00
Deeksha Gupta
8ca26ac642 qcacld-3.0: Update channel_before_switch_band in passive chan switch case
In current scenario, SAP is unable to switch from 2.4GHz to
5Ghz if previous CSA happens with reason CSA_REASON_CHAN_PASSIVE.

For instance, SAP starts on 5Ghz with Country US, and later it
changes to country 00 after MCC. Since in country 00, all 5Ghz
channels are passive, so SAP switches to 2.4Ghz with reason
CSA_REASON_CHAN_PASSIVE. Again if MCC happens to country US then
SAP is unable to switch from 2.4Ghz to 5Ghz. This is because
chan_freq_before_switch_band and chan_width_before_switch_band
are not filled in CSA_REASON_CHAN_PASSIVE case.

As part of fix, in wlansap_get_chan_band_restrict(), update the
chan_freq_before_switch_band and chan_width_before_switch_band
incase channel switch reason is CSA_REASON_CHAN_PASSIVE.

Change-Id: I9610b17cff3f6e0e5257270d2fccd5586c9913f9
CRs-Fixed: 3055017
2021-11-01 01:42:17 -07:00
Madan Koyyalamudi
7bbcbb8c3e Release 5.2.0.253W
Release 5.2.0.253W

Change-Id: Ie1b1b5cf8efbc9be45d80819bcc5594f07a23543
CRs-Fixed: 774533
2021-11-01 00:04:55 -07:00
Amruta Kulkarni
90a5a30c3b qcacld-3.0: Fix check for SAE frame length
For SAE preauth and auth frame api fix
frame length checks.

Change-Id: I573ec898d810c4f5f81d4d1bbda5681b9edacc5c
CRs-Fixed: 3064386
2021-11-01 00:04:55 -07:00
Madan Koyyalamudi
bc3462e8fc Release 5.2.0.253V
Release 5.2.0.253V

Change-Id: Icf5efec2a9debcc648c5a499d66bdc84ca5a2ee1
CRs-Fixed: 774533
2021-10-30 02:19:25 -07:00
Alan Chen
53eb6ff8dd qcacld-3.0: Change PAGE_FAULT log string to PF
As requested by OEM, change PAGE_FAULT log string to PF so as
not to confuse it for a critical problem for OEM.

Change-Id: I4057513670b348dd772b42777b5623722eeafc45
CRs-Fixed: 3064527
2021-10-30 02:19:25 -07:00
Madan Koyyalamudi
23dd95581a Release 5.2.0.253U
Release 5.2.0.253U

Change-Id: Iea7f0bca0bbc01437fabb1ecbf17364e3c666b27
CRs-Fixed: 774533
2021-10-29 16:22:53 -07:00
Bapiraju Alla
0a4b4b7792 qcacld-3.0: Reduce error logging for non-fils connection
Withe latest changes, fils APIs are invoked for non-fils connection
as well. To avoid unnecessary logging, remove error logs when fils
IE is not present.

Change-Id: I8a5a03f4df4bc25b9b89f43fe0ab135b1bdd58a7
CRs-Fixed: 3063130
2021-10-29 16:22:53 -07:00
Madan Koyyalamudi
2930c4ea83 Release 5.2.0.253T
Release 5.2.0.253T

Change-Id: Ibe360d010a064c728226efc42176b0740eea32ee
CRs-Fixed: 774533
2021-10-29 12:03:35 -07:00
sandhu
df7838416c qcacld-3.0: Add fisa lru deletion support
Add fisa support to least recently used flow when adding a
new flow. if no empty entry in skid length window is found.
Delete and replace least recently used flow with new flow.

Change-Id: I3808d9b4570c8af698bb1ecafa19cbb2000bcae6
CRs-Fixed: 2954064
2021-10-29 12:03:35 -07:00
Madan Koyyalamudi
d7932c18ec Release 5.2.0.253S
Release 5.2.0.253S

Change-Id: Id3ac2673771b8e01ddca73b513e4b33b128a0eb0
CRs-Fixed: 774533
2021-10-29 10:23:01 -07:00
Jyoti Kumari
7459b0b368 qcacld-3.0: Send proper return val to supplicant if twt ack fails
Host sends twt command to fw and waits for ack event from fw. If
host receives the ack event as failure then it should send proper
return value to supplicant instead of success.

As part of fix, host should send proper return value to
supplicant.

Change-Id: I32fd1a688dc22d4c5221fea375e22e8a8c701e7c
CRs-Fixed: 3064089
2021-10-29 10:23:01 -07:00
Amit Mehta
eba64c70d7 qcacld-3.0: Update tx Failed Count
Currently, we are updating tx failed based upon
MPDU tx fail count received from FW.

In addition to the fail count received from FW
add MPDU tx retries done in case of successful
transmission to tx failed.

Change-Id: Ib993c71a99dd4d59df116a454336716352122a8e
CRs-Fixed: 3058364
2021-10-29 10:22:56 -07:00
Madan Koyyalamudi
e10833a985 Release 5.2.0.253R
Release 5.2.0.253R

Change-Id: I0be4937ddd155579a3a25774279446d9755ccc5e
CRs-Fixed: 774533
2021-10-28 21:21:41 -07:00
Lin Bai
9d7f4239f2 qcacld-3.0: Don't delete peer if assoc_req rejected
As ref-STA peer not created yet when handling assoc_req frame,
don't delete peer if DUT decide to reject the incoming
association request.

Change-Id: I3532545c9c6f498a2649bd943e3d45c49a1ce3e6
CRs-Fixed: 3064763
2021-10-28 21:21:41 -07:00
Pragaspathi Thilagaraj
4390b7510b qcacld-3.0: Flush the specific channels on ADDROAMSCANFREQUENCIES
When ADDROAMSCANFREQUENCIES is received, the specific channel
list is not flushed in the driver. This causes the static
channel list to be sent to firmware.

Flush the specific channel list when the ADDROAMSCANFREQUENCIES
command is received.

Change-Id: Id0422f9c5a4b10530fecc309a78cedf9adbc43af
CRs-Fixed: 3063734
2021-10-28 21:21:35 -07:00
Madan Koyyalamudi
9f4f2e43f0 Release 5.2.0.253Q
Release 5.2.0.253Q

Change-Id: I94fd1e1c3d19d99dfd49c84dbc1d75905298cf46
CRs-Fixed: 774533
2021-10-28 19:49:03 -07:00
Ashish Kumar Dhanotiya
18f91115b7 qcacld-3.0: Remove extra check to validate BW in set ap chan width
There is already a check to validate BW so remove extra BW
validation.

Change-Id: I104e08c2a3b202a84631993a356020d4de1c9de3
CRs-Fixed: 3064188
2021-10-28 19:49:02 -07:00
Madan Koyyalamudi
b8bc028078 Release 5.2.0.253P
Release 5.2.0.253P

Change-Id: I5037a0a3d50b7e794469a5da002e8583878f4d8a
CRs-Fixed: 774533
2021-10-28 18:18:43 -07:00
Utkarsh Bhatnagar
3cdd05d709 qcacld-3.0: Add Ini for SBS
Add Ini to Disable/Enable SBS.
Also, if INI is set then only set
the fw mode config bit corresponding
to SBS.

Change-Id: I839990dcd9bd2daf3df2c64abe5fa74a99c73051
CRs-Fixed: 3065084
2021-10-28 18:18:43 -07:00
Madan Koyyalamudi
c2f10811c9 Release 5.2.0.253O
Release 5.2.0.253O

Change-Id: I18b0c7b49e2586274e7cab912ecdc8d2f9146740
CRs-Fixed: 774533
2021-10-28 10:21:10 -07:00
Jinwei Chen
3cd06e5ecf qcacld-3.0: RX packet FW reinjection check for FISA
For beryllium, use sw_exception bit to indentify is it FW
reinjected frame or not, if sw_exception bit is marked, then
skip FISA for these kind of frame.

Change-Id: I6ca74c244c366641a7bcfddff2834550b1e5b472
CRs-Fixed: 3056157
2021-10-28 10:21:10 -07:00
Madan Koyyalamudi
f9e3032c3d Release 5.2.0.253N
Release 5.2.0.253N

Change-Id: I2bea47c1216ca41ef2a5b52abb0d1b3a5ddc45c6
CRs-Fixed: 774533
2021-10-28 01:33:31 -07:00
Gururaj Pandurangi
c4a39c5553 qcacld-3.0: Update EIDs for ML, EHT cap and EHT op IEs
Update element ID extensions for EHT op, ML, and EHT cap IEs
to 106, 107 and 108 respectively as per current ANA database.

Change-Id: Ifa2335f0b731a9f0a47ba1e2de3232c35a3493f9
CRs-Fixed: 3036101
2021-10-28 01:33:31 -07:00
Madan Koyyalamudi
3c8b1bc406 Release 5.2.0.253M
Release 5.2.0.253M

Change-Id: Iaf6924cb8067a783ee271aeab7688c2761dfb1a8
CRs-Fixed: 774533
2021-10-27 23:59:03 -07:00
Gururaj Pandurangi
6de563df2e qcacld-3.0: Avoid OOB read in sch_get_csa_ecsa_count_offset
Avoid OOB read in sch_get_csa_ecsa_count_offset API by
adding check for ie_len before subtracting element ID len
from it.

Change-Id: Id86e69b2c5abc37a4f33125dc5fd0bd1d92f64a7
CRs-Fixed: 3049251
2021-10-27 23:59:03 -07:00