提交图

27610 次代码提交

作者 SHA1 备注 提交日期
Madan Koyyalamudi
3f73e29e69 Release 5.2.1.48A
Release 5.2.1.48A

Change-Id: I1d16ae02e0094ca34831ca3b685d17a73acc2567
CRs-Fixed: 774533
2022-12-06 13:18:59 -08:00
Yu Tian
8e0cb38f60 qcacld-3.0: Fix Linux NS un-pause sequence in PMO
In PMO architecture, Linux Network Stack is unpaused earlier
than DP resume handler, some TX frames are dropped as DP
resuming is not ready. Change is aimed to fix the
unpause sequence.

Change-Id: I6cfcc7c4dd77f9cbcf1ac5b4a3d78a35dc3d16bb
CRs-Fixed: 3350279
2022-12-06 13:18:59 -08:00
Madan Koyyalamudi
e396c0b1ab Release 5.2.1.48
Release 5.2.1.48

Change-Id: Ia5925340b5efeccebf8d1da4be9632a2c784caab
CRs-Fixed: 774533
2022-12-06 07:35:27 -08:00
Roopavathi Lingampalli
81e2d7813a qcacld-3.0: Add Rx thread feature support for HDD module
Add resume and suspend support for rx thread, rx refill threads
in HDD module through DP componentization.

Change-Id: I0cdd0d43ac742ef55fad2155bc8df063c5bb8657
CRs-Fixed: 3316821
2022-12-06 07:35:26 -08:00
Roopavathi Lingampalli
ab17639c2b qcacld-3.0: Add Rx thread feature support for CDS module
Add Rx thread and Rx refill thread feature support for
CDS module through DP componentization.

Change-Id: Ie4f0a7f52fca75d75ac57f263051a5fa5a61651b
CRs-Fixed: 3316849
2022-12-06 07:35:21 -08:00
Roopavathi Lingampalli
0c616f6306 qcacld-3.0: Add support for flush GRO packets using RX thread
Add support for flush GRO packets using RX thread in OSIF
module.

Change-Id: I776e863d03923bcaac685547d3047df2c8afb27e
CRs-Fixed: 3316855
2022-12-06 07:35:14 -08:00
Roopavathi Lingampalli
b81f52931c qcacld-3.0: Add Rx thread feature support for Dp component
Add Rx thread and Rx refill thread support for
DP componentization.

Change-Id: I2c0a0f7780280a0c2304f026d2580a81123de312
CRs-Fixed: 3316814
2022-12-06 07:35:08 -08:00
Madan Koyyalamudi
8211f09db9 Release 5.2.1.47Z
Release 5.2.1.47Z

Change-Id: I5955ba524d3e77fb49d7acf4098fd0c564e138b9
CRs-Fixed: 774533
2022-12-05 23:59:59 -08:00
Amit Mehta
ea9c714188 qcacld-3.0: Add change to clear per MAC obss stats
Add change to pass mac_id for which clear obss
request was received.

Change-Id: I9606f9c777b18ad3fc4383f1856975b04d384812
CRs-Fixed: 3343340
2022-12-05 23:59:59 -08:00
Asutosh Mohapatra
d10945a7b3 qcacld-3.0: Handle timer initialization gracefullly
Currently hdd_medium_assess_init() and hdd_medium_assess_deinit()
are not paired with event the events eSAP_START_BSS_EVENT and
eSAP_STOP_BSS_EVENT respectively. Hence multiple call traces
can be seen for eSAP_STOP_BSS_EVENT if eSAP_START_BSS_EVENT is
not invoked from __wlan_hdd_cfg80211_start_ap or SSR sequence.

To address this issue invoke hdd_medium_assess_init()
for eSAP_START_BSS_EVENT only from hdd_hostapd_sap_event_cb
if timer is not initialized already.

Change-Id: I361e371c8b59a226fe6cae97c6f66bec46eeeb0f
CRs-Fixed: 3349485
2022-12-05 23:59:54 -08:00
Madan Koyyalamudi
4893c56a68 Release 5.2.1.47Y
Release 5.2.1.47Y

Change-Id: I9c6a735e856a243142f0cbfe7bba183c89f69721
CRs-Fixed: 774533
2022-12-05 22:01:53 -08:00
Rahul Gusain
f4dcdbd94b qcacld-3.0: Out of bound access while fetching disabled ml links
Host driver tries to fetch info of disabled ML links from
pm_disabled_ml_links by passing arrays to fill vdev_id_list,
freq_list and ml_idx list. Disabled + enabled links together can't be
more than MAX_NUMBER_OF_CONC_CONNECTIONS from functionality perspective.
But static analyzer tool complains that there are chances for out of
bound access of the given arrays while filling the indexes. Add checks to
avoid any such possible out bound access.

Change-Id: Icff77f9700c782f05e10c1d0aee8e1f238b0cc94
CRs-Fixed: 3344532
2022-12-05 22:01:53 -08:00
Vinod Kumar Pirla
041956887a qcacld-3.0: Set ML adapter only if target supports 11be
The adapter create flag for is_ml_adapter is set to true
by default for mission mode on primary interface and in
hdd_open_adapter() the flag is set but MLD is set only
after checking if target supports 11be. This leads to
adapter being set as ML type but MLD is null.

Check the target 11be capability as before making
adapter ML type and in open adapter for mission mode
bring the is_ml_adapter under if conditional check.

Change-Id: Ic0325ea6fde364e5180e9d164095b79bdabfee41
CRs-Fixed: 3352138
2022-12-05 22:01:47 -08:00
Amit Mehta
7f32cd3b69 qcacld-3.0: Fix check in wlan_hdd_tsf_reg_update_details API
Currently in wlan_hdd_tsf_reg_update_details there is check for
change in tsf_id and mac_id, If current and new values are same
tsf_details_valid bit will not be set (In case of tsf_id = 0 and
mac_id = 0), which we result in host continuously reading via WMI
command instead of scratch register.

So to Fix the issue only check for tsf_id_valid and update the
values.

Change-Id: I8007a40baa7be249afa5ff316d57983983ce988a
CRs-Fixed: 3351476
2022-12-05 22:01:41 -08:00
Rahul Gusain
91cf02ef44 qcacld-3.0: Optimize channel selection for NDI
The current algo maintains valid channel list for NDI from regulatory
channel list which leads to high space and time complexity.
As it is known that there are only three channels (144, 44, 6)
to support the NDI, so check for valid channel from these three
channels, instead of extracting from the channel list. If none of
above channels are valid, then take first valid channel from channel
list.
In this way, no need to maintain the channel list which helps to reduce
the time and space complexity.

Change-Id: I5dd2757ca952f4aaeb2a9ed74a47b4e547890245
CRs-Fixed: 3340778
2022-12-05 22:01:36 -08:00
Madan Koyyalamudi
d42649645d Release 5.2.1.47X
Release 5.2.1.47X

Change-Id: I6d8347108e3eff2bd79c81ff727b5efd57a2aa42
CRs-Fixed: 774533
2022-12-05 18:42:11 -08:00
Chaoli Zhou
f28de24866 qcacld-3.0: Change kmsg log to debug log
Change error level log to info level since it
is not a real error report.

Change-Id: I2698216b67d986fd8e5465d47ca5700e3cc671d3
CRs-Fixed: 3351802
2022-12-05 18:42:11 -08:00
Yu Wang
2294db2698 qcacld-3.0: fix API mismatch for vendor command processing
Some skb for vendor command reply is allocated with internal
API but reply/free is done with kernel APIs, which will break
the buffer tracking once NBUF_MEMORY_DEBUG and NETLINK_BUF_TRACK
are enabled.

To fix it, replace kernel APIs with internal APIs accordingly:
Replace cfg80211_vendor_cmd_reply() with
wlan_cfg80211_vendor_cmd_reply().
Replace kfree_skb() with wlan_cfg80211_vendor_free_skb().

Change-Id: If4f37b5dca5483a9b64c726d37d3959d3ecd699e
CRs-Fixed: 3350756
2022-12-05 18:42:06 -08:00
Madan Koyyalamudi
bc85a43fcc Release 5.2.1.47W
Release 5.2.1.47W

Change-Id: I1f5da5833090f7c926ececab0854fada68b8fefc
CRs-Fixed: 774533
2022-12-05 14:59:27 -08:00
Tiger Yu
d57c2820e1 qcacld-3.0: Refine the TX flow info setting for legacy TX flow control
Refine the TX flow info setting independent on the IPA module to enable
the TX flow control feature for the TCP/UDP when IPA module is disabled.

Change-Id: Ib5d708e405dc93f410f100a5c335875b30601981
CRs-Fixed: 3346767
2022-12-05 14:59:26 -08:00
Madan Koyyalamudi
8e5bd76091 Release 5.2.1.47V
Release 5.2.1.47V

Change-Id: I1134204e65cc607b6b075dfa0162be5af31cac9d
CRs-Fixed: 774533
2022-12-05 11:11:58 -08:00
Srikanth Marepalli
15bbff508e qcacld-3.0: Add vendor attribute to optimize roam full scan
User can include/exclude the frequencies in roam full scan that
were already scanned by the previous partial scan, using the new
vendor attribute introduced as part of roam vendor command.
Host sends the configured value to firmware.
As per current implementation of roam scan, if there are no APs
found during partial scan, immediately a full scan will be
initiated as a fallback. This includes all channels that were
already scanned as part of partial scan.
This attribute controls the optimization, to exclude all channels
which are already scanned as part of partial scan.

Change-Id: Icd6381b4daadcfe32dabda131ae92e2e32f07f1d
CRs-Fixed: 3343657
2022-12-05 11:11:58 -08:00
Madan Koyyalamudi
b67fccc360 Release 5.2.1.47U
Release 5.2.1.47U

Change-Id: I26601919c131fbea15bba72bbaaa7ee413c6bcac
CRs-Fixed: 774533
2022-12-04 15:26:03 -08:00
Wu Gao
058ad2eccd qcacld-3.0: Search the pointer to addba response
Host reserved 8 bytes for CCMP header trailer and initialize them as
0 when rmf enabled & key installed and tx addba rsp frame. But, host
doesn't handle this case when get tx addba response confirm and unpack
this frame again. Which case process addba request frame failed all
the time and disconnection. So, add this change to search the pointer
to addba response and then unpack it.

Change-Id: Id4251d83befabb43843a0dd4888f601af3f37f72
CRs-Fixed: 3338294
2022-12-04 15:26:03 -08:00
Wu Gao
69d71759f0 qcacld-3.0: Hold PM lock during P2P connection in progress
Even though host already disabled BMPS during P2P connection in
progress, the PM lock in FW side still held and released again and
again. Which takes long time during P2P connection. Per suggestion
from FW team , set pdev parameter with id -
WMI_PDEV_PARAM_POWER_COLLAPSE_ENABLE,
  value 0 - hold lock
  value 1 - release lock

This change also fixed some kernel-doc error.

Change-Id: Iba130477595ca8952c5fe0c5ce7ad60b737e4c43
CRs-Fixed: 3331991
2022-12-04 15:25:58 -08:00
Liangwei Dong
0047371885 qcacld-3.0: Move Action OUI INI config to component
Move Action OUI INI config to component.
Add ucfg API to load/parse the configuration.

Change-Id: Ibaab5428bc575394b9a5b464639d24f80f042e93
CRs-Fixed: 3310697
2022-12-04 15:25:52 -08:00
Madan Koyyalamudi
8f69751b82 Release 5.2.1.47T
Release 5.2.1.47T

Change-Id: I255e018496a11d50743c20f7867ea0fc1eab73cb
CRs-Fixed: 774533
2022-12-04 12:07:08 -08:00
Chaoli Zhou
4cbca147ba qcacld-3.0: Fix ipa compile error for ROME
Fix the parameters missing issue for ipa
function for ROME.

Change-Id: I1dad21bfa0e6cf0f213a1259bd5cf116cccba9a5
CRs-Fixed: 3345055
2022-12-04 12:07:08 -08:00
Madan Koyyalamudi
aec1d07309 Release 5.2.1.47S
Release 5.2.1.47S

Change-Id: Ic1d9f5465e1b909c0b4ec6ec08cdacec991372c5
CRs-Fixed: 774533
2022-12-04 10:08:33 -08:00
Li Feng
980420444e qcacld-3.0: Add timeout of NAPI polling for single MSI case
Observed NAPI of REO2SW1 hard to complete caused by slow CPU/schedule
on REO2SW1, hence IRQ of REO2SW1 keep disabled during the polling which
impact other MSI as well in single MSI case, until hit REO2TCL timeout
and crash.

The fix is complete the dp rx NAPI poll and re-enable the irq if the
irq disabled for long time.

Change-Id: Iad53b39c8b8d6a99a9006149e7579f8dc3c93e39
CRs-Fixed: 3134851
2022-12-04 10:08:32 -08:00
Jianmin Zhu
a30758ecca qcacld-3.0: Ignore duplicated roam start event
Ignore duplicated roam start event if roam started already, don't abort
roam.

Change-Id: I0b3ebe861d2cc9e3db4b794df5e9ff7938b797fe
CRs-Fixed: 3351225
2022-12-04 10:08:27 -08:00
Madan Koyyalamudi
c09028af46 Release 5.2.1.47R
Release 5.2.1.47R

Change-Id: I0ef841cb0e6d8c73868e15fe3c02cbe6fac604bc
CRs-Fixed: 774533
2022-12-04 06:25:44 -08:00
Liangwei Dong
8646ae0f4c qcacld-3.0: Release vdev ref count in error path
Release vdev ref count in error path.

Change-Id: Id59695cc48a4211bfba1a87ac12a44f90961d7f5
CRs-Fixed: 3345522
2022-12-04 06:25:43 -08:00
Madan Koyyalamudi
ae228f7eb9 Release 5.2.1.47Q
Release 5.2.1.47Q

Change-Id: Ib3bce8163b4165977ace53bcc15d789b77e18b05
CRs-Fixed: 774533
2022-12-03 22:19:44 -08:00
Chaoli Zhou
5fbbb4a769 qcacld-3.0: Fix 'variables may be used uninitialized' issue
Need to set default value for tdls_feature_set to
fix the 'variables may be used uninitialized' issue.

Change-Id: I1cab38220240432c620a83ecb2f4feefb71f2e4f
CRs-Fixed: 3342670
2022-12-03 22:19:43 -08:00
Madan Koyyalamudi
bad2015c69 Release 5.2.1.47P
Release 5.2.1.47P

Change-Id: I7bd8c7ae2d4cf8f3ff658a58ea4c74dc0b984aaf
CRs-Fixed: 774533
2022-12-03 15:26:36 -08:00
sandhu
f2973a0175 qcacld-3.0: Rate limit excessive logging
Rate limit excessive logging to prevent kernel panic.

Change-Id: I916fd576c4fd20ebe4f49e546cc5180bd0a79b1a
CRs-Fixed: 3348753
2022-12-03 15:26:35 -08:00
Madan Koyyalamudi
0bc72a406c Release 5.2.1.47O
Release 5.2.1.47O

Change-Id: I18813c43b3aa64e3076fa605a8ae065edc6b9020
CRs-Fixed: 774533
2022-12-02 20:07:55 -08:00
Vinod Kumar Pirla
859b6feb21 qcacld-3.0: Refactor multi latency level configuration
Introduce a new API to configure the latency level for the adapter
which is currently configured in the hdd_start_station_adapter()

Change-Id: Icc91ca253de8f9590f4530d976bd4b54cf7a3eba
CRs-Fixed: 3297686
2022-12-02 20:07:54 -08:00
Madan Koyyalamudi
2bcf0533a6 Release 5.2.1.47N
Release 5.2.1.47N

Change-Id: Ida2b31a5790cf516a6c28be7b9fafc16bfb5f52e
CRs-Fixed: 774533
2022-12-02 18:05:18 -08:00
Sheenam Monga
f6de97d19c qcacld-3.0: Don't send success status to user space
Currently, If AP doesn't allow Prohibit to be set and user tries
to enable prohibit, host doesn't send command to FW to enable prohibit
but doesn't send failure status to user space.

Fix is to send failure status to userspace in case prohibit is not enabled.

Change-Id: Ic983b85d27e16314f63c02f88d3b1689d587d622
CRs-Fixed: 3344607
2022-12-02 18:05:17 -08:00
Madan Koyyalamudi
74652004c5 Release 5.2.1.47M
Release 5.2.1.47M

Change-Id: Icee509c234e9101051380432b87a4675e0e818ea
CRs-Fixed: 774533
2022-12-02 12:28:59 -08:00
Paul Zhang
64e62fbb3d qcacld-3.0: Fix about extended supported rate wrong
After starting SAP on channel 6, then issuing setChanChange
command. Per the sniffer log, the rate list of extended
supported rate is wrong in the beacon and probe response.

It is happens because in wlansap_fill_channel_change_request,
when it copies the extended supported rate list, it uses
parameter sizeof(dot11_cfg.ext_rates.numRates) instead of
dot11_cfg.ext_rates.numRates, so it only copies the first rate.

Change-Id: I7f23254fbd6ce56be69dbea634d9d99f3b611448
CRs-Fixed: 3345554
2022-12-02 12:28:59 -08:00
Liangwei Dong
17751d0800 qcacld-3.0: Protect STA powersave state change
At present the set/get user powersave state to MLME and send
command STA powersave mode to firmware operations are not
protected by lock.
Supplicant thread and hdd_ipv4_notifier_work_queue may have
race condition to access the user powersave flag. In that
case the STA powersave state may out of sync.

Fix by acquire sme lock to protect the powersave state set
sequence.

Change-Id: I76d848ea191f2319d015e0d70efad28f56a57d27
CRs-Fixed: 3342696
2022-12-02 12:28:54 -08:00
Madan Koyyalamudi
50a58a61e8 Release 5.2.1.47L
Release 5.2.1.47L

Change-Id: I2c98082525bb2d921e17d236e6ce678791e148ca
CRs-Fixed: 774533
2022-12-02 10:30:17 -08:00
Vinod Kumar Pirla
b2a58e1b88 qcacld-3.0: Refactor station mode initialization
Introduce a new API to move HT VHT IEs initialization
code from hdd_init_station_mode() function.

The new API will have vdev objmgr as function parameter
which can be used to operate on per vdev instead of adapter.

Change-Id: Ifc6766f0d2ae8c0b272099a56b38ea71236eea08
CRs-Fixed: 3297555
2022-12-02 10:30:17 -08:00
Liangwei Dong
d5b09f8c5d qcacld-3.0: Check max bw support with regulatory API
For channel frequency 5825 MHz, need to check regulatory
API support 20 MHz band width only before reject it.

Change-Id: I6d4ac072e181921852603107b650d9349205e54d
CRs-Fixed: 3332847
2022-12-02 10:30:12 -08:00
Paul Zhang
d5a46c0544 qcacld-3.0: Correct the param mis-used issue
Correct the param mis-used issue when function
wma_handle_vdev_detach invokes function
wlan_mgmt_txrx_vdev_drain.

Change-Id: Ied3118028d881c2c0d4300daa6b24515b2797781
CRs-Fixed: 3349006
2022-12-02 10:30:06 -08:00
Madan Koyyalamudi
f144674c98 Release 5.2.1.47K
Release 5.2.1.47K

Change-Id: I5bf510f1e0e63efc09c71e89379b12dcd0d060c0
CRs-Fixed: 774533
2022-12-02 03:30:38 -08:00
Vinod Kumar Pirla
6bcb65a9f5 qcacld-3.0: Refactor vdev destroy wait for event
Refactor the hdd_vdev_destrory() API to move the wait
on vdev destroy event to a new API.

Change-Id: I8c27a12ab8aa5967cafb1b31475ea23ba9241cbe
CRs-Fixed: 3307015
2022-12-02 03:30:37 -08:00