Update ini param g_auto_detect_power_failure_mode to incorporate below
values,
0 - Don't register wow wakeup event and FW crashes on power failure
1 - Register wow wakeup event and FW sends failure event to host on
power failure
2 - Don't register wow wakeup event and FW silently rejuvenate on
power failure
3 - Don't register wow wakeup event and the auto power failure detect
feature is disabled in FW.
Change-Id: I8a704954ecbacadbc035c1523fa41a18b6300f66
CRs-Fixed: 2087144
Checkpatch has detected multiple instances of "line over 80
characters" so fix them.
Change-Id: I240fcea5af2cfb4f3c1b660784fc7d37bc948c3c
CRs-Fixed: 2120625
Checkpatch has detected multiple instances of "line over 80
characters" so fix them.
Change-Id: If7b0e259a4399cc829fa4d0186c4699ae7980706
CRs-Fixed: 2120617
Add data stall detection module in hdd which handles data
stall reported by host or fw and take necessary recovery
steps based on the data stall type.
Change-Id: Idf6c43f55d1bc115a0c06b4c6ef766ff3ed09bee
CRs-Fixed: 2090643
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: Id6ab1b413a3eec66c88dce52ce14dd3693d15a34
CRs-Fixed: 2119860
Currently, mem_dump feature support is advertized just based
on the compile macro, if the firmware does not support this
feature, still code ends up sending true to the user space.
Fix this by properly advertising the mem_dump feature support
based on the the FW support.
Change-Id: I4d601f764c6598c51c48d43e24e15fb6c35875bd
CRs-Fixed: 2077931
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: I262e70dfaf24e11c61c848b8d53e39f9be838baa
CRs-Fixed: 2119844
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: If28820c6caaf8e61d022ade48787baeed8413c8a
CRs-Fixed: 2119859
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: Id086072eff4d1a55e316a3d6b32b3127385eebd8
CRs-Fixed: 2119858
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: Ib4f4b0f6c726c1ed49d7a22bd9ead2ce3975e882
CRs-Fixed: 2119851
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: I845eae808defedc3895f98ee15554ffca591bf00
CRs-Fixed: 2119861
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: Ifdac5a6191cbbcde80395d26c5288964a7dda4d4
CRs-Fixed: 2119846
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: Ibe7b2055276d765af2dd72033bd04ddf43ae3494
CRs-Fixed: 2119845
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: Ia4b1ee1717f0d0bb44583e967e5dd8290f679b29
CRs-Fixed: 2119843
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename pAdapter to align
with the Coding Style.
Change-Id: I5d56195378cf9507d00b2affe1c8efc1793a9510
CRs-Fixed: 2119842
Add configuration option g_is_fils_enabled to enable/disable FILS.
Driver will update the capability to supplicant based on this
configuration.
Change-Id: I939d59981e1a847a7d113cd015135d76f7d9992e
CRs-Fixed: 2050366
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename struct hdd_roc_req pointer fields
pAdapter and pRemainChanCtx to align with the Coding Style.
Change-Id: I1fc92c4b8de1ce47d1484a88982acccca94a0732
CRs-Fixed: 2119758
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename hdd_adapter_list_node_t field pAdapter
to align with the Coding Style.
Change-Id: I809da2134368f6ef9fc245b54dc082dfb31e77f1
CRs-Fixed: 2119759
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename struct hdd_wmm_qos_context field
pAdapter to align with the Coding Style.
Change-Id: I375584d6cb58bd7fd51375ab769c3cc361ba28d4
CRs-Fixed: 2119757
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tdls_config_params_t typedef
does not meet any of those criteria, so replace references to it with
a reference to a properly named struct.
Change-Id: Iac14e2e25c7079773e89385fd87b632840ca6a53
CRs-Fixed: 2119582
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_wext_state_t typedef does
not meet any of those criteria, so replace references to it with a
reference to the underlying struct.
Change-Id: I30a735370fccf0e7bf068b1679cc01844c719a9f
CRs-Fixed: 2119532
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_hostapd_state_t typedef
does not meet any of those criteria, so replace references to it with
a reference to the underlying struct.
Change-Id: Ifba43e6a79aced01a73d345d2adcf8302698d9ee
CRs-Fixed: 2119528
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_cfg80211_state_t typedef
does not meet any of those criteria, so replace references to it with
a reference to the underlying struct.
Change-Id: Ica1783f34fb6fb3fe6a90ec9e165cea2a3b08c64
CRs-Fixed: 2119527
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_roc_req_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.
Change-Id: I0d59d9f18248c94b2a27f3de4bd5dd4c0c7c840b
CRs-Fixed: 2119534
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_remain_on_chan_ctx_t
typedef does not meet any of those criteria, so replace references to
it with a reference to the underlying struct.
Change-Id: I7bd20097cac20c7dbe9e3debb828638a3ad6bd8b
CRs-Fixed: 2119526
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The action_pkt_buffer_t typedef
does not meet any of those criteria, so replace references to it with
a reference to the underlying struct.
Change-Id: Icdcc07459223aa1b9c91601aa25ac9c314608da8
CRs-Fixed: 2119303
Many of the HDD WAPI definitions are obsolete, so remove the ones that
are no longer being used.
Change-Id: I342a8f590c835ddec03b2a20d16ad8f0014ca6af
CRs-Fixed: 2119533
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_station_info_t typedef does
not meet any of those criteria, so replace references to it with a
reference to the underlying struct.
Change-Id: I2ad73b4ac543b56d0883e20c0d20d4ddd473c35a
CRs-Fixed: 2119525
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The t_multicast_add_list typedef
does not meet any of those criteria, so replace references to it with
a reference to the underlying struct.
Change-Id: Ic70b2e2c716963b0f267bae86961cbf973246b24
CRs-Fixed: 2119523
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The beacon_data_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.
Change-Id: I2202f452549da705a315e89993f100617eb7e0e1
CRs-Fixed: 2119522
Presently SSR is not supported in the monitor mode, in the debug
builds the device enters bad state when the SSR is triggered
in the monitor mode.
Make changes to support SSR in monitor mode.
Change-Id: Iee88a0c1aca1b093607cea20ee1957be55a33598
CRs-Fixed: 2034240
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_tx_rx_stats_t typedef does
not meet any of those criteria, so replace references to it with a
reference to the underlying struct.
Change-Id: Ic3ff995d10e65f949ee069b134d9826583461b1e
CRs-Fixed: 2119524
Add support to log ICMPv6 packets such as NS/NA, RS/RA and
ICMPv6 Req/Res in dp trace.
Change-Id: I20ba677db59044569516348cd11427fb820175a8
CRs-Fixed: 2075962
Presently, host driver is sending the exit power save
configuration request to firmware when an interface up comes
before iface_change_timer which is not required because firmware
is the master and decides to enter/exit imps.
To mitigate the issue, don't send the exit IMPS request to firmware
before interface change timer expires and re-configure the same
incase of loadonce-unload never in case of firmware is de-initialzied.
Change-Id: Ia47687cdcfc5a5fb7be1a8066e163c3248305bba
CRs-Fixed: 2002110
Shutdown the IPA WDI pipes on PDR event from ICNSS driver to
prevent the possibility of IPA diver invalid access of CE ring
registers.
Change-Id: I19da0c015ba229512f71d7016236b106d9d8ee43
CRs-Fixed: 2072920
Best candidate at first connection is a mechanism
to select best possible candidate for making Wi-Fi
connection based on the scan results provided.
Driver use Scan results to calculate score for each
BSS and select the best candidate to connect.
This enhances the user experience by connection
to better AP, based on certain parameters.
Change-Id: I3f88fa8c67f4cf830f05faf2c1d3f3491eee9a72
CRs-Fixed: 2018585
Change the max value of gEnableRTSProfiles from 34 to 66 as firmware has
support for 66. Update the template describing the different values that
can be used for the profile.
Change-Id: I5a6a398c74804022075a06ca0e17858335064c5b
CRs-Fixed: 2116704
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The fw_log_info typedef does not
meet any of those criteria, so replace it with a struct.
Change-Id: I4ec73e046f2439c094cb6d05a99d883241c7fe20
CRs-Fixed: 2119521
The limit off channel parameters were applied to all adapters
even though application sends this command on a particular
interface.
Maintain limit off channel parameters per interafce.
CRs-Fixed: 2103637
Change-Id: Ib768bfb61deac77ea2d67b7d6b6750a96bdc8902
A recent set of changes replaced all instances of pHddCtx in the
driver. But one subsequent change re-introduced the term (this was
subsequently fixed), and code under review is also attempting to
re-introduce the term. Put a mechanism in place to prevent this term
from being re-introduced.
Change-Id: I424045ec36678da3d3aa47029fbcdfd6140057a0
CRs-Fixed: 2118493
In order to support multiple nla_parse function signatures across
different kernel versions, a new hdd_nla_parse wrapper was introduced.
However, it is easy for propagations or new code to reintroduce
nla_parse. Redefine nla_parse to throw an error, to prevent the
function from being reintroduced into the code base.
Change-Id: I6e9b9cd60cee94dd9f94a067e7b9d964d60ae295
CRs-Fixed: 2116044
__con_mode_handler does not currently stop existing adapters before
stopping the driver module. In order to support runtime leak detection,
existing adapters should be stopped to avoid any false positives. Stop
any existing adapters before stopping the driver modules when changing
the connection mode.
Change-Id: I1ee369a75c74f889e06ee8a07a34f1b34120317e
CRs-Fixed: 2117892
There is a prototype for hdd_rx_mul_packet_cbk() but no
implementation, so remove this obviously obsolete prototype.
Change-Id: I9119bcb8baf9b9a04f5c99d39eb5a7abfa18607f
CRs-Fixed: 2118652
HDD defines a large set of WPS macros and enumerations which were
inherited from a prior version of the driver which implemented SAP WPS
in the driver itself. Now that SAP WPS is entirely handled by
userspace, these macros and enumerations are obsolete, so remove them.
Change-Id: Id8c9622c1e6429fcb64c3d292bc273bf49da79e4
CRs-Fixed: 2118451
Clear up tdls legacy init/deini, helper functions and structures.
Also remove legacy code in vendor nl80211 and iwpriv commands.
Change-Id: I983851d8cc0d3605c3d6bd0d8975c72844f71740
CRs-Fixed: 2105075
Clear up the tdls legacy functions which handle add/delete
tdls peer, tdls mgmt frame process and tdls_oper callback.
Change-Id: I8ba344ce5593df44bd15527e2ff68e872b6d23b8
CRs-Fixed: 2105075
Clear up the legacy tdls interfaces which handle
connect/disconnect notifications, scan and p2p
roc events.
Change-Id: Ia860904685fc4783453491effa4518777c7406d0
CRs-Fixed: 2105075
Compiler is throwing error - undefined variable 'bus_bw_work' after
MSM_PLATFORM disabled.
Wrap the related code within MSM_PLATFORM.
CRs-Fixed: 2113835
Change-Id: I628df9de911fb17670d63ce577a614408c545aec