提交線圖

23833 次程式碼提交

作者 SHA1 備註 日期
Madan Koyyalamudi
4bc1e6c928 Release 5.2.0.247E
Release 5.2.0.247E

Change-Id: I4c41d85352d5b249f211276826c0c1363adfb296
CRs-Fixed: 774533
2021-09-08 20:22:01 -07:00
Amruta Kulkarni
b64278b0a5 qcacld-3.0: Limit range of JOIN and ASSOC timeout
In cfg file limit the range of join failure and assoc failure timeout.

Change-Id: I615cc371d3a8fa7fa977c0eab88f4b14df7fbcc6
CRs-Fixed: 3028740
2021-09-08 20:22:01 -07:00
Madan Koyyalamudi
fca033b80b Release 5.2.0.247D
Release 5.2.0.247D

Change-Id: I5a0f40a848e90bcf078016de952c4a7bacec53cd
CRs-Fixed: 774533
2021-09-08 14:55:18 -07:00
sheenam monga
fec839dd87 qcacld-3.0: Update pcl connecton table for p2p+p2p concurrency
Update pcl table for P2P + P2P concurrency for SCC,MCC and
DBS scenarios.

Change-Id: Ibd76db75c68a568fd60f1fece23e4e7146718628
CRs-Fixed: 2991321
2021-09-08 14:55:18 -07:00
Madan Koyyalamudi
881da73e9d Release 5.2.0.247C
Release 5.2.0.247C

Change-Id: I16f788c8072f4cb3a621359ca8834df42eeabed0
CRs-Fixed: 774533
2021-09-08 00:19:21 -07:00
Karthik Kantamneni
d49f188236 qcacld-3.0: Enable WLAN_SKIP_BAR_UPDATE support for lithium targets
Enable WLAN_SKIP_BAR_UPDATE support for lithium targets

Change-Id: Ic7ac34a6845b54005181f58081b389b2e79b29a8
CRs-Fixed: 3031396
2021-09-08 00:19:21 -07:00
Madan Koyyalamudi
228d5852df Release 5.2.0.247B
Release 5.2.0.247B

Change-Id: I0c6bba3e9366b6f3e82eda91307bdbd3e89cf765
CRs-Fixed: 774533
2021-09-07 20:21:44 -07:00
Bing Sun
b3be7372ce qcacld-3.0: Use global OC table when parsing OC field in RNR IE
The operation class field in RNR is using global operation class.
When getting frequency from RNR IE, we should search operation
class in global operation class table.

Change-Id: Ie9ff62e1d98cb10debfcff734e28ffaecf14e321
CRs-Fixed: 3031211
2021-09-07 20:21:44 -07:00
Madan Koyyalamudi
131d957d80 Release 5.2.0.247A
Release 5.2.0.247A

Change-Id: I3acafbb8c05c4182171702ecae8ac62fc1335451
CRs-Fixed: 774533
2021-09-07 10:42:59 -07:00
Vulupala Shashank Reddy
4da65b82c1 qcacld-3.0: Update the channel only if AUTH resp is successful
Currently channel is updated whenever AUTH frame is received
irrespective of its status. So in case of unsuccessful AUTH
wrong channel is updated in pkt capture mode.

To fix this issue, update the channel only if AUTH response
is successful. Also if after AUTH success, association or
reassociation fails update the channel with last connected
channel.

Change-Id: I51ee6bb2466f765ce6058c411b0dc0ab74a0dd04
CRs-Fixed: 2987748
2021-09-07 10:42:59 -07:00
Chaoli Zhou
f4c44548b4 qcacld-3.0: Fix stability issue while unload driver
During unload driver, if hdd_reg_notifier to be called
from kernel, it has the possibility that cause
regulatory_update_event to be reset after it has been
destroyed, which causes "Failed assertion 'event->cookie
== LINUX_EVENT_COOKIE'". So adds this fix to ignore the
regulatory notify request if it is in unloading state.
Meanwhile destroy the event after unregister wiphy
also can help on such kind of issue.

Change-Id: I527517c7f1443a4e211782f74b03e2fca40ab552
CRs-Fixed: 3028357
2021-09-07 10:42:48 -07:00
sheenam monga
446effff96 qcacld-3.0: Limit ROC for listen to max 600 if GO present
Add fixed 300ms extra ROC time instead of multiplying the
ROC duration by 6 as this causes the ROC to be upto 1.5 secs
if GO is present. Firmware will advertize NOA of 1.5 secs
and if supplicant cancels ROC after 200 or 300ms then
firmware cannot cancel NOA. So when supplicant sends next
ROC it will be delayed as firmware already is running previous
NOA which may cause p2p find issues if GO is present.

Fix this by capping the max ROC time to 600ms when GO is present.

Change-Id: I0774b06ff4db1fae7efc387388fdf3059505150e
CRs-Fixed: 3025870
2021-09-07 10:42:41 -07:00
Madan Koyyalamudi
9c59721081 Release 5.2.0.247
Release 5.2.0.247

Change-Id: I9151950d672679c19637997e45d0348a060db6b8
CRs-Fixed: 774533
2021-09-07 07:58:54 -07:00
Wu Gao
594d0ff113 qcacld-3.0: Clear CSA IE and update Beacon frame
CSA IE TX isn't offload to FW, the count of Beacon with CSA IE
actually DUT sent exceeds the required. So, this change clear CSA IE
and update Beacon frame.

Change-Id: Ib433b9d2877b332365a4cfdf1a6bca56d6194672
CRs-Fixed: 3008327
2021-09-07 07:58:54 -07:00
Vulupala Shashank Reddy
9a9225232b qcacld-3.0: Unsubscribe in reverse order of subscription
Ideally we should deinit in reverse order of init so we
should Unsubscribe in reverse order of subscription in
packet capture component.

Change-Id: Icb62a14c2d1fd20073f6924d03d523b7871c62d6
CRs-Fixed: 3019862
2021-09-07 07:58:49 -07:00
Madan Koyyalamudi
fbdf0fec54 Release 5.2.0.246Z
Release 5.2.0.246Z

Change-Id: I421ebb82cc6bcac5f224d528db5c2670df4297aa
CRs-Fixed: 774533
2021-09-07 04:27:52 -07:00
Chaoli Zhou
c87f453be0 qcacld-3.0: Export CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV
In order to support four STA default interfaces
to be created and up after driver loaded, it
requires setting bmiss_offload_max_vdev=4 to
Hastings fw. So export this variable to be
configurable and can be modified if in need.

Change-Id: I25db5dd72de7d45c6be682891abba711edaf20dd
CRs-Fixed: 3030148
2021-09-06 20:51:27 -07:00
Madan Koyyalamudi
9f1ab09dbf Release 5.2.0.246Y
Release 5.2.0.246Y

Change-Id: I882036cb74c86f2c33484af2ef7745112797e808
CRs-Fixed: 774533
2021-09-06 11:51:16 -07:00
Surya Prakash Sivaraj
452155cb5d qcacld-3.0: Bypass the HE channel width fallback for SAP
For STA connection in HE 160, HE160 MCS is validated
during the session creation. If the HE160 is invalid,
the connection falls back to 80MHz. But, this check needs
to be bypassed for SAP, because during session creation SAP
will not have the peer capability, so the HE160 MCS validation
needs to be bypassed.

Change-Id: I3bbb2f35c40a123b5d05a94038970a0e7e43ac60
CRs-Fixed: 3025102
2021-09-06 11:51:15 -07:00
Madan Koyyalamudi
128f10d9ba Release 5.2.0.246X
Release 5.2.0.246X

Change-Id: I2016a7267750e9dd49d410ca560afdfdbc3a344b
CRs-Fixed: 774533
2021-09-06 06:20:54 -07:00
Ashish Kumar Dhanotiya
8215f877a9 qcacld-3.0: Process radio stats events inside lock
Currently host driver processes radio stats events with
scheduler thread without any lock and invokes hdd callback.
In hdd these stats gets handled in user space thread and after
processing stats, user space thread frees the memory allocated
in wma. Since one thread allocates the memory and other
thread frees the memory, this can lead to race conditions where
this memory might not get freed and mem leak can happen.

With this change add locking mechanism to allocate, use and to
free the memory.

Change-Id: I95906133bb2208a258c5cec16f4f01b1321ed0c2
CRs-Fixed: 3020218
2021-09-06 06:20:54 -07:00
Bapiraju Alla
ec1b963bb9 qcacld-3.0: MLO connection
Fixes for Mlo connection.

Change-Id: Ieb879245cab340a952a6f89265fb01960fa8c691
CRs-Fixed: 3029685
2021-09-06 06:20:49 -07:00
Zhaoyang Liu
03d336b9ee qcacld-3.0: fix pktlog issue with ROME module
Use macro PKTLOG_LEGACY instead of HELIUMPLUS to avoid Rome
PKTLOG setup failure. PKTLOG_LEGACY is used for HELIUM/ROME.

Change-Id: If3476660f19606b84341cce084db3d06d69de4c5
CRs-Fixed: 3028261
2021-09-06 06:20:44 -07:00
Madan Koyyalamudi
4472900f1d Release 5.2.0.246W
Release 5.2.0.246W

Change-Id: I26be5d6e9b82eb390b4a129d403bc8e5b7c10594
CRs-Fixed: 774533
2021-09-06 00:54:49 -07:00
Surabhi Vishnoi
d24b3c4526 qcacld-3.0: Fill the nss in tx status in pkt capture mode
Currently, nss is not filled for tx data packets. Fill the
last received nss from ppdu stats in the tx status in pkt
capture mode.

Change-Id: I1833be5e19eaba4e88befe9970f079b91ec4bbe4
CRs-Fixed: 3004484
2021-09-06 00:54:49 -07:00
Surabhi Vishnoi
e850d08b1f qcacld-3.0: Fill the ppdu stats in tx status in pkt capture mode
Ppdu stats related to transmitted msdu are received from
firmware and queued to a list. Remove the received ppdu stats
from front of list and fill in tx status of current msdu.

Change-Id: I764aa909497971010202ce3decb3380a732ce12c
CRs-Fixed: 3004483
2021-09-06 00:54:44 -07:00
Surabhi Vishnoi
98bf0f00c3 qcacld-3.0: Register for wdi event WDI_PKT_CAPTURE_PPDU_STATS
WDI_PKT_CAPTURE_PPDU_STATS event is sent when packet capture
related htt ppdu stats tlv is received from firmware.
Register for WDI_PKT_CAPTURE_PPDU_STATS wdi event and add
logic to insert received ppdu stats to a list.

Change-Id: Ie78cf4b161c90a0bcf514a3e71a82c3c3e358c24
CRs-Fixed: 3004480
2021-09-06 00:54:39 -07:00
Surabhi Vishnoi
2bef5e1a61 qcacld-3.0: Register for WDI_EVENT_PKT_CAPTURE_RX_DATA_NO_PEER
Register for WDI_EVENT_PKT_CAPTURE_RX_DATA_NO_PEER in packet
capture mode and add logic to parse it. This wdi event
delivers rx data packets to packet capture component which are
received before peer is mapped in host, mostly in roaming scenario.

Change-Id: Ia718293c97dd11de6aab5a739683eec38e7e057b
CRs-Fixed: 3000153
2021-09-06 00:54:35 -07:00
Madan Koyyalamudi
97406efd7f Release 5.2.0.246V
Release 5.2.0.246V

Change-Id: Id5e2bfef750be1454e3394594b06d62fed59e461
CRs-Fixed: 774533
2021-09-03 11:03:36 -07:00
Ashish Kumar Dhanotiya
7f9901450a qcacld-3.0: Do not cache connection info for non sta interface
Currently driver does not check the mode of the current interface
whether it is STA of CLI and it caches the connection info, in this
process it allocates the memory to cache he operation, this memory
get freed only for station type adapter because of which there is
a possibility of memleak for CLI interface.

To avoid above issue, add a change to only cache the information
STA interface.

Change-Id: Ic68d71dfd9887600fe1a287de66d735c2c802491
CRs-Fixed: 3028583
2021-09-03 11:03:36 -07:00
Paul Zhang
3f732b46d9 qcacld-3.0: Revise to include walt.h header
Since walt is msm-only scheduler group of features,
not upstreamed. Include walt.h header when CONFIG_SCHED_WALT
has been enabled.

CRs-Fixed: 3023911
Change-Id: I7f334952fd624606b9ddf1b53237cea52628abbb
2021-09-03 11:03:31 -07:00
Madan Koyyalamudi
4a491c7151 Release 5.2.0.246U
Release 5.2.0.246U

Change-Id: I88f25de01796c7f5b2d51b3f114e2fc9fb71dcf1
CRs-Fixed: 774533
2021-09-03 08:45:01 -07:00
Liangwei Dong
e059b9f5ec qcacld-3.0: Abort MLME connect timers upon NB disconnect request
When the connect request is pending on MLME and NB disconnect comes,
driver will wait for previous connect finish to process the disconnect
request. This delay the disconnect and may cause framework ANR.
Add code to fire the timeout event of active timers in various MLME
state. This will abort the connect request and get disconnect done fast.

Change-Id: I19cc03108c966c8f1efc0a554dfc59123dfe37f1
CRs-Fixed: 3026311
2021-09-03 08:45:01 -07:00
Kiran Kumar Lokere
2376af43b3 qcacld-3.0: Config support to enable/disable BSS max idle period
Add configuration support to enable/disable the BSS max idle
period feature.

Change-Id: Iaab608a858133dc6fe3031e699129bd6c936abd9
CRs-Fixed: 3028908
2021-09-03 08:44:56 -07:00
Kiran Kumar Lokere
5672ccaad7 qcacld-3.0: Support to configure FW for ER SU PPDU Tx
Add support to configure FW for ER SU PPDU data type
transmission.

Change-Id: I76b5cd1a27dc91ad714b6d6af52cd223fa26a780
CRs-Fixed: 3025624
2021-09-03 08:44:51 -07:00
Madan Koyyalamudi
8ed9ce1e6d Release 5.2.0.246T
Release 5.2.0.246T

Change-Id: Ibb23661b0a1d76b39c627e7663681090ec5b7d55
CRs-Fixed: 774533
2021-09-03 05:50:37 -07:00
Srinivas Dasari
9a4a9a493e qcacld-3.0: Send psoc also in roam events to target_if
target_if expects psoc as part of roam events which is used for
event extraction. Send the same as it's missing currently.

Change-Id: I04729df90d8e64e07427fe47926a8a92a24aaf23
CRs-Fixed: 3027055
2021-09-03 05:50:36 -07:00
Madan Koyyalamudi
408c357390 Release 5.2.0.246S
Release 5.2.0.246S

Change-Id: I2e7d7a3213ae3368cbf006a871916a64475a6d57
CRs-Fixed: 774533
2021-09-03 03:24:47 -07:00
Amruta Kulkarni
c2d7ba4b01 qcacld-3.0: Add support to install key api's on wdevs
For MLO, add support to hdd install key api's
on wdevs without netdev. Add changes under config
flag "CFG80211_KEY_INSTALL_SUPPORT_ON_WDEV".

Change-Id: I67de2ba36dd86f0814c820756d5f49b765defda6
CRs-Fixed: 3017312
2021-09-03 03:24:47 -07:00
Madan Koyyalamudi
59e39f1a2b Release 5.2.0.246R
Release 5.2.0.246R

Change-Id: I72441b2e0571b96cc181d2346bc499d26a09f2d8
CRs-Fixed: 774533
2021-09-02 23:58:02 -07:00
Abhishek Singh
d1242791b5 qcacld-3.0: Remove STA specific enums from eConnectionState
Remove STA specific enums from eConnectionState. Also remove
its prints from STA dependent code.

Change-Id: I1a06d16a060bec90147dcf94925582877352d1a8
CRs-Fixed: 3028099
2021-09-02 23:58:02 -07:00
Madan Koyyalamudi
bb73b465bd Release 5.2.0.246Q
Release 5.2.0.246Q

Change-Id: I0df8a067cd119f7c67a6f0e2755d3d378172a32f
CRs-Fixed: 774533
2021-09-02 21:43:52 -07:00
Deeksha Gupta
3ecfc16c77 qcacld-3.0: Release the peer reference in twt_get_status
In ucfg_twt_get_all_peer_session_params peer reference is
acquired and its not released leading to the reference leak,
leading to vdev destroy timeout.

Release the peer reference to resolve the issue.

Change-Id: I9992376473c30365f15fcdb8e374c856bc169d6b
CRs-Fixed: 3027189
2021-09-02 21:43:52 -07:00
Madan Koyyalamudi
c31aad7307 Release 5.2.0.246P
Release 5.2.0.246P

Change-Id: I29ce3e8db39f49f1d7c8b642ea604c391002b2a2
CRs-Fixed: 774533
2021-09-02 14:31:50 -07:00
Qun Zhang
c4f20eca44 qcacld-3.0: Make sure sap stop_bss_event cannot be forcedly reset by PLD_FW_DOWN
In some stress test, like doing random on/off sap and random SSR, sometimes we
can hit below test situation:
1. trigger SSR first by calling hdd_crash_inject, then immediately off SAP, the
two actions almost happen at the same time.
2. the action of off SAP calls __wlan_hdd_del_virtual_intf to delete SAP interface
and is waiting for qdf_stop_bss_event completion event.
3. at the moment, sys error interrupt happened, CNSS layer would send PLD_FW_DOWN
event to host driver first. Due to PLD_FW_DOWN event call qdf_complete_wait_events()
to forcedly reset all completion wait event, this action may cause
__wlan_hdd_del_virtual_intf to do vdev destroy before vdev resp mlme state machine
is processed. Once vdev destroy is executed, it will set vdev obj_state to
WLAN_OBJ_STATE_LOGICALLY_DELETED, then vdev resp will not have chances to be flushed,
and then cause peer reference count leakage.

Fix solution: use qdf_wait_single_event instead of qdf_wait_for_event_completion to
avoid stop_bss_event forcedly reset before stop_bss_event is done or timeout.

Change-Id: I45b662fd17ec56bb8fc4453627bdcb41dedf79e0
CRs-Fixed: 2987511
2021-09-02 14:31:50 -07:00
Madan Koyyalamudi
2372e5c367 Release 5.2.0.246O
Release 5.2.0.246O

Change-Id: If314bf586f76c044dff5eff0cd9a5e7a8eafa16d
CRs-Fixed: 774533
2021-09-02 12:16:46 -07:00
Ashish Kumar Dhanotiya
7ef0cabb5d Revert "qcacld-3.0: Fill cac duration as well in wiphy channels"
This reverts commit "Change-Id: I847468f0c1839974ea1c6cd31260fb7ef4fbb897"

Revert this change as kernel is not reading cac duration from
wiphy channels, kernel reads the cac duration from reg rules.

Change-Id: I794bb3ddd67f551daf9b4c3b9320909224ac4d76
CRs-Fixed: 3020354
2021-09-02 12:16:46 -07:00
Utkarsh Bhatnagar
d1d592bca6 qcacld-3.0: Optimize Auth and Assoc logs
Add vdev id in auth TX and print assoc timeout in assoc TX.

Change-Id: I9bf369ae0960968a19a1f48f1492c004743fc3c0
CRs-Fixed: 3028123
2021-09-02 12:16:41 -07:00
Madan Koyyalamudi
9d6980fd79 Release 5.2.0.246N
Release 5.2.0.246N

Change-Id: Ibe8bbd292d36778c59b988e2ccad8fdbf209c76a
CRs-Fixed: 774533
2021-09-01 19:34:46 -07:00
Arun Kumar Khandavalli
e272ab538f qcacld-3.0: Create state control param after the driver register
As part of the new GKI model, multiple driver are loaded parallelly
resulting in a error message from the kernel regarding the multiple
registrations of the /dev/wlan.

Register the /dev/wlan file to the kernel once the device is
identified and driver registration is success.

Change-Id: Iaca40abb62be5f59f129604a9a6d74ada6a4ad3a
CRs-Fixed: 3027521
2021-09-01 19:34:46 -07:00