Age | Commit message (Collapse) | Author |
|
Bug: 166154615
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Ie4756ef87708b95cadf228f722e434217176aab0
|
|
1, Each packet needs to acked for transmission. We can save the round
trip between guest and host and the number of items in virtqueue by
direectly calling ieee80211_status_tx for each pakcket in
virtio_wifi_tx(). This would require a copy of the sk_buff because
ieee80211_tx_status() will free the sk_buff.
2, Fixed crash in beacon tx timer.
BUG: 148080973
BUG: 166501213
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ie38ed4038cc8ba2f927a4a31be0042c27b5e7597
|
|
Implemented a WLAN Mac80211 driver that communicates with the emulated
Wifi on Emulator.
BUG: 153654075
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: I3a74fed8809173f1c1e808422ac85991cc4418d8
|
|
This was recently removed from the core image.
Change-Id: Ieaf88254957dc73dd962d4e42c2683537e828580
|
|
The kernel fails to boot if a module is defined twice:
as =y in gki_defconfig and as =m in goldfish_defconfig.fragment.
Bug: 158733532
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Ica8ae328d2c92c6bc9b29e4010119364db4f035c
|
|
it was moved to gki_defconfig as =y
Bug: 158733532
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I9f0e6b80f3750a77b711c741a2b151686bfa63a5
|
|
they were moved to gki_defconfig.
Bug: 154346346
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I1bf42c3f9f3bfd567144f2b2e5ca87ad60d5a36a
|
|
These are part of the GKI image now, so goldfish doesn't need to build
them as modules.
Bug: 144061615
Change-Id: Ie506539b99620d369a43f30441e035e5eab9d38c
Signed-off-by: Alistair Delva <adelva@google.com>
|
|
Bug: 154346346
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Ifc05a13b271b4fd0174667006349010960570872
|
|
We don't need it.
Bug: 154346346
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Icfc60f3de4a652efae776facebbe08395a48a950
|
|
Our current Wear images do not have
goldfish_rotary included. When we consider
working on new ones we should use
virtio_input instead.
Bug: 154346346
Test: build
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Iee60674fb05a6a999632200954531619fc2541ae
|
|
Using the *full* GKI config introduces ABI monitoring and whitelist
functionality. This is not supposed to be done for goldfish.
Hence, fix and refactor the config to only reuse the common parts that
are meant to be reused.
Bug: 152485743
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Ib1032777f92c75b111954bbb32b571358a6e9e22
|
|
kernel.org introduced the pin_user_pages function
which collided with our function.
Bug: 152433832
Test: build
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I10ebdd6b93ff9bc1c0d1b50c1b45f6e65297206c
|
|
kernel.org introduced sizeof_field and recently
retired FIELD_SIZEOF.
Bug: 152433832
Test: build
Change-Id: Ib0266206fab3ac353175ac31a4dbd3b9830f4ae9
|
|
Bug: 148247383
Test: build
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I3748efbfa4efa44467abcd59318bfb68b67c6224
|
|
Bug: 151861649
Test: Treehugger
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
Change-Id: Ic5d8c1197a422849e11cf3f789d8903d546d9982
|
|
We use hda for sound, CONFIG_SND_INTEL8X0 is ac97.
Bug: 147493341
Test: boot, check if sound works
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Ib8b4cad14353e8123399f75adc908df1842a9669
|
|
Bug: 147493341
Test: build
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I2dfad721d496ec2b5b0974aa0f3cdd7e801c0824
|
|
This option is disabled by default now.
Bug: 147493341
Test: build
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I8cea385730810a2eb2348ffbf17ecb6602009e6f
|
|
CONFIG_BINFMT_MISC=y was added to gki_defconfig.
Bug: 147493341
Bug: 150328771
Bug: 141618959
Test: build
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I80e63c0aa1e0dddedfb0e323b15e1cf8f154d0d7
|
|
required by ndk_translation.
Bug: 141618959
Bug: 147493341
Change-Id: I493788451daff8f0d3711d6ea89d668fee978764
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|
In our 4.14 kernel mac80211_hwsim has a
'mac_prefix' module parameter to make MAC
address unique between emulators.
In the GKI approach we cannot have this
change anymore and we need to provide
mac80211_hwsim MAC address another way. For
now we build our kernel with this local
change.
git apply ../goldfish-modules/common.patch
Bug: 147493341
Test: emulator presubmit
Change-Id: I38418d28f3fdb839cdecfff883e7df2b28c95443
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|
Bug: 147493341
Test: emulator presubmit
Change-Id: Idf544a51189d0dd03650f9f866e9bef6744817f1
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|
This change assumes that CONFIG_NAMESPACES and
CONFIG_NET_NS are enabled and
CONFIG_MAC80211_RC_MINSTREL is not disabled in
gki_defconfig.
Bug: 147493341
Test: boot, check if network works.
Change-Id: Id4d7352c2ff2a63cd193429c9e73992420f261e2
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|
On GKI kernel our defconfig cannot contain
=y options except when they are related to =m
options in this config.
CONFIG_MAC80211_HWSIM=m has an issue:
ieee80211 phy0: Failed to select rate control algorithm
we should move to virtio_wifi.
Bug: 147493341
Test: boot
Change-Id: I4492179f71dc6c7198be30b4db4847311fbd4145
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|
The kernel with goldfish modules boots on the emulator,
adb works.
Bug: 147493341
Test: boot
Change-Id: If406f720a1eaa220203c6a262e338dc78514e1db
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|
Moved from android/kernel/goldfish/android-goldfish-4.14-dev
How to build:
repo init -u https://android.googlesource.com/kernel/manifest \
-b r-goldfish-android-5.4
repo sync
BUILD_CONFIG=goldfish-modules/build.config.goldfish.x86_64 \
build/build.sh
ls -1 ./out/android-5.4/dist/
bzImage
goldfish_address_space.ko
goldfish_battery.ko
goldfish_cpufreq_stats.ko
goldfish_pipe.ko
goldfish_rotary.ko
goldfish_sync.ko
System.map
vmlinux
Bug: 147493341
Test: build
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I93cc8ada709275140290d9441614ba58b5a3c555
|
|
|