Initialize scheduler_msg on stack before posting using scheduler API
such that un-used fields in message structure are initialized to 0.
Change-Id: I1f46416f15c1b81273e1b32798937c05bcf176a9
CRs-Fixed: 2034770
Changing the method DP queries WMA regarding
DBS capability. Now his call will be made through
policy manager.
Change-Id: I32cd92f022cdfcffa8659344731223fefc6efc23
CRs-Fixed: 2025317
This change refactors IPA private data stored in skb control block,
which size is reduced to 32 bits.
Owner id is changed to 1 bit, to flag if the owner is IPA.
Callback function pointer is removed by adding the callback into cdf.
Skb control block priv data is reduced to 16 bits by storing the index
to the Tx descriptor list added in HDD.
Change-Id: I0eec0636794da3b4729b8be825afe6a1275915a4
CRs-Fixed: 982728
Fix the issues reported by static analysis tool for SME and WMA
modules. Following is the summar of issues which are fixed,
1) Get the csr session first and then validate the session to avoid
un-necessary session dereferencing.
2) If scan_info structure is null then return immediately else
populate scan_info structure properly.
3) Valid the mac context before deferencing it.
4) Validate the roam_req, wma, synch_event pointers before deferencing
them.
Change-Id: I522812b5c35dd540c38064e49e39ed75fb7d3e18
CRs-Fixed: 2032854
When ol_txrx_pdev_post_attach fails, the return values are not
correctly set, and this could cause several issues.
Fix to assign return values correcly.
Change-Id: I43fb97bbdb10e019e02bf289f5b4995461eb75db
CRs-Fixed: 1113222
Check adapter is not NULL when receiving IPA_RECEIVE event,
to avoid null dereference when the interface is already cleaned up.
Change-Id: Ic9240811f42edd4f495cb4eabe1268d24851d6d9
CRs-Fixed: 2001132
BSS's fProbeRsp is not set during roam sync indication and thus
the frame is always indicated as beacon to kernel. If AP has hidden
SSID, this will be dropped by kernel in confusion that something
is wrong as the AP has hidden ssid but the beacon frame indicated
by driver have ssid.
Thus to fix this set BSS's fProbeRsp to proper value.
Change-Id: Id3521fe792573cb819b91269047a119a9346d7b2
CRs-Fixed: 2034849
Driver fails to set the Guard interval 160MHz.
There is an invalid check to set the guard interval 160MHz using the
current supported chanel BW. To address this issue, add appropriate
check to set the GI 160MHz.
Change-Id: Ie0c41aea0c44a24c86ddf312cf120cbda175dad5
CRs-Fixed: 2028647
Initialize scheduler_msg on stack before posting using scheduler API
such that un-used fields in message structure are initialized to 0.
Change-Id: I4acd098ca1e975ad6ffed58d1a84c70078e2dca6
CRs-Fixed: 2034770
qcacld-2.0 to qcacld-3.0 propagation
A new 32-bit NL80211 vendor attribute is added to configure propagation
absolute delay for 2G/5G band (unit in us).
Change-Id: I2aecaa8b007c67fa2843ad3922857f923f9b8294
CRs-Fixed: 2031008
If SU beamformer is set in assoc req when AP is not SU beamformee
low throughput is seen with specific AP.
To fix this, set SU bformer capability only if AP is SU bformee and
set SU bformee capability only if AP is SU bformer
Change-Id: I9093352d48722eb79db7b1992ac873bd8cf13e66
CRs-Fixed: 2025399
__lim_get_sme_join_req_size_for_alloc returning 2 byte extra length,
using this incorrect buffer size to copy buffer may cause buffer
overflow.
Fix the same by returning correct size.
Change-Id: If9a5f3546955c72f54a11fedec76f24cd122319a
CRs-Fixed: 2034215
1) In function wma_vdev_detach_callback, free stats_rsp before zeroing out
iface buffer, else the stats_rsp memory which is not sent to upper layer is
lost.
2) In function wma_get_stats_req set stats_rsp buffer to NULL after
posting it to upper layers, so that in case this function is pre-empted
we do not lose buffer pointer.
Change-Id: I8d6261cb53758e02217d68ff01b94bb812adc7fd
CRs-Fixed: 2015436
In function sme_get_beacon_frm, csr_get_fst_bssdescr_ptr can return a NULL
pointer. Check it against NULL before usage.
Change-Id: I76112adf9a0a618bf7e956911d68e7ee2edac61e
CRs-Fixed: 2008664
Deinitialize the scan pdev os private member
as part of the hdd deinit sequence.
Change-Id: I451000ac5d883418e380b72f281663c57b276f2d
CRs-Fixed: 2033622
Currently, host driver adds QCN IE in probe/assoc request initiated
from driver.
If QCN IE support is enabled in host driver[g_qcn_ie_support INI is 1],
add the QCN IE as part of scan/assoc IE's that are sent to FW to be
used for probe/assoc/reassoc frames initiated by FW.
Change-Id: Ic4d58b2cb827668a9ce9cfa5bad4d882816d607b
CRs-Fixed: 1117332
Remove unwanted redundant info printed across multiple
layers[csr, lim, wma] with respect to roaming.
Change-Id: I5197633b0e5afc775c1e10a6e75c58c58055ec49
CRs-Fixed: 2021082
Add "g_fils_max_chan_guard_time" INI and pass the configured value
to firmware for STA vdev as part of vdev attach. Based on this INI,
firmware will calculate the dwell time while sending in probe request.
Change-Id: I2336a7e0a37181ea00ef117e9907e7eaf194ae3d
CRs-Fixed: 1114057
qcacld-2.0 to qcacld-3.0 propagation
Add 4 counts to link layer stats which will be retrieved along with
other link layer stats fields by application to decide if channel
hopping needed.
Change-Id: Ic413b8ad98f1147715cf89c083aa9a77e60a2dc6
CRs-Fixed: 1094958
qcacld-2.0 to qcacld-3.0 propagation
If data was NULL in fw_entry, fw_entry should be released before return.
Otherwise there will be resource leakage.
Change-Id: I0a72f6bd74f349baf1028aed1f9988b188cda1b6
CRs-fixed: 1111115
For regulatory offload, send the regulatory config settings to regulatory
component to compute the current channel list. Query channel list for
each band. Populate the channel list in wiphy. Also do not register
regulatory notifier with the kernel anymore.
CRs-Fixed: 2008013
Change-Id: Ia4995c7498d97fe1e37717e65daa9dcacb2f21b3
As part of Ic1b670e23f637f11b494422ad9954c1d7515e833, frame parser
files are changes to support 11ai frames parsing.
This changes addresses required host driver changes to support
the 11ai frame parsing.
Change-Id: Ia62d546ba1507d8541382369102840be316c466c
CRs-Fixed: 2028592