Send beacon frame in wmi_roam_invoke_cmd to firmware.
This helps firmware skip scan to connect to requested
BSSID.
Change-Id: I5c6e375309dcb3bdd6430a3d501bade5cfe2e88d
CRs-Fixed: 1116901
TDLS timer related API is directly exposed to
other modules, and it induces code portability
and compilation problem.
Change the API implementation and provide only
abstraction to other modules.
Change-Id: I8cec34558366ab500a66d4c9f4d36e042490a6bf
CRs-Fixed: 2006815
If CONFIG_HL_SUPPORT is enabled, HDD_MOD_EXIT_SSR_MAX_RETRIES
has 2 definitions in one file, one of the value is 75 and the
other is 200, which has conflict and cause compilation error.
Remove the redundant definition of HDD_MOD_EXIT_SSR_MAX_RETRIES
Change-Id: Ib707d8b338c394a173ce7dfcefe9040d630a6d5b
CRs-Fixed: 2004355
We are transitioning to the new request manager framework. Change all
of the OCB interfaces which currently use the hdd_ocb_ctxt to this
framework. Note that this framework provides the infrastructure to
pass data from the response thread to the request thread and hence
eliminates the need to maintain transient OCB data in the HDD adapter
struct.
Change-Id: I4151221b81cfcaec25bad79da4aa25164c0f83ad
CRs-Fixed: 2005320
We are transitioning to the new request manager framework. Change
hdd_get_bpf_offload() and hdd_get_bpf_offload_cb() to this framework.
Change-Id: I33f6d50299065c253265e0824e9e3d0483f1a561
CRs-Fixed: 2005314
We are transitioning to the new request manager framework. Change
wlan_hdd_get_linkspeed_for_peermac() and hdd_get_link_speed_cb() to
this framework. Note that this framework provides the infrastructure
to pass data from the response thread to the request thread and hence
eliminates the need to maintain tSirLinkSpeedInfo in the HDD adapter
struct.
Change-Id: I27cdbb986b23c4895f7e6e444697994f26bc6ea1
CRs-Fixed: 2005313
We are transitioning to the new request manager framework. Change
hdd_get_tsm_stats() and hdd_get_tsm_stats_cb() to this framework. Note
that this framework provides the infrastructure to pass data from the
response thread to the request thread and hence eliminates the need to
maintain temporary tsmStats in the HDD adapter struct.
Change-Id: I341b46650245f9039685781059041d44bcca5b9e
CRs-Fixed: 2005310
We are transitioning to the new request manager framework. Change
__wlan_hdd_read_power_debugfs() and hdd_power_debugstats_cb() to this
framework. Note that this framework provides the infrastructure to
pass data from the response thread to the request thread and hence
eliminates the need to maintain temporary chip_power_stats in the HDD
adapter struct.
Change-Id: I2fe85b0ffb82587a9c5d59cec1803ba96a95b14c
CRs-Fixed: 2005309
We are transitioning to the new request manager framework. Change
wlan_hdd_get_link_status() and hdd_get_link_status_cb() to this
framework.
Change-Id: I15470bbb9738d78a1e201df9cf12fcb054c7da31
CRs-Fixed: 2005307
We are transitioning to the new request manager framework. Change
wlan_hdd_get_temperature() and hdd_get_temperature_cb() to this
framework.
Change-Id: I01d0ce6d1f23b3c4bddc69d4ee1498408cb50b6c
CRs-Fixed: 2005306
We are transitioning to the new request manager framework. Change
wlan_hdd_get_snr() and hdd_get_snr_cb() to this framework.
Change-Id: Ib7628ee6931450b3b1ee73a0ede6c21ba6427407
CRs-Fixed: 2005305
We are transitioning to the new request manager framework. Change
wlan_hdd_get_rssi() and hdd_get_rssi_cb() to this framework.
Change-Id: Ib0b74e288ad3dc4588440f0de7cfbebc9f88a49a
CRs-Fixed: 2005304
qcacld-2.0 to qcacld-3.0 propagation
Currently host only report connected frequency and noise in
survey dump.
Add changes to report all supported frequencies, active time,
TX time, busy time and noise.
CRs-Fixed: 1061040
Change-Id: I2fa509f53b47d65ba0f4abbc438834b85b9c21f6
Add changes to enabled driver to use external auto selection
logic instead of current driver based implementation.
In case external application is not present, driver will fall
back to current solution.
Change-Id: Ib7474e82bc7f5878af46c91ea09711775a7c046a
CRs-Fixed: 1110061
If channel set is coming from external application, it could be
possible that it doesn't fall into valid channel criteria.
Add APIs to validate the channel.
Change-Id: I1aa855b64c7702418471111d59c92ebaebe8be49
CRs-Fixed: 1110061
Vendor ACS requires regulatory channel info for each channel.
Add changes to collect channel information of each channel
and save it in sap config.
Change-Id: Ib96c3f7ddfc8476306e9a13127472be9dd0a9488
CRs-Fixed: 1110061
There is no vendor command support for QDF Debug Framework.
Add vendor command support to dynamically update the trace levels
for modules.
Change-Id: I807365ec035d75372d4ff0f1ea27ba6f7bbff62d
CRs-Fixed: 2003455
qcacld-2.0 to qcacld-3.0 propagation
SAP keys should be retained at HDD layer when wlan driver
performs internal restarting due to MCC to SCC switch
Change-Id: I5458f7602a0e3851d678981e107ef3b5bda17dd7
CRs-Fixed: 1095584
This is a qcacld-2.0 to qcacld-3.0 propagation.
Currently the min value of gTDLSPrefOffChanBandwidth
is set to zero which is invalid, min value should be
1 (zeroth bit set) for 20MHz.
Change-Id: Ibc2da1c2cca7e704b21686ab795224462dd9f913
CRs-Fixed: 2004116
Although the wlan driver currently utilizes nl80211/cfg80211 as its
primary configuration interface, it still contains support for the
legacy wireless extensions ioctl interface. This interface, however,
is not being maintained and at some point in the future it should be
removed. But before it can be removed all applications which depend
upon this interface must be converted to use other supported
interfaces such as nl80211. To aid in this effort add a framework for
detecting and logging when wireless extensions ioctls are being used.
Change-Id: Ib2f3b64f74e673f3857f14ae12ff372a9f60de8d
CRs-Fixed: 2004194
Currently for both SIOCGIWRTS and SIOCGIWFRAG there are two separate
but identical handlers, one for STA-like interfaces and one for
SAP-like interfaces. For each ioctl consolidate the code into a single
handler. This is a prerequisite for further ioctl cleanup.
Change-Id: I4d4f288198bed2124ec96cf3ca1929e89705d4de
CRs-Fixed: 2004191
The struct hdd_wext_state_s currently contains the field
collectedAuthType. This field is currently written, but is
never read, and hence it is useless, so remove all traces of it.
Change-Id: Ica2fc7a54cc92c8d4394cdcdd9470f624f705848
CRs-Fixed: 2004184
The features exposed by the setMCBCFilter ioctl are exposed via newer,
standard APIs. Strip out setMCBCFilter, and replace it with instructions
for moving to the new APIs. Relatedly, clearMCBCFilter is not needed,
so remove it completely.
Change-Id: I091ca239240ea1b35afe755cfa791b83bcd91409
CRs-Fixed: 2000747
The global HDD context contains mc/bc filter setting fields that
ultimately go unused. Remove these fields and clean up call sites as
appropriate.
Change-Id: I51dcc45d7f2d5ac8a55574b0c6dc0b30458047b8
CRs-Fixed: 1116051
Currently the default keep-alive interval is 30s. From testing we know
90s works just as well. Change the default keep-alive interval to 90s,
up from 30s, for additional power savings.
Change-Id: If6eda06447a459e2803a4919f46cf1e57c93670f
CRs-Fixed: 2001156
Add support for setting fw log mode for msm8998. Change the log mode
from bool type to tristate to support multiple log modes.
CRs-Fixed: 1115611
Change-Id: I6aef023d1e3cb1b68f1520f800af094f6f6decdb
sme_configure_rxp_filter() sends a WMA message type that isn't being
handled, effectively making it dead code. Remove
sme_configure_rxp_filter and cleanup calling contexts as necessary.
Change-Id: I04190111e1c714cf93b42c9f17ea4d80049ee98d
CRs-Fixed: 1114226
Protect debugfs code with WLAN_DEBUGFS feature flag. This enables to
compile out the feature for external builds. Also add a dependency to
Linux kernel debugfs feature.
Change-Id: I1b09c18a8eadc7a9b90fb6535e39b8c4b5a25ab9
CRs-Fixed: 1083744
After SSR is done all the tdls global context variables are
not initialized in wlan_hdd_tdls_init() that can create
problem in TDLS.
Fix is to initialize tdls global context variables after SSR.
Change-Id: I6e777d4d61876ea85300e587c5d720e89bad3431
CRs-Fixed: 1116756
Currently scan results are first cached in SME and then they are
updated to kernel using results in SME cache. This may result in
updation of stale entries to kernel. Fix this by sending scan results
to kernel as and when driver receives them.
Also, add changes to send ext scan results to kernel.
Change-Id: I18f4b36cf3a9fc2e191352c868f69d797eb0a786
CRs-Fixed: 1098411
Presently interface change timer is 5seconds, during stress and high
cpu workload scenarios 5sec time may not be enough for user space to
bring-up WLAN after driver load.
Hence, increasing the timer value to 100sec.
Change-Id: I01b2a82fcf6841bfddfe473332701068b93d855c
CRs-Fixed: 1113583
Port the dynamic MC/BC filter configuration ioctls from qcacld-2.0 to
qcacld-3.0
Change-Id: Ie2fd9e519ac62ea77b149fd5dcf400d9b30621ad
CRs-Fixed: 1102502
When the TDLS management frames are getting stucked in the TX
path, then the TDLS mgmt TX failure logs get flooded in
the kernel logs.
Fix is to reduce the log level for flush logs to avoid getting
in kernel logs. Also to stop flooding the logs for 5 minutes
duration once the instance occurs.
Change-Id: I823f843e2fc2f21974c94c986345713ccd2b653e
CRs-Fixed: 1105925
When TDLS module reject scan, it will queue the scan request but
does not store the source information, and pass NL_80211 as the
scan source. Thus, if the scan is started by vendor command, still
the scan done callback is given to cfg80211.
Fix is to store the scan source information and queue the scan
request along with scan source information.
Change-Id: Id438f29de0176b1ac73603a1fe0a1a6e231c5278
CRs-Fixed: 1107919
The MC thread uses a timer to measure bandwidth usage in station and
soft AP modes. This timer restarts itself periodically, which can
race with the MC thread during a stop/start cycle. Fix this race
condition by introducing a spinlock that protects the timer during
start and restart.
Change-Id: I0e86687d28fb07a0a41c9475b89f5f170e72bf77
CRs-Fixed: 1112498
qcacld-2.0 to qcacld-3.0 propagation
After disconnect request, the driver sends disconnect
indication to the kernel and it schedules a workqueue to
process this disconnect event. Now if this workqueue is
delayed and connect request is received before its
scheduled, the disconnect event workqueue reset the
ssid_len of the wdev.
Now as the ssid_len does not match with bss ssid length the
get bss returns NULL and thus roam indication is not sent
to supplicant.
To fix this use cfg80211_roamed_bss to indicate the roaming
and use the ssid and ssid len from driver to get the bss.
Change-Id: I5b88ce41951cb61582ee801be124ca0b5b6b825b
CRs-Fixed: 1098150
After control path scheduler componentization CDS message queue
APIs are no longer used hence replace CDS mq APIs in HDD by
scheduler mq APIs.
Change-Id: I378c3354a66552e9c796befcd39b461980b93b27
CRs-Fixed: 1110497
for policy manager component, unit test framework has been created.
this unit test framework can be enabled or disabled through Kbuild
flag. As policy manager is matured, unit test framework needs to
be disabled.
While disabling unit test framework, couple of compilation errors have
been observed. Fix those compilation errors.
Change-Id: I2a3ee57cc082e5ebc598f0aea2d05f31fb878732
CRs-Fixed: 1110876