Currently, Host serialize get link speed command through
MC thread which is truly not required.Hence removing
serialization for get link speed cmd.
Change-Id: Ia2895394025056d4957856bb9bde0350b55d25ca
CRs-Fixed: 2042492
Do not disable Roaming if multiple STA are active, individual STA
session are controlled by adapter->fast_roaming_allowed.
Change-Id: Ic979f4addd3b9e4f940291817c9a797302e3ac66
CRs-Fixed: 1104238
rxLdpcEnable and txLdpcEnable have incorrect data type which may
lead to confusion and error.
Fix the data types from boolean to uint8_t.
Change-Id: Idb8642a528d7e4c75cd2bc7c2e04f52a888f3d2b
CRs-Fixed: 2018096
In RRM module, caller is creating memory for beacon report. for
each beacon report, it further creates memory for bss descriptors.
caller sends a entire becon report message to callee. Both caller and
callee are releasing memory for beacon report but they don't release
memory for bss descriptos correctly.
To fix the situation, caller needs to release bss descriptos memory up
on failure to deliver the message to callee. callee needs to release
bss descriptors' memory up on successful reception and after processing
it.
CRs-Fixed: 2040435
Change-Id: Ia4e0a1cdc56c177e86683847973acfab0e9a96bf
While sending message from one module to another module,
bss descriptors' memory get assigned but never get released which
creates memory leaks.
Release bss descriptors' memory up on its usage.
CRs-Fixed: 2040435
Change-Id: I7d9ef4e9b65f4b63251490f4ef3671a350ebf81f
In csr_scan_copy_request_valid_channels_only(), the DFS channels
are ignored if ini parameter gSkipDfsChannelInP2pSearch is enabled.
If the supplicant issues a single channel scan for a DFS channel,
driver will do a full scan. As its a single channel scan which is a
DFS channel would be ignored and the num of channels to scan would
be zero.
And if the number of channels to scan are zero, driver
does a full scan which would impact the overall connection
time.
To address this, enable DFS channel for a single
channel scan.
Change-Id: I166b9674a6cb6bb9c180c1c8d68480440ea867be
CRs-Fixed: 2038974
qcacld-2.0 to qcacld-3.0 propagation
When MAC counter offload is enabled, FW will indicate following
statistics periodically or as host's settings.
- RSSI and SNR per antenna/RF chain
- RSSI, SNR and MCS code (Tx and Rx) per peer
- 11h, 11k radio measurements on current channel, CSMA/CA parameters,
channel interference estimations
- Tx/Rx statistics(data rate, aggregation size, etc)
New WMI interface is introduced by this change:
- set threshold using WMI_PDEV_SET_STATS_THRESHOLD_CMDID
- process WMI_REPORT_STATS_EVENTID and send all mac counters
to HDD_CFG80211
Change-Id: I6d679bbf331baf187cccc882216eecc239bf298c
CRs-Fixed: 1080673
Some user configured params are passed in filter during scan request.
Move them in scan params and update them from user config.
Change-Id: I71beb41c947ede742345821a983bb202575547b9
CRs-Fixed: 2013212
Requirement is to get CCA from frmware when connection fails due to
assoc/auth/probe response timeout.
Change-Id: I062343ed065d7b0c38b9e3b24ecfa9851b9b1537
CRs-Fixed: 2018594
WMA pdev reference clear is called after the wma close hence
wma handle is NULL and pdev refernce is not cleared.
Clear the pdev reference during WMA close procedure
Change-Id: I6c4caa21e9329f5d7542d114763cd6ae8931a604
CRs-Fixed: 2008013
Replace the legacy regulatory apis with regulatory component
public service apis
Change-Id: Ifd8c93fc8f57116cfc432b853248b35fd7ed1b94
CRs-Fixed: 2008013
Move the logs to appropriate log levels to reduce
the log spam in nan_api.c, p2p_api.c and sme_qos.c
Change-Id: I577977fb4455a44699215ac0ea8f1819b77deef0
CRs-Fixed: 1093093
Move the logs to appropriate log levels to reduce the
log spam in csr_neighbor_roam.c, csr_roam_preauth.c,
csr_tdls_process.c and csr_util.c
Change-Id: I7fa474658e7f538bf79883abf5e2d52f94332e0c
CRs-Fixed: 1093093
Move the logs to appropriate log levels to reduce
the log spam in csr_host_scan_roam.c
Change-Id: I00db47bb70471ae7b4ce8f3975627a5d1efcefcc
CRs-Fixed: 1093093
qcacld-2.0 to qcacld-3.0 propagation
Once a peer sta's power state changes, fw will send
WMI_PEER_STA_PS_STATECHG_EVENTID to host. Once there
is TX failure on air, HTT_T2H_MSG_TYPE_TX_COMPL_IND
with an unsuccess status will be received by host.
These two kinds of messages from FW will be transferred
into SME message and sent to HDD layer.
Change-Id: If37798bcd06fb8c3f7a2690e77a572b41d7b266f
CRs-fixed: 1048388
If HW mode change timeout happens during connect req in CSR,
the status received by HDD is success and it assumes connect is
queued and does not reset the HDD state. This lead to subsequent
scan failures.
To fix, return failure status to HDD if HW mode change timesout.
Also avoid sending QDF status to supplicant as part of connect
failure.
Change-Id: I49d189ad75a585d894b5e819190c2dc3d9cc1453
CRs-fixed: 2031149
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
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
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
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
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
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
Add support to handle the event for the Roam Scan Offload[RSO] command
status. Inform the same to user space.
Change-Id: I2758103e8ca3c49c0fecd3323b619542dbbabf0c
CRs-Fixed: 1111809
In function sme_prepare_beacon_from_bss_descp, ie_len was storing
uint32_t into uint8_t which was causing beacon frame buffer to be
filled partially. Change the ie_len argument to uint32_t
Change-Id: Ia94dbd6e280579fe1621863b0e8f6ba4e13d10ed
CRs-Fixed: 2004265