Gráfico de commits

23203 Commits

Autor SHA1 Mensagem Data
Huashan Qu
f75e881d71 qcacld-3.0: Return success when firmware doesn't support 11k offload
Return success when firmware doesn't support 11k offload, or else
subsequent roaming related wmi commands have no chance to issue.

Change-Id: I69d55cca63f2b7ab4787295a2825159395cf2a11
CRs-Fixed: 2976163
2021-06-24 11:41:18 -07:00
Madan Koyyalamudi
80d45af790 Release 5.2.0.238
Release 5.2.0.238

Change-Id: I3c020a706f10007537971f3b5120d54167ce088f
CRs-Fixed: 774533
2021-06-24 09:31:00 -07:00
Srinivas Dasari
043081eff7 qcacld-3.0: Cleanup NDI session even if BSS start is in progress
NDI delete may get issue while NDI creation is still in progress.
NDI session doesn't get cleaned up as it's done based on
CSR_IS_CONN_NDI(&session->connectedProfile), which is valid only
after the NDI is created i.e. START_BSS success.
So cleanup should happen based on an intermediate check,
i.e. if WLAN_SER_CMD_VDEV_START_BSS is still in queue.
This was there earlier but got removed as part connection mgr
cleanup as the station connection is moved to CM path.
Add a check on WLAN_SER_CMD_VDEV_START_BSS and cleanup NDI.

Change-Id: If692cf0e594cbdcb89cd1d8a0ad591b5bae3de49
CRs-Fixed: 2969276
2021-06-24 09:31:00 -07:00
Madan Koyyalamudi
8b5fce1fa5 Release 5.2.0.237Z
Release 5.2.0.237Z

Change-Id: I4449341540903eacc016f8a134dad8ae528227df
CRs-Fixed: 774533
2021-06-24 07:21:39 -07:00
Jyoti Kumari
486100d756 qcacld-3.0: Don't use utils_dfs_mark_leaking_ch()
As part of regulatory cleanup, remove utils_dfs_mark_leaking_ch()

Use utils_dfs_mark_leaking_chan_for_freq() instead of
utils_dfs_mark_leaking_ch()

Change-Id: I796de0abb50fdbdf9d61768a190553e031a7989e
CRs-Fixed: 2972007
2021-06-24 07:21:39 -07:00
Madan Koyyalamudi
f47b0ebec6 Release 5.2.0.237Y
Release 5.2.0.237Y

Change-Id: Iaf4a6c87db025e71fb4ba5499cbb3604df717055
CRs-Fixed: 774533
2021-06-23 23:32:28 -07:00
Jinwei Chen
b01dccdb52 qcacld-3.0: suppot WHUNT for CMEM allocation
support WHUNT for CMEM allocation.

Change-Id: I2e28a39bdc5a910526707bc278e6e4a7b08d703f
CRs-Fixed: 2929515
2021-06-23 23:32:28 -07:00
Madan Koyyalamudi
181b3aefb2 Release 5.2.0.237X
Release 5.2.0.237X

Change-Id: Iedd35dd4c101fcc8bca62e06e68a4564ed0c4359
CRs-Fixed: 774533
2021-06-23 21:18:46 -07:00
Pragaspathi Thilagaraj
7e1ce1ef23 qcacld-3.0: Update exteneded capabilities after connection
The extended capabilities IE is sent during vdev create and
this doesn't have the merged extended capabilities from the
userspace. So some of the fields advertised in association
request are not advertised in the re-association request.

Fix the missing fields not set in the extended capabilities IE
by sending the set IE message to LIM after connection is
successful.

Change-Id: I322d057f602e0362f12b362e7818e84cbb056cf4
CRs-Fixed: 2971072
2021-06-23 21:18:46 -07:00
Madan Koyyalamudi
aa2a7173f8 Release 5.2.0.237W
Release 5.2.0.237W

Change-Id: Ia116802603d7b04f0e668876230d7e7d08032fdd
CRs-Fixed: 774533
2021-06-23 18:47:10 -07:00
Pragaspathi Thilagaraj
05957e00cd qcacld-3.0: Cache roam triggers when roaming is in progress
When roaming is in progress, if the roam control vendor command
is received to update the roam triggers, the command is rejected
but the trigger bitmap value is not cached at the driver.
This causes old roam trigger values to be updated in the next RSO
command.

Cache the roam trigger bitmap in mlme when roaming is in
progress.

Change-Id: Iae7d3babf5f3883df1939a31d40050db9b78af32
CRs-Fixed: 2971772
2021-06-23 18:47:10 -07:00
Madan Koyyalamudi
089eb1826d Release 5.2.0.237V
Release 5.2.0.237V

Change-Id: Ie60bb7c726134e74c5544e30cd35d0010892c829
CRs-Fixed: 774533
2021-06-23 16:40:59 -07:00
Ashish Kumar Dhanotiya
42596fcc11 qcacld-3.0: Reschedule country change work
Country change is a psoc operation and currently driver does
not try to reschedule country change work if it fails to start
this psoc operation and because of which it does not update the
scan channel list to the FW because of which host and FW are
not in sync.

To address this issue, reschedule country change work if it
gets and status of -EAGAIN when it tries to start the country
change psoc operation.

Change-Id: Ib93674b600a5d19fe3091d58e0689e806366659d
CRs-Fixed: 2968772
2021-06-23 16:40:58 -07:00
Madan Koyyalamudi
19d57261c5 Release 5.2.0.237U
Release 5.2.0.237U

Change-Id: I519dc43b4f5b9c634215cf53aadb68355a90c928
CRs-Fixed: 774533
2021-06-23 14:08:51 -07:00
Yeshwanth Sriram Guntuka
e4322f1e96 qcacld-3.0: Add support for GCMP in rx de-fragmentation
GCMP header and MIC are not removed for received
fragments which will result in incorrect ethertype
and presence of LLC hdr in the data when the frames
are sent to network stack.

Fix is to add support for GCMP in rx de-fragmentation
path.

Change-Id: I83ed29a766e40e32f4b712342ebd40d08a2c65e0
CRs-Fixed: 2942099
2021-06-23 14:08:51 -07:00
Madan Koyyalamudi
927bb95cb5 Release 5.2.0.237T
Release 5.2.0.237T

Change-Id: I83acc28113b41a3d77d3995e53f082b839ec48c1
CRs-Fixed: 774533
2021-06-23 11:01:25 -07:00
abhinav kumar
94f1ef448d qcacld-3.0: dual-band option is missing under AP Band in Hotspot
To show the "dual-band" option in "AP Band" in Hotspot, the host
should set the feature flag of CONCURRENT_BAND_SESSIONS in
hardware's capability and sends it to userspace.

The fix is to set the CONCURRENT_BAND_SESSIONS feature flag and
send it to userspace via the QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES
vendor command.

Change-Id: If29c35be4ea86c966624922f0209b1e5c272d405
CRs-Fixed: 2968554
2021-06-23 11:01:25 -07:00
Madan Koyyalamudi
741fb16e2d Release 5.2.0.237S
Release 5.2.0.237S

Change-Id: Ic98714d5ac90f8c66b499844fe27414fe55d3354
CRs-Fixed: 774533
2021-06-23 08:30:13 -07:00
Srinivas Dasari
06b376bbee qcacld-3.0: Consider calculated buf size for NDI ADDBA window size
Currently, ADDBA window size is calculated based on
self HE capability and peer advertised window size in
lim_process_addba_req(). But HE capability of the peer
is also considered while sending ADDBA response.
In NDI case, peer HE capability is not available and results in a
non-HE window size(64). But there is no need to check peer HE
capability as it advertises the window size in ADDBA request.
Skip the he_cap check for NDI.

Change-Id: I2d1df6f3cba9eac009ba59fcf33db88c907171bb
CRs-Fixed: 2961524
2021-06-23 08:30:13 -07:00
abhinav kumar
29bb6774c1 qcacld-3.0: Change roam state after connect complete
With commit I84c77644c6023322ac77e307b06be70ec0f58ed5, Host
allows dual sta roaming only if two STA's sessions for are
active (STA + STA) and concurrency is in DBS.

Currently, before the increment of the number of active
sessions in the policy manager, the host tries to enable
dual-band roaming. This results in dual sta roaming failure
with the reason number of active sessions equal to one.

The fix is to make sure the host should try to enable dual-band
roaming after incrementing the number of active sessions in the
policy manager.

Change-Id: I150926897cb773db979279edc54e5fb731d98e43
CRs-Fixed: 2971831
2021-06-23 08:30:07 -07:00
Ashish Kumar Dhanotiya
d11dc596a5 qcacld-3.0: Avoid buffer overflow in llstats debugfs response
Currently driver does not subtract the already filled length
from the max available length when it copies the number of
radios to the llstats result buffer which may lead to buffer
overflow.

To address this issue subtract already filled length from the
max available length when driver copies the number of radios.

Change-Id: Ie3b93121df603bd65250f0b0a49bb049d353211d
CRs-Fixed: 2969637
2021-06-23 08:30:02 -07:00
Madan Koyyalamudi
db89706c88 Release 5.2.0.237R
Release 5.2.0.237R

Change-Id: Ied0d3ad4f111eb7571877d58354fab0c53fbfca6
CRs-Fixed: 774533
2021-06-23 06:01:14 -07:00
Lin Bai
cde0f328b3 qcacld-3.0: Ignore duplicated assoc req frame
When PMF enabled, SA Query will be triggered unexpectly if
duplicated assoc_req received after pre_auth node deleted
and before key installed.
Here drop such duplicated assoc_req frame.

Change-Id: I1c769892052fba5e8c7340b2f82e822add573dd4
CRs-Fixed: 2966447
2021-06-23 06:01:14 -07:00
Ashish Kumar Dhanotiya
7e45112171 qcacld-3.0: Free radio stats from hdd only
Currently radio stats gets freed from hdd and from wma event
handler as well. This can lead to race condition where if
hdd cb is invoked and immediately another request comes, it
tries to free all the previously allocated radio stats memory
and at the same time wma event handler is also trying to free
the same memory which may lead to double free if both the threads
passes the NULL check at the same time.

To avoid above issue, make a change to free the memory from hdd
only on the receiving of the response and completing the request
and do not free the radio stats memory from wma.

Change-Id: If393ab2d86bce7a833ab9eaf30c34fbe85cdea12
CRs-Fixed: 2972698
2021-06-23 06:01:06 -07:00
Madan Koyyalamudi
7167c65909 Release 5.2.0.237Q
Release 5.2.0.237Q

Change-Id: Ie43fad4916599e299202b0e5736d5525519fb5da
CRs-Fixed: 774533
2021-06-22 23:04:21 -07:00
Vulupala Shashank Reddy
01b4e695dd qcacld-3.0: Pkt capture config for qos null and trigger frames
Provide ucfg api to configure qos null and trigger frames.

Ucfg api will send configuration to FW. Below configuration values
are allowed.

PACKET_CAPTURE_CONFIG_TRIGGER_QOS_DISABLE: disable capture for
trigger and qos frames.
PACKET_CAPTURE_CONFIG_TRIGGER_ENABLE: enable capture for trigger
frames only.
PACKET_CAPTURE_CONFIG_QOS_ENABLE: enable capture for qos frames only.
PACKET_CAPTURE_CONFIG_TRIGGER_QOS_ENABLE: enable capture for both
trigger and qos frames.

The packet capture config old value will be over written by new value.
For example, first if we configure value as
PACKET_CAPTURE_CONFIG_TRIGGER_ENABLE and then if we send config as
PACKET_CAPTURE_CONFIG_QOS_ENABLE then config is enabled only for qos.

Change-Id: I02dcd4372c7194ec3e477694ad0e2c045fe6c942
CRs-Fixed: 2967824
2021-06-22 23:04:21 -07:00
Vulupala Shashank Reddy
e2e99c1424 qcacld-3.0: Allow qos null frames in packet capture mode
Do not drop qos null frames in packet capture. so remove
check for qos null frames in packet capture mode.

Change-Id: Ie3a700cbc5a7e582ea7cfc39ebd62880265f8f7d
CRs-Fixed: 2973279
2021-06-22 23:04:16 -07:00
Madan Koyyalamudi
2be21be8c4 Release 5.2.0.237P
Release 5.2.0.237P

Change-Id: Ic71c5875cfaacaa478bdde8df533795f381fd7aa
CRs-Fixed: 774533
2021-06-22 16:17:58 -07:00
Ashish Kumar Dhanotiya
547da56e2f qcacld-3.0: Reset channel switch in progress on deinit ap
Currently if channel switch is in progress and if deinit
ap comes, channel switch does not gets complete and driver
does not reset channel switch in progress in adapter. Now
if driver receives channel change cb in hdd from regulatory,
it tries to restart the sap according to updated channel list,
but it waits for channels switch in progress to be completed
by taking the netdev reference for SAP adapter and this wait is
of 2 seconds, in this time if del virtual interface comes for
SAP adapter comes in that case it will detect the net dev ref
leak as one net dev ref is taken by country change work.

To address above issue, complete the channel change on deinit
ap mode and also check if SAP is started in country change
work before starting to wait for channel switch in progress.

Change-Id: I349e217a94093b3751310d4f7378fb6585f77743
CRs-Fixed: 2969343
2021-06-22 16:17:57 -07:00
Kiran Kumar Lokere
73061c8eff qcacld-3.0: Config support for STA bss color collision detection
Add INI configuration support to enable/disable BSS color collision
detection offload in STA mode.

Change-Id: I9d8f096813d74242566ccae5f92e872bcaca6295
CRs-Fixed: 2965133
2021-06-22 16:17:50 -07:00
Madan Koyyalamudi
9cd5928878 Release 5.2.0.237O
Release 5.2.0.237O

Change-Id: I427d0a6d87ec74139bf71d1d71290a83830f30ce
CRs-Fixed: 774533
2021-06-22 13:14:11 -07:00
Utkarsh Bhatnagar
8248ed45ca qcacld-3.0: Change timeout for TDLS mgmt frames
Reduce the timeout to wait for TDLS mgmt to
complete from 11 seconds to 3 seconds.

Also, Allow Tx data frame if no ack/nack is
received even after 2 seconds for last data
frame.

If last data frame is sent and no ack/nack
is received within 2 seconds, then drop the
new data frame.

Change-Id: If3294908cb1399c3b4c8931b80663671400bf610
CRs-Fixed: 2966308
2021-06-22 13:14:10 -07:00
Tiger Yu
33c1df645b qcacld-3.0: Enable the wlan IPA events for P2P GO/CLI mode for qca6390
Enable the wlan IPA events for P2P GO/CLI mode for qca6390 to avoid RX
packets get dropped due to IPA interface context is not created.

Change-Id: I1e2c5e4085874280779d8d8d07efdb1f33e6d90b
CRs-Fixed: 2853271
2021-06-22 13:14:06 -07:00
Madan Koyyalamudi
babab1900a Release 5.2.0.237N
Release 5.2.0.237N

Change-Id: I14c02a53cc28d3fc9ae267058c56caa6566922fc
CRs-Fixed: 774533
2021-06-22 07:54:56 -07:00
Utkarsh Bhatnagar
d86ace0aea qcacld-3.0: Vendor cmd to set SW retry threshold value
The following vendor cmd can be used to set the
sw retry threshold per vdev for all AC:

Aggresive:     QCA_WLAN_VENDOR_ATTR_CONFIG_AGG_RETRY
Non-Aggresive: QCA_WLAN_VENDOR_ATTR_CONFIG_NON_AGG_RETRY

Change-Id: I49d88ae1f3f6142d8a420fd92f6f40bf3aad03e6
CRs-Fixed: 2945913
2021-06-22 07:54:55 -07:00
Madan Koyyalamudi
277b7678bf Release 5.2.0.237M
Release 5.2.0.237M

Change-Id: Ie9590e495dd233ce4063f97a8ff19e816f3cf956
CRs-Fixed: 774533
2021-06-22 03:53:45 -07:00
Sai Pavan Akhil Remella
1522916450 qcacld-3.0: Fix connection issue in 11n-only mode when AP is in 11AC/AX
Currently when gDot11Mode=6 (11n only) is configured in ini and AP
is operating in 11n mode the STA is connecting in HT mode, but when
AP is operating in 11AC/11AX mode then STA is connecting in legacy
mode i.e 11b/g/a. This is due to check which compares phymode of
BSS is 11n or not but failed to check BSS phymode is 11ac/ax.
Due to this there is mismatch in phymode and mode is downgraded
to legacy.
These changes will perform the check and allow STA to connect in
11n.

Change-Id: I8196b44db5a12fbba39ffcf58202fa1863b1c4b4
CRs-Fixed: 2965287
2021-06-22 03:53:45 -07:00
Madan Koyyalamudi
0542782eb0 Release 5.2.0.237L
Release 5.2.0.237L

Change-Id: Id029e31780dabc0ac5ab24a9adcc822d489fc77c
CRs-Fixed: 774533
2021-06-22 01:38:18 -07:00
Bapiraju Alla
0f6688f115 qcacld-3.0: Allow set bitrates cmd irrespective of connection state
Currently set bitrates command is supported only when station is
connected state. But bit rates can be configured from user space
even if station is not connected. To support this, allow set bitrates
command even when STA is not connected.

Change-Id: I867083bc288f439f486181275e90cbf22dc49c81
CRs-Fixed: 2973203
2021-06-22 01:38:10 -07:00
Madan Koyyalamudi
8a9232feb9 Release 5.2.0.237K
Release 5.2.0.237K

Change-Id: I5b1b95c239711cb762d25945daefe882a39a36c7
CRs-Fixed: 774533
2021-06-21 23:13:59 -07:00
Yu Wang
6b08ef992a qcacld-3.0: wait till complete for north bound add key request
Set the newly added flag for wlan_cfg80211_crypto_add_key():
set to true if the request is from north bound, false otherwise.
Move processing of install key complete event into
crypto component.

Change-Id: I981e3722966c5b44255b3e29b7df3fbccfa087c8
CRs-Fixed: 2839454
2021-06-21 23:13:59 -07:00
Madan Koyyalamudi
eda839823c Release 5.2.0.237J
Release 5.2.0.237J

Change-Id: Id0fbd536b0c37fef0318341c6c11db2ab02b2271
CRs-Fixed: 774533
2021-06-21 19:20:19 -07:00
Balaji Pothunoori
5316fea63d qcacld-3.0: enable shortgi for assoc req based on ap capabilities
Currently shortgi 20/40 values are updated with ini configured
values irrespective of ap capabilities.

This change fills shortgi values based on ap capabilities if it is
enabled in ini.

Change-Id: I6a590e5c0981fab61dcbcf06cf22fda70d833fd7
CRs-Fixed: 2867232
2021-06-21 19:20:19 -07:00
Madan Koyyalamudi
29bcff2b6d Release 5.2.0.237I
Release 5.2.0.237I

Change-Id: Idf9ad5bf9dfebd3b920312abb541b8f686837d01
CRs-Fixed: 774533
2021-06-21 17:10:05 -07:00
Jinwei Chen
7fef8c3b3c qcacld-3.0: Add HW cookie conversion support
Add HW cookie conversion support for wcn7850 soc.

Change-Id: I2adedb13bcaeebb1715b391f790b639d422e08f6
CRs-Fixed: 2929512
2021-06-21 17:10:05 -07:00
Madan Koyyalamudi
f49a5c64e9 Release 5.2.0.237H
Release 5.2.0.237H

Change-Id: Idd0ced67c7f907329c180ad05fe921b289017005
CRs-Fixed: 774533
2021-06-21 11:12:57 -07:00
sheenam monga
89fa5c4633 qcacld-3.0: Convert nl80211 band to reg band
Currently host is sending nl80211 band to get curr
chan list but enum values are different for 6G, so
reg_get_band_from_cur_chan_list may not consider 6G
band even userspace sends 6G band in vendor command.

Fix is to convert nl80211 band to reg band to get correct
usable channel list in case of 6G.

Change-Id: I51b86c5f4f83b764847756a20a911d9b8af75b56
CRs-Fixed: 2973283
2021-06-21 11:12:57 -07:00
Liangwei Dong
3ad4f9d78b qcacld-3.0: Handle DFS channel radar history get vendor command
Add support for QCA_NL80211_VENDOR_SUBCMD_GET_RADAR_HISTORY vendor
command. This command will return the current NOL list in driver
and the last Radar detection result in previous SAP active state
(includes CAC state).

Change-Id: I719630c39b89c1813ca05c4356dce627d72d82e2
CRs-Fixed: 2966501
2021-06-21 11:12:53 -07:00
Madan Koyyalamudi
ed537c76da Release 5.2.0.237G
Release 5.2.0.237G

Change-Id: Iba89e7fa780dc0b6f52e9aa29cc5d792688042f6
CRs-Fixed: 774533
2021-06-18 21:01:56 -07:00
Gururaj Pandurangi
e45b9f2cfd qcacld-3.0: Add non-inheritance IE for ML sta_profile
Add non-inheritance IE for ML sta_profile. It identifies
list of EIDs and Ext EIDs that are not inherited by the
reported STA from the reporting STA (primary link).

Change-Id: I796cee5a06bfd76b3428fc20e51493e1dab15493
CRs-Fixed: 2971815
2021-06-18 21:01:56 -07:00