frameworks/base: Add WiGig support
This change is a combination of following changes:
1) SystemServer: add WiGig services
WiGig services implement an API for managing wigig wireless
network device, in similar fashion done for WiFi.
The services are not enabled by default.
commit 6dc33f99856b8a33212e651126cab344aad4d847
Author: Hamad Kadmany <hkadmany@codeaurora.org>
2) Protect the wigig broadcast intents
These broadcasts are sent from the wigig service.
commit 9369ef90a99c4a00db0a4047610910d7099f81db
Author: Dedy Lansky <dlansky@codeaurora.org>
3) Tethering: add TETHERING_WIGIG type
Currently both WIFI and WIGIG use the same tethering type,
TETHERING_WIFI. This causes conflicts between the frameworks,
when both WIFI and WIGIG SoftAPs are started, one or both will
not work.
Fix this by using a seperate tethering type for WIGIG.
commit c2786380fac5109efba1bf859dd1b564fe8a60a6
Author: Lior David <liord@codeaurora.org>
4) FST: when FST enabled tether over bond0
In FST mode, when FST enabled (persist.fst.rate.upgrade.en system
property), tether (including running dhcp server) over bonding driver
instead of the wifi driver.
commit 19989540e969dfd8d30d3695389182db7de23905
Author: Hamad Kadmany <hkadmany@codeaurora.org>
5) Tethering: remove TETHERING_WIGIG state machine on interface down
The wigig state machine relies on a TETHERING_STATE_CHANGED broadcast
that is sent when the tethering state machine is first created, during
interface up. Currently the tethering state machine is not removed
on interface down except for TETHERING_BLUETOOTH, and as a result
wigig tethering only works the first time SoftAP is started.
In order to fix this, remove the tethering state machine on interface
down for TETHERING_WIGIG as well.
commit c966ad906f01c0c667d8692caabc55bfe968ebb0
Author: Lior David <liord@codeaurora.org>
6) Add WIFI_COUNTRY_CODE_CHANGED_ACTION broadcast.
To be broadcast from WifiCountryCode.
commit 2cc15cfcabc6da1a088e57f95de63b55813a29c8
Author: Dedy Lansky <dlansky@codeaurora.org>
Change-Id: I788f1ac21f79573564d9f0937a4f61975636abd4
7 files changed