| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Adding ifdef to make sure function is defined
to fix compile error
Change-Id: I7f4721f2d2c914a28c521f02ad5f9aaf898f04eb
CRs-fixed: 600237
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
A new compile time macro is added for the code
which does sanity check on the tx desc when it
is taken from the free list. Since the sanity
is done in hot path, this functionality is disabled
by default. To enable this, define
QCA_SUPPORT_TXDESC_SANITY_CHECKS in Kbuild/Makefile.
Also add some debug information on txrx/htt descriptor
during init time which is enabled by default.
Change-Id: Id7c4204ebf92aed8009df20b9b3736863097fe5d
CRs-Fixed: 600632
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In order to avoid a race condition between SSR and driver unloading,
we need set SSR flag immediately after target assert happens and check
it when driver unloads.
Change-Id: I3d9718e91f413fe0c822db8129f7fea410e63c6a
CRs-Fixed: 606725
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This patch adds fix for kernel panic and platform reboot observed in
below cases,
* HIF sleep timer is fired in below flow, but not freed in failure cases.
hif_pci_probe()-> hif_pci_configure() -> HIF_PCIDeviceProbed()
-> CE_Init() -> A_TARGET_ACCESS_BEGIN()
To fix this, HIF sleep timer is released in HIF_PCIDeviceProbed()
upon getting any init failures.
* Driver may fail to complete init sequence when firmware files are
not available. On such cases,release HIF resources to avoid kernel panic.
* WDA_open is changed to return correct failure code in some of failure
cases. It was returning success in failure case too.
* Wake lock used for WOW and PNO are rearranged to make sure init and
destroy happens properly in both success and failure cases.
Change-Id: Ia4badc4fef62651cbfc8cb8be55856dc395e6687
CRs-Fixed: 607718
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Source code analysis uncovered mismatches between format and argument
in invocations of logging APIs in the lim code, so fix them.
Change-Id: I2ff5f297907b8b4ea9710e6390158259109fa238
CRs-fixed: 570511
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add debug log to print the reason in the WMA scan event
callback to see the status of scan response.
Change-Id: I2779c22317ebfe11582cd287f420ecb969bcdf36
CRs-Fixed: 604661
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Disassociating wrong station on receiving auth frame from
station for which we already have entry in DPH table and
assocId equal to DPH hash table size.
Change-Id: I87b448e99fdfec6330c45b32eb04575380737041
CRs-Fixed: 608353
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If tlshim_mgmt_rx_process() is being called with saved beacon
during processing of better AP event, skip the operation of
free/reallocate/copy beacon buffer.
Change-Id: Ic01cff1979098ac0104af75142f619bdd3b68796
CRs-Fixed: 607606
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
During vdev_attach, ensure that subtype is base STA device
during roaming scan configuration. It should not be enabled
on P2P subtypes.
Change-Id: I785a7f12bf66b7b6b0fa62236c0afffca41854f2
CRs-Fixed: 607508
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Unregister CLD driver When Driver initialization fails
Change-Id: If7d5e82cdc7149a4f36a3ac07e0d47131ae02479
CRs-fixed: 605797
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Many of the APIs supported by HDD require a call to SME to perform an
action or to retrieve some data. In most cases SME performs the
operation asynchronously, and will execute a provided callback
function when the request has completed. In order to synchronize this
the HDD API allocates a context which is then passed to SME, and which
is then, in turn, passed back to the callback function when the
operation completes. The callback function then sets a completion
variable inside the context which the HDD API is waiting on. In an
ideal world the HDD API would wait forever (or at least for a long
time) for the response to be received and for the completion variable
to be set. However in most cases these HDD APIs are being invoked in
the context of a userspace thread which has invoked either a cfg80211
API or a wireless extensions ioctl and which has taken the kernel
rtnl_lock. Since this lock is used to synchronize many of the kernel
tasks, we do not want to hold it for a long time. In addition we do
not want to block userspace threads (such as the wpa supplicant's main
thread) for an extended time. Therefore we only block for a short
time waiting for the response before we timeout. This means that it
is possible for the HDD API to timeout, and for the callback to be
invoked afterwards. In order for the callback function to determine
if the HDD API is still waiting, a magic value is also stored in the
shared context. Only if the context has a valid magic will the
callback routine do any work.
The original implementation of this logic included a well-documented
race condition where the HDD API timeout could coincide with the
callback being invoked. In such a scenario the HDD API could be
invalidating the context immediately after the callback function had
validated it and was dereferencing it. In order to mitigate the
effects of such a race condition, the HDD API would always msleep()
for a short amount of time when a timeout occurred so that if the
callback was executing concurrently, the callback could (hopefully)
complete its work before the HDD API exited.
Due to an customer-observed issue this logic was further scrutinized
and it was suggested that a spinlock could be used to properly
serialize the activities of the HDD API and the callback function when
they are running in parallel. So introduce a spinlock that is used so
that if any HDD API timeout coincides with its callback, the
operations of the two threads will be serialized.
Change-Id: I5342511d0cc52d45a7d32dbdc9fafd75f75598f7
CRs-fixed: 592261
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Printing the packet information for tx/rx mgmt, action, EAPOL
and DHCP for debugging the connection issues.
A new ini variable is "gEnableDebugLog" added to
enable/disable these logs. By default this flag is disabled.
Also added an iwpriv command "setDbgLvl" to achieve the same.
Change-Id: If62566ddb33d145da06e0446fd2feb4285d1f479
CRs-Fixed: 600142
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Printing the packet information for tx/rx mgmt, action, EAPOL
and DHCP for debugging the connection issues.
A new ini variable is "gEnableDebugLog" added to
enable/disable these logs. By default this flag is disabled.
Also added an iwpriv command "setDbgLvl" to achieve the same.
Change-Id: Ia2e0fe372d267b83596be007ffd9c7b8407dbe56
CRs-Fixed: 600142
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
short_gi config is required in some rate sanity check.
When short gi is not specified, firmware will turn it
off by default when we set fixed rate. This command is
only needed when fixed rate is used.
Change-Id: If921e8265fd58e7ec736c94775b74e85fdc32160
CRs-fixed: 599872
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
unsigned interger is assigned -1 value which is causing problem to
calculate the available free filters. Changing the pattern size
as per firmware max size. There is no need to check the number of
allocated patterns in UMAC as this is a redundant, and being taken
care in HDD.Also added one debug print.
Change-Id: Idafbb7e413ddcd1e7dda48c8e298e646757a6792
CRs-fixed: 601456
|
| | |\ \ \ \ \ |
|
| | |/| | | | |
| | |/ / / /
| | | | | |
| | | | | | |
Release 1.0.0.24 QCA CLD WLAN Host Driver
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Ie0cf022ade2951d270b8229cfb18905d23c86b8b
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change made to ensure that access to the vdev tx queues are protected
Change-Id: I874d22c602603a447475dadf268879f33d7170e2
CRs-fixed: 605991
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
There is a race where both ol_tx_vdev_ll_pause_queue_send_base()
and ol_tx_vdev_pause_queue_append() is accessing the ll pause
timer without any protection which results in crash in multi
threaded scenario.
So concurrency acccess is protected through spin lock.
Change-Id: I01592633391f29bede4e85588cd6f24f8b7f5fd6
CRs-Fixed: 607979
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
During arp/ns offload command the host driver needs to ensure that
vdev is already up before sending the command.whenever vdev up or
down command is sent, the state is saved and used later while sending
the arp/ns offload command.
Change-Id: Ie96fe270043c2b9d4884f1bfd519dc109958c9dc
CRs-fixed: 596247
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
During P2P Search the device can receive the beacons and probe
response frames from the non P2P devices. These beacon and probe
response frames are not going to have P2P Ie in it.
Drop beacon and probe response frames which are not having the
P2P IE. This avoids adding the BSS entries of non P2P devices
to the scan cache.
Change-Id: Ie04673b913a89ce9a018afecb6d1f2b372366887
CRs-Fixed: 598798
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
extra parameter is null,
trying to access causes kernel panic.
Change-Id: Icf873b7bc4a4344743110b7950fc1eda71098d31
CRs-Fixed: 605932
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Following parameters were fixed
1) Burst duration
2) Dwell time active
3) Dwell time passive
burst duration = N * active dwell time
active dwell time = depending on home away time will be equal to
channel scan time or
home away time - 2*channel_swith_time)
passive dwell time = active dwell time
Change-Id: I4ea24d4b3b23674831955d159ae4a9f6654c5d8a
CRs-Fixed: 605835
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When SAP is configured in WEP security, total num of keys in FW
are exhausted when 9 STA's are connected.So 10th STA is not able to
get the DHCP address.To resolve this issue, num of keys per peer
is set to 3 and 4 for Rome 1.1 and Rome >=1.3 respectively.
Change-Id: I20a4cb337a7c5fcee0a2baede902cb1442851aba
CRs-Fixed: 605144
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
1) Opportunistic Scan threshold diff
Used for changing the level at which opportunistic
scan will run.
2) RoamRssiDiff
Used for changing the drop in RSSI that will trigger a
precautionary scan.
Change-Id: Ib60c2d6a4de438982b2fa65bf6da472d069da0e5
CRs-Fixed: 602311
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
HDD also need to return 0 in batch scan response count
whenever FW returns 0 in scan count.
Change-Id: I22450b502ea3162c29940a8eada29704bd2512a6
CRs-Fixed: 604756
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fill ht/vht capability info in sta param in change sta operation
so that capability info can be correctly passed down to target in
peer assoc for a TDLS peer sta.
Change-Id: I5e2b24aa39c9d42c7f83b1d9a1a228d12463b94f
CRs-Fixed: 605219
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Added mcs support for data transfer between 2x2 devices and 1x1
devices.
Proper MCS Set negotiation was added to support up to 2x2
wlan devices. Also added code such that 2x2 enable parameter
from WCNSS_qcom_cfg.ini was properly passed to PE in IBSS mode.
Change-Id: Id9494dbbeab4de635fee43751fa1f0064852ba14
CRs-Fixed: 597004
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
FW is adding probe request to prevent fault rome ibss peer departure
alert. With this change the the timeout for the peer departure needs
to be changed to 4 seconds, no matter how many peers are connected,
for speedy peer departure detection
Change-Id: I13eba16cc792a49c78c750eb1ae7d87996279736
CRs-Fixed: 600925
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Recently the CCX UPLOAD feature was enabled which exposed a mismatch
between format and argument in the invocation of a logging API, so
update the format to add a specifier for the extra argument.
Change-Id: I9f90aec656b05c1027303adb8fb3f985e521aefe
CRs-fixed: 601443
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
11ac-only-client support was not configured correctly and will be
overwritten into 11ac mode. Fix the logic and reject assocation
request from non-ac clients when this mode is set in SAP.
Change-Id: I5d59d6903d51c5d2ae96af0aa66ca9adbc7032bb
CRs-fixed: 605305
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When p2p peer connects/disconnects, send peer status indication to
OEM application. Also at HDD and OEM interface, use separate channel
info struct which is aligned to 64-bit.
Change-Id: Ic57a5697f72f1270bdb3d3118a92857c23e6b1e8
CRs-Fixed: 595690
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixed issue in oem capability ioctl. Moved this ioctl as a sub-ioctl
under id 5. Fixed issue in oem data request and response such that
in case when there is no response from target then pending command
gets cleared from SME and PE.
CRs-Fixed: 599897
Change-Id: I105ae81232d7f04761fb9148fa3aac65cd9c636e
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If admission to particular AC is rejected for ACM disabled AP, dont
downgrade AC. But STA downgrades AC if it does not check ACM bit.
This fix checks for ACM disable for admission rejected AC and decides
access to AC accordingly.
Change-Id: If276a88175b4f237ca8c1a7ac9f09e679398e9a9
CRs-Fixed: 602209
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Driver is dropping batch scan results of ssid length 32.
Adding changes in WMA and HDD to handle ssid length 32
properly.
Change-Id: I9586637237e43352727c10cd4a40160809e198cf
CRs-fixed: 606062
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently wma log is commented while issuing start scan
command. This patche enables the print on wma_start_scan.
Change-Id: Ie6e0bc69f4f3366f68009ccc0a4abf08a0c34b85
CRs-Fixed: 600970
|
| | |\ \ \ \ \ |
|
| | |/| | | | |
| | |/ / / /
| | | | | |
| | | | | | |
Release 1.0.0.23 Caf Staging QCA WLAN Host Driver
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I6f52118343435b591d10c7bd53c6803ffed48de2
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The commit "wlan: Fix for Statis analysis errors in SME module" added
NULL check for pRoamInfo in csrRoamCallCallback() along with assert
to fix Klockwork defect. There are quite few places in CSR module
explicitly passes NULL for pRoamInfo (eCsrForcedDisassoc, etc) and
expects csrRoamCallCallback() to handle it gracefully.
Change-Id: I15b92930590276d8409a830fe9e0e9f56486c4dc
CRs-Fixed: 607486
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In batch scan response AP name should not start with ####
marker. Marker #### is only needed for marking end of a batch
scan list so removing #### marker from begining of scan list
Change-Id: Idf07c4165df359344cf40a4fc50e79950993509e
CRs-fixed: 601503
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Changing the 32bit pointer to a more generic - void *.
This will help compile without warnings for both 64bit and
32 bit architectures. Also, modifying vos message to use
the new callback field.
Change-Id: Iae5155dc2ccb558c4713149581b7d7d23dbaea03
CRs-fixed: 582166
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix issue caused by CL 825087 for the enum WMI_MAX_SERVICE.
Change-Id: I2f3045537af7531475b889e2d01dea97f00823f7
CRs-Fixed: 607144
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add SAR power back off definition in pdev tx power param in wmi
header files.
Change-Id: I451bc79ad6c440de05bb57ed25c0233ecc8d04a3
CRs-Fixed: 606879
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add enum PAUSE_TYPE_AP_PS in wmi header file.
Change-Id: I3be766179e1414e22c68abe9ab34950d6c548665
CRs-Fixed: 606802
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add early-rx related enum WMI_VDEV_PARAM_EARLY_RX_DRIFT_SAMPLE for
vdev param in wmi header file. Add early-ex related defines in
debuglog header file.
Change-Id: I984d6dae7c1832fbf6b7f4acbe0ed4b9e183246d
CRs-Fixed: 606218
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixing some potential pending command counter leaks in
WMI which in long run can lead to too many pending commands
in WMI and can fail subsequent WMI comamnd and in addition
to it fixing PMC exit BMPS rety logic to avoid infinite
try/retry and WD bark because of excessive logs.
Change-Id: I8bbf0c5abaf28e1cb21a1f757510b6aa06963e83
CRs-Fixed: 605869
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This log displays all WMI commands sent to firmware.
CRs-Fixed: 581476
Change-Id: I66b004aa066009e56d4e3781cc70f882e11e04f2
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Host driver unload should happen after SSR reinitialization completes,
otherwise it may crash. Also prevent a SoftAP function to be called
during SSR.
NV data doesn't need be reloaded again during SSR, so disable it also.
Change-Id: Ibb9822acaa7e0cf5aec35b651f86caae5c78db23
CRs-Fixed: 592262
|