Commit Graph

21949 次程式碼提交

作者 SHA1 備註 提交日期
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
Balaji Pothunoori
2442b01eb2 qcacld-3.0: update max tx aggr size for lithium family
Currently user configured tx aggr size "0-64" is not honored in
firmware, By default firmware expects as 256 and its hardcoded.

In order to make user controllable, host has to send default max
tx aggr size as 256 for lithium and 64 for other targets.

Change-Id: I7a69f09d048f79da4c770e71b4d1c8726fa02faa
CRs-Fixed: 2846803
2021-01-21 21:16:38 -08:00
gaurank kathpalia
62b2828c77 qcacld-3.0: Add WEP support in connection manager
Add WEP support in connection manager.

Change-Id: I164b8b263022b4fd364427b51111d88579220348
CRs-Fixed: 2859772
2021-01-21 21:16:31 -08:00
snandini
a7931d4476 Release 5.2.0.219K
Release 5.2.0.219K

Change-Id: I168e21f6ed2791bf3c64349e4f53e45f73e70b80
CRs-Fixed: 774533
2021-01-21 17:04:32 -08:00
Surabhi Vishnoi
df560d46c2 qcacld-3.0: Release dev_hold before interface cleanup
hdd_for_each_adapter_dev_held_safe API takes dev_hold and
during cleanup of interface, dev is unregistered. So later
when dev_put is called, it results in illegal access to
unregistered dev.
Fix this issue by releasing dev_hold before interface cleanup.

Change-Id: Ib6bfe1a985f21be107b69beec0f92feccc98f34e
CRs-Fixed: 2855833
2021-01-21 17:04:31 -08:00
Manikanta Pubbisetty
ccb7f24a64 qcacld-3.0: add history for FST locking
Adding history to track the FST lock/unlock events; this
would come in handy in debugging deadlock issues.

Change-Id: I40f783e72e516330fdf71ac91553bc7c4338b82a
CRs-Fixed: 2854397
2021-01-21 17:04:27 -08:00
sheenam monga
07ecaebeb7 qcacld-3.0: Use wlan_reg_legacy_chan_to_freq for conversion
Use wlan_reg_legacy_chan_to_freq api for channel to
frequency conversion instead of wlan_reg_chan_to_freq.

Change-Id: I06a2638a1e402dc6a750c672ed803e8dbfa254fc
CRs-Fixed: 2853575
2021-01-21 17:04:23 -08:00
snandini
1f57670f03 Release 5.2.0.219J
Release 5.2.0.219J

Change-Id: I12f04b2ca33aaede0c676daf86e33721446f301e
CRs-Fixed: 774533
2021-01-21 03:43:26 -08:00
Li Feng
084b6cdb76 qcacld-3.0: Backports NAN in kernel 4.9
Backports NAN in kernel 4.9.

Change-Id: Ifc610ceabb78f3ecc7d07ad67b8c6ca2af64350f
CRs-Fixed: 2845998
2021-01-21 03:43:26 -08:00
snandini
0bf1c538b6 Release 5.2.0.219I
Release 5.2.0.219I

Change-Id: Id73ef32b97d94510c3d27308bb0fbfd05091e19a
CRs-Fixed: 774533
2021-01-20 21:43:14 -08:00
gaurank kathpalia
bc30a451a3 qcacld-3.0: add support for WPS in connection manager
add support for WPS in connection manager.

Change-Id: I07433d4b885d752aab94757062e0cfda35323ff4
CRs-Fixed: 2858788
2021-01-20 21:43:14 -08:00
snandini
d922976908 Release 5.2.0.219H
Release 5.2.0.219H

Change-Id: Ia5e5e599c46a38752d6130b347ca8426d5a7cfbf
CRs-Fixed: 774533
2021-01-20 19:39:33 -08:00
Aditya Kodukula
2f93e91825 qcacld-3.0: Fix possible OOB read in wlan_hdd_set_sap_hwmode
A possible out-of-bound read can happen in the hdd function
wlan_hdd_set_sap_hwmode. To fix it, pass the proper length.

Change-Id: I11258c6d9f481a21afc3229762900153d6f83c82
CRs-Fixed: 2853407
2021-01-20 19:39:33 -08:00