커밋 그래프

21163 커밋

작성자 SHA1 메시지 날짜
Madan Koyyalamudi
f9de3e0413 Release 5.2.0.247H
Release 5.2.0.247H

Change-Id: I3f9c72012391002bc1697f56fece468c0793f592
CRs-Fixed: 774533
2021-09-09 06:30:38 -07:00
Will Huang
7b2c4923c7 qcacld-3.0: Fix mgmt tx from supplicant failed on 6Ghz chan
Currently wlan_hdd_mgmt_tx path is still using legacy API to convert
channel frequency to number, it is not applicable for 6Ghz channel if
convert it back from number to frequency.

Fix it by replace all places where using legacy API to convert channel
and use channel frequency from supplicant directly. It can fix mgmt tx
from supplicant on 6Ghz channel.

Change-Id: I60fe37d7d716eeaceaa00f3fb59c77b629ebacac
CRs-Fixed: 3024898
2021-09-09 06:30:38 -07:00
Madan Koyyalamudi
c444f1ac06 Release 5.2.0.247G
Release 5.2.0.247G

Change-Id: I6b849fef1328dfaa8389f8eff88e04aaa6d1f7e8
CRs-Fixed: 774533
2021-09-09 03:24:29 -07:00
Alan Chen
f8a1c29a2b qcacld-3.0: Change incorrect log output
Output of log in hdd_enable_igmp_offload() should be igmp, not gtk.
Hence, change the log to print igmp instead.

Change-Id: I3a84b1d9e38abce1e57dd5823b833ee5bc173b57
CRs-Fixed: 3032679
2021-09-09 03:24:29 -07:00
chunquan
7f0225e909 qcacld-3.0: Fix vote level error on 32bit platform
When we request bus bandwidth by tx/rx pkt on armv7(32bit).
The timer statistical value of bw_vote_time is overflow,and
become small.So, next time, the diff_us calculate result is huge,
the total pkt is always zero.so the request always fail.

Change-Id: Ifaff8abd2b901f5f32f7a95b347365678cf2f3c4
CRs-Fixed: 2983899
2021-09-09 03:24:24 -07:00
Madan Koyyalamudi
29443fe177 Release 5.2.0.247F
Release 5.2.0.247F

Change-Id: I88aadc56bc2b4cb24fb6fe71d988f104d8899d26
CRs-Fixed: 774533
2021-09-09 01:13:38 -07:00
Bing Sun
5a436dd523 qcacld-3.0: ARP response dropped at host driver
ARP response dropped at OSIF due to non-availability
of sta entry with MLD address.
Added sta entry in OSIF/HDD context with MLD address.

Change-Id: Iff70197ca5707b88ea80b42a60a2b1fb383f00a9
CRs-Fixed: 3017249
2021-09-09 01:13:38 -07:00
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
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
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
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
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
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
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
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
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
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
Madan Koyyalamudi
4de49713b8 Release 5.2.0.246M
Release 5.2.0.246M

Change-Id: Ic9c291bd5c7042f8aea2df0f8cc6df49ef98fc80
CRs-Fixed: 774533
2021-09-01 17:13:17 -07:00
Madan Koyyalamudi
50ea912eed Release 5.2.0.246L
Release 5.2.0.246L

Change-Id: I46bfaf72275c8cc3949127a89653496473fbdb9d
CRs-Fixed: 774533
2021-09-01 14:02:32 -07:00
Liangwei Dong
04e62b143e qcacld-3.0: Unit test update for policy mgr pcl validation
Update unit test command for policy mgr pcl validation to
support new SBS PCL type.

Change-Id: Ib02ce6c69400d0f47307523d690e1d81a8c0ef83
CRs-Fixed: 2998526
2021-09-01 14:02:32 -07:00
Pragaspathi Thilagaraj
100c310363 qcacld-3.0: Set PS config per vdev
Currently the PS config received from kernel/userspace is set
to mac_ctx globally. This causes PS config set for one vdev to
override on the other vdev.

To avoid this, set the PS config per vdev.

Change-Id: I6a2e2a9d8fb67b94d9d5f1d4164077990bdaf4a5
CRs-Fixed: 3007060
2021-09-01 14:02:27 -07:00
Madan Koyyalamudi
9cce6d9b2d Release 5.2.0.246K
Release 5.2.0.246K

Change-Id: I8f84d910109d46219d14921ab223cb514e0a06c4
CRs-Fixed: 774533
2021-09-01 11:45:35 -07:00