Modify hif_update_napi_max_poll_time API to take ce_id instead of
pointer that is defined under feature flag to avoid compilation error.
Change-Id: Iec4a06e816ed1714ec5c00ecdc5a7c6d6eb217e3
CRs-Fixed: 2249802
In Repeater AP scenario, when STA vap starts scan, it calls the
registered DFS callback function to get the AP CAC status. For a
2 GHz pdev, dfs object is NULL and hence 'dfs is NULL' print is
always seen when user enables the dfs error logs.
Add non 5 GHz pdev check in dfs callback function before dfs NULL check.
Change-Id: Id087d0b126996406f2b6e1b5b34b90a12a18a890
CRs-Fixed: 2245034
In case PMO feature flag disable, add this change. Change
WLAN_PMO_ENABLE to WLAN_POWER_MANAGEMENT_OFFLOAD.
Change-Id: I875e568dcb239da1b86d1a76cb8cbc925bb13cde
CRs-Fixed: 2243948
As return of wlan_psoc_get_qdf_dev(), qdf_dev may be
NULL. Add null check in case referencing null.
Change-Id: I7e9bd54e5f4b5260f664bdd4ccee0e4267e2b81e
CRs-Fixed: 2247327
Add spectral scan feature flag which can be
used to control the feature through build options.
Change-Id: Ic56416fc99b521174cccb3af27cc841bfb2ad27d
CRs-Fixed: 2244334
The scan component is currently using an unrelated field to populate
the PNO channel prediction enabled field sent to firmware. Use
channel_prediction instead.
Change-Id: I88b066c1b61e7ce49fcee889dfed9b1208d2862f
CRs-Fixed: 2252153
Customer requests some CE logs to be rate limited as logs flood
the logs space.
Rate-limit the logs.
Change-Id: I922f5a737b967a62b557715c2d74f330fa47ca06
CRs-Fixed: 2179665
Peer's RX TID may already be added to defrag's waitlist when it is
removed. Then use-after-free occurs when waitlist be accessed later.
Remove current peer's entries from waitlist, before it is freed.
As waitlist may be accessed from two contexts, additional lock
introduced to protect waitlist.
CRs-Fixed: 2244566
Change-Id: I8f1935973372a81086e9dbd992ac771b6709a677
Different peer may use same TID to receive fragment msdu. To avoid
such mismatch, compare both peer and TID number when removing entry
from defrag's waitlist.
CRs-Fixed: 2246558
Change-Id: I80d81e4fa8bef3df429c2a28f2e50135e7fd225f
Current lithim_dp flow pool created in wma_vdev_start, wma_vdev_start
is called for same vdev multiple times for vdev. This leads to creation
of multiple flow pools for each vdev. Instead create from policy_manager
when session become active.
Register flow pool create/delete callbacks with policy manager.
So that lithium_dp vdev flow pools are created/deleted when vdev
become active/not-active.
Change-Id: Iaf6aaece47c79c7e6f7745feaee35a6bc5cd1297
CRs-Fixed: 2231601
To align with the Linux Kernel coding style typedef cds_context_type
is in the process of being removed, so replace the reference in epping
with a reference to the underlying struct.
Change-Id: Ifdc5bca8d7aa97bf7dc06238c4f9fddc304a0d05
CRs-Fixed: 2250663
Previously legacy definitions tQDF_GLOBAL_CON_MODE and
tQDF_ADAPTER_MODE were renamed to have converged semantics. However
since these were defined in a common project, and since not all
references could be simultaneously changed, legacy definitions were
left with the expectation that they would be removed when all
references to the legacy definitions had been updated.
All of the legacy references have now been updated, so remove the
legacy definitions.
Change-Id: I21775c1f5a8ab1868c1ce27edce90acf5a1aa962
CRs-Fixed: 2245250
Initialize local array reg_cap in init_deinit_populate_phy_reg_cap
to avoid accessing uninitialized fields in the array.
Change-Id: I9afb8d47cc12b3d1626aa64a52f9583d45df5f34
CRs-Fixed: 2232822
Do not take a common object ref count during common object create
notification because until common object destroy notification is
not received the ref count will not be released and in this case
ref count will never be released becasue object destory notification
will never come. takign ref coutn from object create notification
will always lead to object leak.
Change-Id: Iab7da602ef2d627866c3353b978eaa63749b62dd
CRs-Fixed: 2252274
Add numeric values to UMAC component id for better code
readability and easier offline debugging.
Change-Id: I10d438e68588a756eff05abc7933e78c3e7dd128
CRs-Fixed: 2252908
The avail_desc is not set to 0 when the tx desc pool is
freed, later if still try to allocate tx desc by judgement
of avail_desc, panic happens.
Change-Id: Ia4565da1caa6898c6d4293e2658cf4ccf89563fa
CRs-Fixed: 2246328
This reverts change-Id I38eb1d3be2840bfbb5fdc9c72606ce.
Zero_comp value can be 0 also; so revert the change.
Change-Id: I7ab10c20c74d005009f435d483d39e138687a547
CRs-Fixed: 2233854
Check capability of dbs, mcc and scc on single band when enable
AP+AP, then same driver code can support different chip and
firmware.
Add wmi_service_dual_beacon_on_single_mac_(mcc/scc)_support
Change-Id: I505747122504b2a89813e7bdfcd27dc07539f39e
CRs-Fixed: 2214237
qcacld-2.0 to qcacmn propagation
Currently there is no timeout for BMI message exchange.
If HW interface is stuck, kernel thread for driver loading
will be blocked.
Change-Id: Ia7039f2939cf39af605a8ebec3278c5e1685bfbe
CRs-Fixed: 2228298
Add APIs for ACS diag event:
- EVENT_WLAN_ACS_REQ
ACS request event indication
- EVENT_WLAN_ACS_SCAN_START
Indicates the diag event for ACS scan start request
- EVENT_WLAN_ACS_SCAN_DONE
Indicates the diag event for ACS scan done
- EVENT_WLAN_ACS_BEST_CHANNEL
Indicates the best channel has been selected after ACS
- EVENT_WLAN_ACS_CHANNEL_SPECTRAL_WEIGHTCHAN
Indicates a diag event for ACS channel weight evaluation result
Change-Id: I508449c597caddba14a49aa9cf5da671b80e5bc4
CRs-Fixed: 2238687
While calling sme_pdev_set_pcl() API, driver is passing the argument
by value. The size of the argument is 280 bytes which is not good
design.
Pass the argument by reference instead of passing it by value to make
design simple.
CRs-Fixed: 2238293
Change-Id: I92849fb125fe864c1c7c7977bce392a7bcfe4121
Object manager iterate APIs are provided with an option to decide
lock protection by the caller, as that is leading to race conditions
in SMP scenarios.
Locks are made default and handled possible deadlock scenarios,
handlers can take any object lock as required
Change-Id: I74b5d9d7440bc48b2ec2918c3b4ddd7057f3ac48
CRs-Fixed: 2238529
There are several indent errors for DP statistics counter prints.
Made adjustment to them to avoid confusion and misleading problem
for statistics readers.
CRs-Fixed: 2245604
Change-Id: Ia46ae8e803e41e5f379408156bfbe209a4ebbc79
In hdd_tx_timeout(), null nbuf is passed to qdf_dp_trace(). This
results a null pointer dereference when getting data buffer.
Since data buffer is not mandory for qdf_dp_add_record(), add null
nbuf check in qdf_dp_trace().
Change-Id: If5fb4753d382d8f29bdf4d934a7910a28a7c76aa
CRs-Fixed: 2244543
LTE coex works fine, then LTE signal disappear and no unsafe channel,
no channel avoid event indicate to up layer.
Change-Id: I3a3e65b849722408a3844437c75e73a7e62be83a
CRs-Fixed: 2240473
When the scan start message in scheduler message queue is
flushed in scm_scan_start_flush_callback, no scan complete
event will be sent. It will lead to vendor scan request is
not free and end up with memory leak eventually.
Change-Id: Iba748adddff6264b04a63fe82c4b0e2f0ffc2a4b
CRs-Fixed: 2243835
Previously change "qcacmn: Use enum QDF_OPMODE", Change-Id
Ic6f663dac11a100f168b2626c7c0fbcaccbfca4f, replaced all instances of
tQDF_ADAPTER_MODE to QDF_OPMODE in the qca-wifi-host-cmn
project. However since tQDF_ADAPTER_MODE was originally defined in a
common project, and not all references to it could be immediately
removed, a legacy definition was left with the expectation that it
would be removed when all references to it had been
updated. Unfortunately new instances of using tQDF_ADAPTER_MODE have
been subsequently added to the project, so replace them with
QDF_OPMODE.
Change-Id: I71cead84151cc0411f7cc5cc13a87a281e7502c0
CRs-Fixed: 2245249
qdf_defer contains backwards compatibility code for Linux kernel
versions <=2.6.19. At the time of writing, this version is 12 years
old. Remove backward compatibility for kernel versions <=2.6.19 from
qdf_defer.
Change-Id: I623aa5b1ed597c76997bf397d9f2114cdf8c5ece
CRs-Fixed: 2247714
Function qdf_trace_register() parameter module_iD has (probably
unintentional) mixed-case which violates the coding standard, so
change it to all lower case.
Change-Id: Ic2f5b76a8adb178411e3b3ac18ef4009d168a664
CRs-Fixed: 2245197
It may return NULL, which pass to another function and dereference it.
Check return value, don't pass to another function if return value is
NULL.
Change-Id: Ib2e87231bb724c5631c12e9bee98c22d4dcc9bf2
CRs-Fixed: 2233639
Convert pdev_id from target to host before passing
to ol layer to print correct noise floor value.
Change-Id: I2d138f19901ca5d654631bc2eca76a757dc46628
1. Fetch keyid from pkt during TKIP demic
2. Support to restore keys in h/w keycache, when h/w reset takes place
Change-Id: Icc4039a6cf6b89bd3ec3a874b698445382aff024
CRs-Fixed: 2233228
APIs to retrieve following based on cipher type -
1. Header length
2. Trailer length
3. Miclen
Change-Id: Ia9c3a8d6a1459e637af80fcf73077e2d6b5f310c
CRs-Fixed: 2233228
Some chipsets using Direct-attach architecture need the 802.11 header
padded to a 32-bit boundary for 4-address and QoS frames.
Change-Id: Id29c114b2246cbb1230c9b22f4d04c070069d569
CRs-Fixed: 2233228
Refactor crypto module's definition of frame header to allow byte access
to 16-bit fields like frame_ctrl, seq_ctrl, duration id. This saves us
from doing endianness specific conversions during encap/decap in
the datapath.
Change-Id: Ie21c47d7e5b159b4db7e7704f091fe107fb663d1
CRs-Fixed: 2233228
Fix tasklet workers leak, make sure to cancel the ce tasklet workqueues
during driver unload/deinit sequence.
Change-Id: I48e0c60f1a8bd9dc5e9cb151e197b3e843eaa0f3
CRs-Fixed: 2244061
Add support for ndp schedule update event and provide channel information
in ndp confirm event.
Change-Id: Ic2c073dd4f220627cc2bd1a2d52d858136b6b450
CRs-Fixed: 2180310
Add change to provide API to get DCS chan stats
structure from within cp stats component
Change-Id: Ie67725931f8c9b4870c711e560b06b41854a1af0
CRs-Fixed: 2236328