WIP: enable wake on wlan
This commit is contained in:
parent
0342594728
commit
85b043af37
|
@ -124,6 +124,20 @@ let
|
||||||
pkgs.kernelPatches.bridge_stp_helper
|
pkgs.kernelPatches.bridge_stp_helper
|
||||||
pkgs.kernelPatches.request_key_helper
|
pkgs.kernelPatches.request_key_helper
|
||||||
# (patchDefconfig kernelConfig)
|
# (patchDefconfig kernelConfig)
|
||||||
|
{
|
||||||
|
# enable CONFIG_WOWLAN=y within the rtl8723 bluetooth/WiFi driver
|
||||||
|
# (not an ordinary Kconfig option).
|
||||||
|
# also configures the pinephone device tree to `keep-power-in-suspend` for the WiFi peripherals
|
||||||
|
# together, this allows the WiFi chip to wake the application processor when it receives packets of interest.
|
||||||
|
# in particular this allows WiFi calls to be received while the phone is otherwise sleeping.
|
||||||
|
# additional userspace configuration is necessary to enable this.
|
||||||
|
# see: <https://gist.github.com/Peetz0r/bf8fd93a60962b4afcf2daeb4305da40>
|
||||||
|
name = "enable-wowlan-in-rtl8723cs";
|
||||||
|
patch = fetchpatch {
|
||||||
|
url = "https://gist.githubusercontent.com/Peetz0r/bf8fd93a60962b4afcf2daeb4305da40/raw/7697bc9c36d75cc1a44dc164b60412a34a8bf2c4/enable-wowlan-in-rtl8723cs.patch";
|
||||||
|
hash = "sha256-jXe3dHBHggdGKN8cHH4zqY9HLtZ2axXcgYO//6j9qIY=";
|
||||||
|
};
|
||||||
|
}
|
||||||
] ++ lib.optionals (!withModemPower) [
|
] ++ lib.optionals (!withModemPower) [
|
||||||
{
|
{
|
||||||
# Drop modem-power from DT to allow eg25-manager to have full control.
|
# Drop modem-power from DT to allow eg25-manager to have full control.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user