| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the off-by-one error in the conditionals that check
whether the Venue Group and Venue Type codes in the ANQP
element are in the "Reserved" range.
CYNGNOS-3286
BUG: 30169673
BUG: 29464811
TEST: Manually set up AP with Hotspot 2.0 support, broadcasting
Venue Group value 0xc, and ensure that device does not
crash when in range of this AP.
Change-Id: I14adc3a919e19b67fc0f46bf09d0cffb88b5354e
(cherry picked from commit 48ee5f1e1c6e2a2dc63e9cb84c42f532c8a6847a)
(cherry picked from commit 4fe13c4c651b1873a73bc77895840561f1cb582a)
(cherry picked from commit 86bdc8e5361232ce17a67a260fb58a700900c198)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ANQP Element parsing code that parses untrusted data broadcasted
by APs is currently untested, and might contain errors that will
trigger exceptions that can crash the system service (e.g. null pointer
exceptions).
To contain this risk, catch all possible exceptions from the invoking
ANQP element parsing code from ANQPFactory, and throw them again
as ProtocolExceptions, which users of ANQPFactory already catch.
CYNGNOS-3286
BUG: 30230534
Change-Id: Icaba02c0e6739d94482cf4a5e704b59f8d4105b4
(cherry picked from commit 6154eb070b9f224a8daebf0a852d61f07d2c5cf3)
(cherry picked from commit bafabeb09d7c75ef205a5b2fcbd581be6b6e2771)
(cherry picked from commit 0378f69284723d075acb4f0ef1e4dfb5c21fc73a)
|
|
|
|
|
|
|
|
| |
Almost every configuration to overlay the device's AP SSID sets it
to the model name. Just use that directly when the other options are
empty, instead of copying the same string around.
Change-Id: I9f6c8d0f9fe9486ce58347b46ba46f7c230910f2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are only a few MCCs in which the MNC is expected to be 3-digit long.
However, the fallback path for REQ-IDENTITY was assuming that length
all the time, which resulted in us getting the wrong realm for the
fallback path (which is kicked in when, for example, wifi starts up
faster than mobile)
Also, SIM states are indexed by slot, not subId
Ref CYNGNOS-2768
Change-Id: I3ea01d45e62689075b62df7a169f8734d0c9f5e6
(cherry picked from commit b354a61d44d2ff79c922ac96bbf662825f909dcd)
|
|\
| |
| |
| |
| | |
Ticket: CYNGNOS-2213
Android 6.0.1 release 24
|
| |\ |
|
| | |
| | |
| | |
| | | |
This reverts commit 5ebc35f19feab2755a13cf7d5acaeff4bbc78994.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change instructs supplicant to terminate the eapol when bad
reponses are obtained from call to getIccSimChallengeResponse; it
ensures that the failed connections terminate early and connection
times are reduced.
Bug: 23703236
Change-Id: I8eb8edde7a8bb310d73d1b3cc8bc060647e2375f
|
| |/
| |
| |
| | |
This reverts commit 5ebc35f19feab2755a13cf7d5acaeff4bbc78994.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We already get and store the SIM slot to which we want to bind an
access point in Settings and the base framework. Close the loop
here, and make sure the calls into Telephony refer to the correct
subscription.
Change-Id: I7f45b2948df08d0e158cea4e51144e5efc02dffc
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change I8eb8edde7a8bb310d73d1b3cc8bc060647e2375f is intended to deal
with breakage when getting an invalid reply from the RIL for SIM
authentication. Unfortunately, it also breaks the loop and returns
the value at the first successful reply, instead of concatenating all
the challenge replies like wpa_supplicant expects it to.
Change-Id: I7d1007a55e6dc5ee0dca48e16952e34562b1ff24
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The code currently assumes that mSettings.buckets is at least as
large as mTimeBuckets. The length of mSettings.buckets is determined
at runtime by querying the kernel via the WiFi HAL. In the event
that the query fails, the mSettings.buckets array will have a zero
size. The code will then try to access a nonexistent element in the
zero length array, leading to an array bounds error that brings down
the whole Android runtime.
This check protects against the crash that would occur when the
mSettings.buckets array is undersized.
Change-Id: Ic3fffd82c745922bd6378062ee188841880895a2
|
|\|
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/opt/net/wifi into dr15
Android 6.0.1 release 22
Change-Id: I3feacc91c693dba8f11bdc6513f204c9d47f2d18
|
| |
| |
| |
| |
| |
| | |
Bug: 24147407
Change-Id: I52db1b34df318d0754b1c316806712a61fc3a1f5
|
| |
| |
| |
| |
| | |
Bug: 26374148
Change-Id: I3355f969f237fd4ba50e980f83bcbcacc7e55c84
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change resets identity and anonymous_identity for all
networks that use SIM based auth. This ensures that all cached
data is destroyed when SIM is removed; and newly added SIM
must be authorized on the network to connect again.
Bug: 23703716
Change-Id: I83d80336b2089c73d99214651b64b79443faf7f7
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change instructs supplicant to terminate the eapol when bad
reponses are obtained from call to getIccSimChallengeResponse; it
ensures that the failed connections terminate early and connection
times are reduced.
Bug: 23703236
Change-Id: I8eb8edde7a8bb310d73d1b3cc8bc060647e2375f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Need to assign the overridden WorkSource to the member
mScanWorkSource in order to properly finish the scan.
Bug:23868900
Change-Id: Iac13583bd1ecf65513a7e655b46f6e19e588a99d
(cherry picked from commit 60e5908f0df75b9fda15c325f279381783b5d07d)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When framework toggle PNO too frequently, the lower layer
(supplicant and driver) can have some corner case errors.
Add minimum gap (5s) between two PNO toggle.
Bug: 24777453
Change-Id: Ic360b753c65b77831dc8395834b9ac125f1aa7a1
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
am: 06f83655f7
* commit '06f83655f769d9649cfd51fda485cd553dfca7cf':
Don't set RSSI to -1 when no value is returned
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 78ca9b3d6f
* commit '78ca9b3d6fb28abc6d52a31791f4b4084af76e65':
Don't set RSSI to -1 when no value is returned
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
mnc-dr-dev am: b5cef8e440
am: 9f4c81f701
* commit '9f4c81f7018c3c8a5af1e0784b3c7d0a583ec95b':
[DO NOT MERGE] Fix build breakage introduced by CL 797896
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
mnc-dr-dev
am: b5cef8e440
* commit 'b5cef8e440ee5b054d8b38103aa2d6989c7361ef':
[DO NOT MERGE] Fix build breakage introduced by CL 797896
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
e8e62c91f8
am: 0b14bbb35f
* commit '0b14bbb35f1561e7ab529e32fe529a041610cc68':
[DO NOT MERGE] EAP-TLS PMKID mismatch error
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: e8e62c91f8
* commit 'e8e62c91f883eff9d0d0729b4bf5ffd6007a9ae4':
[DO NOT MERGE] EAP-TLS PMKID mismatch error
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 02d8a99ce6
* commit '02d8a99ce6c64e6bd4e0e15cd72efe53bf2e7b22':
Disable Portable Wi-Fi hotspot in ECM
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
am: 2fd94d6887
* commit '2fd94d6887868f769adc237fd5b9190e3a3569d3':
Disable Portable Wi-Fi hotspot in ECM
|
| |\| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
android::onPnoNetworkFound [DO NOT MERGE] am: 4ea1de412e
* commit '25f32f285871054884e52d2a8631a80512241f8b':
Security Vulnerability in android::onPnoNetworkFound [DO NOT MERGE]
|
| | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: 4ea1de412e
* commit '4ea1de412e8eca0a18151fa13ee3fc1e18b1358c':
Security Vulnerability in android::onPnoNetworkFound [DO NOT MERGE]
|
| |\| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
8b41627f: Fix a race in WifiNative objects
* commit '4720b8c81c95b65b64fa7a4c4778bf7ffeb511c3':
Fix a race in WifiNative objects
|
| | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
in WifiNative objects
* commit 'f5535dfe8442ada8c42f33a61ec0fcd448329f64':
Fix a race in WifiNative objects
|
| |\| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
location is disabled" into mnc-dr-dev
* commit 'be964f00e71597f880c051772e8acd1a44b08e17':
Fix foreground scans for pre-M apps when location is disabled
|
| | |\ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
disabled" into mnc-dr-dev
* commit '35f3b9ce41b43de59487b3231aedc64d735593a8':
Fix foreground scans for pre-M apps when location is disabled
|
| |\| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
android::onPnoNetworkFound" into mnc-dr-dev
* commit 'c9bea298d4b6d4c9920914d3dc8df23e3c595700':
Security Vulnerability in android::onPnoNetworkFound
|
| | |\ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
into mnc-dr-dev
* commit 'f2e7f4fa1ac1481cdbc7bf3296321ac0fa159cc6':
Security Vulnerability in android::onPnoNetworkFound
|
| |\| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
turned off when requested
* commit '9d86423893492156db7fbc1b4f94ef0517ca9220':
DO NOT MERGE Make sure wifi driver is actually turned off when requested
|
| | |\ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
requested
* commit 'a8ed84c590e48ce3e5b31b2f3d0ddd53a22b6a65':
DO NOT MERGE Make sure wifi driver is actually turned off when requested
|
| |\| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
stats" into mnc-dr-dev
* commit '680ac28ce035a3765d64dd0e747af942e4438e3c':
Prevent corruption of Wifi scan battery stats
|
| | |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
mnc-dr-dev
* commit '4a7d385069e9e1a490d6d2a8427536e1506a5801':
Prevent corruption of Wifi scan battery stats
|
| |\| | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
result is MODE_IGNORED" into mnc-dr-dev
* commit 'd8c80cc7ff540c103e48cf298d196a6b66548134':
Do not throw an exception if appop's result is MODE_IGNORED
|
| | |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
MODE_IGNORED" into mnc-dr-dev
* commit 'e2ba917b13c0271e018457917a6388a2f84e20ab':
Do not throw an exception if appop's result is MODE_IGNORED
|
| |\| | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
passpoint network" into mnc-dr-dev
* commit '7af1ef61493d25c333561071dc8bbc3da8f0a86b':
Set hs20 property to 1 when connecting to passpoint network
|
| | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
network" into mnc-dr-dev
* commit '7b97c836ad5ef97635329d09f7772f845713aea6':
Set hs20 property to 1 when connecting to passpoint network
|
| |\| | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
mnc-dr-dev
* commit 'a29ea4f648cc12ad81bc258ad11ae3d63cd4921f':
Fix center frequency parsing bug.
|
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
* commit '12a1007dc04897e000f91ae43f9ca90cd7441f9d':
Fix center frequency parsing bug.
|
| |\| | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
scan
* commit 'ca45280461867c973acb736f6e8efe1518c03dc9':
When entering disconnected state imediatly start a scan
|
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
* commit 'd3ae426c1b298f038b34171d13d710524779074e':
When entering disconnected state imediatly start a scan
|
| |\| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
non-ConnectModeState" into mnc-dr-dev
* commit 'f76c13a415da5e64aca41083b2c1642844311b3b':
Handle supplicant state changes in non-ConnectModeState
|
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
into mnc-dr-dev
* commit 'a7d7d91ebbeb326d9d41e05768aa5f5667e68106':
Handle supplicant state changes in non-ConnectModeState
|
| |\| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
is empty" into mnc-dr-dev
* commit '082dd48cb77c4ba0fccaa13906b32f3219184b37':
Don't hold on to last scan results if scan is empty
|