| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
From kernel 3.14 onwards its mandatory that driver indicates
disconnect event to kernel during driver unload else kernel
will throw assert as part of interface unregister.
Change code to send disconnect event during driver unload.
Change-Id: I4a4e4f65ec31a1ee0a24290d22f901e313863fcf
CRs-Fixed: 863094
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix memory leak in WDA_SET_IE_INFO.
Change-Id: I9f8366bf4ae105522cae9ca647dc883afa2fcfa2
CRs-Fixed: 861008
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit Ib7dcf377b82ef89eab5aff261a5b76da11cfb2a3.
Change-Id: I192d3bc6db1cfbfa649a2dcfb647e6eb83f89eac
CRs-Fixed: 864298
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When transmitting a packet in OCB mode, the station does not need to
be associated to an access point.
CRs-Fixed: 863620
Change-Id: I71b7ad6afa10321a7c7cde597a727bed7454f644
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently in TDLSSCAN ioctl, return value of sscanf is not checked.
Update code to check the return value of sscanf
Change-Id: I94a62186f168d948d8e1cee0d018ca7fe7bbd48f
CRs-Fixed: 856380
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
As WAPI is not handled in AP security changed, upon connection,
when host receive a beacon the device will disconnect asuming that
the security changed. Added check to handle the WAPI security as
well in the check for security change.
Change-Id: I1a092a3010f4c27c4f3dc9f533ec9132886f3d74
CRs-fixed: 770318
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Cafstaging Release 4.0.10.128
Change-Id: I75efa06a2bb46c5a9d98ab3463a5a2c69c7e3999
CRs-Fixed: 688141
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There are some Access points that have not included the
capability field in the RSN ie's though the length for the
RSN ie's indicate for the presence of this field. This shall
result in the next byte after this RSN ie as the capability
field , thus resulting in the improper interpretation of this
field , the end result being a failure to connect to such AP's.
This commit introduces a work around to interop with such AP's
by appending the capability field with 0 value to the obtained ie.
It updates MPDU length of received RxPacket based on addition of
RSN Capability if it is missing in Probe response.
Change-Id: Ic599c8bdb19e368fefb13293499451e7ab38d517
CRs-Fixed: 667983
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In suspend/resume cases, switch to FW initiated recovery to avoid
crashes. Also delete the recovery work that no one uses.
Change-Id: I248ea7e593bc8ed994006b7623006aa6c66dc3df
CRs-fixed: 861920
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is prima to qcacld-2.0 propagation
Current implementation does not allow roam candidates
found with mixed WPA/RSN/FT modes if the current
connection is with WPA/WPA2 and the current connected AP
has mixed WPA/RSN/FT capability. Current logic checks
for MDID IE in the candidate AP if the connected AP has
MDID IE. This is fixed by modifying the code to check for
MDID only if the current connection is FT based.
Change-Id: Idb9c32e7ce71dbb27c82cdaee5e73976a2ec4650
CRs-Fixed: 830140
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In hdd_alloc_station_adapter, pWlanDev->hard_header_len is updated
based on conditional compilation. Instead use conditional macro
definition for HEADROOM_SIZE macro in main.h file.
Change-Id: I7a3ead434a910dd522f9a02a24cd6ad8669e3fc8
CRs-Fixed: 853305
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
Resolve excessive logging issues by moving the log levels from
ERROR to INFO in hdd_validate_context function and also don't
print the failure status of hdd_validate_context function in
__hdd_ioctl and __hdd_hostapd_ioctl functions.
Change-Id: Ieedccaa6c9724c336e68cc373e588990049fdeb0
CRs-Fixed: 802404
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
Currently when max number of sta has joined ibss,
error log is printed for all further coalescing.
Since the other device would keep beaconing this
error print would keep coming resulting in device
crash due to excessive logging. As a part of fix,
lower log level and also rate limit logs.
Change-Id: I4d7672ec9c57907dc06d7683b085700fadfc8b2c
CRs-Fixed: 806479
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
Driver populate all channels for Supported Channel IE.
Channels Supported channels IE is valid only 5GHz band as it is
present only if DFS is required.
As part of fix fill only 5Ghz channels in the channel list for the
IE.
CRs-Fixed: 855857
Change-Id: If83ef92b7e1466a3898fd9d053712e4bb71a97cd
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Do not copy FW dump after kernel panic while load/unload is also happening
since during load/unload some contexts needed by copying may not be ready
which will lead recursive crashes. Also delete logs in vos_ssr_protect()
and vos_ssr_unprotect() since they will be printed every time SSR protected
functions are invoked but they don't any useful information.
Change-Id: I77ac065084224c7f2f9ab3e65d534f01da6090b9
CRs-fixed: 859523
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
Even if FEATURE 11W is disabled in driver and supplicant set the
11w capability in RSN capability, 11w capability is set in assoc
req.
If FEATURE 11W is disabled, set 11w not supported in RSN IE.
CRs-Fixed: 856406
Change-Id: Ib785ba175783eaa473dc360d7b2a75401f62e851
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
Currently in pmcWowlAddBcastPattern, diag log buffer is allocated
before validating input parameters.
Update code to check input parameters before allocating diag buffer.
Change-Id: I46753938f8a7a1e919703c8fa894103c6a79a5ba
CRs-Fixed: 848511
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is prima to qcacld-2.0 propagation
Before accessing adapter context, validate adapter's magic number
along with NULL check to confirm that instance of adapter context
is valid.
Change-Id: If0365c765ad87be53b7e78d8744f0dcfe1a310ab
CRs-Fixed: 803527.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
Currently if STA is very near to connected AP, it sends the
positive value of RSSI to framework.Framework checks this RSSI
and if positive(greater than 0) then it consider RSSI as -127dbm
which may lead to disconnection.
So changes are done to avoid sending the positive RSSI value
greater than 0.
Change-Id: Ib417f48345e3f78dba54d68969fa15d294f313b9
CRs-Fixed: 842243
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
As a part of unload hdd is stopping the netdev queue.
But still N/W layer 3 is calling the select queue netdev
ops, where error print appears excessively.
As a part of this fix sta select queue netdev ops need
to validate Hdd context to take care of SSR and load
/ unload cases.
Change-Id: I087f50ac9e59c3e181bde54f2041f9dda3177266
CRs-Fixed: 857429
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
Resolve compilation errors because of using GPL license symbol
(__init_work) in proprietary source.
Change-Id: I886e67f30f2bd0b56175de68256ba34563a5d288
CRs-Fixed: 787222
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
As a part of unload hdd is stopping the netdev queue.
But still N/W layer 3 is calling the select queue netdev
ops, where error print for sap context is Null appears
excessively.
As a part of this fix hostap select queue need to validate
Hdd context to take care of SSR and load / unload cases.
Change-Id: Id6d93a3a83de7d95a283ff57b6fa2c44f08a9ee3
CRs-Fixed: 857220
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
if SSR trigger in middle of execution of linux_reg_notifier
/crda_reg_notifier, driver may access uninitialized data.
Hence Driver need to protect these function from SSR.
Change-Id: I9bdc6851a44fecc8353e94b38eb1dd4f63e58604
CRs-Fixed: 798672
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
Peer stats expect the peer type. So fill up the peer type.
Change-Id: I03cf5567c6211441be123b26c045b7716a5b7107
CRs-Fixed: 741748
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Fix VOS timer API to provide support for deferrable timers
- Modify ADF timer APIs provide deferrable and non deferrable
timer APIs
- Make HIF_sleep timer non-deferrable to avoid extra power
consumption by ROME when PCIe link is in L1SS state
Change-Id: I001940f279955892ac54ea78aa0cdb6812fac77e
CRs-Fixed: 843029
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It is a common solution for FR 26694 (Soft AP Buffer alloc)
The general idea is to find out the bad peer whose link
status is so bad, and apply the tx flow control to it.
After this commit, below changes are applied:
- PHY Mode IEEE11AC: Change tx limit threshold from 6Mbps to 15Mbps
- PHY Mode IEEE11N: Change tx limit threshold from 6Mbps to 15Mbps
- Tx limit threshold unit: Change the unit from bps to Mbps
see also: FR 26694
CRs-Fixed: 862177
Change-Id: Iba959e06e3eb208165ed9d8f0f053b70cad77dcb
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Uverse AP sending the probe response with space as SSID for
a broadcast SSID probe request when it is configured as hidden SSID.
This result in the scan result with actual SSID is overwritten with
the SSID as "space".As part of this change added the logic to consider
the SSID as NULL when SSID is recieved as space.
Change-Id: I2f252736116591934504f955cea3ea6f61ae28ab
CRs-Fixed: 639555
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If local transmit power recieved as 0dbm then host is sending
0dbm as max Tx power to firmware which causing Tx power
to stuck at 6dbm.
To avoid sending 0dbm to firmware added a additional check
to take care of local power constraint value recieved as 0dbm.
Change-Id: Ife83d9523ea766c459f4a454a06f75413892ca64
CRs-Fixed: 648752
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
The length parameter was being interpreted to be in the big endian
format, this is wrong since all the data exchanged between app space
and the driver will be host endian format.
Resolved issue by interpreting the length in the host format.
Change-Id: Ibf63d319ce9ba7cef059e7e17a61aa7d2e80b52d
CRs-Fixed: 810525
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In limProcessSmeGetAssocSTAsInfo() and limProcessSmeGetWPSPBCSessions()
the pointers pAssocStasTemp and pSapEventCallback respectively are
dereferenced without checking for NULL.
Added the NULL check in both place.
Change-Id: I02c49ff2d7430ed4ade8ca932c73a49802a5b4a4
CRs-Fixed: 815634
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The RX stats header will have the raw RSSI value returned by the
firmware and the user application can adjust for the noise floor
if desired.
CRs-Fixed: 861965
Change-Id: Iea0a662f1648f174e17eafe2ed100762aecbfdbb
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the an OCB function is called before the vdev is up (before
set_config has been called), the function will return an error
immediately instead of forwarding the call to the firmware.
CRs-Fixed: 861918
Change-Id: I9a83c9b7e82b4075778fb1a59b2e54782655aefe
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When using 2.4 GHz band for OCB mode, the phy mode is correctly
set to 802.11G. For OCB mode operation in the 5 GHz band, the phy
mode is set to 802.11A.
CRs-Fixed: 859506
Change-Id: Ib0f29606bf83e0ae180ecbe5d07eea3a07ac48d6
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The 802.11 specification and the FCC documents for DSRC refers
to channel 170 as having 5 MHz bandwidth and having a center
frequency of 5852.5 (regulatory class 16).
Change-Id: I4a93b50617cf66f0096dca1c9350c861bd8b1604
CRs-Fixed: 859498
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge extended capabilities coming from supplicant as of the scan command
with host capabilities and send it to the firmware via WMI interface. Also
remove extended capabilities IE from the scan request.
Change-Id: I568fb93fc5d5994a094f946df6896e559c2c7614
CRs-Fixed: 859628
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
From kernel 3.14 onwards CC set by core will be reflected only if
the wiphy->regd is null else we will still consider the regulatory
rules from previous regdomain set by driver.
Change code to set wiphy->regd to NULL if driver notifier
callback is called with CORE as initiator.
Change-Id: Ia9c9fa5c3b749a114fed696954929a98566b19d9
CRs-Fixed: 861216
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We are using VOS API to allocate the message in hdd_ipa_uc_loaded_uc_
cb(), while freeing it using ADF API in hdd_ipa_uc_op_cb().
When SLUB is enabled, we'll have extra header bytes along with the
actual allocation for VOS, and we'll see "Invalid object pointer"
error while freeing it using ADF API.
Change-Id: I9bd90c5fcbeb371e28fe33011d792869ee79883a
CRs-Fixed: 862424
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use VOS_TRACE instead of printk for
WMA_LOGA macro so that logs are redirected
to cnss_diag.
CRs-Fixed: 853657
Change-Id: I7096d962b4a9a79acf307e1fe86522e8f61bf371
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Release 4.0.10.127A
CRs-Fixed: 688141
Change-Id: I9b58e88eaadc38c51e33b1bf2eba260059f9ddc3
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch adds ini support for WMI_VDEV_PARAM_DISCONNECT_TH
which represents number of dropped packets before FW sends out
kickout event for that peer to host.
Change-Id: I4c82bd1b5d1bc5d8265e3b0e5e58c82cdcab7f50
CRs-Fixed: 862686
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add new disconnect threshold parameter.
Change-Id: I92282a84ab8685ec44a89493b39ee99844f84e29
CRs-Fixed: 819213
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Release 4.0.10.127
Change-Id: I763ea6ab8d2579088101be29f0e415648260b23a
CRs-Fixed: 688141
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In processCfgDownloadReq(), dst_ptr is dereferenced first and later
checked for NULL. Fix the same.
Change-Id: I48245acce5f92fecffa805b29313fef28dbe7bcb
CRs-Fixed: 862049
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
if AP has RSN IE and supports AES, driver goes on to check
WPA IE and if it contains only TKIP in unicast cipher, it
sets cbmode to 0 (20Mhz).
Added a check to ignore the WPA IE if RSN IE is present and take
decision on cbmode with respect to RSN IE only.
Change-Id: I4eaf8a2d6a9f3a43e74e606045af995fbaa800ad
CRs-Fixed: 739345
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
STA gets disconnected with AP IPTIME N904NS when AP is configured
for WPA1 + TKIP on CH 161.
Return value of memcmp function must be checked with NOT operation.
Change-Id: Ic866a70917c1e713855c28a8f156ffe7c381fa07
CRs-Fixed: 642070
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
STA gets disconnected with AP IPTIME N904NS when AP is configured
for WPA1 + TKIP on CH 161.
Change-Id: Ifa30ed624c1f9f3c549def45cdb9e5f8ebfae233
CRs-Fixed: 627650
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is prima to qcacld-2.0 propagation
Use numOfChannels instead of ChannelList to check if channel
list is empty.
Change-Id: I79adbb47d19484ee0bd9b949793e7c3297a8e076
CRs-Fixed: 643965
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is prima to qcacld-2.0 propagation
If EXIT IMPS returns failure retry Exit IMPS again.
Change-Id: I96d3df9447dedb3a369b428e89893c47d9c25db5
CRs-Fixed: 644303
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is prima to qcacld-2.0 propagation
In csrRoamProcessResults remainInPowerActiveTillDHCP is set
before the check pmcShouldBmpsTimerRun. Also if isAndroidPsEn
is set in INI file the pmcShouldBmpsTimerRun returns false
and hTrafficTimer is not started after the connection, thus
the device does not enter BMPS.
Set remainInPowerActiveTillDHCP after the check
pmcShouldBmpsTimerRun to allow hTrafficTimer to run.
Change-Id: Ie630645d0fa2b7748cc41536f6ee72eed2d411cd
CRs-Fixed: 654705
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
prima to qcacld-2.0 propagation
The preauth session is not deleted if the deauth is from host
(eCsrForcedDeauth).
Adds the check to delete the preauth session and stop the
preAuthReassocIntvlTimer timer, in case of deauth from host.
Change-Id: I181344b0f3a41ff5c3a77f30b4c8cf80557c23b5
CRs-fixed: 649521
|