| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
For non-integrated solution, there is no nv.bin file. So remove
the unwanted nv.bin messages.
Change-Id: I545df2b42bda3698aa131a0833be275ba2cab4ae
CRs-Fixed: 626769
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tSirMsgQ is of size 12 bytes and vos_msg_t is of size 16 bytes.
The issue is in function limPostMsgApi the input parameter pMsg
of type tSirMsgQ is type-casted to vos_msg_t and later
message is being copied to type-casted 12 bytes of pointer with
16 bytes of data. This can lead to memory corruption.
Fix this by making sure both of these structures are of same size
Change-Id: I2d7d90708710b0cdff958153ccaf7fbe10edd849
CRs-Fixed: 627518
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
When PN check is failed, the printing of log messages flood the
system and cause watchdog bite. Added printing rate control to
prevent excessive print.
Change-Id: I835257374fdbbff910dd858b719e4862833f488f
CRs-fixed: 626199
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
To support 11NGHT40 through the hostapd config flag "ht_capab=[HT40+/-]",
added IEEE80211_HT_CAP_SUP_WIDTH_20_40 in ht_cap for wlan_hdd_band_2_4_GHZ.
Change-Id: I12cc855d42227ec5809ed51b338205122a49ec2a
CRs-fixed: 593997
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Session id in pAdapter did not sync with SAP module and
should not be used as an index to vdev at this time.
If ACS kicks in, session id will get changed in SAP module.
We shall use SAP module's session id to get correct vdev.
Change-Id: Ia3ff9b22fa95b92d0cbc691b05f0c3359c7a3215
CRs-fixed: 627484
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
A kernel panic is caused by race condition between wma_delete_bss
from MC thread context and wma_stats_event_handler from kernel
worker thread. wma_delete_bss from MC thread context has freed
stats_rsp and whereas it is being accessed in wma_stats_event_handler
from kernel worker thread leading to panic. Fix that by serializing
wma_stats_event_handler to MC thread.
Change-Id: I1cd21c8b4034e29058fe1669f1cf25f6c7eed0c7
CRs-Fixed: 627008
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
With performance build, compile out packet trace feature.
Default config build will include feature.
Performance reason, packet trace feature should exclude.
Change-Id: I254d4b1709738a5c106f012aa971c7853690b598
CRs-fixed: 627149
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Feature WLAN auto shutdown is to disable wlan when no clients
connected to SoftAP or when station UT is not connected to
external AP. It sends nl event to userspace to indicate wlan
idle condition.
Change-Id: Id19848f852d6b9885278c775ff48dea76aa79c99
CRs-fixed: 624666
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
typecast to a more generic type like uintptr_t for pointer arithmetic
so that it works correctly on both 32 bit and 64 bit implementations
Change-Id: Ib2d187dd6b61a845a5b3ece5a7252ecde778d802
CRs-fixed: 626819
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
As a part of the 64-bit effort certain header files are being
relocated. Update the path for including subsystem_restart.h from
mach/subsystem_restart.h to soc/qcom/subsystem_restart.h
Change-Id: I1f1603abb9e500c26fcc4b45ab1533391acf6109
CRs-fixed: 627861
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add WCNSS_qcom_cfg.ini file parameters for tuning the
beacon miss detection logic in Rome firmware.
gRoamBmissFirstBcnt - First beacon miss count threshold. Firmware
will perform opportunistic scan. Default value 10.
gRoamBmissFinalBcnt - Final beacon miss count threshold. Firmware
will scan all channels. Default value 10 (after first bmiss).
gRoamBeaconRssiWeight - Weight given for rssi of current beacon
in computing the average. Maximum is 16. Default weight
is 14 (approx. 87%).
Use the above parameters in WMI commands sent for scan
and roam configuration.
Change-Id: I805e51c18d6a12772633185ad593bacce1c718e0
CRs-Fixed: 621893
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Various calibration times in Rome firmware have changed recently.
4 ms is a better estimate of channel switch time than 2 ms.
burst_duration value will have a better margin for not exceeding
home away time.
Change-Id: Ic441b9e91e493a2891e0c312daa8feebfa3f01e7
CRs-Fixed: 625874
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Enable roam offload to perform a scan after final beacon miss
- Set default values of first and final bmiss counts
- Added a handler for WMI_ROAM_REASON_SUITABLE_AP event
When final beacon miss event is received, roam firmware module
starts a scan and generates WMI_ROAM_REASON_SUITABLE_AP event
at the end if a candidate AP is found. Rssi is ignored during
this scan. No modifications are required in CSR.
Change-Id: Ifbe6473b8e30f0d507d169e28a49b06368ac71f1
CRs-Fixed: 621910
|
| | |\| | | | | |
|
| | | |\| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Release 1.0.0.55 QCACLD WLAN Driver
* origin/caf/caf-wlan/master: (24 commits)
Cafstaging Release 1.0.0.55
SAP: Send Deauth frame if auth received in connected state.
qcacld: Fill in vht_caps and ht_caps in ADD_BSS for roaming
wlan: fix format specifier in logs - WMA
wlan: fix format specifier in logs - DFS
wlan: fix format specifier in logs - SME and PE
wlan: fix format specifier in logs
qcacld: wma: Set max TX power properly
wlan: enable MCAST short GI configuration
qcacld: Use HTC Ctrl EP Tx credits for comparison
wlan: add correct compilation flag for ARM architecture
qcacld: Fix of memory leak for WDA_SEND_BEACON_REQ message
qcacld: Disable collecting target RAM dump after kernel panic
qcacld-new:rome_ibss:to support custom beacon interval values
wlan: wma_vdev_start - cmd pointer being typecasted as a 32bit value
qcacld: sap: Make overlap channel restriction optional
wlan: logic errors in TCLAS frame generation APIs
qcacld: CL 859127 - update fw common interface files
qcacld: replace adf mem API calls with with vos mem API
qcacld: Fix memory corruption in vos_nv_open
...
Change-Id: I3ce5948be8ac0a9e548d891cf6c5ef747352f1ba
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Cafstaging Release 1.0.0.55
Change-Id: Ic7bbc8440f706d0a71e262c8385ec61d0c3145fc
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
When DUT is operating in SAP mode and authentication frame
from STA is received in connected state then send deauthentication
frame to STA.
Change-Id: I26afcd3599e9ee5aaab53ce00e956e9b496faa2c
CRs-Fixed: 620403
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
WDA_ADD_BSS request is sent through a different path during roaming.
Need to fill in vht_caps and ht_caps data structures in that path
so that firmware will set correct rates and phy options after roaming.
Change-Id: I72d22ef1d908eb4e71bd720a4a765cb42c873406
CRs-Fixed: 620928
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is to remove the compiler warnings on a 64 bit machine. use a
generic specifier like %zu instead of %d to print size_t
Change-Id: I5793e56077bfa339dc11f2c2a9d674eec92eb8cc
CRs-fixed: 626825
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is to remove the compiler warnings on a 64 bit machine. use a
generic specifier like %zu instead of %d to print size_t
Change-Id: Ibdf4039b034ac8f1cb30929dba5eb6aa897fe09b
CRs-fixed: 626823
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is to remove the compiler warnings on a 64 bit machine. use a
generic specifier like %zu instead of %d to print size_t
Change-Id: Ife96d112d74cab0d20044a9b610fc242e615857a
CRs-fixed: 626812
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is to remove the compiler warnings on a 64 bit machine. use a
generic specifier like %zu instead of %d to print size_t
Change-Id: I9fceb32ea1a826063012d32213219776fffe1a62
CRs-fixed: 626809
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Firmware uses different bits in the channel info
for max TX power. Set appropriate bits in channel info
while sending channel list and VDEV start WMI commands.
Change-Id: I6f540831c886ec2d198ba464d5e5ba93e6c4d807
CRs-Fixed: 611307
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In soft_AP mode the enable_short_gi command is used to select
mcast short GI rate table. In station/IBSS mode, the shortgi
command is used to select mcast short GI rate table. Always use
short GI for 72.2 mbps MCAST.
Change-Id: I6e4602520b7b0f061d3bab1f7440718152b453ef
CRs-Fixed: 623555
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The current way of getting available HTC credits for WMI uses
the total credits for all the endpoints. We are checking the
number the credits available for WMI while sending the WOW
enable command to firmware. This is leading to abort of suspend
as sometimes the number of host credits available is lesser than
expected. To fix that, use the control endpoint Tx credits before
sending the WoW enable WMI command to firmware. Also, change the
function name accordingly to denote the operation performed on
control endpoint.
Change-Id: Icf00147f2224dfaeff5724dc439887901b1d1446
CRs-Fixed: 625530
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
dmac_inv_range is implemented only on ARM now and results in a
compiler error for x86.
Change-Id: I88ce6b39e9389c829b44389e21881f71112e2c72
CRs-fixed: 626237
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fix of memory leak in WMA for WDA_SEND_BEACON_REQ message
Change-Id: I646db7af61c5ac64885a63fc2fb96d83408e18fa
CRs-Fixed: 626471
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Currently host driver will also collect target RAM dump if kernel
panic happens. There are some cases that during that procedure a
second kernel panic may happen which will cause that it's unable to
identify the root cause for the first crash. Hence disable this
feature for now.
Change-Id: I534b84cf7efd3260795c2b8c8d67e99a6670f079
CRs-fixed: 625527
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add support of custom beacon interval for Rome IBSS. This allows
user space specified beacon interval values besides the default 100ms
to take effect.
Change-Id: I95380866ac81663406a1e993df344c360e0ab355
CRs-Fixed: 616006
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Typecast pointer as a uintptr_t, otherwise causes invalid memory
access on a 64 bit machine when only lower 32 bits are used.
Change-Id: If1fd9d8fff7ad4ce4be733a85dc02932e5c732c3
CRs-fixed: 626474
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
FR18644 ruested to lift restriction on overlap channel
optionally when ACS is used. Add a ini value to provide
this option.
Change-Id: I8be627d7726cba16eae1a0ce6e11ca20428c537b
CRs-fixed: 626272
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
When building the prima driver for 64-bit architecture, the compiler
generated a warning for code in PopulateDot11fTCLAS().
In the present code srcIpAddr and DestIpAddr are defined as a tANI_U32
variable so it is typecasted to tANI_U8 for hidding the compilation
errors in 32-bit.
Defined both srcIpAddr and destIpAddr as an array of tANI_U8.
Change-Id: I64e28af12e8bb537e4a521b570e0b494a6f840f7
CRs-Fixed: 625602
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add roaming fw offload related fields in wmi header file.
Change-Id: I2ced2c00036987f4cedef66845ab7d8beda23627
CRs-Fixed: 625862
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In TDLS and OEM data event handler functions, for a message
destined to PE, use vos mem API to allocate memory instead
of adf mem API.
Change-Id: I7e999c189cd8fd2f2745d9c7a84310cebd36379a
CRs-Fixed: 626845
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
There are couple of places in nv_open where the size of data to be
copied is grater than the allocated one that leads to memory
corruption. Fix that by reallocating with proper size.
Change-Id: Ic60284bd79e09ec0e94518ac667c1945540cc3ea
CRs-Fixed: 625791
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Refuse the connection request on BSSID for which there is already
an active session on different interface.
Change-Id: Idf2b7d465e7f2bb96ae2ee9ee21462d31727f822
CRs-Fixed: 623533
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The root cause of the problem is during the first roam FT session
creation htSupportedChannelWidthSet is set based on cb enabled
mode and AP's HT capability for supported channel width. The AP
shall advertize it's capability for supported channel width set but at
that instance it may not be supported.
This causes the driver to think that HT capabilities have changed
after roaming to new AP and triggers a channel switch.
Fix is to set the htSupportedChannelWidthSet based on the cb enabled
mode and new AP's recommended Tx Width set from the HT Info IE
Change-Id: I4f7a7d22e7df30108031209554e5c3ba8367e593
CRs-Fixed: 625397
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Currently we update variable nss based on variable myRate when
myRate is non-zero. Variable myRate is observed zero which
depends on tx rate received from firmware. This fix updates
variable nss independent of variable myRate.
Change-Id: I6898acc9a430c81fdf7eb2332fbc4d47924ac82d
CRs-Fixed: 623832
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Update batch scan FW feature capability in host and add
BUG fix in wma_getFwWlanFeatCaps to return TRUE or FALSE
as return type of this API is uint8 which oveflows with
bit-wise OR operation is feature enum value is > 7
Change-Id: I14ed363d6d5f0e041683e258975534e3dad39b01
CRs-Fixed: 626382
|
| | |\| | | | | |
|
| | | |\| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Release 1.0.0.54 QCACLD WLAN Driver
* origin/caf/caf-wlan/master:
Cafstaging Release version 1.0.0.54
qcacld: Fix of memory leak in schSendBeaconReq
qcacld: Fix for memory leak in HDD and VOSS
Change-Id: I52f84bccdcebb91cf6cdf9b62bf8a53186bf916b
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Cafstaging Release version 1.0.0.54
Change-Id: I14fe260d08ab61bdcea2dd32c28a41ef6aa87ef1
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
schSendBeaconReq is not freeing beacon param if p2pIeOffset
is less than timIeOffset
Change-Id: Ica98faac6cac60275993386394f3a5599609de03
CRs-fixed: 625769
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Memory leak is identified in hdd_wlan_startup for the
global variables allocated in vos_nv_open.
Fix this by invoking vos_nv_close to free the memory
from hdd_wlan_exit.
Change-Id: I48eda97c87287dc2ec78b4e8c4947e76fbec63f3
CRs-Fixed: 625513
|
| | |\| | | | | |
|
| | |/| | | | |
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Release 1.0.0.53 QCACLD WLAN Driver
* origin/caf/caf-wlan/master:
Cafstaging Release version 1.0.0.53
qcacld: Update FW debug log file
Support to select a channel in the entire 5Ghz band
qcacld: Fix HDD issues found by static code analysis
qcacld: Abort data transmission immediately upon deauthentication
Change-Id: Icdecd03da7ff69e2b89fa93b8c19777293500513
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Cafstaging Release version 1.0.0.53
Change-Id: Iac46d7227256c7ab73d4d25d209990b8039f5dc7
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Update FW debug log file regarding CL 851967/853650/859127.
Change-Id: Idf4cb62a2b95cad059ffe8ed666a16a4c87f13e8
CRs-Fixed: 625383
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In the current ACS algorithm to select channel for SAP operation
there is no support to select any channel in the entire 5Ghz band
this commit adds support for that.
Change-Id: Iacb82800d3de5a041d12afa29947169e0f600eb3
CRs-fixed: 616591
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Static source code analysis identified one issue in
wlan_hdd_main.c where pointer was explicitely dereferenced
without a NULL check. Fix this by adding a NULL check
and make sure pointer is deferenced only if it non NULL.
Change-Id: Id86e66c8df3c611c6a70e7535943a4b764f1bbe7
CRs-Fixed: 625032
|