Commit Graph

21192 Commits

Author SHA1 Message Date
Madan Koyyalamudi
3e89fb67ba Release 5.2.0.247V
Release 5.2.0.247V

Change-Id: I99ccf561ab2aa65ec4fb584d1a7a69e07519f260
CRs-Fixed: 774533
2021-09-15 18:51:20 -07:00
Bapiraju Alla
a258356ca1 qcacld-3.0: Don't set link id info present in ML probe request
Don't set link id info present bit in the ML IE of the probe request

Change-Id: I62a04969c8c6f731ab8c68f6af2cb29219a19cb2
CRs-Fixed: 3035997
2021-09-15 18:51:20 -07:00
Madan Koyyalamudi
f28e14bfa2 Release 5.2.0.247U
Release 5.2.0.247U

Change-Id: Iefff8b899fa8c39d97f448cf41b5cb78f912a217
CRs-Fixed: 774533
2021-09-15 10:49:51 -07:00
Madan Koyyalamudi
b5bc501181 Release 5.2.0.247T
Release 5.2.0.247T

Change-Id: I13cd281baef7d65597bca060d8131d144259d41a
CRs-Fixed: 774533
2021-09-15 08:40:19 -07:00
Madan Koyyalamudi
9e8cf68953 Release 5.2.0.247S
Release 5.2.0.247S

Change-Id: I23c331141fdcc09d93f498dc97394fb162a97dfe
CRs-Fixed: 774533
2021-09-15 06:12:52 -07:00
Bing Sun
9a4383eb29 qcacld-3.0: Change mlo sta state when changing state of a SAP station
Peer state of mlo sta info is not changed to OL_TXRX_PEER_STATE_AUTH
while Peer state of link sta info is changed to OL_TXRX_PEER_STATE_AUTH

Peer state of mlo sta info should be changed together with link sta info.
When change the state of a SoftAP station, do it for mlo sta info.

Change-Id: I6c157d1381543637d9ce82c9a45864eed6de4396
CRs-Fixed: 3032861
2021-09-15 06:12:52 -07:00
Madan Koyyalamudi
e98cec0d27 Release 5.2.0.247R
Release 5.2.0.247R

Change-Id: I12dbefc9db1fa05383b20e10bb9a7c38f1718aa4
CRs-Fixed: 774533
2021-09-15 00:49:07 -07:00
sheenam monga
dd9481c12a qcacld-3.0: change mode to p2p device for p2p interface
Currently, mode of p2p virtual interface with type managed
is added as sta mode. This may cause issue during p2p find
as in function p2p_vdev_check_valid probe response frames
are dropped for sta mode.

Fix is to convert mode to P2P DEVICE mode from STA mode in
case added interface string contains p2p substring.

Change-Id: I9bf9d8c44af940b42c38cd7819bcdb9c00a90a26
CRs-Fixed: 3036500
2021-09-15 00:49:07 -07:00
Madan Koyyalamudi
cc9e61c9d9 Release 5.2.0.247Q
Release 5.2.0.247Q

Change-Id: I4b2624a4b3c2e44fc2533c4bc2921a24001f8a76
CRs-Fixed: 774533
2021-09-14 16:51:57 -07:00
Madan Koyyalamudi
e81a59f4eb Release 5.2.0.247P
Release 5.2.0.247P

Change-Id: I2f2c53d02f5aea0d45a9318e7947b2786c155a67
CRs-Fixed: 774533
2021-09-13 17:03:03 -07:00
Alan Chen
ea9938f5e4 qcacld-3.0: Fine tune PM QOS vote for allowing/preventing RTPM
For CPU, the enter & exit latency of the deepest LPM mode(CXPC) is
about ~10ms. So long as required QoS latency is longer than 10ms,
CPU can enter CXPC mode. Add 10 ms threshold for allowing and
preventing dynamic RTPM from PM QOS callback.

Change-Id: I8e3026e0e1bab548ab727a52569de9cb17fb5918
CRs-Fixed: 3032657
2021-09-13 17:02:57 -07:00
Madan Koyyalamudi
57b1e2ca70 Release 5.2.0.247O
Release 5.2.0.247O

Change-Id: I5de3d4f601d0371ec1a5c33ca1aaf73f753c72b4
CRs-Fixed: 774533
2021-09-12 01:12:17 -07:00
Aditya Kodukula
ac2783819c qcacld-3.0: Move MDNS offload changes to a new file
Add a new file and move mdns offload changes into it.

Change-Id: I6b42dd7abfbf91952ca2b7e6a89b46df269ff32f
CRs-Fixed: 3032927
2021-09-12 01:12:17 -07:00
Madan Koyyalamudi
922be5af48 Release 5.2.0.247N
Release 5.2.0.247N

Change-Id: I0a59784d1f7834eff477139e0fabaf69d1a9a619
CRs-Fixed: 774533
2021-09-11 00:45:37 -07:00
Madan Koyyalamudi
dabb722661 Release 5.2.0.247M
Release 5.2.0.247M

Change-Id: I0583048b1cfe9c22bdfb34e146f534ceeabfae5c
CRs-Fixed: 774533
2021-09-10 22:28:47 -07:00
Bing Sun
b2416f839e qcacld-3.0: Set mlo enable in WMI_PEER_CREATE_CMDID
Driver should set mlo parameters with mlo enable of mlo parameters in
WMI_PEER_CREATE_CMDID

Change-Id: I023578dd87ffec3388ada3bf66c6d58c093047dc
CRs-Fixed: 3033220
2021-09-10 22:28:47 -07:00
Bing Sun
a66ea3121c qcacld-3.0: Populate mlo IE in assoc response only for mlo connection
Populate mlo IE in assoc response only for mlo connection.
Mlo IE in assoc response should be the last IE to pupulate.

Change-Id: Ibcf63159bde942d6e08eb544c1a799203f0360f3
CRs-Fixed: 3033878
2021-09-10 22:28:42 -07:00
Madan Koyyalamudi
24c3e1a25e Release 5.2.0.247L
Release 5.2.0.247L

Change-Id: I18d824a2bc5b277bd6e53c9fab099fcb728b85df
CRs-Fixed: 774533
2021-09-10 20:09:35 -07:00
abhinav kumar
3173789d99 qcacld-3.0: Add new BT Coex roam trigger reason
Send additional roam trigger TLV for BTC in
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID
command, to support a new roaming trigger
"WMI_ROAM_TRIGGER_REASON_BTC".

Change-Id: Ib767bd6bcf005c187b0fb58986ad287fe8753c1b
CRs-Fixed: 3009788
2021-09-10 20:09:34 -07:00
Madan Koyyalamudi
f577368da6 Release 5.2.0.247K
Release 5.2.0.247K

Change-Id: I714374488aaa268ea2dcd881620642514e65d838
CRs-Fixed: 774533
2021-09-10 17:51:48 -07:00
Lincoln Tran
1922e2a9b5 qcacld-3.0: Move regulatory wait to restart path
The current logic to wait for the regulatory update is set in
hdd_wlan_start_modules. However, this function is called in both normal
startup and in idle restart. The regulatory event only comes to the
driver on idle restart. Set the flag in the idle restart path only.

Change-Id: I52ac1f2d84650fd3757133c9bc28e87ee2b903cb
CRs-fixed: 3030575
2021-09-10 17:51:48 -07:00
Yu Wang
8a23dab257 qcacld-3.0: Refine BW for SAP for concurrent case
When concurrent STA is present and DBS is capable:
If the concurrent channel is DFS channel, make sure
the maximum SAP BW is equal or less than BW of STA;
If it's NOT, and the maximum SAP BW to be set is 160MHz,
reduce it to 80MHz.

Change-Id: Id2460b9d316bf7b91175611687bada0da11d5a93
CRs-Fixed: 3032225
2021-09-10 17:51:43 -07:00
Madan Koyyalamudi
8c92576203 Release 5.2.0.247J
Release 5.2.0.247J

Change-Id: I6c7f354ca72348a60be327dcc7aaad4de059cf1f
CRs-Fixed: 774533
2021-09-10 15:36:14 -07:00
Yu Wang
a4791d8279 qcacld-3.0: add build flag for network package timestamping
Network package timestamping is optional for TSF feature,
to make it configurable, add a new build flag
WLAN_FEATURE_TSF_PLUS_SOCK_TS.
This flag will be set only when CONFIG_WLAN_SYNC_TSF_PLUS
is enabled and CONFIG_WLAN_SYNC_TSF_PLUS_DISABLE_SOCK_TS
is not.

Change-Id: I413e85fadf93264cd41c2739b6d870aa08d60efb
CRs-Fixed: 3027378
2021-09-10 15:36:13 -07:00
Yu Wang
cfeefec851 qcacld-3.0: add fallthrough statement to fix compile error
Add fallthrough statement to identify intentional fall-through case.

Change-Id: I563cec88808a8e72e136e67ca81de1a0105c8e60
CRs-Fixed: 3033125
2021-09-10 15:36:06 -07:00
Kiran Kumar Lokere
7ef82b2370 qcacld-3.0: Fix the TWT suspend operation command failure
TWT params are optional attributes for TWT suspend operation.
Do not mandate the check for TWT params for TWT suspend command.
Parse the TWT params if attribute is present in the suspend
command else use the default value.

Change-Id: I62fa5e0e8a9c0346957184b9578bdd273017df21
CRs-Fixed: 3027776
2021-09-10 15:35:54 -07:00
Chaoli Zhou
c4e53f966a qcacld-3.0: Return EBUSY instead of EINVAL in SSR case
In the SAP + p2g go SSR case, wpa_supplicant
will receive INTERFACE_UNAVAILABLE while driver
is doing SSR, then it will triger wpa_supplicant
to remove the p2p go from the interface and
change the mode from NL80211_IFTYPE_P2P_GO to
NL80211_IFTYPE_STATION. But it has the possibility
that switch mode failure due to qdf_is_recovering
is true from __dsc_vdev_can_trans, then
wpa_supplicant will get error code -EINVAL from
wlan_hdd_cfg80211_change_iface.
But current wpa_supplicant just only support
mode switch retry in the EBUSY case, so change the
return value from EINVAL to EBUSY if driver is
in recovery state to let wpa_supplicant has the
chance to do mode switch retry in the SSR case.

Change-Id: Id0f959a1e8386061d0258f520dba17e9efae1d08
CRs-Fixed: 2929212
2021-09-10 15:35:47 -07:00
Madan Koyyalamudi
bbe908f881 Release 5.2.0.247I
Release 5.2.0.247I

Change-Id: I0ff0b2b15fa85051f5131074c6d139d3131cde8c
CRs-Fixed: 774533
2021-09-09 13:09:13 -07:00
Bing Sun
3947022a92 qcacld-3.0: Fill csa offset in mlo IE when sending beacon template
Fill csa/ecsa offset in mlo IE when sending beacon template wmi cmd
to FW

Change-Id: If097bdfbf36a8d1d6ff41daf571ac8e3567ab45d
CRs-Fixed: 3023049
2021-09-09 13:09:13 -07:00
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