| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
WMI: add WMI_PEER_PARAM_NEED_[PTK_4_WAY,GTK_2_WAY] flag defs
Change-Id: I47c5d2c5d598c84feda29b8d0aef4e0c4fa00c53
CRs-fixed: 2433619
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
WMI: add last_event flag to stats_event_fixed_param
Change-Id: I3ade23fc7fda757d30484747ba60314d41fc2245
CRs-fixed: 2433619
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
WMI: add more WMi_HECAP_xxx macros (D2, D3 versions)
Change-Id: Ia495cd5423f02539ab16af68f1e6573de33c2d63
CRs-Fixed: 2433619
|
| | | | |/ / / / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
WMI: change wmi_wlm_link_stats within WLM_STATS_EVENT to be opaque
Change-Id: I5b07137944d3b18c801cb308e3be6c68891fbe19
CRs-Fixed: 2433619
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Add WMI_PDEV_PARAM_NAV_OVERRIDE_CONFIG def.
Change-Id: Ic6b16406057b83bd27dba9288589ff3049cc95fc
CRs-fixed: 2433619
|
| | | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
WMI: add PEER_TID_CONFIG_RATE_CONTROL DEFAULT_LOWEST_RATE, UPPER_CAP defs
Change-Id: Id85ca62c2b129f2c509aebd9115f9bcd1d4e548d
CRs-fixed: 2433619
|
| | | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In the current implentmention, we can change the bandwidth and
channel in one CSA process. This change optimise the CSA process
for 5/10/20M bandwidth switch, so in one CSA can change both channel
and bandwidth.
Change-Id: I5f54d8a21ede9d45cfc79b28f5d8e8568221cfb0
|
| | | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
into wlan-cld2.driver.lnx.1.0
|
| | | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Propagation from qcacld-3.0 to qcacld-2.0
Currently in function wlan_hdd_cfg80211_start_bss(), copying
supported rates and extended rates from information element pointer
without checking for array bounds which may cause OOB access.
To address this issue, add length checks before copying supported
rates and extended rates.
Change-Id: Ic6363e97bb3498a5dd23bc5e5f9b9f3ce093509d
CRs-Fixed: 2427503
|
| | | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
While copy the challenge text, used length of a pointer, which is much
less than the actual buffer length SIR_MAC_SAP_AUTH_CHALLENGE_LENGTH.
Change-Id: I52606433a4693df432193e6d32c1d7c8e99c7353
CRs-Fixed: 2427689
|
| | | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In function __hdd_indicate_mgmt_frame, it doesn't check mgmt frame
length and access pointer to frame, which cause OOB read potentially.
So, check frame length before access pointer to frame.
Change-Id: Id2bd4276838f1eae49e8a24e8ab3361a69321a69
CRs-Fixed: 2429210
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The WDA_SET_AC_TXQ_OPTIMIZE msg buffer freed without alloc, this
will cause wild pointer. In this change, do not use pointer to pass
the AC tx queue optimization parameter, and remove the invalid buffer
free.
Change-Id: I232a854b24f21d7fd2fdebb9351f21f64d39bc8d
CRs-Fixed: 2425153
|
| | | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
convert the sleep_mode type from int in wlan driver to
enum cnss_sleep_power_mode in cnss.
Change-Id: Ie1b8aca355a4b0a8c128341789d134e295b3e7e0
CRs-fixed: 2373073
|
| | | |\ \ \ \ \ |
|
| | | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Currently, SA must be enabled before SAP is started. Otherwise,
no stats will be indicated. This change removes this limitation.
SA could be enabled before/after starting SAP.
CRs-Fixed: 2407824
Change-Id: Iab3338bef7e7fe3018c8cfe1c93fa3be0e3c8587
|
| | | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Propagate FW changes for smart antenna matrix.
1. CL 6707989 add rx antenna mask to htt_rx_ind_hl_rx_desc_t
2. CL 6795655 Add HTT_RX_IND_HL_SA_ANT_MATRIX_OFFSET macro def
Change-Id: I7a4dcdef668c09c2976d8dbab9bbb4e73d001f2c
CRs-Fixed: 2423985
|
| | | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Some platform may enable WLAN_FEATURE_TSF_PLUS even it does not need
TSF feature. If it doesn't configure valid tsf host gpio pin, it will
cause unforeseen mistake to register GPIO interrupt at this time.
Change-Id: Ia52546012bd0de03f3d634307afd56df5975a6a4
CRs-Fixed: 2421308
|
| | | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The neighbor report frames will not be processed properly
if the neighbor report number is larger than 1. Remove the
restriction of the neighbor report number.
Change-Id: Ic44db396d6fc0b8e3ee17c96bf6654e9f90e9337
CRs-Fixed: 2416001
|
| | | |\ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
<asm/uaccess.h> compiles error under kernel v4.14.
Use <linux/uaccess.h> instead of <asm/uaccess.h>.
Change-Id: I4eed98804a4eabc5ce3bb2ed370afc16c732f9a2
CRs-Fixed: 2421185
|
| | | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | | |/ / / /
| | | |/| | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Do unmap only for mapped and non ipa in ol_txrx_vdev_flush, otherwise
wlan driver may unmap non mapped buffer.
Change-Id: If3d6307068c63233aadbd05b6c3804d9e5401437
CRs-Fixed: 2418855
|
| | | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
sirConvertAddtsRsp2Struct" into wlan-cld2.driver.lnx.1.0
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
propagation from qcacld-3.0 to qcacld-2.0
In the function sirConvertAddtsRsp2Struct, iterator j is
assigned with the value pAddTs->numTclas + addts.num_WMMTCLAS.
The j value is used as the index to the array pAddTs->tclasInfo.
Maximum limit on pAddTs->tclasInfo entries is 2. So when the
value of j exceeds 2, then a possible buffer overflow could
occur.
Validate the value of j against SIR_MAC_TCLASIE_MAXNUM(2).
Change-Id: Icc723380ed4ccd51c729194d509e288be0e0712c
CRs-Fixed: 2419829
|
| | | |\ \ \ \ \ \ \
| | | |/ / / / / /
| | |/| | | | | |
| | | | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This issue is caused by the NULL pointer access when do wlan driver
shutdown and do the process of wlan connecting operation in driver
at the same time. In this case, the driver is processing connecting
and there is a timer started, and if it expired before this timer
destory when do PE stop, it will wakeup the MC thread and continue to
process it, but if some related resource freed during the shutdown
before the MC thread stop, this NULL pointer access will happen.
So skip to process messages in MC thread if doing shutdown and this
issue will not happen in this case.
Change-Id: Ifea29a43da8e7988a418b8d72ff44a39834d7522
CRs-fixed: 2418776
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Pointer 'pesession' returned from call to function 'peFindSessionByBssid'
at line 2315 may be NULL and will be dereferenced at line 2319.
Check pointer 'pesession' before reference.
Change-Id: Ie625b6d85587db17b7e2d4e1464f6197825dc68b
CRs-Fixed: 2417930
|
| | | |\ \ \ \ \ \ \
| | | |_|_|/ / / /
| | |/| | | | | |
| | | | | | | | | |
into wlan-cld2.driver.lnx.1.0
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Host is requested to tell target whether USB reset resume is enabled
when suspend, but it is not possible to tell it when suspend, so we
have to add a host interest flag to indicate it when loading fw by
static configure USB_RESET_RESUME_PERSISTENCE and HIF_USB.
Also fix a compile issue if enable USB_RESET_RESUME_PERSISTENCE.
Change-Id: I6cc0c9fc9c9d942a2030bfafa4bba4ffc30cab59
CRs-Fixed: 2396906
|
| | | |\ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | | |_|/ / / /
| | | |/| | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
If AP sends unsolicited neighbor reports to station proactively,
the cached neighbor report list will grow longer and longer.
Fix it by purging the cache on reception of unsolicited neighbor report.
Change-Id: I2458607041caeb84cb553aa1b9fc6f4029a5cf1c
CRs-Fixed: 2416146
|
| | | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Do sanity check about usb interface data in suspend in case
null pointer derefrence.
Change-Id: Ia3539baf0a6ade3454c3c8d4ca4618c40214ca91
CRs-Fixed: 2416669
|
| | | |\ \ \ \ \ \ |
|
| | | | | |/ / / /
| | | |/| | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
save_buffer is not freed if HIFDiagReadMem/HIFDiagReadAccess is failed.
Change-Id: Ieb6955c3783dfe508d0bfec1e00dcef21f1b5721
CRs-Fixed: 2409594
|
| | | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
1. Add one new solution to turn off/on wlan_vdd 3.3v power
while do suspend/resume. During suspend, it will stop all
active adapter and stop the wlanhost thread; During resume,
and power on wlan_vdd again while do resume, and then reinit
wlanhost driver to download firmware and start all adapter.
2. Export gChangeSleepPowerMode to INI file for user.
3. As gChangeSleepPowerMode=0 means do not change power mode
when do suspend/resume, if gChangeSleepPowerMode=1, the wifi
driver will notify cnss module to turn off/on WLAN_EN
if gChangeSleepPowerMode=2, the wifi driver will notify cnss
module to turn off/on both WLAN_VDD and WLAN_EN.
Change-Id: Iea4b284ca8c5ed1407ea4669c3c65fd7777ba09c
CRs-fixed: 2373073
|
| | | |\ \ \ \ \ \ |
|
| | | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Add smart antenna core module.
Change-Id: I323f6512ab6abdff9b0ab9f3d624efe2d1135870
CRs-Fixed: 2407824
|
| | | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
wlan-cld2.driver.lnx.1.0
|
| | | | |/ / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Propagation from qcacld-3.0 to qcacld-2.0
While handling ll stats information there is a possibility
of OOB read in hdd_populate_wifi_signal_info api as
FW is giving num_chan info as uint_32 and host has
saved into int_32 type variable which may lead to an
extremely large positive number which is getting used as
index of for loop to populate signal info in skp which may
lead to OOB read.
Change-Id: I032eb465db30ee9e3a7ba0c4f017ed781264c47d
CRs-Fixed: 2415004
|
| | | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Try to suspend during driver exit, it may hit null pointer
dereference once the pci driver data is freed in the
hif_pci_remove().
The fix is to do sanity check about pci driver data in the
__hif_pci_suspend().
Change-Id: I90d036e74797de3f58e0af46c707aa53ac507e8d
CRs-Fixed: 2412137
|
| | | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* changes:
qcacld-2.0: Add OWE IEs
qcacld-2.0: Remove the ssidlen check in get_sta_stats
qcacld-2.0: Enable SAE by default
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
propagation from qcacld-3.0 to qcacld-2.0
Add support for Opportunistic Wireless Encryption IEs
Change-Id: Ifb5b11c3f775654e31248ea5b91da0df6aebe6a9
CRs-Fixed: 2406190
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
propagation from qcacld-3.0 to qcacld-2.0
Per protocol definition, the ssid length in OWE bsss IE is zero
when in OWE transition mode. And the api wlan_hdd_get_sta_stats
thinks it is invalid ssidlen and returns directly. It causes the
uplayer can not get stats info.
Change-Id: I20eb7aa79ce25a4b66d9be093510eb414d4fca42
CRs-Fixed: 2406181
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
propagation from qcacld-3.0 to qcacld-2.0
Enable SAE by default.
Change-Id: I70a52030984f63b462cdf89c449a983f5229185b
CRs-Fixed: 2406176
|