Commit gráf

27328 Commit-ok

Szerző SHA1 Üzenet Dátum
Deeksha Gupta
cd5cb50120 qcacld-3.0: Save assoc_resp ie in peer common object structure
In case of ML SAP, userspace needs assoc resp IE to get all
the ML link info.
So, Add support to save assoc_resp ie pointer in peer common object
which will send to userspace.

Change-Id: If19857ecce62092b1aa4e7fef17c09e819822f5f
CRs-Fixed: 3325938
2022-11-05 02:57:21 -07:00
Madan Koyyalamudi
536cb3b381 Release 5.2.1.44B
Release 5.2.1.44B

Change-Id: Idd581eafd40b750b8926a0a5ccb4ab4128fe5da7
CRs-Fixed: 774533
2022-11-04 20:09:20 -07:00
Gururaj Pandurangi
9b9d13bbe5 qcacld-3.0: Ignore EHT op ccfs0 field if BW is 160/320 MHz
In case of bandwidth is 80/160 MHz, use ccfs0 value from VHT
or HE ops and if bandwidth is 320 MHz, use ccfs1 value from
EHT ops. Thus, ccfs0 value in EHT op is redundant and needs
to be ignored.

Change-Id: Ia8f988ac28349be7bce47388d9f8b844fa52a90e
CRs-Fixed: 3305667
2022-11-04 20:09:20 -07:00
Madan Koyyalamudi
ce6cbf19de Release 5.2.1.44A
Release 5.2.1.44A

Change-Id: I59177b3fdd25c8e1c0c3edac2d3d2ce03b3a69a4
CRs-Fixed: 774533
2022-11-04 16:27:11 -07:00
Sheenam Monga
26ee5aa617 qcacld-3.0: Don't allow SR operation in disconnected state
Currently, SR enable can be set even if sta is not connected
to AP due to which success is returned to userspace but command
is not sent to FW.
Fix is to not to entertain any SR operation if station is not
connected or connected AP is not supporting SR.

Change-Id: Ie46e5f4db12a1ecf8eea44847a97355f26163ed8
CRs-Fixed: 3321577
2022-11-04 16:27:10 -07:00
Sheenam Monga
d7ce2c63fe qcacld-3.0: Add sr_enable_mode ini
Add sr_enable_mode ini to check SR(Spatial Reuse)
can be enabled for non-STA mode or not. If SR
can't be enabled for non-STA mode and concurrency
is not allowed then don't allow any SR operation.

Change-Id: I876882c48c54f216bc1d0efa4dccce63f2a2e63c
CRs-Fixed: 3311374
2022-11-04 16:27:05 -07:00
Madan Koyyalamudi
b829eb06a6 Release 5.2.1.44
Release 5.2.1.44

Change-Id: Icbfadc5609a4b0f601c44eb0d5439aff5cb6071a
CRs-Fixed: 774533
2022-11-04 12:36:50 -07:00
Gururaj Pandurangi
dac3c95d0e qcacld-3.0: Ignore HW power limit for TPC calculation
Currently, Host considers HW power limit received from
FW via vdev start response along with other parameters
like regulatory channel power, AP constraint, and TPE
IE for TPC power calculation.
FW calculates this power for default LPI power mode.
If Host associates with an SP AP, it still uses this
LPI-specific value and could result in capping tx
power to a lower value than expected if this HW power
limit ends up being the limiting factor in Host.
Thus, ignore this field altogether while calculating
TPC power and Hal Phy will apply other limits
once they receive set tpc WMI from Host.
Note- HW power limit is still valid for tx power
calculation in the case of legacy Host (old WMI
vdev_set_param with WMI_VDEV_PARAM_TX_PWRLIMIT
param id).

Change-Id: Ia3af651a765c5440f3a37c6d1144ef08882e4938
CRs-Fixed: 3312165
2022-11-04 12:36:50 -07:00
Gururaj Pandurangi
ef65651bc0 qcacld-3.0: Add a fallback mechanism if TPE IE is absent
Add a fallback mechanism if a 6 GHz AP does not advertise
TPE IE.
1) Currently for the 6 GHz band, is_psd_power is obtained
from AP's TPE IE. But if it is not present, obtain it
from the regulatory channel list.
2) If is_psd_power is false, current logic calculates
center frequencies for BW > 20 MHz. These center
frequencies are then passed as input to fetch EIRP power
which is incorrect and results in zero which makes overall
tx power as zero. Thus, use operating frequency itself to
obtain EIRP power.
3) Despite these checks, if regulatory power results in
zero due to invalid frequency or other inputs, assign this
field to the regulatory channel power of the operating
frequency.

Change-Id: I70ae301de21cb8d696fee3c3f9d5fd30d1b53a8b
CRs-Fixed: 3327259
2022-11-04 12:36:44 -07:00
Madan Koyyalamudi
3acf5043a7 Release 5.2.1.43Z
Release 5.2.1.43Z

Change-Id: I06433e8efcc25f8428e5513dde57f1d56fa9eec4
CRs-Fixed: 774533
2022-11-04 10:16:39 -07:00
Prasanna JS
60977caea8 qcacld-3.0: Add NULL check for 'session' pointer
Check if 'session' pointer is NULL before accessing it.

Change-Id: I3bbcbe9b67ff7fa0e057fa27ad9fcf0a7098d862
CRs-Fixed: 3324998
2022-11-04 10:16:38 -07:00
Prasanna JS
875fb3fe33 qcacld-3.0: Initialize 'link_probe_rsp' to default
Initializing 'struct element_info link_probe_rsp'
to default value.

Change-Id: Ica8e3fe882b914bd8860737f19e75da75f9426de
CRs-Fixed: 3323734
2022-11-04 10:16:33 -07:00
Madan Koyyalamudi
b175059c41 Release 5.2.1.43Y
Release 5.2.1.43Y

Change-Id: Ib5b500f145dad0924b23dbf5c29a44c88e968a05
CRs-Fixed: 774533
2022-11-04 03:18:47 -07:00
Amruta Kulkarni
67e405ee90 qcacld-3.0: Add new files for T2LM handling
Add new files for TID to Link mapping handling.

Change-Id: I296a898e09b67490b85f4f7fba29322dbc3a757f
CRs-Fixed: 3322944
2022-11-04 03:18:47 -07:00
Jia Ding
2d267a9f31 qcacld-3.0: Fix undeclared identifier STA_ENTRY_TDLS_PEER
STA_ENTRY_TDLS_PEER is defined under feature flag FEATURE_WLAN_TDLS.
With FEATURE_WLAN_TDLS=n, compiler throws use of undeclared identifier
'STA_ENTRY_TDLS_PEER'.

Hence fix the error in wma_he.c:1276 introduced in change
I16073a51a8949093872f7a421e0ad01648b63e92.

Change-Id: I0038dad70147b5c4ded2abad34baf50c8bc32f83
CRs-Fixed: 3275175
2022-11-04 03:18:42 -07:00
Gururaj Pandurangi
2aecc7027d qcacld-3.0: Append EHT IEs to beacon data buffer
EHT IEs such as EHT caps and EHT ops are missing from
the beacon data buffer. Add a new API to append these
IEs to the buffer. Also, add support in the driver to
populate wiphy EHT caps with SU Tx beamform parameters.

Change-Id: Ia7640602410ba6802eb017bf763707f84e6e7c83
CRs-Fixed: 3325336
2022-11-04 03:18:37 -07:00
Madan Koyyalamudi
03db4093ad Release 5.2.1.43X
Release 5.2.1.43X

Change-Id: I644e70f99fa69fbfac6c36c399cdb3463e2f645b
CRs-Fixed: 774533
2022-11-02 01:47:36 -07:00
Gururaj Pandurangi
e16b22a430 qcacld-3.0: Correct bad misspellings in dot11f files
Correct bad misspelling of IE decriptor_element to
descriptor_element in frame parser file and subsequently
dot11f source and header files and the parser API file.

Change-Id: I0aedb44ffdb9a407721bfe5f30ce23cd40efcbf1
CRs-Fixed: 3314908
2022-11-02 01:47:36 -07:00
Vinod Kumar Myadam
eb9de6b459 qcacld-3.0: Update INI parameter default value
Update CFG_DISCONNECT_ROAM_TRIGGER_MIN_RSSI INI min, max
and default values under macro

Change-Id: I9973a032d16c5d8aedb4ad77833b9124de719e86
CRs-Fixed: 3314826
2022-11-02 01:47:30 -07:00
nakul kachhwaha
080c69ef81 qcacld-3.0: Handle new attribute to support flexible TWT
Parse new nudge attribute to support flexible TWT.
This attribute is optional and will override wake
duration attribute if provided.

Change-Id: I16bbd5e4c78e5471cdccad4ebe43049d4f85e829
CRs-Fixed: 3265813
2022-11-02 01:47:24 -07:00
Madan Koyyalamudi
156b64f65b Release 5.2.1.43W
Release 5.2.1.43W

Change-Id: If596b22bdd0fd7ef170b950bef86fce8c305df49
CRs-Fixed: 774533
2022-11-01 22:39:24 -07:00
Will Huang
72a860e9d9 qcacld-3.0: Reduce bw if selected non-DFS channel has DFS bonding
policy_mgr_get_nondfs_preferred_channel() return a non-DFS channel
with channel bw 20 MHz, but if the original SAP bw is 160 MHz and
channel is on 5 GHz, it always has DFS bonding channel.

So reduce channel bw if detect the bonding channel is DFS channel.
It can make STA connect to 5 GHz ref-AP even SAP is on 5 GHz channel
with 160 MHz bw.

Change-Id: I842d9dfb1070b900e52841b4ec5372af8550ad8e
CRs-Fixed: 3318696
2022-11-01 22:39:23 -07:00
Madan Koyyalamudi
bbc8e5ab31 Release 5.2.1.43V
Release 5.2.1.43V

Change-Id: I24b0c288893625ffa4cf434ef81ba702db38b873
CRs-Fixed: 774533
2022-11-01 17:54:12 -07:00
Jeff Johnson
a9db6a8521 qcacld-3.0: Fix misspellings of "detach"
Two misspellings of "detach" were detected in the driver, so fix them.

Change-Id: If3bf51f9c34c25e8519a229492bbab11946754dd
CRs-Fixed: 3324001
2022-11-01 17:54:12 -07:00
Utkarsh Bhatnagar
48f8039eaa qcacld-3.0: Don't overwrite BW for P2P Go on 6 GHz band
Consider the bw passed by supplicant/hostapd for P2P Go
starting on 6 GHz band.
Only Overwrite the bw when the P2P Go interface is coming
up on 5 GHz band (80 MHz) and for 2.4 GHz band (based on channel
bonding).

Change-Id: I628bd1e4008f811e6f8d72508a33527bbe8cf762
CRs-Fixed: 3324343
2022-11-01 17:53:54 -07:00
Madan Koyyalamudi
1de33bdb5d Release 5.2.1.43U
Release 5.2.1.43U

Change-Id: Ie5185d554bd3ffc3f92dbc2293a0c621be352d95
CRs-Fixed: 774533
2022-11-01 09:17:39 -07:00
Divyajyothi Goparaju
dc01aca04d qcacld-3.0: Replace wlan_reg_set_channel_params_for_freq
Replace all occurrences of
wlan_reg_set_channel_params_for_freq  API with new API
wlan_reg_set_channel_params_for_pwrmode.

Change-Id: I7ae94a7004803a96caeb7a77d03065096afe5f0e
CRs-Fixed: 3144793
2022-11-01 09:17:39 -07:00
Madan Koyyalamudi
67e1eb6d1b Release 5.2.1.43T
Release 5.2.1.43T

Change-Id: I6f7fe12762ee14add9d398aeeadb8aa767672ca6
CRs-Fixed: 774533
2022-10-31 20:05:22 -07:00
sandhu
59adff8583 qcacld-3.0: Add check for join req and num of partner links
If join req, num of partner links is not valid
do not send ML probe request.

Change-Id: I98f328d6fae9154415b7f903ed7d6dc835ce042a
CRs-Fixed: 3319901
2022-10-31 20:05:21 -07:00
Madan Koyyalamudi
98a6323661 Release 5.2.1.43S
Release 5.2.1.43S

Change-Id: I30e720f9ad568479b10c7fc61c0b7d4956fbf858
CRs-Fixed: 774533
2022-10-31 17:13:23 -07:00
Srinivas Dasari
4cfbb4b30c qcacld-3.0: Free the old bcn if new one is rcvd in sync frame ind
Firmware may send two consecutive roam sync frame indications when
it supports MLO roaming. The first event carries link beacon and
second event carries assoc beacon. This is to let host driver have
both the link scan results if host has to take care of link
connect(e.g. OWE MLO roaming, EAP MLO roaming,.. ).
If host driver doesn't have support/doesn't need link beacon,
it would be overwritten by assoc beacon(e.g. wpa2 MLO roaming,
SAE MLO roaming, ..).
This results in a memleak as the previous cached beacon is
not freed(vdev->rso_cfg->roam_sync_frame_ind->bcn_probe_rsp).

Free the existing beacon if new one is received. Also, remove the
current free's from extract_roam_sync_frame_event_tlv() which
doesn't need any such freeing as the copy always happens to a
freshly allocated buffer.

Change-Id: If3b4d6e4b8e1e2af5306171ad7eda28e744da64e
CRs-Fixed: 3322094
2022-10-31 17:13:22 -07:00
Madan Koyyalamudi
9d2fec51e7 Release 5.2.1.43R
Release 5.2.1.43R

Change-Id: Ia999f08bd9a309f27e04bdfba8bdec76d1e2315f
CRs-Fixed: 774533
2022-10-31 15:22:20 -07:00
Paul Zhang
dcf34404aa qcacld-3.0: don't process deauth if broadcast macaddr
In function hdd_softap_deauth_all_sta, if sta's mac address
is broadcast address, it does not need to invoke function
hdd_softap_deauth_current_sta.

Change-Id: If3d19a8f6f91cb3568c2c20c8cf3a171772d571e
CRs-Fixed: 3320047
2022-10-31 15:22:20 -07:00
Madan Koyyalamudi
a9bfcb0698 Release 5.2.1.43Q
Release 5.2.1.43Q

Change-Id: I0d3bacf98ddc6d8d1b174282952a1cb26c8ef54a
CRs-Fixed: 774533
2022-10-31 10:51:34 -07:00
Wu Gao
9a0f87ceeb qcacld-3.0: Check tdls peer list size before add new node
Page fault reproted when all tdls peer list size exceed their max
size. So, add the change to avoid this issue.

Change-Id: I66b5f85c8cdc98491b33b2100a55f424d5531ca0
CRs-Fixed: 3321105
2022-10-31 10:51:34 -07:00
Madan Koyyalamudi
57d00d0492 Release 5.2.1.43P
Release 5.2.1.43P

Change-Id: I4adc8ec37b14382b4e47e26b76e6213efdbbe1e5
CRs-Fixed: 774533
2022-10-31 09:09:20 -07:00
Vishal Miskin
4e95648b6f qcacld-3.0: Measure TSF latency between host TSF sync enabled devices
The feature raises a pulses at specified interval in TSF time domain.
The pulses can be used to determine driver level latency between hosts
as they are operating in same TSF time domain.
Add ini "g_tsf_accuracy_configs" to configure parameters for TSF accuracy
feature to customize GPIO pins and interval.

Change-Id: I49609d5beba8043ac2ecc086e97b01d1e0b2d3f6
CRs-Fixed: 3277992
2022-10-31 09:09:19 -07:00
Madan Koyyalamudi
91594363d1 Release 5.2.1.43O
Release 5.2.1.43O

Change-Id: I82ea5254d10af2430ed45ad31f09437166cabe9c
CRs-Fixed: 774533
2022-10-31 06:00:22 -07:00
Liangwei Dong
b15dc8b3d3 qcacld-3.0: Fix documentation errors for action oui API
Change "psoc" to "psoc_priv" in documentation of
wlan_action_oui_cleanup.
Correct documentation of API name for action_oui_psoc_enable.

Change-Id: I9e3adbf69ca40967f2680114f4c7f1bb22c391a1
CRs-Fixed: 3323128
2022-10-31 06:00:22 -07:00
Madan Koyyalamudi
a2fa2b50a5 Release 5.2.1.43N
Release 5.2.1.43N

Change-Id: Ifc4d401982f15239a640eee3701b6a67937cf566
CRs-Fixed: 774533
2022-10-31 04:05:57 -07:00
Jianmin Zhu
0642f385f6 qcacld-3.0: Fix assert when process tpe ie
After roaming to new AP, session->lim_join_req isn't filled,
can't be used without check.

Change-Id: Ib89b22ea38927c2c544d96f6c9ce0aca67bcc3bd
CRs-Fixed: 3321909
2022-10-31 04:05:57 -07:00
Deeksha Gupta
567d5833ff qcacld-3.0: Rename multi_link into multi_link_bv
In struct ie_list, rename multi_link variable into
multi_link_bv.

Change-Id: Id10f62e3ba298da32224c0afec9df4f1b030bc76
CRs-Fixed: 3318529
2022-10-31 04:05:52 -07:00
Madan Koyyalamudi
d5f09532f0 Release 5.2.1.43M
Release 5.2.1.43M

Change-Id: I3faf7c055412cb13ccf366578b5b0e7cecc3abbd
CRs-Fixed: 774533
2022-10-29 01:05:02 -07:00
Jeff Johnson
d6dfd79037 qcacld-3.0: Fix struct set_pcl_cmd_params documentation
The documentation for struct set_pcl_cmd_params has errors, so fix
them.

Change-Id: I07cdc4b73d5d8811fbbafb0a9671dcaf5154883e
CRs-Fixed: 3323040
2022-10-29 01:05:01 -07:00
Madan Koyyalamudi
21b5209495 Release 5.2.1.43L
Release 5.2.1.43L

Change-Id: Iac699ef930676cd8a45db6aa6ce96d4b739ea66d
CRs-Fixed: 774533
2022-10-28 11:52:01 -07:00
Yu Wang
858aa9611e qcacld-3.0: return success for resume request during recovery
Linux kernel will shut down all interfaces if it fails
to resume WLAN, considering the firmware crash case in
system suspended state, the interfaces are left in down
state after recovery, which is different from the other
recovery cases, and it doesn't make sense.
To avoid it, return success for system resume request
if recovery is in progress.

Change-Id: I888f4702a10a72e5989bc0e867832b3ce72eec24
CRs-Fixed: 3322055
2022-10-28 11:52:01 -07:00
Madan Koyyalamudi
1e3f4735c7 Release 5.2.1.43K
Release 5.2.1.43K

Change-Id: I874c7128cd54fb87aec0358db7ce9109aacd6f8d
CRs-Fixed: 774533
2022-10-28 01:52:08 -07:00
Liangwei Dong
a6a40dcccd qcacld-3.0: Check dot11Mode before set 11be_capab
If host ini gDot11Mode set to lower dot11mode which doesn't
support 802.11be, override the target en_11be flag to false.

Change-Id: If11928f2a662e45ff310ae9bbd3866dbc1ed4b7d
CRs-Fixed: 3319707
2022-10-28 01:52:08 -07:00
Amruta Kulkarni
03947a38e8 qcacld-3.0: T2LM IE change for Beacon or probe response
AP can advertise more than two TID to Link mapping IEs in
the beacon or probe response.

Change is to update the t2lm IE as an array of value two.

Change-Id: I2c2f770b7047bb490dd557dec28caf056ede978e
CRs-Fixed: 3319268
2022-10-28 01:52:03 -07:00
Madan Koyyalamudi
d0358ea933 Release 5.2.1.43J
Release 5.2.1.43J

Change-Id: I4d994963a704e64d02e61340ec5f5b068051bba0
CRs-Fixed: 774533
2022-10-27 19:38:32 -07:00