Current structure is expected to be 4 bytes align which needs to be
fixed by moving chan_switch_hostapd_rate_enabled field up in the
structure.
Change-Id: I234142a135fdeac69601d352beed7eda8ec16b99
CRs-fixed: 2118364
qcacld-2.0 to qcacld-3.0 propagation
The board data file is selected based on the board id returned
by executing otp binary.
Based on the chip id and the board id, select the appropriate
board data file and download.
The board data file selection is as follows:
Mission mode: bdwlan<chip_id>.b<board_id>
Factory mode: utfbd<chip_id>.b<board_id>
If the auto board data files are not present in the filesystem,
then download the default board data file i.e bdwlan<chip_id>.bin
Change-Id: I26c3eb377513d2c4439eddc4e5dc75eba66c78f4
CRs-Fixed: 805800
STA_ENTRY_TDLS_PEER is used out of FEATURE_WLAN_TDLS, compilation will
fail when disable FEATURE_WLAN_TDLS. Add fix to resolve this issue.
Change-Id: I2e4766ba3f7810038304d22c4dee1035284b3e05
CRs-Fixed: 2023187
In hdd_print_acl() the calls to SAP APIs are using a poorly named,
poorly typed variable. Recently all of the SAP APIs were reworked to
expose a clean interface, so update hdd_print_acl() to align with that
interface.
Change-Id: Ib10f5fc017589d13fe1ccfb758d9333daa0e3ac7
CRs-Fixed: 2118653
__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
Info level logs are logged on console, hence change PMO logs in
wlan_pmo_gtk.c to debug log level to avoid excessive console
logging.
Change-Id: I3aa1eef2476827157adfa51e37b0054b10ba58c1
CRs-Fixed: 2118712
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
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pSapCtx to sap_ctx to align with the
Coding Style.
Change-Id: I9402132fc20cbb7e9041ec9f112eaa2af258a0d4
CRs-Fixed: 2118452
Before performing wow handshake, block unwanted traffic between the host
and firmware.
Change-Id: I977603b06639fe30816179defec337a2067fc210
CRs-Fixed: 2004308
qcacld-2.0 to qcacld-3.0 propagation
iw_setint_getnone can cause crash in monitor mode as hal
context is not initialized.
Modify the code to handle dereferencing hHal in Driver Monitor
mode.
CRs-Fixed: 1040579
Change-Id: If26cfab5374ac34c55e03b887c320c0736a9df23
In case of SSR and SAP is active, if hdd_init_ap_mode is not clean
SAP profile will leak memory. Fix memory leak in this case.
Change-Id: I7655d8f1d5654e583cbf4812c7f5e2a3a20ff54a
CRs-Fixed: 2112581
For the hdd receive datapath reduce the log level
from INFO to DEBUG to avoid excessive logging.
Change-Id: I5d5881aeadcb5129e3c67c34402e29e732bae1a4
CRs-Fixed: 2105286
NDI does not need scan from userspace to establish connection
and it does not support scan request either. Hence reject scan
request on NDI vdev.
Change-Id: I58b0c899b6f1196f32a70e3f2c95d6ff839d4555
CRs-Fixed: 2115215
Correct the data type of argument used in lim_get_rx_ldpc API.
At present absolute channel number is passed to lim_get_rx_ldpc API and
this API internally try to treat it as channel enum type which creates
stability issue.
CRs-Fixed: 2069959
Change-Id: Iebb6b5b5164e1aa6e6a7c48a5942cd30062aebad
As per current implementation, if one SAP is on DFS channel & another
SAP is non-DFS and if RADAR is detected on DFS channel then both SAPs
are changing channels which is incorrect behavior for new platforms.
Above limitation was added for old platform where SAP+SAP concurrency
was allowed only for DFS SCC feature.
Allow both SAPs to change the channel back to back when they are on
same SCC DFS channel. This change will allow to maintain backward
compatiblity with old platform.
CRs-Fixed: 2114154
Change-Id: I9c426f9a148d0feac552c34929daad1e802edd2f
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
Currently, Host is operating into STA (mission mode) and scan
is pending into the pending queue. As a part of the mission
mode to ftm transition scan pending queue is not flushed. Hence
later during driver unload, host try to flush this pending
request but sta adpater is already freed during con mode
transition which lead to kernel panic.
As a part of this fix, Host ensures to flush pending scan
queue during con mode handling.
Change-Id: I13da323217a36777b9307c1bc76febc1a1b9b591
CRs-Fixed: 2082105
Vendor VHT IE carries different sub type values from different
devices hence vendor VHT IE parsing fails if sub type value is
considered to check IE presence. Do not check for sub type value
in vendor VHT IE parsing
Change-Id: I50a8916214c17c1873fd90b65d29e48f1fa13994
CRs-Fixed: 2115113
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
HTT_RX_HOST_LATENCY_WORST_LIKELY_MS is changed from 10 to 20
for Helium support. But 20 is aggressive for Rome and traffic
hang is seen.
Fix is to define HTT_RX_HOST_LATENCY_WORST_LIKELY_MS as 10
for Rome support.
Change-Id: Iaaa86ed70d145ac9898300e9b678008781215617
CRs-Fixed: 2050912
wma_get_caps_for_phyidx_hwmode() does not check legacy chips like Rome,
which leads to wrong HT/VHT caps being populated.
Fix is to check legacy chips in wma_get_caps_for_phyidx_hwmode() and
populate HT/VHT caps accordingly including RX LDPC capability.
Change-Id: I496191636f0f21ef3399c24fbfb43a562ca2debc
CRs-Fixed: 2061889
Currently HDD sends a FW memory dump request to firmware without
checking support for this feature. This can lead to a crash as firmware
doesn't send the command response if feature is not supported.
Add a check in HDD so that the request is only sent when FW memory dump
capability is advertised by the firmware.
Change-Id: I73b980f50910e13aa5f2d2434f07b6f985dd5010
CRs-fixed: 1090806
When AP is in 11b-only mode then for a TDLS peer, in the peer_assoc
command to FW, pass phymode as per capability of the TDLS peer.
Change-Id: If1a84b35c2e755aad8b6b67536cbbcc49d378fda
CRs-Fixed: 2093277
cds_get_global_context() is the only remaining API which uses
the v_CONTEXT_t typedef. It was always strange to have an
abstraction for (void *) since that is an integral part of C99
and hence does not require abstraction, so replace the return
type of cds_get_global_context() from v_CONTEXT_t to void *.
Change-Id: I836994bf7405db54eea333bbb29785e606fb0196
CRs-Fixed: 2117092
Currently in hdd_wlan_shutdown() and hdd_wlan_re_init() there are
calls to cds_get_global_context(), but the returned context isn't
actually used, so remove these calls.
Change-Id: I21b2a4955d926fe0694f4f8a3097d9a5d5bef02e
CRs-Fixed: 2117018
Currently cds_init() returns a pointer to the CDS Global Context. At
one time this was necessary since it was required to subsequently pass
this context pointer to other CDS APIs. But now CDS internally
maintains a pointer to its context, and no CDS APIs now require this
pointer, so no longer return the pointer. The ultimate goal is to keep
all references to the CDS context inside CDS.
Change-Id: Id068a2d351e492eca7b84ef23f277939104c8b46
CRs-Fixed: 2117004
The pcds_context field in struct hdd_context is no longer referenced,
so remove the field along with the code that currently initializes it.
Change-Id: Ibac0eedfa0c1e2bd170af9f91812fd25c0ab3ce7
CRs-Fixed: 2116985
In hdd_softap_sta_deauth() and hdd_softap_sta_disassoc() there
currently exist debug logs which are logging the CDS context
pointer. These logs serve no useful purpose, so remove them.
Change-Id: I3844cb1346dcc6050ad16f28caf7b07b1e79cfe4
CRs-Fixed: 2116979