gEnableM2MLimiation INI item is no longer needed. Remove entire
code related to this INI item.
Also, remove all concurrency related code defined for emulation platform
within QCA_WIFI_3_0_EMU MACRO
CRs-Fixed: 1034888
Change-Id: Iccfd1dd2935634d2552f4eaa5cd9d3ab59a7596a
In cds_complete_action API when cds_get_connection_for_vdev_id is
called to get connection index, it may return
MAX_NUMBER_OF_CONC_CONNECTION to notify that no such connection found.
up-on receiving this max number with current bug, the
cds_complete_action API goes in to infinite loop which causes driver to
crash at the end.
Fix this bug by updating API's loop correctly.
Change-Id: Iaf722afb4a450c66f976ad1a3ae4b697657216ef
CRs-Fixed: 1034888
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_cfg80211.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 6 set the HDD_DISALLOW_LEGACY_HDDLOG flag so that no future
changes can introduce new instances of legacy logging.
Change-Id: Ic990eccfa1e58980aed321352d9a2aca92f736a6
CRs-Fixed: 937644
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_cfg80211.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 5 update the following functions:
wlan_hdd_cfg80211_set_privacy
__wlan_hdd_cfg80211_connect
wlan_hdd_disconnect
__wlan_hdd_cfg80211_disconnect
wlan_hdd_cfg80211_set_privacy_ibss
__wlan_hdd_cfg80211_join_ibss
__wlan_hdd_cfg80211_leave_ibss
__wlan_hdd_cfg80211_set_wiphy_params
__wlan_hdd_cfg80211_del_station
__wlan_hdd_cfg80211_add_station
__wlan_hdd_cfg80211_set_pmksa
__wlan_hdd_cfg80211_del_pmksa
__wlan_hdd_cfg80211_flush_pmksa
__wlan_hdd_cfg80211_update_ft_ies
wlan_hdd_cfg80211_update_replay_counter_callback
__wlan_hdd_cfg80211_set_rekey_data
__wlan_hdd_cfg80211_set_mac_acl
wlan_hdd_cfg80211_lphb_ind_handler
__wlan_hdd_cfg80211_testmode
wlan_hdd_testmode_rx_event
__wlan_hdd_cfg80211_set_ap_channel_width
__wlan_hdd_cfg80211_channel_switch
wlan_hdd_convert_nl_iftype_to_hdd_type
Change-Id: Ifcd456d13509fcb861a2d8c2f4c3b5d31266ce41
CRs-Fixed: 937644
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_cfg80211.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 4 update the following functions:
__wlan_hdd_change_station
__wlan_hdd_cfg80211_add_key
__wlan_hdd_cfg80211_get_key
__wlan_hdd_cfg80211_set_default_key
wlan_hdd_cfg80211_update_bss_list
wlan_hdd_cfg80211_inform_bss_frame
wlan_hdd_cfg80211_update_bss_db
wlan_hdd_cfg80211_update_bss
wlan_hdd_cfg80211_pmksa_candidate_notify
wlan_hdd_cfg80211_roam_metrics_preauth
wlan_hdd_cfg80211_roam_metrics_preauth_status
wlan_hdd_cfg80211_roam_metrics_handover
hdd_select_cbmode
wlan_hdd_cfg80211_connect_start
wlan_hdd_cfg80211_set_auth_type
wlan_hdd_set_akm_suite
wlan_hdd_cfg80211_set_cipher
wlan_hdd_cfg80211_set_ie
hdd_is_wpaie_present
Change-Id: If41d51bc011d0887b6f73511ac0509bff1722d4a
CRs-Fixed: 937644
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_cfg80211.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 3 update the following functions:
__wlan_hdd_cfg80211_wifi_configuration_set
__wlan_hdd_cfg80211_wifi_logger_start
__wlan_hdd_cfg80211_wifi_logger_get_ring_data
wlan_hdd_add_tx_ptrn
__wlan_hdd_cfg80211_offloaded_packets
__wlan_hdd_cfg80211_monitor_rssi
hdd_rssi_threshold_breached
__wlan_hdd_cfg80211_get_link_properties
hdd_get_bpf_offload_cb
hdd_post_get_bpf_capabilities_rsp
hdd_get_bpf_offload
hdd_set_reset_bpf_offload
__wlan_hdd_cfg80211_bpf_offload
__wlan_hdd_cfg80211_sap_configuration_set
wlan_hdd_cfg80211_register
*wlan_hdd_cfg80211_get_ie_ptr
wlan_hdd_validate_operation_channel
wlan_hdd_set_dhcp_server_offload
__wlan_hdd_cfg80211_change_bss
wlan_hdd_change_client_iface_to_new_mode
__wlan_hdd_cfg80211_change_iface
Change-Id: If07608bc7280ab7acd018a547f424d3f3fd6d629
CRs-Fixed: 937644
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_cfg80211.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 2 update the following functions:
__wlan_hdd_cfg80211_get_tdls_capabilities
wlan_hdd_send_avoid_freq_event
__is_driver_dfs_capable
wlan_hdd_sap_cfg_dfs_override
wlan_hdd_cfg80211_start_acs
__wlan_hdd_cfg80211_do_acs
__wlan_hdd_cfg80211_get_supported_features
__wlan_hdd_cfg80211_set_scanning_mac_oui
__wlan_hdd_cfg80211_get_features
__wlan_hdd_cfg80211_set_ext_roam_params
wlan_hdd_check_dfs_channel_for_adapter
wlan_hdd_disable_dfs_chan_scan
__wlan_hdd_cfg80211_disable_dfs_chan_scan
__wlan_hdd_cfg80211_keymgmt_set_key
__wlan_hdd_cfg80211_get_logger_supp_feature
wlan_hdd_send_roam_auth_event
Change-Id: I54e01d92eafffc2a0c5d966158072f3b2dd101a4
CRs-Fixed: 937644
This is qcacld-2.0 to qcacld-3.0 propagation
Till now kickout event was only handled for SAP role.
The patch handles wmi event for peer kickout due to
inactivity in STA role.
Change-Id: I437dc3e07737bb653e969406b64cd9dad56fbbcd
CRs-Fixed: 861917
This is qcacld-2.0 to qcacld-3.0 propagation.
Destroy sap_dfs_cac_timer at callback function based on check if timer
is still valid.
Change-Id: Ib8b92ac11444b63a0d8002edff35cd9238bb2573
CRs-Fixed: 967907
This is qcacld-2.0 to qcacld-3.0 propagation
Fix memory leak in del_bss_rsp params in case del_bss_rsp
is dropped at lim due to invalid session id.
Change-Id: I4dfc8697fd5248d8a16ad5a248d5f06e86a105d0
CRs-Fixed: 970601
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_cfg80211.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 1 update the following since automated conversion is not
properly processing these function:
wlan_hdd_cfg80211_acs_ch_select_evt()
wlan_hdd_cfg80211_set_key_wapi()
Change-Id: I31e5ea914ed1f5aa807ff0ce1c67b6ed64620dee
CRs-Fixed: 937644
Check vdev_id against WMA_MAX_SUPPORTED_BSS instead of wma->max_bssid in
function wma_process_gtk_offload_req.
Change-Id: Ife4e8c907f835f766d6d44815418158cfd305343
CRs-Fixed: 1034255
Check pSession->pCurRoamProfile against NULL before dereferencing it in
function csr_is_p2p_session_connected.
Change-Id: I61f681dfd4ff3c7fd2e443f54f6b1713db088250
CRs-Fixed: 1034255
In function sme_register_ftm_msg_processor, remove access to mac_ctx which is
dereferencing a NULL pointer.
Change-Id: I6e2db08703b3beff23f9398d9d1c88e1c6bcb229
CRs-Fixed: 1034255
In function convert_qos_mapset_frame, restrict dscp_exceptions array access
index to size of array
Change-Id: Ieb153e4d263fbc1455b41bec71ec78b7c49558fc
CRs-Fixed: 1034255
In function rrm_process_beacon_report_xmit, reset flag_bss_present before
processing each bss descriptor.
Change-Id: Ic3ef01d79135effe718cbeec29894f6000de7f07
CRs-Fixed: 1034255
In function __lim_process_sme_join_req, access session id and transaction
id from msg_buff instead of sme_join_req which could be null at the point
of access.
Change-Id: I299b87f6144d0b6452d49ebc9d8ed28ff417723c
CRs-Fixed: 1034255
IPA WDI TX buffer should be used by IPA HW/WLAN FWHW during
WLAN activated. This memory is not used by HLOS. Then
coherent memory allocation is better for usage.
Change-Id: Icc96c54aca9fc986c231ac3173f54cf7c7f253aa
CRs-fixed: 1019762
Currently the HDD code uses a variety of logging APIs. In
qcacld-3.0 HDD should converge on a unified set of logging APIs.
Update wlan_hdd_scan.c to use the unified set of APIs.
Change-Id: I10d5dea38970c8927e95e7b9c300bb2c0fdcfcf0
CRs-Fixed: 937686
In case of dense roam scenario, Host should set initial dense
status if roamable AP count is more than minimum dense AP count.
Add changes to set the flag if roamable AP count is more than
configured value.
CRs-Fixed: 1023078
Change-Id: I25bd26ae1292c0a829c1b1634df3ab975ab562c1
Register PE NDP event handler callback with WMA. NAN even handlers at WMA are
already running in MC thread context and callback avoids unnecessary message
posting from WMA to PE for processing of NDP firmware events.
Change-Id: I94328ef69a3ee4ae6e7af2978bfad5a7ddcb385d
CRs-Fixed: 962367
qcacld-2.0 to qcacld-3.0 propagation
Add routines to register and unregister all WMI event handlers
for NAN datapath.
CRs-Fixed: 962367
Change-Id: Ie2230e55ca15f03d76b4b8fc441370335743f87e
qcacld-2.0 to qcacld-3.0 propagation
Add changes to handle request to delete NAN datapath interface.
Change-Id: I3efef6adf6c7a974d3e344a7609f8517cd1aa752
CRs-Fixed: 962367
Add support for NDP vendor commands and implement NAN Data Interface
create.
Propagation from qcacld-2.0 to qcacld-3.0
CRs-Fixed: 962367
Change-Id: I84e9ac5ccfe8faaa00dfc448defb81fb792263d5
qcacld-2.0 to qcacld-3.0 propagation
Add changes to support session and BSS creation in NDI mode.
CRs-Fixed: 962367
Change-Id: I585cd89702a2c412783ae93fb1558ed5bfe31fd9
Add interface changes to enable NAN data path feature
Propagation from qcacld-2.0 to qcacld-3.0
CRs-Fixed: 962367
Change-Id: I12a1d0cf37db22ff0bcb8165cb3f6b3847f8bf5b
qcacld-2.0 to qcacld-3.0 propagation
Add messaging interface to support NAN datapath.
"NAN" terminology is used for referencing NAN discovery.
"NDI" and "NDP" are for NAN datapath.
CRs-Fixed: 962367
Change-Id: I1f42c8dab17b3a300db61756c29fc02d3d3bc504
qcacld-2.0 to qcacld3.0 propagation
Configure NAN datapath capability of the driver based on
the target device capability.
CRs-Fixed: 962367
Change-Id: I99eac7ae3ae495347208e3849e2383e999dcc125
Propagation from qcacld-2.0 to qcacld-3.0.
Add .ini items to enable NAN datapath feature. It will be disabled
by default.
Name: genable_nan_datapath
Minimum: 0 (disable)
Maximum: 1 (enable)
Default: 0 (disable)
CRs-Fixed: 962367
Change-Id: I304fcc70c0e83d890ae95d2d4ff1b7ce691374e2
qcacld-2.0 to qcacld-3.0 propagation
We do not support TDLS on DSRC AND DFS channels so skip
these channels in the TDLS frames.
Change-Id: I3ad523ab21d1383df189d3856f6e0759b1a2bb6a
CRs-Fixed: 975657
qcacld-2.0 to qcacld-3.0 propagation
When TDLS antenna switch is in progress, only TDLS teardown frame
is allowed to go to firmware and all other TDLS management frames
need to be blocked to avoid unpredictable behavior in the system.
This change allow TDLS teardown frame and reject all
other management frames.
Change-Id: I5775776af376db0d4502df631ccb92e802354c11
CRs-Fixed: 968225
qcacld-2.0 to qcacld-3.0 propagation
In antenna sharing platform, if TDLS operates in the 5G band base
channel with NSS 2x2, it cannot accommodate 2G off channels in
TDLS operation. So in that scenario, 2G channels should be
skipped from TDLS off channels list.
Update driver to remove 2G band channels from supported off
channel list, when TDLS operates in 5G band base channel
with NSS 2x2.
Change-Id: I04aa00e1cecfae86570aa89d1743b54d55b2dc84
CRs-Fixed: 968206
qcacld-2.0 to qcacld-3.0 propagation
TDLS NSS can be changed dynamically by the user, if that happens
the newer NSS value needs to be recorded in the MAC context and
should be used to form TDLS management frames.
Update driver to keep the user configured NSS value in the MAC
context and uses the NSS value in the tdls protocol engine
to construct management frames.
Change-Id: I4098e3c5e3a03c4de6ae40c837a5616613623979
CRs-Fixed: 968106
qcacld-2.0 to qcacld-3.0 propagation
Remove TDLS teardown wait event for antenna switch 1x1 -> 2x2 and
avoid band specific validation.
Change-Id: If29c102e59ba0f9df528e988e9d5e517a9849c55
CRs-Fixed: 961949
Currently the HDD code uses a variety of logging APIs. In
qcacld-3.0 HDD should converge on a unified set of logging APIs.
Update wlan_hdd_wext.c to use the unified set of APIs.
Change-Id: I4fff38875f9591a6782d0d898b653a56ff7d7946
CRs-Fixed: 937690
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_lpass.c to use the unified set of APIs.
Change-Id: I34c145c43507ff882e371d05cb59c7ec73f366e5
CRs-Fixed: 1018555
Currently wlan_hdd_lpass uses camelCase for some variables in
violation of kernel coding guidelines. Rename such variables to align
with the kernel coding style.
Change-Id: I2ec2c37c48442653619a1e5a2a6c47de944bd9dc
CRs-Fixed: 1018553
Refactor WMA data commands to remove dependency of WMA header files
in common wmi layer.
Change-Id: Ic16020d9e4fce4db71b265b88703f7cef7b8a275
CRs-Fixed: 1008872
UMAC maintains CFG item for each individual field of the HT
capability IE along with the global CFG item for HT cap IE.
This leads to update two global CFG items whenever there
is a change in HT capability IE field.
Remove the duplicate configuration items.
Update LIM code to read the capablities from the session
not from the globals.
Change-Id: Idf5c4358ab67983778a56e2fe3a2f21d1adc19e1
CRs-Fixed: 1029145
Currently in HDD the WLAN_FEATURE_LPSS code is distributed amongst
multiple source files. In order to be more aligned with established
practices refactor most of the feature code into a feature-specific
file .
Change-Id: I7c743f32fd1455fc253a00d69bfc9abb7f6743da
CRs-Fixed: 1018553