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
VHT operation IE parameters values are changed in latest draft,
update the set_channel_params to set the new values as per latest
draft.
Change-Id: I2b8f78adb608bf942dff28eda44138044ba93e59
CRs-Fixed: 1022680
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_oemdata.c to use the unified set of APIs.
Change-Id: I314879dec6ff7559bded13c158101f41dd4915e9
CRs-Fixed: 937677
Update the usage of INI entry 'gWlanMccToSccSwitchMode' to reflect
the new options available to avoid MCC condition.
Change-Id: I866393f9df8b266eaeb7e027eb30aa5759b9d832
CRs-Fixed: 1034298
Ensure that the SAP operations make use of the mandatory
channel list during SAP channel selection with INI option
'gWlanMccToSccSwitchMode' set to the value of '4' which
will make use of this channel list while trying to avoid
MCC scenarios.
Change-Id: Ia43ee1d2c598c81a5ef0add9246c400577f6f694
CRs-Fixed: 1014128