Gráfico de commits

21961 Commits

Autor SHA1 Mensaje Fecha
gaurank kathpalia
2eb497d7a3 qcacld-3.0: Fix fils connection and add debug
Fix fils connection and add debug.

Change-Id: I388d96290f4450c33270c37054fde8060f599f40
CRs-Fixed: 2864257
2021-01-27 12:56:24 -08:00
snandini
cfcebcd1af Release 5.2.0.220F
Release 5.2.0.220F

Change-Id: Ib5d96e437726aac63286a0f46d530d903308059a
CRs-Fixed: 774533
2021-01-27 10:50:03 -08:00
Ashish Kumar Dhanotiya
500b5daf3f qcacld-3.0: Send connect info diag event for connection manager also
Currently connection manager code flow does not send connect info
diag event, to achieve this update csr connect info api in such a
way that connectoin manager code flow can also use it to send
connect info diag event.
Also update the function csr_get_sta_cxn_info to get the required
information from vdev instead of roam profile.

Change-Id: Ib9bb3f06052416f6edb168767dbe2a4c80fae765
CRs-Fixed: 2862244
2021-01-27 10:50:03 -08:00
snandini
dfc7112702 Release 5.2.0.220E
Release 5.2.0.220E

Change-Id: Iac9c540ee68f4fc4c065f114b4da7fd782897b33
CRs-Fixed: 774533
2021-01-27 06:10:51 -08:00
Bapiraju Alla
346fc2e70f qcacld-3.0: Don't unregister vdev sync after pre CAC success
Currently , pre CAC adapter will be closed during SAP interface down.
But pre_cac vdev sync is being unregistered after pre CAC success.
Because of this, pre CAC adapter close will fail and the same pre CAC
adapter context will be retained for subsequent SAP start. As a result
pre CAC request may fail after SAP restart.

To address this, don't unregister vdev sync after pre CAC success.

Change-Id: I2d5969274de290bd86cd510ed2a3ff4e095042b0
CRs-Fixed: 2861298
2021-01-27 06:10:51 -08:00
snandini
8c09389ea0 Release 5.2.0.220D
Release 5.2.0.220D

Change-Id: I8a1b22cbe3b3024a4a1542acc8a9426b928cbfa9
CRs-Fixed: 774533
2021-01-26 22:31:42 -08:00
Utkarsh Bhatnagar
f100fb9de7 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-26 22:31:42 -08:00
snandini
cbb04c6242 Release 5.2.0.220C
Release 5.2.0.220C

Change-Id: Iefee2b770fc9d12dd4f1c1b252626b99ee1d7744
CRs-Fixed: 774533
2021-01-26 19:55:19 -08:00
Liangwei Dong
7f80d9f64b qcacld-3.0: Revert wdev->mtx lock in channel switch
Revert wdev->mtx locking in commit
I0dd415a5576d29e3a7729768c8482205677ca3e7.
For STA eCSR_ROAM_STA_CHANNEL_SWITCH message, the sme_global_lock
is acquired in schedule thread alreadly. If we acquire wdev->mtx
in same thread, it will break the lock order and cause deadlock
issue. That is because the kernel -> Driver hdd request will
acquire wdev lock and then sme lock.

Change-Id: I6737040b596161c57589a5b2aac1a53754a8cba5
CRs-Fixed: 2862879
2021-01-26 19:55:19 -08:00
Min Liu
35fc367436 qcacld-3.0: Clear acs_in_progress flag when it is completed
Clear acs_in_progress flag when DCS initiated ACS is completed.

Change-Id: I2e77aa30e4ae6aedf047dab3b4f59741e06ea0fc
CRs-Fixed: 2855089
2021-01-26 19:55:14 -08:00
snandini
00143d237b Release 5.2.0.220B
Release 5.2.0.220B

Change-Id: I915c2f70ff4e94198b7ecc49bc325f2566383125
CRs-Fixed: 774533
2021-01-26 10:55:42 -08:00
Pragaspathi Thilagaraj
6b23b6076c qcacld-3.0: Strip the fixed fields of assoc req/rsp in connect result
Driver sends the assoc request and association response frame to
the kernel/userspace on connection success & association failure
cases. In successful connection case, the driver strips the fixed
fields and sends only the Association request/response IEs. But
in association failure case driver includes the Fixed fields in
the connect result.

Don't include the fixed fields in the association request/
response frame sent in the connect result.

Change-Id: I2e17df1669a8790253b1dde91f5ed100c1d3e6d9
CRs-Fixed: 2856213
2021-01-26 10:55:42 -08:00
snandini
4bd915e008 Release 5.2.0.220A
Release 5.2.0.220A

Change-Id: Iba633f80c4799e92c9b662a48ca955ea78c499b6
CRs-Fixed: 774533
2021-01-25 11:59:50 -08:00
Balaji Pothunoori
5e62199346 qcacld-3.0: fix indentation for compilation warning
Fix indentation for compilation warning

Change-Id: I74e5994c6aacef0f02883e49a8ab502ea7ee0463
CRs-Fixed: 2862473
2021-01-25 11:59:50 -08:00
snandini
9640c1261e Release 5.2.0.220
Release 5.2.0.220

Change-Id: I1801dc132782b831a1de3c3cb3f56cc9fe5b956f
CRs-Fixed: 774533
2021-01-25 07:02:17 -08:00
Ashish Kumar Dhanotiya
fef818649e qcacld-3.0: Use connection manager api to get connection state
Currently api hdd_conn_get_connection_state does not use
connection manager to get the connection state. With this
change use connection manager api to get the connection
state.

Change-Id: I313e353cf1ae8f233044645daeab9fb5bdb6b64e
CRs-Fixed: 2859574
2021-01-25 07:02:17 -08:00
snandini
b1bbae313d Release 5.2.0.219Z
Release 5.2.0.219Z

Change-Id: Ib69b43c40d029ac8eaddf356e894921f522b9a14
CRs-Fixed: 774533
2021-01-25 04:22:22 -08:00
Lihua Liu
eda3d92415 qcacld-3.0: Dump wmi/event record after FW down
On third party platforms. there is no crashdump.
Such logs are helpful for analysis of crash issue.
For debuging purpose, dump wmi cmd/event/credit
record history when PLD_FW_DOWN event is received.

CONFIG_DUMP_LOG_BUF_CNT is used to limit the number
of logs. it's 0 by default on the platforms like LA
where crashdump is available.

Change-Id: I136e39322b32ff43b88765f390a7393432ca7daa
CRs-Fixed: 2857691
2021-01-25 04:22:22 -08:00
snandini
09efc3a707 Release 5.2.0.219Y
Release 5.2.0.219Y

Change-Id: I73ee131b5687ede50659942f1dfea69b3dcd200c
CRs-Fixed: 774533
2021-01-25 02:17:49 -08:00
Pragaspathi Thilagaraj
0fef58d6fb qcacld-3.0: Allow TWT teardown after roaming
Allow TWT teardown event from firmware after roaming or peer
initiated teardown to indicate the value to userspace. Also
make changes to send the wake duration value in microseconds
scaled with the TWT wake duration multiplication factor.

Change-Id: Ibcd0c51b1930094e0efc3832db5b8aadaa5748ea
CRs-Fixed: 2859775
2021-01-25 02:17:49 -08:00
snandini
9098dd34ca Release 5.2.0.219X
Release 5.2.0.219X

Change-Id: Ic8e8fc4a39cbf8383bb1eaa317fcee5607fa37c9
CRs-Fixed: 774533
2021-01-25 00:06:09 -08:00
Srinivas Dasari
6090d2a171 qcacld-3.0: Allow/reject WAPI concurrency based on firmware support
Currently, host driver rejects any concurrent session with other
security modes(e.g. NAN) when WAPI is present. This is due to a
limitation on older platforms. But newer platforms(e.g. Lithium
architecture) support WAPI+other security modes concurrently.
Firmware advertises service capability WAPI_CONCURRENCY_SUPPORTED if it
supports other security modes when WAPI is active. Get the capability
and accept/reject concurrent sessions.

Change-Id: I0e004e1220afd9c42869589364606c9f729798f7
CRs-Fixed: 2844799
2021-01-25 00:06:09 -08:00
snandini
efa4a606cb Release 5.2.0.219W
Release 5.2.0.219W

Change-Id: I74e5994c6aacef0f02883e49a8ab502ea7ee04a2
CRs-Fixed: 774533
2021-01-24 02:52:02 -08:00
hqu
46d7e82b98 qcacld-3.0: Move code from csr to rso for 11k offload
Move code from csr to rso for 11k offload.

Change-Id: I8930ca381a8af45e39d3ed69cb1614ccc363f766
CRs-Fixed: 2861183
2021-01-24 02:52:02 -08:00
snandini
5fe53b2b73 Release 5.2.0.219V
Release 5.2.0.219V

Change-Id: I893af5309daca372860a5ef8deafb97177ad4878
CRs-Fixed: 774533
2021-01-23 21:39:11 -08:00
Alan Chen
a9a470290f qcacld-3.0: Add PMO config for PCIe bus suspend in beaconing mode
By default, PCIe bus suspend is not allowed in beaconing modes
(SAP/P2PGO/NDP) with one or more clients connected. Some OEMs need
PCIe bus suspend in this mode. Hence, add a config item to serve
both types of requests.

Change-Id: Ia2d990f17f605036d43db75ecd4df57701b4ba1f
CRs-Fixed: 2860495
2021-01-23 21:39:11 -08:00
snandini
000b53fb15 Release 5.2.0.219U
Release 5.2.0.219U

Change-Id: Ie9d2c9c0c56e81c280fef5fde7e72510acafc387
CRs-Fixed: 774533
2021-01-23 04:48:36 -08:00
Rajasekaran Kalidoss
09157aa43a qcacld-3.0: Add support for TWT clear statistics
Add support to send TWT clear statistics request
to firmware.

Change-Id: I435b743955d44a02235b92f98beb302a6a21f036
CRs-Fixed: 2855624
2021-01-23 04:48:36 -08:00
snandini
87e90432e3 Release 5.2.0.219T
Release 5.2.0.219T

Change-Id: If4dc498f30989c8fa9bb65dec265dbc1c243e660
CRs-Fixed: 774533
2021-01-23 00:51:31 -08:00
gaurank kathpalia
a033b3aad7 qcacld-3.0: Fill WPA and WAPI IE in LIM
Fill WPA and WAPI IE in join req in LIM
if profile matches with the same.

Change-Id: I4dafa57ab4a5bfa717f94138bd3b0b91700fada8
CRs-Fixed: 2861566
2021-01-23 00:51:31 -08:00
snandini
d3eaca2a66 Release 5.2.0.219S
Release 5.2.0.219S

Change-Id: I7b13d1ff89d4ffea108de5ae0916ee13610d8354
CRs-Fixed: 774533
2021-01-22 18:22:29 -08:00
Ashish Kumar Dhanotiya
203218df88 qcacld-3.0: Set sme power stats response cb and context to NULL
Currently if the power stats command is invoked from multiple
threads, then the thread which invokes the command at the last
will overwrite the request manager cookie in the mac context.
Now when host gets response for these multiple requests, hdd
calback hdd_power_debugstats_cb will be invoked for each response
with the same cookie. in hdd_power_debugstats_cb host allocates
memory for the private data and this memory will also be
allocated multiple times and the last allocations will overwrite
the initial memory allocs which will lead to the memory leaks.

To address above issue set the sme power stats response cb and
context to NULL so that the callback is invoked only once.

Change-Id: I6fae0f96771ba505f06c1be14a8907b56efede24
CRs-Fixed: 2857855
2021-01-22 18:22:29 -08:00
snandini
9e4a67af2d Release 5.2.0.219R
Release 5.2.0.219R

Change-Id: I42567c7906a70f971821066860bd8391ef23395b
CRs-Fixed: 774533
2021-01-22 16:12:07 -08:00
Surabhi Vishnoi
a3e7261f12 qcacld-3.0: Add support for RX offload pkts in packet capture mode
Add support to process RX offload packets in lithium for
packet capture mode.

Change-Id: Ic307d83f579bf53a025b4b4c159e24de97e2dde6
CRs-Fixed: 2856783
2021-01-22 16:12:07 -08:00
snandini
49b52bf5a0 Release 5.2.0.219Q
Release 5.2.0.219Q

Change-Id: I61175d8c236441768062934c33e70b1b75e33508
CRs-Fixed: 774533
2021-01-22 14:10:58 -08:00
gaurank kathpalia
4532215ea4 qcacld-3.0: Fill SSID and vht ch width in connected profile
Fill SSID and vht ch width in connected profile.

Change-Id: I3bd8629ea043c39d18adb35611b09235d2b1d4a5
CRs-Fixed: 2861195
2021-01-22 14:10:57 -08:00
Bapiraju Alla
f73c0ba653 qcacld-3.0: Do not allow pre cac during CSA
After pre cac succeeds, driver triggers regulatory change
to user space then starts CSA process. As a result hostapd
triggers another pre cac to driver while SAP performs CSA,
this makes unexpected state in driver, therefore subsequent
pre cac will not be correctly performed.

To address this, reject the pre cac request during CSA.

Change-Id: I82187d64bf94d3bdfab84b873c2ab438a4037ea9
CRs-Fixed: 2859289
2021-01-22 14:10:52 -08:00
gaurank kathpalia
bb393cba13 qcacld-3.0: Add logic to send RSO start/stop from conenction manager
Add logic to send RSO start and stop from conenction manager.

Change-Id: I6a592e977641d47345233732ed54d356e0ea6a28
CRs-Fixed: 2860870
2021-01-22 14:10:47 -08:00
snandini
08657e250e Release 5.2.0.219P
Release 5.2.0.219P

Change-Id: Idb0ff48ce68420dd9dd3d80438f88eda2b33723d
CRs-Fixed: 774533
2021-01-22 12:07:25 -08:00
Jianmin Zhu
cd6a5aa828 qcacld-3.0: Fix assert for sta ipa interface leaked
Once 1 roaming happened, ipa_ctx->sta_connected increased 1, and its
type was uint8_t, once increased to 256, overflow happened.
ipa_ctx->sta_connected became 0. then wlan_ipa_cleanup_iface couldn’t be
called to free old iface, but wlan_ipa_setup_iface was called to add new
iface, then there were 2 sta ipa interfaces with same session id 2.

When sta disconnected, only 1 ipa interface was freed, the other ipa
interface with session id 2 was left, but vdev 2 was deleted.

If 1st client connected DUT SAP, sta vdev 2 was found by mistake,
WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID was sent to F/W to enable IPA path
for vdev 2, but vdev 2 wasn't existed, assert happened.

To fix it, when LFR3 roaming happens, when wlan_ipa_cleanup_iface is
called to free old iface, ipa_ctx->sta_connected is decreased by 1
first, when wlan_ipa_setup_iface is called to add new iface,
ipa_ctx->sta_connected is increased by 1, then
ipa_ctx->sta_connected reflects real STA number on DUT.

Change-Id: I5c91b3402dcfe8b1828d8d1f0701f66ca3c15d50
CRs-Fixed: 2859438
2021-01-22 12:07:25 -08:00
snandini
31dfb11caf Release 5.2.0.219O
Release 5.2.0.219O

Change-Id: Iaab68228b76db83861b4c492f018ba278591afa0
CRs-Fixed: 774533
2021-01-22 07:36:22 -08:00
Surabhi Vishnoi
1590d4455b qcacld-3.0: Issue disconnect only in case of mon concurrency
While adding monitor interface, issue disconnect for existing
STA interface only if mon concurrency is supported, for packet
capture mode disconnection is not required.

Change-Id: I6e970eb52681fcb500ab56372ff93e9c73d79618
CRs-Fixed: 2855842
2021-01-22 07:36:22 -08:00
snandini
f8646409cb Release 5.2.0.219N
Release 5.2.0.219N

Change-Id: Idcf9ecf26ec068d504dedd78174bf802b2b27ef8
CRs-Fixed: 774533
2021-01-22 03:30:16 -08:00
gaurank kathpalia
9e4953a33b qcacld-3.0: Fix cm id in DBS downgrade path
cm id is not passed to policy manager in case of DBS donwgrade
when NSS is modified, pass the cm id to fix it.

Change-Id: Ie038b30929c2fcddb6828f1f89765d3004ff3285
CRs-Fixed: 2860061
2021-01-22 03:30:15 -08:00
snandini
135eac431e Release 5.2.0.219M
Release 5.2.0.219M

Change-Id: Ib2f10371d9cd18af0863dfb95e6a9c3939d1977a
CRs-Fixed: 774533
2021-01-21 23:23:47 -08:00
Chaoli Zhou
b4d79ad59f qcacld-3.0: Support disabling mac addr update from wlan_mac.bin
As for msm-4.14, it has kernel panic with API
request_firmware if not provide wlan_mac.bin.
So in order to fix search wlan_mac.bin failure
issue, export one feature flag to disable
updating wlan mac address from wlan_mac.bin,
which should be feasible for different target

Change-Id: I6a50288c90229e6edbc10b543aec443828310d68
CRs-Fixed: 2850309
2021-01-21 23:23:47 -08:00
Rajasekaran Kalidoss
744ae542a0 qcacld-3.0: Add support for ctrl path stats infrastructure
Implement support for sending new control path stats
infrastructure via WMI_REQUEST_CTRL_PATH_STATS_CMDID and
WMI_CTRL_PATH_STATS_EVENTID in cp stats component. Also add
support for TWT Get statistics through this new method.

Change-Id: I62b3a525cde797cd5b809ca9e8e6c91d5651c6b4
CRs-Fixed: 2851016
2021-01-21 23:23:43 -08:00
Bapiraju Alla
2bd65bf01f qcacld-3.0: Add support to generate random sequence numbers
As per specification sequence numbers of action frames also needs
to be randomized when the source MAC address is randomized. Currently
this feature is not implemented in the driver as a result corresponding
test case is failing.

To address this, add support to sequence number randomization in the
driver. Also add a INI param to control this feature.

Change-Id: Icd7b6fd55b324a8d6b1226d89f19be0ad9385e0a
CRs-Fixed: 2829032
2021-01-21 23:23:39 -08:00
snandini
f15e43a7ae Release 5.2.0.219L
Release 5.2.0.219L

Change-Id: Ic946d97d55599ec5e3aff70e7dbcfc2b871bf11c
CRs-Fixed: 774533
2021-01-21 21:16:44 -08:00
Abhishek Ambure
04a9776404 qcacld-3.0: Update proper peer VHT MCS MAP and self NSS
Problem scenario:
1) Host uses self RX and peer VHT TX NSS intersection to update peer
   VHT RX MCS map and self NSS in pe_session.
2) Host updates peer VHT TX MCS map and self TX NSS from PE session
   to FW. FW uses these values to select TX rates for data packets.
3) If an AP supports 1 TX NSS and 2 RX NSS and host supports 2 TX and
   RX NSS, as a result of intersection host sets VHT TX MCS map to
   0xfffe i.e. 1x1 and associates with AP in 1x1. Which leads to low
   TX throughput.

Fix:
Use intersection of peer VHT RX MCS map and self VHT TX NSS to update
NSS to firmware.

Change-Id: I4104e3502c45923625143cd32da8cb4529df05a2
CRs-Fixed: 2847115
2021-01-21 21:16:43 -08:00