Commit Graph

24327 次程式碼提交

作者 SHA1 備註 提交日期
abhinav kumar
a8f171946b qcacld-3.0: Send the deauth/disassoc mgmt frame info
When the wait_for_ack flag is not set in deauth/disassoc
case, the Host does not send the management frame info
log event to userspace.

Make changes to send the deauth/disassoc events when
wait_for_ack flag is not set.

Change-Id: Id9f4f2e4af124644d919bf36b12376d292acfe3e
CRs-Fixed: 3065707
2021-11-05 14:20:46 -07:00
Madan Koyyalamudi
dc34f76f52 Release 5.2.0.254T
Release 5.2.0.254T

Change-Id: I45c3624d38a46b6995cac5ad89f8bc1e08416bc9
CRs-Fixed: 774533
2021-11-05 12:32:26 -07:00
Yeshwanth Sriram Guntuka
931a150a12 qcacld-3.0: Enable TX multiq per AC config for LI/BE
Enable TX multiple queues per AC config flag for
Lithium and Beryllium.

Change-Id: I491991716fdddbd4c9e972d5fd3f6c1a67f3bb6f
CRs-Fixed: 3069651
2021-11-05 12:32:26 -07:00
Madan Koyyalamudi
499f7f7280 Release 5.2.0.254S
Release 5.2.0.254S

Change-Id: Id43e03715629b2c987a0b2e8cde94679de3ed362
CRs-Fixed: 774533
2021-11-05 11:03:04 -07:00
Yu Wang
c4eaf26603 qcacld-3.0: set ACS start and end frequency for one channel case
If there is only one channel left after trimming ACS channel list, the
start and end channel frequency in ACS config are not set, which may
result in unexpected behaviors, e.g. the function is_mcc_preferred()
always returns false in such case.
To avoid that, set both frequencies to the one being selected.

Change-Id: If7c4106d2547feb866f1d5139fcb07c921f1d046
CRs-Fixed: 3069590
2021-11-05 11:03:03 -07:00
Madan Koyyalamudi
a6d6e551aa Release 5.2.0.254R
Release 5.2.0.254R

Change-Id: I5a597471e9c966f0f4ac22513ad8691ae5f624c8
CRs-Fixed: 774533
2021-11-05 07:59:31 -07:00
Yeshwanth Sriram Guntuka
21958305b5 qcacld-3.0: Add support for multiple queues per AC in TX
Add support for multiple queues per access category and
flow steering in TX.

Change-Id: I40385ab300fc2f7ef83a0f052b95e32a25accfb0
CRs-Fixed: 3059758
2021-11-05 07:59:31 -07:00
Madan Koyyalamudi
6dd68b8cba Release 5.2.0.254Q
Release 5.2.0.254Q

Change-Id: I08a5ff91133943f125a693a162c99438c1e48108
CRs-Fixed: 774533
2021-11-05 02:34:33 -07:00
Utkarsh Bhatnagar
40d0e1ae42 qcacld-3.0: Cleanup WMA HWMODE
Cleanup WMA HWMODE and WMA HWMODE List
as the same functionality is already taken
care by policy manager

Change-Id: I5dc1342422e70737111f882013ed3a6351a85336
CRs-Fixed: 3064739
2021-11-05 02:34:33 -07:00
Madan Koyyalamudi
59fc065c82 Release 5.2.0.254P
Release 5.2.0.254P

Change-Id: Iac88142c75f1a1b946506e5260dab517ab84ce40
CRs-Fixed: 774533
2021-11-04 23:11:50 -07:00
Amruta Kulkarni
45636b3569 qcacld-3.0: Fix sign for rssi threshold
In connectivity logs, for roam scan fix sign for rssi threshold.

Change-Id: I850103b3b60b0a98ac06dd0f6ba55248e52fba93
CRs-Fixed: 3068780
2021-11-04 23:11:49 -07:00
Madan Koyyalamudi
5bcfbb7fe1 Release 5.2.0.254O
Release 5.2.0.254O

Change-Id: I3013c501a04006c60d4775dca6e2c189e3c5f79d
CRs-Fixed: 774533
2021-11-04 10:19:35 -07:00
Utkarsh Bhatnagar
ddbdadf8a6 qcacld-3.0: SBS changes for allowing concurrency
Modify policy_mgr_is_concurrency_allowed() to support
SBS concurrencies as well. For this, the following
sub functions are modified/added:

policy_mgr_allow_same_mac_diff_freq(): Check whether
different Frequencies are allowed on same MAC

policy_mgr_allow_same_mac_same_freq(): check whether
given frequency is allowed for same mac

Modify policy_mgr_allow_new_home_channel() to consider
Frequency Range of Mac instead of Operational Frequency
Band.

policy_mgr_allow_sap_go_concurrency() is also modified
to consider frequency range.

Change policy_mgr_is_5g_channel_allowed() and
policy_mgr_is_6g_channel_allowed() to allow STA on SBS
channel if SAP/Go on DFS Channel and no other active
2.4 Ghz connection.

Change-Id: Ifcd001d70e4705b33f1b7e2e3f6c296e0545eeeb
CRs-Fixed: 3052778
2021-11-04 10:19:34 -07:00
Madan Koyyalamudi
2e7e53c9f3 Release 5.2.0.254N
Release 5.2.0.254N

Change-Id: Ic336c9073cae6e2b054a2e3132697632192b9df1
CRs-Fixed: 774533
2021-11-04 08:19:36 -07:00
Srinivas Dasari
63b110484e qcacld-3.0: Pick a valid channel for NDI start
Currently, NAN 5GHz social channel 44(5220) is picked to start
the BSS for NDI if 5GHz band is supported. But the channel
might get disabled due to regulatory constraints or
user/applications might also disable based on the usecase.
NDI fails to start in such cases.
Pick a valid channel to start the BSS and give preference to
NAN social channels.
Also, don't allow NDI start when NAN discovery is not enabled
to avoid issues due to DBS incase if NDI to be started in
a 2.4GHz channel.

Change-Id: I562d0f4f6a425ad7fb4cd043e696d3d573854b3b
CRs-Fixed: 3068545
2021-11-04 08:19:36 -07:00
Madan Koyyalamudi
df37a6ab38 Release 5.2.0.254M
Release 5.2.0.254M

Change-Id: Ic7c7945660a7defe253e0e380202f077d620436d
CRs-Fixed: 774533
2021-11-04 00:19:12 -07:00
abhinav kumar
e0d53ca3bb qcacld-3.0: Set correct roam band mask
Currently, the driver sets roam band mask to
REG_BAND_MASK_ALL(2.4G + 5G + 6G) when it receives
the value of vendor bitmap as QCA_SETBAND_AUTO(0)
regardless of whether the driver supports 6G or not.

In case if the driver does not support 6G and userspace
sends vendor bitmap as auto, the driver should convert
roam band mask to REG_BAND_MASK_2G_AND_5G(2.4G + 5G).

Change-Id: I45c2083aa18de8216ebdc8a9dbd22388d07c679a
CRs-Fixed: 3068729
2021-11-04 00:19:12 -07:00
Madan Koyyalamudi
63baea78a1 Release 5.2.0.254L
Release 5.2.0.254L

Change-Id: I97fc735db16ce5197b47fe0cc35174e739defc0e
CRs-Fixed: 774533
2021-11-03 21:11:10 -07:00
Alan Chen
d60caf55b0 qcacld-3.0: Delete use cases of INI enable_dynamic_pcie_gen_speed_switch
INI item enable_dynamic_pcie_gen_speed_switch is no longer. Hence,
delete all uses cases of it.

Change-Id: I1082620c4354bda48ebc54aae7e72e5a81c4aa94
CRs-Fixed: 3068122
2021-11-03 21:11:10 -07:00
Madan Koyyalamudi
1a6c66d871 Release 5.2.0.254K
Release 5.2.0.254K

Change-Id: I43a621e56887b15da91a7c286abcad02fbda0794
CRs-Fixed: 774533
2021-11-03 18:20:27 -07:00
Surya Prakash Sivaraj
3697a5d4a1 qcacld-3.0: Fix invalid RSNIE in FT-FILS association request frame
In the FT-FILS initial mobility domain association over FILS in
an RSN, STA should send RSNIE with PMKR1-Name as the PMKID.
While constructing the association request RSN IE, packing the
PKMR1-NAME after stripping the group management cipher suite
causes corruption of the RSN IE.

Fix the RSN IE group mgmt cipher suite stripping issue by
moving to the right offset and copy the generated PMKR1-Name
to the association request frame.

Change-Id: Ib5c9687556390e60428b6e392b6ecb34d13693f5
CRs-Fixed: 3047182
2021-11-03 18:20:27 -07:00
abhinav kumar
9b12a42b9c qcacld-3.0: Update PCL config in FW after roaming
If STA + STA concurrency is in DBS then irrespective of
primary interface configuration, DUT should meet below
expectations:
1. Roaming should get enabled on both the STAs interfaces.
2. Host should ensure that roaming bands are restricted to
   maintain only DBS

Change-Id: Ib28cb232650893e46da0dd8e7d47d3876546a1a1
CRs-Fixed: 3056820
2021-11-03 18:20:22 -07:00
Madan Koyyalamudi
782e77974b Release 5.2.0.254J
Release 5.2.0.254J

Change-Id: Ibacadb995900929969205e956d8fd9a3d80c04c4
CRs-Fixed: 774533
2021-11-03 11:31:24 -07:00
Bapiraju Alla
de16bb7a09 qcacld-3.0: Fill partner channel info in connect response
Fill partner channel frequency information in ML connect response.

Change-Id: I20c65129c787ddbad256fa9da1a21a8cb3283be0
CRs-Fixed: 3060592
2021-11-03 11:31:23 -07:00
Madan Koyyalamudi
f979ce17c5 Release 5.2.0.254I
Release 5.2.0.254I

Change-Id: Ib24430357aad90577164878549849e6ad30c7868
CRs-Fixed: 774533
2021-11-03 08:23:13 -07:00
Utkarsh Bhatnagar
df0b9b7d19 qcacld-3.0: Fill sbs lowerband end freq
Update policy mgr sbs lowerband end freq
with the value received in FW Rx service ready
event.

Change-Id: I1664876765dcd5217ffce62ec81ba59b36bbaf21
CRs-Fixed: 3065151
2021-11-03 08:23:12 -07:00
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