| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Change-Id: Ib589f44f471c1198973ee0a0695b90097fcc9b33
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>
|
|
|
|
|
|
|
|
|
| |
Add wpa_s->roaming to indicate (forced) roaming request.
set it on beacon_loss event.
(no need to disconnect if there is no available ap, as
the driver will send disassoc after some time)
Signed-off-by: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
|
|
|
| |
wpa_supplicant doesn't distinguish between NL80211_CMD_SCHED_SCAN_RESULTS
and NL80211_CMD_NEW_SCAN_RESULTS, this causing unnecessary rescheduling
of the sched scan on each scan complete event.
Reschedule the sched scan (stop + start) only if the scan results are from
the sched scan.
Signed-off-by: Victor Goldenshtein <victorg@ti.com>
|
|
|
|
|
|
|
|
|
| |
(not sure this should go upstream)
update p2p scan results (and notify) if the
listen_freq or go_state were changed.
Signed-off-by: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
| |
Some drivers are limited in certain conditions (e.g. wl12xx
on multi role with a single channel) and would like wpa_s
to disable bgscan and roaming attempts in these situations.
Signed-off-by: Eyal Shapira <eyal@wizery.com>
|
|
|
|
|
|
|
|
| |
Some drivers may notify us that roaming support changed.
This is passed on to wpa_s in order to take that into
account regarding bgscan and roaming.
Signed-off-by: Eyal Shapira <eyal@wizery.com>
|
|
|
|
|
| |
Configure sched scan to use short and long intervals
if the driver supports it
|
|
|
|
|
|
|
| |
Use the feature flag reported by NL80211 to know
if the driver supports short and long intervals in
the sched scan API. This is a prep patch for the
actual handling of this flag.
|
|
|
|
|
|
|
|
|
|
|
|
| |
cleanup of WLAN_STA_ASSOC_REQ_OK flag is missing in some
places (e.g. when deauth a sta).
(This in turn caused problems when working as GO, as our
internal commit (a3e0a16 "Fix deauth with reason 7 due to
multiple assoc_req received") caused reassociations
(after WPS) to get dropped.
Signed-off-by: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additional assoc_reqs received after an initial assoc_req (due to a timeout
in the STA) was already being handled caused the handle_assoc flow to
run again and in the process delete the station added to the driver
(in add_pre_assoc_sta). A race would occur where assoc_resp
was already sent to the STA (as part of the handling of the initial
assoc_req) and it sent a null data packet which arrived
while the station was deleted. This caused the packet to be classified
as a class 3 frame coming from an unknown STA and a deauth
would occur. Fix this by discarding additional assoc_req between
receiving the 1st assoc_req and getting a tx callback for the assoc_resp.
Signed-off-by: Eyal Shapira <eyal@wizery.com>
|
|
|
|
|
|
| |
[ Includes null check missing from the original patch - Arik ]
Signed-off-by: Arik Nemtsov <arik@wizery.com>
|
|
|
|
|
|
|
|
|
| |
Add the station before sending the association
response (rather than after tx completion), in
order to handle EAPOL-Start before tx completion
race.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
|
|
|
|
|
|
|
|
|
|
| |
11b rates were disabled during interface addition, but
not on interface mode change.
Disable/Enable 11b rates in wpa_driver_nl80211_set_mode(),
according to the interface type (p2p or not).
Signed-hostap: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
|
|
| |
We currently set some of the bss params (e.g. basic rates)
only after the beacon was set, resulting in beacons being
sent with invalid params (e.g. wrong rate).
Fix it by setting the ap params before setting the beacon.
Signed-hostap: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cfg80211 caches the scan results according the
channel number. Due to the 15 sec aging this
might cause the user mode to see more than one
scan result with the same BSSID, e.g. - one
scan result for the p2p-device and one for the
p2p-GO (once it's enabled).
Fix this by updating the device entry only if
the new peer entry is newer than the one
previously stored.
Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
If for some reason we get a duplicate negotiation request, the
supplicant will generate 2 different responses (different SSIDs)
with the same dialog token. The remote peer will confirm one of them,
but it will probably be the wrong one (the first it received).
Workaround it by ignoring negotiation requests with the last used
dialog_token.
Signed-off-by: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
| |
[ To be upstreamed - Arik ]
Change-Id: I5285126515b47cd3b4cdce717310835f23a78f0a
Signed-off-by: Eliad Peller <eliad@wizery.com>
|
|
|
|
|
|
|
|
|
|
| |
In case of P2P GO, the wpa_supplicant uses the
default hostapd parameters. In the default parameters
the ACM bit for video and voice are set to 1, meaning,
P2P devices and stations which are connected to the
GO cannot pass voice or video data packets.
Signed-hostap: Yoni Divinsky <yoni.divinsky@ti.com>
|
|
|
|
|
|
|
| |
File taken from 18xx/mc_internal, commit bc9a7d08c5c.
Kernel 3.5rc7.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
|
|
|
|
|
|
|
|
|
| |
Allow the user to configure an RSSI threshold in dBm below which the
nl80211 driver won't report scan results. Currently only supported
during scheduled (PNO) scans.
Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 6b56cc2d97fe9efd1feea8d418714b4658b056f1 added retries of
provision discovery request frames in IDLE state. However, it did not
make the p2p_find case behave consistently with the new limitied retry
behavior. This can result in way too many and frequent PD retries. Fix
this by extending the previous commit to address PD retries and maximum
retry limit consistently regardless of whether p2p_find is running.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
intended-for: hostap-1
|
|
|
|
| |
Signed-hostap: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-hostap: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
|
|
|
| |
Commit 1b487b8b1e95e1fbd9e00d52d883ba0ac4c2e4bf added CH_SWITCH
event for nl80211, but ended up using hostapd_hw_get_channel()
regardless of build configuration for driver interfaces. This
function is not always available, so make its use conditional
on NEED_AP_MLME.
Signed-hostap: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
|
|
|
| |
Commit d9cc4646eb0255be31f11d8a8edad857431fdf49 added
crypto_hash_{init,update,finish}() wrappers for OpenSSL, but it
assumed the current HMAC API in OpenSSL. This was changed in 0.9.9
to return error codes from the functions while older versions used
void functions. Add support for the older versions, too.
Signed-hostap: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
| |
Save VHT capabilities coming through nl80211 within hostapd.
Signed-hostap: Mahesh Palivela <maheshp@posedge.com>
|
|
|
|
| |
Signed-hostap: Jouni Malinen <j@w1.fi>
|