Gráfico de commits

27290 Commits

Autor SHA1 Mensaje Fecha
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
Rakesh Pillai
400ac6a862 qcacld-3.0: Enable feature to drop packets from non-monitor PMAC
Enable the feature to drop the packets which are
arriving from PMAC on which monitor vdev is not running.

Change-Id: I2a5056f40e961102d01b5776577bd11a551a780d
CRs-Fixed: 3319409
2022-10-27 19:38:31 -07:00
Madan Koyyalamudi
7ece68b9f1 Release 5.2.1.43I
Release 5.2.1.43I

Change-Id: I2dabf3bf747cbc61bcfbc1165fb62bb64e8b82d9
CRs-Fixed: 774533
2022-10-27 17:49:17 -07:00
Jeff Johnson
b722a6da29 qcacld-3.0: Fix new misspellings in wlan_cfg80211_tdls.c
The following change introduced new misspellings into
wlan_cfg80211_tdls.c, so fix them.
- Change-Id I3a1a05961bb5e747d946ffa8314319f898ef7b97
  qcacld-3.0: Link params embedded in station param struct

Change-Id: Idf4f214f5e9e4656b241f8de015fc49d64fc4852
CRs-Fixed: 3319365
2022-10-27 17:49:17 -07:00
Madan Koyyalamudi
5e77a89fe6 Release 5.2.1.43H
Release 5.2.1.43H

Change-Id: Ie2b6dd5c4496574d7a916e5f898cc2e0029e4d21
CRs-Fixed: 774533
2022-10-27 13:25:18 -07:00
Gururaj Pandurangi
1d723a45dd qcacld-3.0: Fix to halve tx power received from TPE IE
AP advertises TPE IE Tx power as 8-bit unsigned int. STA
needs to convert it into an 8-bit 2s complement signed
integer in the range –64 dBm to 63 dBm with a 0.5 dB step.
Thus, halve the tx power received from AP's TPE IE.

Change-Id: Ibd3227a2f11f230b164af3c65a65f5e61879e25d
CRs-Fixed: 3313617
2022-10-27 13:25:18 -07:00
Krupali Dhanvijay
8a01b9d7ec qcacld-3.0: Add INI support to configure BT Coex traffic Shaping
Add ini support to configure traffic shaping for COEX
i.e. coex_tput_shaping_enable.Host sends this INI to
Firmware via WMI_COEX_CONFIG_ENABLE_TPUT_SHAPING.
Based on this enabled value, FW will do power save with AP
when BT page scan is enabled.

The default behaviour is to do a free run without notifying
a power save to the AP during the BT Page scan.

Change-Id: I4934c98911b66c7c834899ad7cdc72063e9c5153
CRs-Fixed: 3066980
2022-10-27 13:25:11 -07:00
Madan Koyyalamudi
32596d0b63 Release 5.2.1.43G
Release 5.2.1.43G

Change-Id: I6fc68c61f3bab431135edd1da7b96a40a57a3d02
CRs-Fixed: 774533
2022-10-27 11:30:33 -07:00
Jeff Johnson
5a9edac67d qcacld-3.0: Fix new misspelling of "disable"
The following change introduced a new misspelling of "disable", so fix
it.
- Change-Id Ie98a1b8681f41f3a63523ac40b5cfb688a7b0cb0
  qcacld-3.0: Handle VENDOR_SUBCMD_SR and operation

Change-Id: I7a06c24cf732b12072377835f01bd50aa5785062
CRs-Fixed: 3319368
2022-10-27 11:30:32 -07:00
Madan Koyyalamudi
7a911c32c8 Release 5.2.1.43F
Release 5.2.1.43F

Change-Id: Idd19ab1e860c91a342c667265be422065886b86d
CRs-Fixed: 774533
2022-10-27 08:00:58 -07:00
Jeff Johnson
55fd78b983 qcacld-3.0: Fix misspelling of "threshold"
The following change introduced a misspelling of "threshold", so fix
it.
- Change-Id Ie98a1b8681f41f3a63523ac40b5cfb688a7b0cb0
  qcacld-3.0: Handle VENDOR_SUBCMD_SR and operation

Change-Id: I255ef45d9978ce777a41564f0d05e6d99efe5a4b
CRs-Fixed: 3319363
2022-10-27 08:00:58 -07:00
Madan Koyyalamudi
741f9426e7 Release 5.2.1.43E
Release 5.2.1.43E

Change-Id: I95e4861059864b70c60d1d1de54ebc0e0ebfeff3
CRs-Fixed: 774533
2022-10-26 20:15:24 -07:00
Rajeev Kumar
7b78a85959 qcacld-3.0: Add beacon_rx log as part of iface stats handling
Add beacon_rx log as part of iface stats handling to know number
of beacons received during previous stats.

Change-Id: I90d30f354d879497ee5ae0f0f320efbcbb1741ab
CRs-Fixed: 3320914
2022-10-26 20:15:24 -07:00
Madan Koyyalamudi
39e54ee2f5 Release 5.2.1.43D
Release 5.2.1.43D

Change-Id: I6ae010d5f3d5db187274ba93b5cf434ed00315c1
CRs-Fixed: 774533
2022-10-26 18:47:42 -07:00
Rahul Gusain
38d541df76 qcacld-3.0: Make NAN high priority than TDLS in legacy platforms
Firmware handles all NAN concurrencies in the platforms which
don't advertise the WMI service cabability
WMI_SERVICE_NAN_DISABLE_SUPPORT. Host takes care of the NAN
concurrency if the capability is advertised by firmware.
But there can be some legacy targets where firmware wants to
offload NAN+TDLS concurrency alone to the host and it takes care
of rest of the concurrencies. This is to make NAN of higher
priority and disable TDLS when NAN is active. Currently, TDLS is
of more priority than NAN and it can't change the order as it
can't disable TDLS to change the priority.

Currently, driver doesn't parse the NAN messages(even NAN enable
request) in such platforms. Parse the NAN messages and disable
TDLS upon NAN enable request. Rely on NAN state machine to
allow/disallow new TDLS requests. This needs NAN enable status.

Change-Id: Ie9c7c1cc2f1ed6328a31b93077c2928940fc3450
CRs-Fixed: 3263730
2022-10-26 18:47:42 -07:00
Madan Koyyalamudi
1ecf6ce8d9 Release 5.2.1.43C
Release 5.2.1.43C

Change-Id: I78371dbd0f46d9a151e6b5cc179879c91c08a25b
CRs-Fixed: 774533
2022-10-26 17:18:08 -07:00
Paul Zhang
bc894a28b6 qcacld-3.0: remove duplicate code logic and race condition
Currently, there is duplicate logic in function
wlansap_roam_process_ch_change_success to invoke
function wlansap_start_beacon_req.
  a\ wlansap_roam_process_ch_change_success ->
	wlansap_start_beacon_req(sap_ctx)
  b\ wlansap_roam_process_ch_change_success ->
	sap_fsm -> sap_fsm_state_starting ->
	wlansap_start_beacon_req(sap_ctx)
This causes fw crash since it sends vdev up twice.

Also in SAP + SAP scenario, there is a race in updating global
variable mac_ctx->sap.SapDfsInfo.sap_radar_found_status. Move the
variable to sap_ctx per vdev to avoid such race.

Change-Id: Iaac9e5a649ea5fd6a8378f6da47c51112fbe8d18
CRs-Fixed: 3310317
2022-10-26 17:18:08 -07:00
Madan Koyyalamudi
5780ce0d69 Release 5.2.1.43B
Release 5.2.1.43B

Change-Id: I4155b291723de1031e326ed6d2dc309b296525d7
CRs-Fixed: 774533
2022-10-26 13:06:02 -07:00
sandhu
d8b7b21f76 qcacld-3.0: For MLO link vdev get partner link info from connect req
If link beacon is not scanned, host driver will send ML probe request
and generate link scan entry from ML probe response. The ML probe
response does not include RNR IE. This is causing failure in the link
vdev connect path as the partner information is updated from rnr ie.

To fix this, for link vdev connection get partner link information from
connect request.

Change-Id: Id22f57cefbf28cb20fa7e17b4b71b362b1ba0ae5
CRs-Fixed: 3312421
2022-10-26 13:06:02 -07:00
Madan Koyyalamudi
1b327ee2ae Release 5.2.1.43A
Release 5.2.1.43A

Change-Id: I212ba481d4a58818899378900771e184c6d1d85e
CRs-Fixed: 774533
2022-10-26 07:29:31 -07:00
Sheenam Monga
e1afc98144 qcacld-3.0: Don't allow MCC for ML links
Don't allow ML links to form MCC, if second
ML link is trying to form MCC then send disable
to FW and FW will decide which link to be disabled
to avoid MCC. Similarly if any SAP/P2P link disables
then ML STA link shouldn't enable back if it can cause
MCC with existing ML link.

Change-Id: I9bd8e257ad3fc3ee54d9e9d79c66962469b0b827
CRs-Fixed: 3313944
2022-10-26 07:29:31 -07:00
Madan Koyyalamudi
037240e2e7 Release 5.2.1.43
Release 5.2.1.43

Change-Id: If0027f19892871a7218e75611a0244a78d4d0a81
CRs-Fixed: 774533
2022-10-26 04:25:11 -07:00
Yu Wang
b642d39013 qcacld-3.0: get correct hw mode type for eMLSR mode
For eMLSR mode, the lower 27 bits of hw_mode_config_type
are HW mode and higher 5 bits are MLO Cap flag.

To update MAC frequency info correctly, get hw mode type
for eMLSR by macro WMI_BECAP_PHY_GET_HW_MODE_CFG().

Change-Id: I18a0afb26985b6ccda091fa1564713af0260353f
CRs-Fixed: 3314401
2022-10-26 04:25:10 -07:00
Madan Koyyalamudi
44ba230eda Release 5.2.1.42Z
Release 5.2.1.42Z

Change-Id: Id8349907fd3f5c0b6ed7e6b4ab7893d2d9c0dc0a
CRs-Fixed: 774533
2022-10-26 02:53:04 -07:00
Jianmin Zhu
a00a39fe45 qcacld-3.0: Fix wrong MCS config of eht mode
Fix wrong MCS config of eht mode

Change-Id: I877678d45a9ec533487e5f06748c9dc27aa3c068
CRs-Fixed: 3319345
2022-10-26 02:53:03 -07:00
Vijay Patil
30cb851dfb qcacld-3.0: Validate number of links in roam sync indication
Host driver expects maximum of WLAN_UMAC_MLO_MAX_VDEVS links
info in roam sync indication. But firmware may send more
number of links than expected and it may lead to buffer overflow.
Add a check to validate the number of links.

Change-Id: Id89d23470622ba3ca7e01a99cc7c12021ca3dafd
CRs-Fixed: 3314460
2022-10-26 02:52:58 -07:00
Madan Koyyalamudi
97254b609c Release 5.2.1.42Y
Release 5.2.1.42Y

Change-Id: Ib5bd88770b848859c6706e8f16ae5dd3017b72c4
CRs-Fixed: 774533
2022-10-25 22:08:43 -07:00
Jianmin Zhu
5eb727828b qcacld-3.0: Configure Power Save for ML link
Currently, driver configures PS only for assoc vdev for static IP case.
To fix it, driver should configure power save for ML links as well.

Change-Id: Ifc37b6027c8bf94fefb15260fe7758635d5f1b88
CRs-Fixed: 3319458
2022-10-25 22:08:43 -07:00
Madan Koyyalamudi
caf6822ac0 Release 5.2.1.42X
Release 5.2.1.42X

Change-Id: I7b3b732c1e5b6ac098a460b661350cfc188226cd
CRs-Fixed: 774533
2022-10-25 20:10:15 -07:00
Pragaspathi Thilagaraj
bdef50f9cd qcacld-3.0: Cleanup measurement data for failed RRM scan
When the beacon report measurement is done and roaming
is triggered, then rrm scan gets aborted due to roaming
and the measurement gets dropped in the middle and cleanup
is not done properly.

So cleanup the measurement index for which the RRM scan
is dropped during roam.

Change-Id: Ic31a8587494fc298fb7fbdef99b8bf917e10024f
CRs-Fixed: 3316624
2022-10-25 20:10:14 -07:00
Madan Koyyalamudi
2f216031e2 Release 5.2.1.42W
Release 5.2.1.42W

Change-Id: Ic312d922f1687a35765fa92acdf60da4f367c7e5
CRs-Fixed: 774533
2022-10-25 17:13:57 -07:00
Liangwei Dong
be5cc24258 qcacld-3.0: Fix unsafe check failure for SAP
With MACRO FEATURE_WLAN_CH_AVOID_EXT enabled,
"restriction_mask" can only be checked if
coex_unsafe_chan_nb_user_prefer = 1. If the INI
coex_unsafe_chan_nb_user_prefer = 0, do not need to check
"restriction_mask". It will remain uninitialized 0.

Change-Id: If7bd1223ee3779b72fadb40e622f682db03f4ea5
CRs-Fixed: 3287634
2022-10-25 10:11:13 +08:00
Madan Koyyalamudi
d68f680db2 Release 5.2.1.42V
Release 5.2.1.42V

Change-Id: I860f2891df705fee81abece6134d9b686293e5d0
CRs-Fixed: 774533
2022-10-22 13:52:47 -07:00
Jeff Johnson
3500be2bec qcacld-3.0: Fix misspelling of "foreign"
Fix misspelling of "foreign" in enum sir_scan_event_type
documentation.

Change-Id: I4ca9eb016926ea93d38ead2a6e7ae70e5b4958ea
CRs-Fixed: 3317282
2022-10-22 13:52:47 -07:00
Madan Koyyalamudi
8739bb20a6 Release 5.2.1.42U
Release 5.2.1.42U

Change-Id: I40a903e48af0beae86b32a6b5e2c38d42d39d23b
CRs-Fixed: 774533
2022-10-21 23:25:49 -07:00
Jianmin Zhu
5fb29aca2e qcacld-3.0: Clear connection info of both ml and assoc link when disconnect
When wlan0 connect, connect info as bssid are saved to both ML adapter and
assoc link adapter.
When wlan0 disconnect, connect info as bssid isn't cleared in both adapter.

When 2nd sta connected same bssid, in __wlan_hdd_cfg80211_get_station old
wlan0 adapter is got by hdd_get_adapter_by_bssid, but it is disconnected,
so no right rssi reported.

Change-Id: I5dd2b6dcdd063509ee42088270cc85f2466e3b67
CRs-Fixed: 3317428
2022-10-21 23:25:49 -07:00
Zhaoyang Liu
8e68427efd qcacld-3.0: remove prefix name for driver dump dir
Currently the driver dump directory is getting created by appending
the chipset name, but wifihal is trying to read the driverdump
file from debugdriver directory. Fix the issue that not append
the chipset name in the driver dump dir.

Change-Id: Ie0c9685ead33ce9aa8a93883bb9103f2c7a29f49
CRs-Fixed: 3317622
2022-10-21 23:25:43 -07:00
Amruta Kulkarni
cc38830548 qcacld-3.0: Clear and set connected links bitmap
In case of MLO to SLO roaming, the connected links
bitmap is not reset for link vdev correctly.

To solve this post roaming, clear and then set the connected links bitmap.

Change-Id: I9e63593fe3452d0c2075360432dfaddc81999ae0
CRs-Fixed: 3317229
2022-10-21 23:25:35 -07:00
Madan Koyyalamudi
0596175766 Release 5.2.1.42T
Release 5.2.1.42T

Change-Id: I302abfe7061b08292ad4dc296e2db7f693838266
CRs-Fixed: 774533
2022-10-21 21:30:59 -07:00