Граф коммитов

25164 Коммитов

Автор SHA1 Сообщение Дата
Madan Koyyalamudi
25622b4b98 Release 5.2.1.12P
Release 5.2.1.12P

Change-Id: Ife19050293a8274e0fa850f9378722813a4dd104
CRs-Fixed: 774533
2022-03-03 13:03:54 -08:00
David Oladunjoye
421f6b4c63 qcacld-3.0: Use local peer mac address for twt setup check
Currently, in twt get status command, params->peer_mac is used
check if twt setup exists for this peer mac, but if the input
is broadcast dialog id then params->peer_mac gets updated to
broadcast mac address and twt setup done check fails.

Fix is to use local peer mac address for twt setup check.

Change-Id: Iee98091bc86cfd48471b07464cda39666dd17ee3
CRs-Fixed: 3138601
2022-03-03 13:03:54 -08:00
Madan Koyyalamudi
f58d666671 Release 5.2.1.12O
Release 5.2.1.12O

Change-Id: I7ccdd4358280774500dac06275639d6e6ec7ecb2
CRs-Fixed: 774533
2022-03-03 04:56:16 -08:00
Gururaj Pandurangi
f941ceb17d qcacld-3.0: Add MLO support in Auth frame for ML connection
Add MLO support in Authentication frames for ML STA and SAP,
as per Draft P802.11be_D1.3

Change-Id: Ic2c5814b7f8bb1938d9e8bb6681d92085f7f55ef
CRs-Fixed: 3136984
2022-03-03 04:56:16 -08:00
Madan Koyyalamudi
c92dd74799 Release 5.2.1.12N
Release 5.2.1.12N

Change-Id: I01da5f1947e2950ee1ef0e0377df0c222439e4f3
CRs-Fixed: 774533
2022-03-03 03:37:39 -08:00
Gururaj Pandurangi
003b9ba4d8 qcacld-3.0: Add MLO IE in Authentication frame
Add MLO IE in Authentication frame for usage in
dot11f_unpack_authentication API.

Change-Id: I5fd7297de233970ee5e7fd893539a8f80cbe6461
CRs-Fixed: 3142275
2022-03-03 03:37:39 -08:00
Madan Koyyalamudi
a8e681274e Release 5.2.1.12M
Release 5.2.1.12M

Change-Id: I38bfaa314dfeebde92e2d7568c609b7d8ab80d8d
CRs-Fixed: 774533
2022-03-03 02:11:00 -08:00
Mohit Khanna
0b28028583 qcacld-3.0: Register classify_critical_pkt_cb with DP
Register callback to classify critical packets with DP layer during
cdp_vdev_register. This callback is needed to classify critical packets
during the forwarding path for SAP vdev.

Change-Id: I5f109c7a4bd37e2544d8e3bbd410147a8d6963c8
CRs-Fixed: 3114436
2022-03-03 02:10:59 -08:00
Mohit Khanna
34b1b4b0ff qcacld-3.0: Register softap vdev with CDP only once
Currently for softap case in hdd_softap_register_sta, we are calling
cdp_vdev_register for every STA. This is not desirable, since
cdp_vdev_register needs to be called only once for a vdev. Similarly
netif queues needs to be enabled only once when softap comes up.

Call cdp_vdev_register and wlan_hdd_netif_queue_control only once in
hdd_softap_register_sta when broadcast STA is registered.

Change-Id: I63b81f5ab994bc001e6c281f12a0979734ec537b
CRs-Fixed: 3114436
2022-03-03 02:10:54 -08:00
Mohit Khanna
de474987ea qcacld-3.0: Optimize HDD pkt classify packet func
Currently there is a overlap of functionality between
hdd_wmm_classify_pkt and wlan_hdd_classify_pkt.

Move most functionality in hdd_wmm_classify_pkt which gets called during
hdd_select_queue.

Change-Id: I1eb735ecd2dfd7b6df6e78a134e7d16ee396b0f0
CRs-Fixed: 3114436
2022-03-03 02:10:47 -08:00
Madan Koyyalamudi
2064a6116d Release 5.2.1.12L
Release 5.2.1.12L

Change-Id: Iff1e8ded6f34595f2e3d5ece3011ecabe97b72b0
CRs-Fixed: 774533
2022-03-02 17:33:13 -08:00
Amruta Kulkarni
4a6149f832 qcacld-3.0: Add check for MLO roaming api's
On 11be MLO disabled platforms,
- Add checks in mlo roaming api's for to avoid NULL access.
- Add empty inline function definiations to be used
when 11be MLO flag disabled.

Change-Id: Idc906164279e74530dcf8bdc670464be8ce8c57e
CRs-Fixed: 3141792
2022-03-02 17:33:13 -08:00
Madan Koyyalamudi
d6316a882c Release 5.2.1.12K
Release 5.2.1.12K

Change-Id: I503784e8a667af7cf6db2b8c772205357bfa69eb
CRs-Fixed: 774533
2022-03-02 16:15:06 -08:00
Deeksha Gupta
11a20da787 qcacld-3.0: Add check in wlansap_get_chan_band_restrict()
Add check if sap_ctx->chan_freq_before_switch_band is valid
active channel for that country. If yes, the chan_freq_before_switch_band
channel can be used for new CC, otherwise host should skip the
chan_freq_before_switch_band.

Change-Id: I4ac2fee1dd584abba0708c2b7ef0826f384acb2d
CRs-Fixed: 3136454
2022-03-02 16:15:06 -08:00
Madan Koyyalamudi
ec1ea2c2b6 Release 5.2.1.12J
Release 5.2.1.12J

Change-Id: Id0485fc96b20840dd154ad239271b802bd6b5090
CRs-Fixed: 774533
2022-03-02 15:04:20 -08:00
Rahul Gusain
5559fde9ba qcacld-3.0: Log Optimization for sch_set_fixed_beacon_fields
optimize logs in one line for func sch_set_fixed_beacon_fields,
to avoid printing in loop

Change-Id: I8cb0bf44bcfec811387cfc4f682d1d8a94b9a12d
CRs-Fixed: 3134768
2022-03-02 15:04:20 -08:00
Madan Koyyalamudi
d84b47cc4a Release 5.2.1.12I
Release 5.2.1.12I

Change-Id: Ibf820e0c0c2056681ee489e96745f0d64c76d3df
CRs-Fixed: 774533
2022-03-02 11:05:54 -08:00
sheenam monga
b7899f448d qcacld-3.0: Limit max ROC time for NAN and NDI
Currently, for DBS HW fw goes off channel for
400 ms in case of NDP and 450 ms in case of NAN
due to which beacon is not sent in DW window.

Fix is to Limit max ROC duration to 350 ms in case
of NAN and NDI for DBS hardware to improve NDP
setup time.

Change-Id: Iaf5c90a386d2742cdc8f24305756a3691ac70431
CRs-Fixed: 3141393
2022-03-02 11:05:54 -08:00
Madan Koyyalamudi
19f9207732 Release 5.2.1.12H
Release 5.2.1.12H

Change-Id: Ia03b9f2227f3c4ec4ae5d9898c1aad43330d876c
CRs-Fixed: 774533
2022-03-02 08:15:31 -08:00
sheenam monga
f20b19ff8f qcacld-3.0: change weighed_valid_list to 0 for non-pcl entries
In function wlan_hdd_populate_weigh_pcl weight is populated
to 0 only if weighed_valid_list is 0 otherwise weight of
non-pcl entries will be populated as 20 less than weight
of last pcl entry but weighed_valid_list is set to 1 in
policy_mgr_get_valid_chan_weights. So, non-pcl entries
are also sent to upper layer.

Fix is to change weighed_valid_list to 0,
if there is existing p2p connection.

Change-Id: Ic0d86021c00fd95e5bc20eeabea56e2a69658599
CRs-Fixed: 3140467
2022-03-02 08:15:31 -08:00
chunquan
6d61b6f5df qcacld-3.0: Fix out-of-bounds in tx_stats
The tx_stats array length num_entries can't be more than
param_buf->num_tx_stats from fw.
Otherwies out-of-bounds will happen when read wmi_tx_stats.

Change-Id: I7ab3c7cc7baef6d903ba6301622bd67efe52cebe
CRs-Fixed: 3104318
2022-03-02 08:15:26 -08:00
Madan Koyyalamudi
978d0ba909 Release 5.2.1.12G
Release 5.2.1.12G

Change-Id: Ia5ca3f6b6265009718acd5f3d902d2450f1fa257
CRs-Fixed: 774533
2022-03-02 01:28:05 -08:00
Alan Chen
40a7b4a2f9 qcacld-3.0: Use cfg80211_register_netdevice() for kernel 5.12+
For Kernel 5.12+ in order to be in line with cfg80211 changes
in upstream code, use cfg80211_register_netdevice() and
cfg80211_unregister_netdevice() when request to register device is
coming from add virtual interface.

Change-Id: Ibc11d405ab8b06e170bcb261970bc4ccccafe291
CRs-Fixed: 3133264
2022-03-02 01:28:05 -08:00
Madan Koyyalamudi
9baa0c1243 Release 5.2.1.12F
Release 5.2.1.12F

Change-Id: Ib22dcded969805d608427c13da6b1ec1cffb689f
CRs-Fixed: 774533
2022-03-01 20:41:22 -08:00
Surya Prakash Sivaraj
7fd14302fe qcacld-3.0: Send service id in NDP indication
Send service from wmi_ndp_indication_event_id to the userspace
via the new vendor attribute QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_ID
as part of ndp indication.

Change-Id: I90b4540d5f3c72bbb7e8b542406561daf2a7a869
CRs-fixed: 3128874
2022-03-01 20:41:22 -08:00
Madan Koyyalamudi
199787e599 Release 5.2.1.12E
Release 5.2.1.12E

Change-Id: I66a7f92898742a76c7303d7b70db43e0a30aeb6b
CRs-Fixed: 774533
2022-03-01 12:53:42 -08:00
Arun Kumar Khandavalli
d35cc69a5d qcacld-3.0: Dont touch the driver regstate in the driver
Previously the driver regstate(registration state) is changed in
the driver because of the misintepretation of the code in free_netdev.

Remove the driver regstate change which will help in false warning
from the  dev_put and device would be freed freely.

Change-Id: Iccb70dd2ecbf9c7dde390f9d728728e6f6af968f
CRs-Fixed: 3140423
2022-03-01 12:53:41 -08:00
Madan Koyyalamudi
1983193c46 Release 5.2.1.12D
Release 5.2.1.12D

Change-Id: I3581520fe8bd9627eb59e707efefd4c66e7b114c
CRs-Fixed: 774533
2022-03-01 10:53:02 -08:00
Srinivas Dasari
5fd4b455f1 qcacld-3.0: SAE: delete preauth node if it's present in list
In SAP mode, a preauth node is added to the preauth list when
assoc rejection happens due to some reason (e.g. blacklisting
the station BSSID). But when station tries SAE authentication,
host driver doesn't add/update the entry in preauth node list
as a node with same mac address is present in the list.

Host driver relies on the flag is_sae_authenticated to decide
whether to proceed with association or go for PMKID validation.
is_sae_authenticated is set to true only when SAE authentication
is completed and the node in preauth list has type as SAE.
But the preauth node added as part of assoc reject doesn't have
this info correct, which is disallows association as
is_sae_authenticated is not set. Fixing this here is
not a right way as the auth state also to be updated
to eLIM_MLM_WT_SAE_AUTH_STATE when first SAE auth frame
is received.
So, delete the existing preauth node and create a new one when
the first SAE auth frame is received to avoid stale entries.

Change-Id: I0acd72f960ba1de2a656b55a9805561322dfffe9
CRs-Fixed: 3135389
2022-03-01 10:53:01 -08:00
chunquan
6e475e2bff qcacld-3.0: Release serialization cmd when get peer null
In P2P connect process, GO and GC send deauth/disassoc at the
end of WPS. GO send disassoc and free station info. GO receive
deauth from GC, and send cmd WLAN_SER_CMD_GET_DISCONNECT_STATS
to get disconnect stats.

If GO send deauth and free peer info before receive deauth
from GC. Wlan_objmgr_get_peer return null, and peer is null.
Cmd of WLAN_SER_CMD_GET_DISCONNECT_STATS will never be
released since get_peer_rssi_cb will never be called.
And cmd will timeout, which is not expected.

If we call get_peer_rssi_cb without check, cmd will release.
Also csr_get_peer_rssi_cb will check peer is null or not.

Change-Id: I10b496526e259711a4dd7a91b7388ac79bb54fef
CRs-Fixed: 3119513
2022-03-01 10:52:56 -08:00
Madan Koyyalamudi
4e3884f464 Release 5.2.1.12C
Release 5.2.1.12C

Change-Id: Iaa11a502d1dcd62232af3fcade79a5e6781cb532
CRs-Fixed: 774533
2022-03-01 09:33:56 -08:00
Qun Zhang
738a68571a qcacld-3.0: Add INI to enable/disable multi SAP started on same band
Per requirement, some user cases don't permit multi SAP started on
the same band even if SCC is used, add INI to support the requirement.

Change-Id: Icf015761a5440171bd81424fac74af9b1433cd94
CRs-Fixed: 3136335
2022-03-01 09:33:56 -08:00
Madan Koyyalamudi
dda26b5c4d Release 5.2.1.12B
Release 5.2.1.12B

Change-Id: I2deff556f6e5ff3b560b7a611de979472094d86d
CRs-Fixed: 774533
2022-03-01 07:07:16 -08:00
Bapiraju Alla
f80288a690 qcacld-3.0: Unregister MLO interfaces for both STA and SAP modes
Currently, unregister MLO interfaces is being called only for STA mode.
This may cause issue when there is a change interface in between from
STA to SAP and driver unload after that. In this case STA MLO
interfaces won't be unregistered.

To resolve this, unregister MLO interfaces both for STA and SAP modes.

Change-Id: Ia1020f08873edc6e29ae20df7368da10535a9de5
CRs-Fixed: 3137421
2022-03-01 07:07:16 -08:00
Madan Koyyalamudi
7300130679 Release 5.2.1.12A
Release 5.2.1.12A

Change-Id: Ib36c3b7b9cc1b13fdf2096b969cd93e81714ff81
CRs-Fixed: 774533
2022-03-01 05:38:56 -08:00
Jayachandran Sreekumaran
0a8f7d7347 qcacld-3.0: Dynamic ratemask update
Add support for dynamic ratemask update.

Change-Id: I9aede4bdcd399af6c8e827f813016df63d7b8ab1
CRs-Fixed: 3112489
2022-03-01 05:38:56 -08:00
Madan Koyyalamudi
cf785f08ab Release 5.2.1.12
Release 5.2.1.12

Change-Id: I60485dde6f61d943f1eed6def3fa38199c4752a1
CRs-Fixed: 774533
2022-03-01 03:45:16 -08:00
Jyoti Kumari
0f29ca4c14 qcacld-3.0: Enable AMSDU in AMPDU support for tdls peer
Advertise Rx AMSDU in AMPDU support in addba response only
if tdls peer is present and it supports he caps.

Change-Id: I0e28a12c13b07ef30f57e604d0ab05e22832e2c7
CRs-Fixed: 3104771
2022-03-01 03:45:16 -08:00
Rahul Gusain
c7449092dd qcacld-3.0: Log Optimization for lim_set_active_edca_params
optimize logs in one line for func lim_set_active_edca_params,
to avoid printing in loop

Change-Id: I60e6d4265f97037d677adef9bdd4c9bf547acc4d
CRs-Fixed: 3134765
2022-03-01 03:44:59 -08:00
Madan Koyyalamudi
b71d5f4fcf Release 5.2.1.11Z
Release 5.2.1.11Z

Change-Id: Ic0781208177627531e96678cbb9e01622e359eb8
CRs-Fixed: 774533
2022-02-28 17:43:47 -08:00
Liangwei Dong
0660132171 qcacld-3.0: Fix 5G DFS SAP failed to open
If STA is active on 5G DFS channel, SAP CAC duration will
be set to zero during starting. This causes the FW indicates
CAC completion event very shortly after vdev start request.
That is before SAP fsm processes BSS start success event.
SAP fsm is still in SAP_STARTING state. In this state,
the sap_cac_end_notify will only indicate the CAC end event
to hostapd. hostapd will be pending on CAC start event from
driver.
Fix by skip the CAC end event if CAC duration time is zero,
then the sap fsm will indicate CAC start/end event when
BSS start event comes up later.

Change-Id: Ib4c2ada8754bd08c0567ce9009ebec2349098b75
CRs-Fixed: 3138466
2022-02-28 17:43:47 -08:00
Madan Koyyalamudi
57be930c64 Release 5.2.1.11Y
Release 5.2.1.11Y

Change-Id: If4ef39ebbc1b1932b897c059991788d726c340c2
CRs-Fixed: 774533
2022-02-28 16:12:11 -08:00
Kai Liu
3a2db50184 qcacld-3.0: Add include guard for file lim_process_fils.h
Add include guard for this file to fix compile error
'error: redefinition of lim_increase_fils_sequence_number'.

Change-Id: I85858525e79e6c29d1afbe2db7bb90a70071b4bc
CRs-Fixed: 3138791
2022-02-28 16:12:10 -08:00
Abhishek Singh
fb49ccd37f qcacld-3.0: Avoid Using sme global lock in hdd calls of Connection mgr
If the connection manager command is moved from pending to active
queue after an SME initiated active command e.g SAP peer
disconnect, it's already holding the SME lock and trying to
acquire the connection manager lock.

Now if in another thread, the connection manager process is
already in progress and tries to get the SME lock,
the driver ends up in a deadlock.

Thus remove the SME global lock from the APIs called from
HDD disconnect handlers.

Change-Id: Ia1e9d4480935cb8954eeb02bf3d845dce4b29f8f
CRs-Fixed: 3139097
2022-02-28 16:12:05 -08:00
Madan Koyyalamudi
370d26fb2f Release 5.2.1.11X
Release 5.2.1.11X

Change-Id: I334770e79bf882bdbfcfb07b00a4a29c58ed1d4a
CRs-Fixed: 774533
2022-02-28 07:53:11 -08:00
Jyoti Kumari
ff2b20e3f3 qcacld-3.0: Handle TWT disable reason code
When host sends TWT disable command to firmware, send reason code
also as part of it. So that firmware will check and take the
following action:
a. If host sends disable due SCC/MCC concurrency then firmware
will teardown the existing TWT session and send the teardown
reason code as concurrency to host.
b. If it's for other reason then it will take action based on
that.

Change-Id: I66b3d10e7d54319c3c6dcad57c78949bcdd11a26
CRs-Fixed: 3098864
2022-02-28 07:53:11 -08:00
Deeksha Gupta
c73d3bfa93 qcacld-3.0: Avoid resetting twt_command_in_progress twice
In TWT component, avoid resetting twt_command_in_progress
twice in case of twt setup response.

Change-Id: I13f46530616bb9608208205051aba91bed7f0dda
CRs-Fixed: 3138102
2022-02-28 07:53:05 -08:00
Madan Koyyalamudi
880ed0f0af Release 5.2.1.11W
Release 5.2.1.11W

Change-Id: I69a1296cb5e0f95f42f963a61a0964dafd47ddee
CRs-Fixed: 774533
2022-02-27 23:46:07 -08:00
Surabhi Vishnoi
ef1f94f9d5 qcacld-3.0: Fix deadlock scenario in packet capture mode
Ppdu_stats are received from firmware in softirq context.
While inserting the ppdu_stats into a qdf list, a spinlock
is held for its access, same qdf list is accessed by mon
thread using spinlock. There can be a scenario in which
mon_thread held spinlock for accessing qdf_list and is
interrupted by softirq in which ppdu_stats are received.
This leads to softirq spinning for lock forever leading
to deadlock.

To address this issue, use spin_lock_bh instead of spin_lock.
Also reduce the time for which lock is taken to access the list
for insertion and removal of ppdu_stats.

Change-Id: I52171fe3c1d22a1e9d1ab36daac54d8fa2b96020
CRs-Fixed: 3136901
2022-02-27 23:46:06 -08:00
Madan Koyyalamudi
73e3206ef9 Release 5.2.1.11V
Release 5.2.1.11V

Change-Id: I2901f0a74a1a5dec1be0b6a00fd0d0664237b262
CRs-Fixed: 774533
2022-02-27 22:34:45 -08:00