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
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
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
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
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
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
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
Ignore user regulatory country set when below INIs are set as:
gCountryCodePriority=0
g11dSupportEnabled=1
Change-Id: I8ba5624bbe7aa9d3b06ab4eaffb0b9ab19f1f0fd
CRs-Fixed: 3498489
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
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
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
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
Add CDP APIs to send FISA related HTT msgs from the
non-converged DP component.
Change-Id: Ie8dcb5d68497ac0de4c0781c981ede2239df0a78
CRs-Fixed: 3512045
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
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
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
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
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
Iterate through all the active links in adapter in the AP to
find the match for stats VDEV.
Change-Id: I1bc2ad7cf920eef5d6e840a2aec993a049159f1f
CRs-Fixed: 3521681
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
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
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
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
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
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
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
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
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
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
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
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