TDLS related codes won't be compile if disable mobile router, so this
change moves below function "lim_add_tdls_sta_he_config" to macro -
FEATURE_WLAN_TDLS and avoids compilation issue.
Change-Id: I6c46219c5e37712ce412fe3dbcdedc5dfa6bac53
CRs-Fixed: 2891591
Currently, the code is not sending the Tx beamforming capability to FW
in the case of NAN. Add this call to support beamforming in NAN mode.
Change-Id: I32af660724cfaecfe59da153fea9f98d24b0d4cb
CRs-fixed: 2889614
sys nodes disappear as it missed to re-create after
SSR, adding it in hdd_start_all_adapters.
Change-Id: I25f138a1b64dfff795ab62bca3c3d5d44b5601ca
CRs-Fixed: 2892725
Allow twt get_params command with dialog_id 255 to get all session
parameters in user space.
Change-Id: I1b5dbc742c65f2445681aebf1f69255eaf6e1954
CRs-Fixed: 2882925
The qcacld-3.0 Android.mk is unique in that it can be called
recursively. This behavior can make it difficult to debug build
issues. To help alleviate this problem, add a user function to
Android.mk to allow debug information to be logged, and add a few logs
which will be useful in debugging recursion issues. In addition change
a few $(warning) calls to use the infrastructure since under normal
use the Android.mk should be silent.
Change-Id: I660ceddaf53e42c331deba5d33b32360b549cfc7
CRs-Fixed: 2890484
In preparation for upcoming Single Product Family (SPF) support add
per-target default configuration files for QCA6490 and WCN7850. In
addition add a default configuration file for the generic 'wlan'
target.
Change-Id: I0fb90c110bfa8b27a21327e2880642e1acb7853a
CRs-Fixed: 2890266
During system suspend, the psoc idle timer is stopped. So it may
happen that work was not scheduled and it got removed from the
workqueue. This will result into the module state as enabled after
system resume which will lead to extra power consumption.
So, to avoid this issue, start the psoc idle timer in the system
reume if all interfaces are down and module state is ENABLED.
CRs-Fixed: 2867472
Change-Id: I2151e825919b45727a279a2285293e578ce86ffa
Currently, for every pre CAC request a new vdev sync is getting created
and it will be destroyed only when SAP is stopped. So, there is a possible
memory leak if a valid pre CAC request is issued second time without SAP
stop.
To avoid this, don't create vdev sync for pre CAC request if pre CAC
adapter already exist.
Change-Id: If3f65648645b6801a1504a2d184dbc6928ff4771
CRs-Fixed: 2891360
Reset RSN IE for every Connect. This RSN IE
will be overwritten with RSN IE if present.
If we don't reset then connect will use PMF
capability in RSN IE from previous connection
and will expect Deauth frame to be protected
even if connection is open.
Change-Id: I626ceb831556d17cd185a050b28d8d7a19344e68
CRs-Fixed: 2890563
Fill operational and extended rates in LIM
instead of CSR as part of connection manager.
Change-Id: I9197e835703059d61bc67897a9670ff166460318
CRs-Fixed: 2892415
TWT responder support should be announced, if enabled, in the
Extended capabilities IE.
Change-Id: I1355a9ddf2fe0361cb542b4c49b754d8f8a158fc
CRs-Fixed: 2884862
Currently, the regulatory update event is created in
hdd_regulatory_init. In some cases, the country can be set before this
function, causing a crash. Move the event creation to before the country
setting logic.
Change-Id: I344d0de71f1983b3da7b47b816d6bbb0e402cbe8
CRs-fixed: 2891434
Add support for TWT AP params not in range and IE validation failed
status code.
Change-Id: I939db5388c4e7aac86484b319638a57baf83171e
CRs-Fixed: 2888847
Driver report beacon/probe rsp frame in wlan_hdd_inform_bss_frame
to kernel. "boottime_ns" field needs be filled by "scansystimensec"
in nanosecond, so assign "boottime_ns" (NS) from scan entry to
bss_description instead of "scan_entry_time" (MS).
Change-Id: Id22f119f41f8cf60a8aadc9e04c4f18424c88413
CRs-Fixed: 2870827
Don't allow twt statistics or clear statistics command
if twt statistics or clear statistics is in_progress.
As a Fix, reject the new twt statistic or clear statistic
command till existing twt statistic or clear statistic
command completion.
Change-Id: I710a81ae3409f181689b2e4c9e9d4e583d4aadab
CRs-Fixed: 2870592
Currently, in TWT after posting the msg via sme to WMA
using scheduler thread. Based on the success or failure
driver set the command_in_progress so that subsequent
commands can be rejected till the current command is completed.
There is a chance, context might be broken because of this,
command_in_progress is not set.
Set the command_in_progress before posting
the msg and if there is an error then again set the
command_in_progress as NONE.
Change-Id: If9dc4bd346178d49d5d940ecf8ae008969cb1e73
CRs-Fixed: 2886135
Currently, vdev_id 0 is chosen as default vdev_id in
opportunistic_timer_handler when none of the vdevs are started.
The same is used to send set_hw_mode command. But vdev_id 0 might
not be valid all the time and set_hw_mode command fails in
serialization module in such cases.
Below is one possible scenario,
1. Load the driver. p2p0 gets vdev_id 0 and wlan0 gets vdev_id 1
2. Enable NAN and create two NDIs. p2p0 interface(vdev_id-0) will
be deleted by userspace as part of this.
3. Disable NAN and remove the NDIs. It triggers opportunistic_timer
but hw_mode won't be set to SMM as the vdev corresponds to
vdev_id-0 doesn't exist.
So, choose a valid vdev_id(mostly belong to STA/NAN) as default
vdev_id.
Change-Id: I19bd00a07cb2c818af9ed5021b0ae0aca8c49f2f
CRs-Fixed: 2889404
Don't set CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE for SDX65 to
support AP+AP both with ACS DFS channel list.
Change-Id: Id3d9fc6ef2d8b285e89c3c4e0f34badd2c63da5f
CRs-Fixed: 2857810
Currently, WoW wakeup host event is handled in tasklet context and
it is taking more than 800ms to execute. This is due to excessive
logging to the console from the tasklet. As a result of this, IRQs
are getting blocked during this tasklet execution.
To avoid this, add a sysfs entry to enable/disable console logging
from host wakeup event based on requirement.
Change-Id: If91a8bd5f783f358dabf9dcf46bf4c50d05d7909
CRs-Fixed: 2881972