Graphe des révisions

24766 Révisions

Auteur SHA1 Message Date
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
Madan Koyyalamudi
c0b7c8b991 Release 5.2.1.3D
Release 5.2.1.3D

Change-Id: I8e8a9801002a962a23820a2dad1bd10e61dd3582
CRs-Fixed: 774533
2021-12-04 18:14:45 -08:00
Ananya Gupta
f8f51554fa qcacld-3.0: Drop packets when vdev_id is invalid
There is a race condition when adapter is deleted after it is
validated in DP rx path and is assigned an invalid vdev id and
eventually invalid net_device.
To fix this, dropping packets if vdev id is found to be invalid
right before assignment to skb->cb.

Change-Id: I4e483363f59a22b45e18da929f749cd9807cc2fc
CRs-Fixed: 3084556
2021-12-04 18:14:44 -08:00
Sandeep Puligilla
2a9ab797a5 qcacld-3.0: Populate HE and VHT bandwidth information
Populate HE and VHT bandwidth information sent to OSIF
from lim.

Change-Id: I8568052ae9416c227d5cb4ab782fb52f65055872
CRs-Fixed: 3081152
2021-12-04 18:14:40 -08:00
Liangwei Dong
972b6ed677 qcacld-3.0: Reset sap_radar_found_status flag before start sap
"sap_radar_found_status" is used to check Radar event detected
or not in CAC wait state. Clear "sap_radar_found_status" before
SAP starts to avoid the stale value saved in previous sap start or
CSA. This can happen when the SAP is restart state and get
"stop ap" request from userspace. The invalid value will
cause the wlansap_start_beacon_req retrun without deliver start
beacon msg and cause the no beacon in OTA.

Change-Id: I6336510881333e2775c29dcc167a77d5d745ace9
CRs-Fixed: 3085312
2021-12-04 18:14:35 -08:00
Madan Koyyalamudi
754c49441a Release 5.2.1.3C
Release 5.2.1.3C

Change-Id: I76d434273df0c14f300e1e3e027279614365d2e3
CRs-Fixed: 774533
2021-12-04 15:34:37 -08:00
Yu Ouyang
edf221a94c qcacld-3.0: Avoid handling of CSA if roaming is in progress
Function lim_update_sta_run_time_ht_switch_chnl_params() will check
preauth condition, but it is not enough, as preauth will create a
new session with pe session with same vdev_id.

It should work in preauth condition, but not after preauth is done.
Replace the checking by function wlan_cm_is_vdev_roaming(). And
remove following lim_is_roam_synch_in_progress checking, as
wlan_cm_is_vdev_roaming checking already cover LFR2 and LFR3 both.

Change-Id: I06732ac7fdc98fe8eba438c4be50861ce8debe08
CRs-Fixed: 3080663
2021-12-04 15:34:37 -08:00
Jyoti Kumari
1952ff365e qcacld-3.0: Cleanup SAP interface if start_bss is aborted
Currently, SAP state machine is moved to INIT state when SAP
start is aborted due to timeout or SSR. SAP is not cleaned up
in such cases as eWNI_SME_STOP_BSS_REQ (which further issues
vdev down and cleanup the peers properly) is not sent to
below layers(firmware).

Replace qdf_wait_for_event_completion to
wait_for_completion_timeout in start_bss which will wait
till the normal operation execute irrespective of firmware
state/SSR.

Change-Id: Ifff2ca9658769cb1145f1c5cb278cd7551cb8c00
CRs-Fixed: 3058550
2021-12-04 15:34:32 -08:00
Madan Koyyalamudi
cb29b921c8 Release 5.2.1.3B
Release 5.2.1.3B

Change-Id: I5f946f2f2b005709d13f10badf34b9fc1f70034b
CRs-Fixed: 774533
2021-12-02 12:14:53 -08:00
Surya Prakash Sivaraj
6ae47b3e0b qcacld-3.0: Update preauth candidate entry to scan table
During SAE roam auth offload, update the beacon/probe response
frame coming from the FW via WMI_ROAM_FRAME_EVENTID into the
scan db.

When the bss info of the preauth candidate is unavailable in
the host/kernel scan entry, supplicant fails to determine the
proper SAE PWE config of the peer and the commit request fails.

Change-Id: Ia782ece7bebf8274f949fe9fb3b2a2882bf47597
CRs-Fixed: 3075458
2021-12-02 12:14:52 -08:00
Madan Koyyalamudi
bc99e6e4ef Release 5.2.1.3A
Release 5.2.1.3A

Change-Id: I1e5003824476d1960e74a25ea65721c6d77cfd7e
CRs-Fixed: 774533
2021-12-02 03:41:27 -08:00
Yu Tian
3ef9d907ca qcacld-3.0: Add ICMPv6 support for ping latency enhancement
Currently, ping latency enhancement feature only supports IPv4, if
a ICMPv4 request frame is recevied during a configurable interval,
it will be marked to route to FW. This change extends to ICMPv6
request frame as well.

Change-Id: Iefa563bc1788c233c5f6a0dbb1a586d163b16284
CRs-Fixed: 3082398
2021-12-02 03:41:27 -08:00
Madan Koyyalamudi
f7e4138d44 Release 5.2.1.3
Release 5.2.1.3

Change-Id: I5e6e11f36f8506e5235f2f4acea8322e7f642457
CRs-Fixed: 774533
2021-12-02 02:24:55 -08:00
Aditya Kodukula
d00fec40a9 qcacld-3.0: Log correct con_mode
Log correct con_mode when in mission mode.

Change-Id: Ie413a21665eca9492b853650a45033cd9fb774ea
CRs-Fixed: 3085538
2021-12-02 02:24:55 -08:00
Mohit Khanna
320d7db738 qcacld-3.0: Account for sched delay in TX/RX BW tuning
Currently sched-delay is not taken into account while calculating TX/RX
offload packets in bus bandwidth work handler. This may result in an
incorrect calculation and determination of TX/RX bandwidth levels and
other params which are derived from it.

Add support to consider actual scheduling delay between two bandwidth
intervals to detemine TX/RX offloaded/not-offloaded packets.

Change-Id: Icfb961cbbc1a049df0133394883755418b631056
CRs-Fixed: 3079953
2021-12-02 02:24:50 -08:00
Madan Koyyalamudi
f955a44cd1 Release 5.2.1.2Z
Release 5.2.1.2Z

Change-Id: I08d2b87fe3fee7e3c54bc161246af29adf2c5cab
CRs-Fixed: 774533
2021-12-01 18:53:45 -08:00
Deeksha Gupta
50a7a731c2 qcacld-3.0: Fill status correctly for twt resume
Fill return status correctly in twt resume dialog
command.

Change-Id: I2b04a4028f2f05aa7636bf59551cb97f999e22a1
CRs-Fixed: 3083812
2021-12-01 18:53:45 -08:00
Madan Koyyalamudi
1743455c4a Release 5.2.1.2Y
Release 5.2.1.2Y

Change-Id: Ia08a29581c308acd7296ee4a7b00c9a80ff4cd06
CRs-Fixed: 774533
2021-12-01 16:13:10 -08:00
Yeshwanth Sriram Guntuka
304d128a08 qcacld-3.0: Disable intrabss fwd on SAP/P2P GO on sys suspend
REO interrupt is fired after sending WOW_ENABLE command
to FW. Multicast packets are processed and dp_tx_send is
invoked as part of intrabss forwarding. This results in
a FW exception.

Fix is to disable intrabss forwarding on SAP/P2P GO
on system suspend and enable it back on system resume.

Change-Id: If9f20bf59b776016dac3c1a27200deafa80266b5
CRs-Fixed: 3084288
2021-12-01 16:13:10 -08:00
Deeksha Gupta
0dbd5cacf6 qcacld-3.0: Check peer TWT capability before TWT setup request
Currently, in TWT setup command, if peer does not support TWT
capabilities then firmware returns status = 4.

Add condition to check the peer capabilities before sends TWT
setup request to firmware.

Change-Id: Icd1cbeff2db2bdec4e456013e98270a526ff22ce
CRs-Fixed: 3082071
2021-12-01 16:13:05 -08:00
Madan Koyyalamudi
bd0efaa674 Release 5.2.1.2X
Release 5.2.1.2X

Change-Id: I288296b6efd67e1d6ffefc9ca782652aba8510af
CRs-Fixed: 774533
2021-12-01 13:03:03 -08:00
Yu Wang
aaab5fca71 qcacld-3.0: only populate MLD vdev params for MLO STA/SAP
For ML STA + Legacy STA case, FW asserts due to legacy STA shares
the same MLD address with MLO STA.

Change-Id: Ibd8045007bd7c120dee7b1e8f7faccc0a80cea0b
CRs-Fixed: 3063367
2021-12-01 13:03:03 -08:00
Madan Koyyalamudi
a61130970f Release 5.2.1.2W
Release 5.2.1.2W

Change-Id: I1cb2396ff25d7867d9912b1d57edc4e3a1202681
CRs-Fixed: 774533
2021-12-01 08:44:40 -08:00
Prakash Manjunathappa
9d48783708 qcacld-3.0: Revert the DBS mode Max voting
Revert the DBS ultra high TPUT Max voting. Max voting is not required.
Instead vote for ultra high bw vote.

Change-Id: Ic8ee47a0c8422be5590d2a009b4700b4a3a8124a
CRs-Fixed: 3078684
2021-12-01 08:44:40 -08:00
Madan Koyyalamudi
8d5fcafb6c Release 5.2.1.2V
Release 5.2.1.2V

Change-Id: I681a73daab1109d1143abb98cd3b45fb17025e35
CRs-Fixed: 774533
2021-12-01 04:22:56 -08:00
Bapiraju Alla
6058846058 qcacld-3.0: Fix mem leak with NDP peer multicast address list
Currently, NDP peer multicast address is derived from peer MAC address
and cached in the host. While removing the NDP peer, peer MAC address
is used to search the cached multicast address list. Because of this,
peer multicast address list is not getting freed.

To resolve this, derive peer multicast address from the peer MAC address
while clearing the cached multicast address list.

Since MAX NDP sessions are 8, allocate memory for peer multicast address
list during the NAN vdev private object allocation. This avoids the
special handling for peer multicast list in multiple error scenarios.

Change-Id: Ifbf890a4b9c8be54d84a5b57ed8f6c237ecd51ca
CRs-Fixed: 3085069
2021-12-01 04:22:56 -08:00
Pragaspathi Thilagaraj
71f5251684 qcacld-3.0: Send BMISS disconnect event only when teardown happens
The driver sends BMISS disconnection logging event when firmware
sends the bmiss event to host. But if the AP responds after
sending the unicast probe request then we stay connected to
same AP. This could cause the BMISS disconnection log sent
earlier to be a false alarm.

Send the BMISS disconnection logging event only when host driver
initiates teardown with the AP.

Change-Id: I021b335071f803829bdc55249f1071ceaa92edc9
CRs-Fixed: 3083568
2021-12-01 04:22:51 -08:00
Amruta Kulkarni
15760d2d1b qcacld-3.0: Fix double free in cm_roam_pmkid_request_handler
Currently memory allocated for structure roam_pmkid_req_event
is freed in two places causing usage after free.
Fix is to free memory only once in
target_if_pmkid_request_event_handler api.

Change-Id: Idc70e8437f89cb1cf4f6d35f924085409994714a
CRs-Fixed: 3064667
2021-12-01 04:22:46 -08:00
Jinwei Chen
5ed9d1d796 qcacld-3.0: Revert FISA LRU deletion change
Revert FISA LRU deletion change as this change might cause RX skb
double free/indication in FISA path.

Change-Id: I1889a33db335715d17da36d1a02e8562d348cfe1
CRs-Fixed: 3083874
2021-12-01 04:22:40 -08:00
Madan Koyyalamudi
6abf3213a6 Release 5.2.1.2U
Release 5.2.1.2U

Change-Id: I27986709f7963fdce2a5e7c10b7b91ed18b24187
CRs-Fixed: 774533
2021-12-01 00:06:46 -08:00
Jinwei Chen
d3fc2dc056 qcacld-3.0: Enable TX AST index search for HMT STA
Enable TX AST index search for HMT STA which is more efficient
compared with older source address search.

Change-Id: Ie5ebf4199ada959ebd33351929cf642c21657c51
CRs-Fixed: 3084026
2021-12-01 00:06:46 -08:00
Madan Koyyalamudi
9c4e3e1e34 Release 5.2.1.2T
Release 5.2.1.2T

Change-Id: Iff0b771aaa0ee18cd579d0cada5f1c1d055f05f8
CRs-Fixed: 774533
2021-11-30 07:14:32 -08:00
Jianmin Zhu
7f71588692 qcacld-3.0: Fix assert for TPE IoT issue
Some IoT AP set maximum transmit power as 4 in transmit power envelope
element IE, which violated wifi 802.11 spec: 9.4.2.161 Table 9-276,
DUT STA didn't handle the exception case, accessed index 7 of array
with length 4: get_next_higher_bw[4], out of bound happened.

To fix it, add code to handle the exception case that maximum transmit
power of ref AP is larger than 3.

Change-Id: Ib12062d03920b04f03de16682361e8d9e7126031
CRs-Fixed: 3083034
2021-11-30 07:14:32 -08:00
Madan Koyyalamudi
c5dd850948 Release 5.2.1.2S
Release 5.2.1.2S

Change-Id: Id946db6eed3be24cbcec6d8d15c189625dad75fa
CRs-Fixed: 774533
2021-11-30 04:40:13 -08:00
Zhaoyang Liu
2b640ea7f9 qcacld-3.0: extend the value range for chainmask setting
To support QCN7605 DBS chip, which has 3 RF chains, chain0 is for 2G,
chain1 is for 2G/5G, and chain2 for 5G. So it need 3 bits to
indicate RF chainmask for DBS mode. This is to extend the value
range for 2g/5g chainmask setting for QCN7605 DBS mode.

Change-Id: I43ee3393c121b6e9609223af1db0059158d44078
CRs-Fixed: 2933722
2021-11-30 04:40:13 -08:00