| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
commit e48cd17 ("android: Delay scan after startup to
prevent race with framework (INTERNAL)") is fixing some
bug wrt. android framework, but introduce pretty annoying
delay when working with native linux.
Surround the new functionality with ifdefs in order
to apply it only for android build.
Signed-off-by: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Android, the immediate scan may cause the following race:
1. Framework starts wpa_s
2. wpa_s loads and initates a scan
3. A matching AP is found and successfully connected to
4. wpa_s reports CTRL-EVENT-CONNECTED but the framework
WiFi state machine didn't progress yet to the correct state
so this event is unexpected.
5. As a result the DHCP state machine isn't triggered.
The end result is successful assoc with the AP but no DHCP request
being sent. Avoid this by delaying the initial scan by scan_interval.
This doesn't delay getting scan results or connectibg to a rememebered AP
as the Android framework initiates a scan through the control interface
anyways after detecting that the supplicant started.
Signed-off-by: Eyal Shapira <eyal@wizery.com>
|
|
|
|
|
|
|
|
| |
Avoid using sched scan as the initial scan after wpa_s
init. This prevents a scenario on Android in which
the Android framework scan is preempted by a saved scan_ssid AP
being connected to due to immediate sched scan.
This delays receiving scan results.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
the android wpa_supplicant currently doesn't implement
wpa_hexdump_ascii, so add a simple print for the control
interface commands
Signed-off-by: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
|
|
|
| |
For p2p, there are virtual interfaces (like p2p-wlan0-X) created and
that results in binding to the common init socket right now.
Instead, have the init bind fail for p2p interfaces and create seperate
sockets specified by the ctrl_interface path in config file
Bug: 5002384
Change-Id: Ia155df079a0bcca1871b6bcab2ef7111f0cba6c1
|
|
|
|
|
|
|
| |
Enable roaming and bgscan
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Ido Reis <idor@ti.com>
|
|
|
|
| |
Signed-off-by: Ido Reis <idor@ti.com>
|
|
|
|
|
|
| |
Just enable it in both hostapd and wpa_s.
Signed-off-by: Luciano Coelho <coelho@ti.com>
|
|
|
|
|
|
|
|
| |
Add DRIVER DROPBCAST {GET,ENABLE,DISABLE} commands to show the current
setting, enable and disable the feature of dropping all broadcast
packets while in suspend mode.
Signed-off-by: Luciano Coelho <coelho@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement the LINKSPEED and RSSI/RSSI-APPROX private commands.
Upstream implementation sends the HANGED state event on
private command failure. Unimplemented commands were
sent to the driver as-is, causing the HANGED event to be sent
and cause a recovery. Private command handling was modified so
that only implemented commands are sent to the driver and
the sending of the HANGED event was removed.
[Arik - The "linkspeed" driver command incorrectly reported the
rate in kbps. Fix this]
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Yotam Rubin <yotam@wizery.com>
|
|
|
|
|
|
|
|
| |
Enable configuring rx filters which will be
dropped even if matching another rx filter. This
can be used for generating exception filters.
Signed-off-by: Eyal Shapira <eyal@wizery.com>
|
|
|
|
|
|
|
|
|
| |
In GB the framework always enabled RXFILTER for unicast
and bcast. This seems to be missing in ICS so enable
unicast by default as this is always required.
Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Signed-off-by: Eyal Shapira <eyal@wizery.com>
|
|
|
|
|
|
|
|
|
|
| |
Add more patterns (SSDP, ARP, DHCP) and align IDs to a common
vendor Android framework implementation.
Note that ARP pattern shouldn't be used as our FW
responds to ARPs by default without waking up the host.
It is added only for ID alignments purposes.
Signed-off-by: Eyal Shapira <eyal@wizery.com>
|
|
|
|
|
|
|
|
|
| |
- Add support for long patterns (longer than 8 bytes)
- Separate Rx filters static configuration from code
- Add DHCP and ARP Rx filters
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Assaf Azulay <assaf@ti.com>
|
|
|
|
|
|
|
| |
Add support for this Android specific feature using WoWLAN packet
pattern triggers.
Signed-off-by: Pontus Fuchs <pontus.fuchs@tactel.se>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the same support that wpa_supplicant has with sockets created
by the Android system using the init.rc services options
Just as the supplicant, if the ctrl_iface is a name and not a path
(i.e. doesn't start with '/') the hostapd will assume that this is
an Android created socket named wpa_$(ctrl_iface) which is opened
in /dev/socket/
hostapd_cli sockets will be created in /data/misc/wifi/sockets
The hardcoded configuration is set in the Android.mk of hostapd
just like it is with the supplicant.
In addition, the hostapd_cli needs an Android property by the name
ap.interface to hold the ctrl_iface name to connect to the hostapd's
socket.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make SETBAND disconnect from the current AP if it's not
in the correct band. Also expire APs which aren't in the correct
band so scan results will immediately reflect the band change.
[Eyal - ammended commit description]
Signed-off-by: Panduranga Mallireddy <panduranga_mallireddy@ti.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Eyal Shapira <eyal@wizery.com>
|
|
|
|
|
|
| |
This provides partial SETBAND driver command implementation by
converting the request into a filter for which channels are scanned
by wpa_supplicant.
|
|
|
|
|
|
|
| |
BUG: b/5367351
Change-Id: I14ed79e10ade205c5dd4cdc0d2e888ed1279d1bb
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
| |
Fix WFD and WPS certification problem for GO (BRCM)
Change-Id: I5bbac818aad7c0a14fddb3beb88a6a2d87c07ea0
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
| |
Fix WFD and WPS certification problem for GO (BRCM)
Change-Id: I5bbac818aad7c0a14fddb3beb88a6a2d87c07ea0
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
| |
Fix WFD and WPS certification problem for GO (BRCM)
Change-Id: I5bbac818aad7c0a14fddb3beb88a6a2d87c07ea0
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
|
|
| |
TODO: This is not the correct place for registering these frames. Would
need to first figure out whether these are still needed and if so, for
what.
Change-Id: Iafec4bedbd33836d0a64e7ea054d8a46ef8ec204
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
| |
Change-Id: Iafec4bedbd33836d0a64e7ea054d8a46ef8ec204
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
| |
Change-Id: If189933aaf6e629fe8ede0f4e0d0b527f3b47f2e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
|
|
|
|
|
| |
Change-Id: Iba9b2ac21f5c7760900c57826b7048ee58928338
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
|
| |
The separate private library mechanism used in Android ICS is not
very robust when wpa_supplicant/hostapd version changes since the
external code is accessing some internal data structures directly.
Avoid this type of issues by integrating the private library to be
part of wpa_supplicant/hostapd build.
|
|
|
|
|
|
|
| |
Bug: 5236589
Change-Id: Iae8405aa17d5cc6bbffcff3a37d81df74143aabe
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
| |
Change-Id: I2f3274c6f89ac0100331f4987c40e23f36577817
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
| |
Change-Id: Iafec4bedbd33836d0a64e7ea054d8a46ef8ec204
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is combination of part from
Dmitry Shmidt <dimitrysh@google.com>
Thu, 21 Jul 2011 15:19:46 -0700
Change-Id: Iafec4bedbd33836d0a64e7ea054d8a46ef8ec204
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
and
Jean-Baptiste Queru <jbq@google.com>
Tue, 15 Nov 2011 18:41:36 -0800
Enable broadcom-specific patch with proper flag
Change-Id: I5a0f5a2d65963deff3cd62b5e7ec090619c75a2c
|
|
|
|
|
| |
Change-Id: I1f938b97169d4468ee5b05316826ee509a10d9ad
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
| |
Change-Id: I0ccd9e39928c3e51f1350d2ab34e47ea3191ed0b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
| |
Change-Id: Id65428908bca59e71a3ab479b63d992eff96e433
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Instead of driver specific specific command, use a cleaner design
for handling the Android BGSCAN-START/STOP commands.
|
|
|
|
|
| |
Change-Id: Ib589f44f471c1198973ee0a0695b90097fcc9b33
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
| |
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
| |
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
|
| |
These are from Android wpa_supplicant_8.git initial 0.8.X commit
8d520ff1dc2da35cdca849e982051b86468016d8.
Change-Id: I26aec5afbbd4f4a1f5fd900912545b6f5050de64
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
|
| |
These are from Android wpa_supplicant_8.git initial 0.8.X commit
8d520ff1dc2da35cdca849e982051b86468016d8.
Change-Id: I26aec5afbbd4f4a1f5fd900912545b6f5050de64
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
|
| |
These are from Android wpa_supplicant_8.git initial 0.8.X commit
8d520ff1dc2da35cdca849e982051b86468016d8.
Change-Id: I26aec5afbbd4f4a1f5fd900912545b6f5050de64
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
| |
Galaxy Nexus takes time to send the GO Neg Confirm (~200ms) and this
commit caused the GO Neg to fail because of this.
This reverts commit 579a80982ad07619373876c09cdd60e2afcba5b5.
|
|
|
|
|
|
|
| |
ROC when the ap gets the first auth request, and CROC
after authorization (or after connection fails).
Signed-off-by: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
| |
implement set_priority/cancel_priority functions,
and call them in the appropriate places in the
STA connection flow.
Signed-off-by: Eliad Peller <eliad@wizery.com>
|