コミットグラフ

24600 コミット

作成者 SHA1 メッセージ 日付
Madan Koyyalamudi
d5c2fcf1f1 Release 5.2.1.3Y
Release 5.2.1.3Y

Change-Id: I07b5913acd9ec513b2896acb308b0f89ae2835ac
CRs-Fixed: 774533
2021-12-08 23:19:12 -08:00
Baowei Liu
bdc5e9efc2 qcacld-3.0: fix congestion overflow issue
The diff value have lost integer precision before calculate.

Change-Id: I937f5079834258d2215b282e112ef0152bed382b
2021-12-08 23:19:12 -08:00
Madan Koyyalamudi
1ed64244c6 Release 5.2.1.3X
Release 5.2.1.3X

Change-Id: I7641404b047e55bdff1ab68a908f6ae87307515d
CRs-Fixed: 774533
2021-12-08 20:47:30 -08:00
Pragaspathi Thilagaraj
a700e95c62 qcacld-3.0: Fix RSO state change in disconnected state
When roaming has started and connect request from userspace
is received, disconnect is initiated as part of the connect
request and RSO stop->RSO Deinit is sent to firmware. But
before receiving the RSO stop, firmware posted the Roam Synch
indication to the host driver. While droping the roam
synch indication, the driver does abort roaming and as part of
that RSO state is changed to RSO enabled in connecting state.

Change the RSO state to RSO enabled only if roaming or roam synch
indication processing is in progress.

Change-Id: I7869d1a559884480708b9d1a493296a443364f0b
CRs-Fixed: 3089165
2021-12-08 20:47:30 -08:00
Rakesh Pillai
faee1a2e61 qcacld-3.0: Allow 11BE phy mode for monitor mode
Add support to set 11BE phy mode for monitor mode
in WCN7850.

Change-Id: I9671463e62c10669454b18c62ae04282a2a9e484
CRs-Fixed: 3089242
2021-12-08 20:47:26 -08:00
sandhu
f24d8cd260 qcacld-3.0: enable REMOVE_PKT_LOG for lithium and berrylium
enable REMOVE_PKT_LOG for lithium and berrylium

Change-Id: I5c467addea56f7010f01e97a59281b292d580959
CRs-Fixed: 3080216
2021-12-08 20:47:21 -08:00
Madan Koyyalamudi
2623356f06 Release 5.2.1.3W
Release 5.2.1.3W

Change-Id: Ic73076d99ddaa03b8b34f5a69c0a0126aaecb6c2
CRs-Fixed: 774533
2021-12-08 16:37:19 -08:00
abhinav kumar
1d06f37092 qcacld-3.0: Format specifies type does not match
The [-Werror,-Wformat] compiler option is enabled,
Format specifies type does not match the argument
type.

Fix the compiler errors that format specifies type
does not match the argument type.

Change-Id: I66c4834693c41217f1263e8d23e9e291f7045c55
CRs-Fixed: 3089460
2021-12-08 16:37:19 -08:00
Madan Koyyalamudi
77d11b3544 Release 5.2.1.3V
Release 5.2.1.3V

Change-Id: I2d335a7e6b1d84f68dbd0b0a07172dea50d43e23
CRs-Fixed: 774533
2021-12-08 14:56:55 -08:00
chunquan
1fab5f2e75 qcacld-3.0: Send high 32bit addr for no smmu platform which fw need
Host send HTT_H2T_MSG_TYPE_WDI_IPA_CFG cmd to fw, need update
high 32bit addr for non-smmu platform which alloc physics
address more than 4G, like addr 0x1 5000 0000.It will cut
off bit32~bit63, fw get memory is 0x5000 0000, it's maybe
use for peripheral memory.when fw write addr 0x5000 0000,
it will meet some error.

Change-Id: Ic5c5c00c85bdf08e61c9ff0f539989d2e96bb153
CRs-Fixed: 3077016
2021-12-08 14:56:54 -08:00
Madan Koyyalamudi
fd7792eef1 Release 5.2.1.3U
Release 5.2.1.3U

Change-Id: Id8a1eb57cf613d4aedb882cff85e616666fda24f
CRs-Fixed: 774533
2021-12-08 13:50:00 -08:00
bings
53a13ccb3a qcacld-3.0: Add API to get sta information for EasyMesh
Add API to get sta information for EasyMesh.

Change-Id: I12e7eaae3562ca35b33f0637a33e784b912ca8a3
CRs-Fixed: 3044736
2021-12-08 13:50:00 -08:00
Madan Koyyalamudi
8a4bd39b79 Release 5.2.1.3T
Release 5.2.1.3T

Change-Id: Ie8d4f481f96c463030841137633d4897cb40d38d
CRs-Fixed: 774533
2021-12-08 12:41:23 -08:00
Mohit Khanna
729ccaf947 qcacld-3.0: Amend throughput based RTPM policy
Currently the feature is taking up both a rtpm_lock and a wake_lock
while trying to "allow" or "prevent".
Remove the use of wake_lock as the system is not expected to be in
suspend state at high throughputs where this feature is applicable.

Change-Id: I7335e5273983d219d2568d19dc44e86794dd0d48
CRs-Fixed: 3088736
2021-12-08 12:41:23 -08:00
Liangwei Dong
a185d29d1b qcacld-3.0: Add INI to configure MGMT frame HW retry count
Add INI - mgmt_frame_hw_tx_retry_count to configure MGMT
frame HW tx retry count for certain frame types.
The INI String format:
frame_hw_tx_retry_count="<frame type>,<retry count>,..."

The supported frame types are defined by enum mlme_cfg_frame_type.
Retry count max value is 127.
For example:
mgmt_frame_hw_tx_retry_count="0,64,2,32"
The above input string means:
For p2p go negotiation request fame, hw retry count 64
For p2p provision discovery request, hw retry count 32

Change-Id: I32f6c7d83ede9b28484c7a0b29824bde32e06422
CRs-Fixed: 3082532
2021-12-08 12:41:18 -08:00
Bapiraju Alla
b93d2939d0 qcacld-3.0: Fix MLO compilations when kernel doesn't support MLO
Along with 11BE_MLO feature macro, check for Kernel 11be macro as well
to avoid compilation issues when kernel doesn't support MLO.

Change-Id: Ie6b513cdb9846b1c47674cabbd8e5ff1a1adff63
CRs-Fixed: 3087573
2021-12-08 12:41:13 -08:00
Madan Koyyalamudi
03ba46bd2e Release 5.2.1.3S
Release 5.2.1.3S

Change-Id: Ic2956d23b6543fb7c34ff17cbd582bb45bb34783
CRs-Fixed: 774533
2021-12-07 22:39:03 -08:00
abhinav kumar
f778fdacef qcacld-3.0: Send proper PCL list to FW
Currently, the host does not check STA+STA concurrency
before sending VDEV/PDEV level PCL command to FW.

1. In case of STA Standalone connection, Host should send
PDEV level PCL commands to FW and marks all channels in PCL
as allowed.

2. In the case of STA + STA connection in MCC/SCC, Host
should send PDEV level PCL command for primary vdev id and
mark all channels in PCL as allowed.

3. In case of STA + STA connection in DBS, Host should
send VDEV level PCL command for both vdev id and via PCL
list host should make sure band is restricted to maintain
only DBS.

4. Initially STA + STA connection in DBS and then one STA
got disconnected. In this case, After disconnection Host
should send PDEV level PCL command for connected vdev id
and mark all channels in PCL as allowed.

Change-Id: I59cf5dfd1bf8fb26e360a8b0b5456fe05037376a
CRs-Fixed: 3084156
2021-12-07 22:39:03 -08:00
Madan Koyyalamudi
62a3d83720 Release 5.2.1.3R
Release 5.2.1.3R

Change-Id: I4b8cc07a547eb3ddb729caf5d76e1888d852324a
CRs-Fixed: 774533
2021-12-07 11:15:25 -08:00
Arun Kumar Khandavalli
3e0ebcdc8a qcacld-3.0: Add Suspend delay only for prevent suspend
Currently whenever there is a idle shutdown suspend delay is added
to timeout to prevent the suspend running in parallel to the shutdown
this delay is added for the idle shutdown time also, rather add
the delay only for the suspend API.

Change-Id: I2726301cc7bf3c421bcd19167aec1ab12bff820f
CRs-Fixed: 3086873
2021-12-07 11:15:25 -08:00
Jingxiang Ge
720bb5c8dd qcacld-3.0: Fix possible memory leak of tx_time_per_power_level
It is possible tx_time_per_power_level is not freed
in last event, and it is reused in
__wma_unified_radio_tx_power_level_stats_event_handler,
the buffer size may be different for each event by
manually test.

Fix is to check if memory is freed before malloc, if
not null, free it before malloc.

Change-Id: I51064734cf97b9ff0ecbbaf27f38d5a223c91d3b
CRs-Fixed: 3057436
2021-12-07 11:15:20 -08:00
Madan Koyyalamudi
9582d5e134 Release 5.2.1.3Q
Release 5.2.1.3Q

Change-Id: Ib86b658a01b79a124751af6d8e002b88ff48ceac
CRs-Fixed: 774533
2021-12-07 10:04:52 -08:00
Jingxiang Ge
765f3289a1 qcacld-3.0: Check input parameters for tx_attr/rx_attr
In hdd_config_tx_rx_nss and hdd_config_vdev_chains, it
missed to check if tx_attr or rx_attr is null, which will
cause invalid memory access.

Change-Id: Ic3427d714e240507cf4253588f706d06d355ba93
CRs-Fixed: 3086252
2021-12-07 10:04:52 -08:00
Madan Koyyalamudi
8a62e5dcd9 Release 5.2.1.3P
Release 5.2.1.3P

Change-Id: I3b919dcd90ad0ff1ef08437d78b9d4cd10027295
CRs-Fixed: 774533
2021-12-07 05:58:48 -08:00
Bapiraju Alla
aff8059b06 qcacld-3.0: Register dynamic set MAC address feature with the framework
Register dynamic set MAC address feature with the framework.
If driver supports this feature, then framework doesn't need to
issue interface down and interface up to set the MAC address.

Change-Id: I7a493574c11c8d51731021d418cfeaf942720383
CRs-Fixed: 3066743
2021-12-07 05:58:48 -08:00
Madan Koyyalamudi
1c86bf7e3e Release 5.2.1.3O
Release 5.2.1.3O

Change-Id: Iae3bad1e626d600f890bab5577bab366c467f66c
CRs-Fixed: 774533
2021-12-07 04:46:45 -08:00
Lihua Liu
3a24ed64d9 qcacld-3.0: Disable/enable intra-bss forwarding
Add logic to disable/enable sap forwarding.
Set "ap_isolate=1" in hostapd config file to disable.
Set "ap_isolate=0" to eanble it.
It's enabled by default if didn't set any value.

Change-Id: I979dca55688ed52a7115d9027c8dd81262ff6dfa
CRs-Fixed: 3082193
2021-12-07 04:46:45 -08:00
Madan Koyyalamudi
8042ede95c Release 5.2.1.3N
Release 5.2.1.3N

Change-Id: I8577a6d747b4cbf1461ad098d42987e9efd1143d
CRs-Fixed: 774533
2021-12-06 23:55:18 -08:00
Yu Wang
10aa99f14f qcacld-3.0: Compile target_if APIs for MLO manager
Update Kbuild to compile target_if APIs for MLO manager.

Change-Id: If7c2ce106aaae98024892b400eca2ad6764b7ec0
CRs-Fixed: 3060585
2021-12-06 23:55:18 -08:00
Madan Koyyalamudi
222d001abf Release 5.2.1.3M
Release 5.2.1.3M

Change-Id: I5faa031abae6c7a4b5f1b666c50621df5c19ea3a
CRs-Fixed: 774533
2021-12-06 22:33:20 -08:00
Bapiraju Alla
63867fd076 qcacld-3.0: Add support to calibration failure events parsing
Currently there is no provision to get the calibration failure
information from the driver. Because of this it is getting difficult
to debug the calibration failure issues.

To simplify the calibration failure issue debugging, add support to
parse calibration failures events in the driver.

Change-Id: I6d831804cca259862fea3e8bb4af33d556138d43
CRs-Fixed: 3078926
2021-12-06 22:33:20 -08:00
Madan Koyyalamudi
fe92845d92 Release 5.2.1.3L
Release 5.2.1.3L

Change-Id: I71291ba28c0d6328d645aab3b6f8e37af52798ca
CRs-Fixed: 774533
2021-12-06 21:13:29 -08:00
Liangwei Dong
2aea068c77 qcacld-3.0: Fix slab-out-of-bounds in radio stats
When fixed_param->num_radio is 0 from FW, host allocates
struct tSirLLStatsResults with 0 count of struct wifi_radio_stats
to wma_handle->link_stats_results.
When the second radio stats comes, the driver will
not allocate wma_handle->link_stats_results because
wma_handle->link_stats_results is not NULL.
Later driver will access the wma_handle->link_stats_results based
on radio_stats->radio_id. This will access invalid memory
because the original wma_handle->link_stats_results memory
didn't include the wifi_radio_stats.
Fix by free the link_stats_results if
wma_handle->link_stats_results->num_radio is 0, then driver
will allocate wma_handle->link_stats_results memory including
the struct wifi_radio_stats based on num_radio.

Change-Id: Ie1d6bbe8c668d2fb475fddb60907fd13a7f8de66
CRs-Fixed: 3082779
2021-12-06 21:13:29 -08:00
Madan Koyyalamudi
665cf28a14 Release 5.2.1.3K
Release 5.2.1.3K

Change-Id: Iac44c1e19209130b7e06e21f8e75a09fd66e842e
CRs-Fixed: 774533
2021-12-06 19:38:58 -08:00
sandhu
5d06297a5b Revert "qcacld-3.0: Remove IP from file names"
This reverts commit  Ibabfac61097e28620da44fb311802d81cc765aff.

Change-Id: Ic2161da13baef54ec74e7d3cf234a9fc7d447e19
CRs-Fixed: 3075704
2021-12-06 19:38:58 -08:00
Madan Koyyalamudi
b6851496ad Release 5.2.1.3J
Release 5.2.1.3J

Change-Id: Iba7a743e9f15f925dd53a289634d7952773419b5
CRs-Fixed: 774533
2021-12-06 16:22:05 -08:00
Jianmin Zhu
e7bf64ec36 qcacld-3.0: Fix allowlist roaming failed issue
ssid_allowed_list is cleared for each RSO stop.

To fix it, only clear ssid_allowed_list when disconnect, don't clear
it for each RSO stop.

Change-Id: I577191295d388ab92440d7bf65b6a0da6c342181
CRs-Fixed: 3087296
2021-12-06 16:22:05 -08:00
Madan Koyyalamudi
4c348bee53 Release 5.2.1.3I
Release 5.2.1.3I

Change-Id: I18a0e4dfcbdeaabc675580a0f4d25f9a7a51be3b
CRs-Fixed: 774533
2021-12-06 13:52:07 -08:00
Arun Kumar Khandavalli
1ed4574779 qcacld-3.0: Send connect notification in case of non-mlo connection
when MLO is enabled the non-mlo connect notification are not getting
sent to the userspace in case of security association resulting in
the assoc timeout.

Send the connect notification in the SAP side and also release
the peer reference cleanly.

Change-Id: Id0f190be547c03f26c59a49cb8c4a74e1b90877c
CRs-Fixed: 3085979
2021-12-06 13:52:06 -08:00
Yu Wang
987d406769 qcacld-3.0: skip frequency filtering for MLO STA scenario
If MLO STA is present, allow further STA connections to all
available bands/channels irrespective of existing STA
connection band.

Change-Id: Ic7da10b2e74645b73c579b38f43bb7e3105b6f55
CRs-Fixed: 3088656
2021-12-06 13:52:01 -08:00
Madan Koyyalamudi
dd4e2f07dc Release 5.2.1.3H
Release 5.2.1.3H

Change-Id: I2f973aea21ff4d716705e9301a1ffb6848e35bf9
CRs-Fixed: 774533
2021-12-06 12:20:06 -08:00
Li Feng
2152af2589 qcacld-3.0: Support to notify SMPS OPMODE RRM event
Support to deliver SMPS, OPMODE to user app, and
deliver RRM report to son module.

Change-Id: I9e12043e59878c5e46d24f02717356ad40d7e35d
CRs-Fixed: 3056538
2021-12-06 12:20:06 -08:00
Madan Koyyalamudi
3a583876fd Release 5.2.1.3G
Release 5.2.1.3G

Change-Id: Id2efedeba8ddabc47827e7156f20f3b05890e875
CRs-Fixed: 774533
2021-12-06 06:26:29 -08:00
Jyoti Kumari
d255c7165a qcacld-3.0: Use proper api to parse vendor specific IE
Use wlan_get_vendor_ie_ptr_from_oui() instead of
wlan_get_ext_ie_ptr_from_ext_id() to parse vendor specific
WFA Hotspot-2.0 IE

Change-Id: Ie9ee6c1f16d0eb83f52b7d9afa97f362f8400ff3
CRs-Fixed: 3080931
2021-12-06 06:26:28 -08:00
Madan Koyyalamudi
9f5ca24243 Release 5.2.1.3F
Release 5.2.1.3F

Change-Id: I5fd0ec01df9a0ac46abec0ef7c724f28d9592bdc
CRs-Fixed: 774533
2021-12-04 20:51:06 -08:00
Jianmin Zhu
86a4abbf0f qcacld-3.0: Fix deadlock for race condition
When connect from wpa_supplicant and roam from F/W happens at same
time, supplicant hold cm cm_req_lock and wait rsp from scheduler
thread, sheduler thread is blocked to wait for cm_req_lock.

Change-Id: I6b9010972d29be9a32d3b85ee72891ed62b50801
CRs-Fixed: 3087169
2021-12-04 20:51:06 -08:00
Madan Koyyalamudi
5f3b829cf5 Release 5.2.1.3E
Release 5.2.1.3E

Change-Id: I712983481104a11b1a711763cbb11eae3bd6c7c7
CRs-Fixed: 774533
2021-12-04 19:32:58 -08:00
Liangwei Dong
c638f82fd7 qcacld-3.0: Fix out of bounds access for he_ppet
Add numss_m1 and ru_bit_mask check before access the data in
ppet16_ppet8_ru3_ru0.
numss_m1 + 1 should not exceed WMI_HOST_MAX_NUM_SS.
ru count should not exceed 4.

Change-Id: Ide6b562dacb0592fb5c2101c0ce016570cb1dac3
CRs-Fixed: 3080599
2021-12-04 19:32:58 -08:00
Mohit Khanna
8a63d65347 qcacld-3.0: Force "IDLE" level on BW timer stop
Bus bandwidth timer tweaks certain aspects of the system during
throughput transitions. For example, when throughput goes high, system
parameters are tweaked in favor of system performance. Hence, when high
performance is not needed, the timer relies on throughput transitioning
to low to reset the parameters in favor of power.

During a corner case, its possible that while througput is high, wlan
adapter is immediately brought down. This stops the bus bandwidth timer
abruptly without letting the the timer detect a throughput transition to
low. This may result in higher power consumption even when there is no
data activity or throughput is low.

Explicilty force a transition to "IDLE" state when bus bandwidth timer
is stopped.

Change-Id: I0a0a64a855714b1a8b5a52a048604fef54a0ee41
CRs-Fixed: 3087118
2021-12-04 19:32:53 -08:00
sandhu
bb96bf01cc qcacld-3.0: Remove IP from file names
Remove IP from file names

Change-Id: Ibabfac61097e28620da44fb311802d81cc765aff
CRs-Fixed: 3075704
2021-12-04 19:32:48 -08:00