提交線圖

29421 次程式碼提交

作者 SHA1 備註 日期
Sai Kumar Kunchala
4dc6cafb4f qcacld-3.0: Fix NULL pointer dereference issues
"pe_find_session_by_vdev_id" API returns NULL in failure case.
Add NULL check before dereference "session" variable in below APIs
   - lim_send_epcs_action_req_frame.
   - lim_send_epcs_action_teardown_frame.
   - lim_send_t2lm_action_req_frame.

Change-Id: I5b8ce8c61b91f5a480b32a3a5883065faa247924
CRs-Fixed: 3528739
2023-06-27 04:03:12 -07:00
Rahul Choudhary
84262d844e Release 5.2.1.72A
Release 5.2.1.72A

Change-Id: Ib0bee4afe9fed41a5cb6b6513206db141d383f31
CRs-Fixed: 774533
2023-06-27 00:25:16 -07:00
Vinod Kumar Pirla
32502d8e0c qcacld-3.0: Refactor country change update APIs
Iterate through all the link info which are active in adapter
on country change update.
1) hdd_country_change_update_sap()
2) hdd_country_change_update_sta()

Change-Id: I199ca2cd87e114c4a8c64ee356388781b3a53097
CRs-Fixed: 3522443
2023-06-27 00:25:15 -07:00
Vinod Kumar Pirla
e5462e248b qcacld-3.0: Refactor disconnect userspace update APIs
Refactor the following APIs to pass link info pointer
corresponding to the VDEV to update the disconnection
status using the sta context from the link info.

1) __hdd_cm_disconnect_handler_pre_user_update()
2) hdd_handle_disassociation_event()

Change-Id: Ic90d2fb062af3907ad9eb8ce8ca4c676ea07adb6
CRs-Fixed: 3522354
2023-06-27 00:25:10 -07:00
Vinod Kumar Pirla
6de671d4a7 qcacld-3.0: Refactor hdd_cm_update_rssi_snr_by_bssid() API
Modify the API to take link info pointer as function argument
to fetch the BSSID from sta ctx of that link info to get the
RSSI and SNR.
Existing callers moved to deflink.

Change-Id: I4f2d7b716cd90907780ff72c7ddc6587ac48cf32
CRs-Fixed: 3522325
2023-06-27 00:25:05 -07:00
Vijay Raj
9ce4161627 qcacld-3.0: Introduce support to add vlan group key
In api wlan_hdd_add_key_vdev(), for multipass
sap usecase data traffic is dropped during
transition between multiple password due to
group key mismatch for VLAN.

Introduce support to maintain vlan_id_map
in order to facilate the management of group
key for multipass SAP.

Change-Id: I196a02dad2b979bae10d179e15c3187420bbd19f
CRs-Fixed: 3539185
2023-06-27 00:25:00 -07:00
Rahul Choudhary
6484578ed7 Release 5.2.1.72
Release 5.2.1.72

Change-Id: Ifae3dd934bc6d923fd288b28b20c2a5b46ec2725
CRs-Fixed: 774533
2023-06-26 20:58:55 -07:00
Vinod Kumar Pirla
13d5f30b91 qcacld-3.0: Refactor API which return if any STA connected
Iterate through all the active links in each adapter to find
if any STA is in connected state or not. Reuse the iterator
API in hdd_is_any_sta_connected().

1) hdd_get_first_connected_sta_vdev_id()
2) hdd_is_any_sta_connected()

Change-Id: I1edf96d4f6ee03905a4d9ec2f92327a27d71ac9a
CRs-Fixed: 3522308
2023-06-26 20:58:54 -07:00
Vinod Kumar Pirla
eafb714f78 qcacld-3.0: Refactor peer auth and power save timer APIs
Refactor the following APIs to pass link info pointer as function
argument to set the peer authenticated on connection or disconnection.
Existing callers moved to deflink pointer.

1) hdd_start_powersave_timer_on_associated()
2) hdd_conn_set_authenticated()
3) hdd_cm_set_peer_authenticate()

Change-Id: Ib546815f4697538a2952fe0de131dd3134f51f4e
CRs-Fixed: 3522285
2023-06-26 20:58:49 -07:00
Vinod Kumar Pirla
7e378ba594 qcacld-3.0: Refactor peer state change on set key APIs
Change the following APIs to pass link info pointer corresponding
to the VDEV on which peer state has changed.
Existing callers moved to deflink pointer.

1) hdd_change_sta_state_authenticated()
2) hdd_change_peer_state_after_set_key()
3) hdd_conn_get_connected_cipher_algo()

Change-Id: Ia06255667db2d8deb6a6850ef9ab0d2f7b9e6e5b
CRs-Fixed: 3522234
2023-06-26 20:58:45 -07:00
Rahul Choudhary
3ed1eb403b Release 5.2.1.71Z
Release 5.2.1.71Z

Change-Id: I85333836044b62dd83be1761850c385b5797da5e
CRs-Fixed: 774533
2023-06-26 17:22:18 -07:00
Vishal Miskin
d243a443ff qcacld-3.0: User country set based on INI config params
Ignore user regulatory country set when below INIs are set as:
gCountryCodePriority=0
g11dSupportEnabled=1

Change-Id: I8ba5624bbe7aa9d3b06ab4eaffb0b9ab19f1f0fd
CRs-Fixed: 3498489
2023-06-26 17:22:18 -07:00
Rahul Choudhary
a90c3498d8 Release 5.2.1.71Y
Release 5.2.1.71Y

Change-Id: I91d094beed41c57c72ea67a93f3f6483bcf2fa4b
CRs-Fixed: 774533
2023-06-26 10:28:54 -07:00
Will Huang
80ef10bfc3 qcacld-3.0: Skip ACS scan if partial scan channel not in ACS range
If determine to do partial ACS scan but partial scan channel range is
out of ACS range, sap_get_freq_list() will not return any channel list
and ACS will fail.

In this case if no additional scan needed, can skip this partial ACS
scan and continue to select channel.

Change-Id: I283351fc385b44e65e381d06e3ae5058d4ead443
CRs-Fixed: 3522055
2023-06-26 10:28:53 -07:00
Rahul Choudhary
f3c7377368 Release 5.2.1.71X
Release 5.2.1.71X

Change-Id: I50fae5da6d857a9f72dc7aecc5aa0edd9f1a1a1c
CRs-Fixed: 774533
2023-06-26 06:57:07 -07:00
jinbao liu
3415d49767 qcacld-3.0: Fix an array size issue
Currently, a MACRO is defined used to record the array size. However,
This has a potential risk if the array size changes but the corresponding
ARRAY_SIZE MACRO is not modified accordingly. To solve this issue, this
change uses QDF_ARRAY_SIZE(_arr) to express the array size, so that the
value of QDF_ARRAY_SIZE(_arr) will always represent the size of the array.

Change-Id: I7108a21a91224fe25cfac95dc5801f83aee0a651
CRs-Fixed: 3501175
2023-06-26 06:57:07 -07:00
Rahul Choudhary
6a38fa8945 Release 5.2.1.71W
Release 5.2.1.71W

Change-Id: I8534dbc939b9aac46da90685dd947d4fb4bfa988
CRs-Fixed: 774533
2023-06-26 03:21:38 -07:00
Krupali Dhanvijay
026c0f435f qcacld-3.0: Reset CPU frequency in HO failure
CPU min frequency is boosted to maximum once roam start is received.

Add API to reset CPU frequency in case of HO failure.

Change-Id: Ib59d4d69a68f311dbb01609e7f5f64c307fcedc2
CRs-Fixed: 3522942
2023-06-26 03:21:37 -07:00
Rahul Choudhary
088906f133 Release 5.2.1.71V
Release 5.2.1.71V

Change-Id: I47d8ee63a836a99db4b2b48322987a78b37a900a
CRs-Fixed: 774533
2023-06-24 13:31:05 -07:00
Rakesh Pillai
cd12cecff9 qcacld-3.0: Remove dp_soc usage (all but one) from FISA
Currently FISA accesses the dp_soc (converged DP soc handle)
for various misc info (like hal_soc handle etc). Since these
information are now stored in the non-converged DP component,
there is no need to access dp_soc.

Cleanup the access to dp_soc (converged DP soc handle) in
the FISA path.

Change-Id: I6f373eb1ee57933d631237f7281c99bfceb100c3
CRs-Fixed: 3512048
2023-06-24 13:31:05 -07:00
Rakesh Pillai
c96c1a88d9 qcacld-3.0: Fetch rx_pkt_tlv size via CDP API
Add support to fetch rx_pkt_tlv size from the
converged DP using CDP APIs.

Change-Id: Ibd992d776e8e5e3ff87acb0e9b80d147064747e4
CRs-Fixed: 3512046
2023-06-24 13:30:59 -07:00
Rakesh Pillai
4c897fe85d qcacld-3.0: Add support to send FISA HTT msg using CDP
Add CDP APIs to send FISA related HTT msgs from the
non-converged DP component.

Change-Id: Ie8dcb5d68497ac0de4c0781c981ede2239df0a78
CRs-Fixed: 3512045
2023-06-24 13:30:54 -07:00
Rakesh Pillai
5c54710c38 qcacld-3.0: FISA move data structure
Move the FISA related non-converged data structures
to DP component.

Change-Id: I86b08bd85fa97424046e1187cc5189d0f1354e93
CRs-Fixed: 3512044
2023-06-24 13:30:49 -07:00
Rakesh Pillai
87a3b842c6 qcacld-3.0: FISA ini movement
Move the non-converged FISA related INIs to the
DP component.

Change-Id: Ifaea7a6652d556168b3f232ecfe9b3579c31ed4f
CRs-Fixed: 3512043
2023-06-24 13:30:44 -07:00
Rakesh Pillai
7dde156e8d qcacld-3.0: FISA suspend/resume code movement
Move the suspend/resume related handlers for FISA
in the DP component.

Change-Id: Iba2bcf313f0a6f94a8bd8ff3c6cb29e8ef58f225
CRs-Fixed: 3512042
2023-06-24 13:30:39 -07:00
Rakesh Pillai
1fe1ac7688 qcacld-3.0: FISA init code movement
Move the FISA initialization code to DP
component.

Change-Id: Idaf0d195ea3f24f8d4294eba19d71d5cc9dbc528
CRs-Fixed: 3512041
2023-06-24 13:30:34 -07:00
Rahul Choudhary
aea9c6967c Release 5.2.1.71U
Release 5.2.1.71U

Change-Id: I14fc21b501df81a2dd867224526639344444728b
CRs-Fixed: 774533
2023-06-24 00:28:59 -07:00
Asutosh Mohapatra
d5580e4c4c qcacld-3.0: Handle wlan_logging_sock_init_svc failure gracefully
Currently as part of hdd init host invokes
wlan_logging_sock_init_svc. This API returns error
if any memory allocation failure occurs, but in
hdd_init this error case is not handled.

To address this issue, add support to handle
wlan_logging_sock_init_svc failure.

Change-Id: I6ea90ae6c23e75f266ece22f08042b16152ae570
CRs-Fixed: 3532384
2023-06-24 00:28:59 -07:00
Jianmin Zhu
a0cd2ab42d qcacld-3.0: Add OUI config to enable CTS2SELF with QoS null frame
Add gActionOUIEnableCTS2SelfWithQoSNull to enable CTS2SELF with QoS null
frame for specified IoT APs.

Change-Id: Ia0bccd02f4491e106413728d1a54d76265c80249
CRs-Fixed: 3533505
2023-06-24 00:28:54 -07:00
Asutosh Mohapatra
81386d4ba0 qcacld-3.0: Cache wifi standard after eht cap stored in psoc_mlme_obj
Currently wifi standard is cached into cds config before eht_cap
cfg item is copied into psoc_mlme_obj and host is sending incorrect
wifi standard to fw as part of WMI_PDEV_FEATURESET_CMDID.
To address this issue, cache wifi standard into cds config after
psoc_mlme_cfg is initialized.

Change-Id: I866d919b5c44ad32f520464359e3afb766c5f889
CRs-Fixed: 3530207
2023-06-24 00:28:49 -07:00
Rahul Choudhary
09fc2aa51c Release 5.2.1.71T
Release 5.2.1.71T

Change-Id: If7a59c4853bab20a5a03f286c7b5c76af4d8fe79
CRs-Fixed: 774533
2023-06-23 12:17:14 -07:00
Vinod Kumar Pirla
27148d7774 qcacld-3.0: Refactor hdd_roam_register_sta() API
Use link info pointer to register STA on connection success
on each VDEV corresponding to the link info pointer.
Move existing callers to deflink pointer.
Skipped DP tx/rx functions registration for non vdev_id matching
DP interface

Change-Id: I6bd7b7be547efa58962f8b2e2c0b65eb48065769
CRs-Fixed: 3522205
2023-06-23 12:17:14 -07:00
Vinod Kumar Pirla
f08f0dff0c qcacld-3.0: Refactor wlan_hdd_cm_issue_disconnect() API
Pass link info pointer as function argument to initiate
disconnect on the VDEV corresponding to the link info.
Existing callers moved to deflink pointer.

Change-Id: Ia1d0d7a5a7f7d6e7b83d278369c7541d0600a4ff
CRs-Fixed: 3522166
2023-06-23 12:17:08 -07:00
Vinod Kumar Pirla
888716156d qcacld-3.0: Refactor APIs related to hdd_sme_roam_callback()
Modify the APIs below to pass link info pointer as function argument
for the corresponding VDEV to call these function on per link.
Existing callers moved to deflink pointer.

1) hdd_sme_roam_callback()
2) wlan_hdd_sae_copy_ta_addr()
3) wlan_hdd_sae_update_mld_addr()
4) wlan_hdd_sae_callback()
5) hdd_roam_mic_error_indication_handler()
6) hdd_indicate_unprot_mgmt_frame()
7) hdd_ndp_event_handler()

Change-Id: I67aad093e1318478ee188cc6c7dd113dc458a711
CRs-Fixed: 3522016
2023-06-23 12:17:02 -07:00
Vinod Kumar Pirla
423620c194 qcacld-3.0: Refactor cache_station_stats_cb() API
Iterate through all the active links in adapter in the AP to
find the match for stats VDEV.

Change-Id: I1bc2ad7cf920eef5d6e840a2aec993a049159f1f
CRs-Fixed: 3521681
2023-06-23 12:16:57 -07:00
Vinod Kumar Pirla
3835cb8b24 qcacld-3.0: Refactor APIs related to link Layer stats
Change the following APIs to use link info pointer as
function argument to retrieve and save link layer stats
on per link. The existing callers moved to deflink pointer.

1) hdd_debugfs_process_iface_stats()
2) wlan_hdd_ll_stats_get()
3) hdd_cache_ll_iface_stats()
4) hdd_link_layer_process_iface_stats()
5) wlan_hdd_cfg80211_link_layer_stats_callback()
6) wlan_hdd_handle_ll_stats()
7) wlan_hdd_set_station_stats_request_pending()
8) wlan_hdd_send_ll_stats_req()
9) hdd_debugfs_process_ll_stats()

Change-Id: Ief6c814c5a976022688b3cc44f941d3a8c06a158
CRs-Fixed: 3521669
2023-06-23 12:16:52 -07:00
Rahul Choudhary
e730911351 Release 5.2.1.71S
Release 5.2.1.71S

Change-Id: I624d1be828d3bf116d4e9817fbeefbb683670bfc
CRs-Fixed: 774533
2023-06-23 08:29:33 -07:00
Vinod Kumar Pirla
1d8b3d1f93 qcacld-3.0: Refactor wlan_spectral_update_rx_chainmask() API
To update per link chainmask in corresponding VDEV, modify the
API to take link info pointer as function argument.
Existing callers moved to deflink pointer.

Change-Id: I1f9e9b9c79c2a7237656c00076febb3f5413849c
CRs-Fixed: 3521632
2023-06-23 08:29:33 -07:00
Vinod Kumar Pirla
5f3d589db4 qcacld-3.0: Refactor station info and context APIs
Modify the following list of APIs to take link info
pointer as function argument to get the station context
which is per link data structure. Callers can pass link info
corresponding to VDEV to get/set data.
Existing callers moved to deflink pointer.

1) hdd_get_station_assoc_fail()
2) hdd_add_tx_bitrate()
3) hdd_add_sta_info()
4) hdd_add_link_standard_info()
5) hdd_populate_station_info_skb()
6) hdd_get_station_info()
7) hdd_get_connected_station_info()
8) hdd_get_station_remote()

Change-Id: Icf12eb6118d7bcb7fccee3b6228727ebd70383cf
CRs-Fixed: 3521620
2023-06-23 08:29:28 -07:00
Vinod Kumar Pirla
1ee9d909eb qcacld-3.0: Refactor NSS update APIs
Modify the following APIs to take link info pointer
as function argument to update/set the NSS config
for corresponding VDEV in link info pointer.
The existing callers moved to deflink pointer.
1) hdd_update_nss_in_vdev()
2) hdd_set_sap_nss_params()
3) hdd_set_nss_params()

Change-Id: I8f51d148d234bece51cb5ba4fcae1db46f366b81
CRs-Fixed: 3521589
2023-06-23 08:29:22 -07:00
Vinod Kumar Pirla
972c244109 qcacld-3.0: Refactor Tx/Rx NSS config get APIs
Modify the following APIs to take link info as function
argument to get the per link Tx/Rx NSS configuration
of the corresponding VDEV.
The existing callers moved to deflink pointer.
1) hdd_get_tx_nss()
2) hdd_get_rx_nss()

Change-Id: Id78d3c90783d443ffa27a499b5d60c0362cb7536
CRs-Fixed: 3521577
2023-06-23 08:29:17 -07:00
Vinod Kumar Pirla
bd1f07ea32 qcacld-3.0: Refactor NSS and antenna mode config APIs
Change the following APIs to take link info pointer as
function argument to support per link configuration.
Existing callers moved to deflink.

1) hdd_update_nss()
2) hdd_set_dynamic_antenna_mode()
3) hdd_set_antenna_mode()

Change-Id: Ic1f29cf3b8aa08d9c58b2e5bb65370114f8bfa41
CRs-Fixed: 3521567
2023-06-23 08:29:11 -07:00
Vinod Kumar Pirla
bb5fbd546f qcacld-3.0: Refactor config_getter_fn APIs
Change get configuration handlers function prototype
to use link info pointer as function argument.
Existing callers moved to deflink pointer.

Change-Id: Ie3bfac53e588bbd685435251481682cd4781b5bf
CRs-Fixed: 3521517
2023-06-23 08:29:06 -07:00
Vinod Kumar Pirla
dbe7e5b2a8 qcacld-3.0: Refactor setint_getnone_fn callback functions
Modify the function prototype to accept link info pointer as
function argument to get/set the per link info. The existing
callers moved to deflink pointer.

Change-Id: I8088e1c4b232523b4421be2a005af1a45d28837c
CRs-Fixed: 3521477
2023-06-23 08:29:00 -07:00
Vinod Kumar Pirla
df588dfdbe qcacld-3.0: Refactor independent and interdependent callback APIs
Modify the APIs to accept link info pointer as function argument.
Existing callers moved to deflink pointer in adapter.

Change-Id: Ieb519156539344aaa473886b682fad69ae9f5e18
CRs-Fixed: 3521357
2023-06-23 08:28:55 -07:00
Vinod Kumar Pirla
bd7e4a3111 qcacld-3.0: Refactor IOCTL get/set APIs
Modify the APIs which handle the IOCTL get/set commands in the driver.
Use link info pointer as function argument. Existing callers moved
to deflink pointer in adapter.

Change-Id: I39aed211a49fde4f21a859e11595af0e8ba399c5
CRs-Fixed: 3521228
2023-06-23 08:28:50 -07:00
Rahul Choudhary
2720026f9d Release 5.2.1.71R
Release 5.2.1.71R

Change-Id: I87de087d00f1fa42b323337218bb5e61753f609d
CRs-Fixed: 774533
2023-06-23 04:36:33 -07:00
Vinod Kumar Pirla
e1becbe77c qcacld-3.0: Refactor wlan_hdd_get_linkspeed_for_peermac() API
To request linkspeed on per link from the BSSID saved in the station
context of each link, change the function prototype to accept link info
pointer as argument. The station context will later is accessed from
this link info pointer to send request to FW on that particular VDEV.
Existing callers moved to deflink pointer in adapter.

Change-Id: I87207455d71967c69dcdfa7680c716b4da5d5e8a
CRs-Fixed: 3520911
2023-06-23 04:36:33 -07:00
Rahul Choudhary
e35d3aa03f Release 5.2.1.71Q
Release 5.2.1.71Q

Change-Id: I8d602a6d9cbeb2ab3d8a0cc39d0079383af6ec49
CRs-Fixed: 774533
2023-06-22 22:01:48 -07:00
Vinod Kumar Myadam
2b5d708b98 qcacld-3.0: Fix for pre-cac crash in cleanup
Vendor command pre_doit holds wiphy lock inside kernel and calls
into driver vendor command handler and from driver vendor command handler
if unregister_netdevice() is called it will try to acquire same wiphy lock
inside kernel cfg80211_netdev_notifier_call() and deadlock.

To fix this issue from driver vendor command handler for pre CAC adapter
stop call cfg80211_unregister_netdevice to avoid recursive wiphy locking.

Change-Id: I24d790f86bf8fb5482fbf56c56d0ce4be50a3aec
CRs-Fixed: 3535131
2023-06-22 22:01:47 -07:00