From patchwork Fri Apr 7 04:59:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 97011 Delivered-To: patches@linaro.org Received: by 10.140.89.233 with SMTP id v96csp123266qgd; Thu, 6 Apr 2017 21:59:07 -0700 (PDT) X-Received: by 10.84.134.36 with SMTP id 33mr48437611plg.34.1491541147201; Thu, 06 Apr 2017 21:59:07 -0700 (PDT) Return-Path: Received: from mail-pg0-x233.google.com (mail-pg0-x233.google.com. [2607:f8b0:400e:c05::233]) by mx.google.com with ESMTPS id u74si3829180pgc.369.2017.04.06.21.59.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 21:59:07 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::233 as permitted sender) client-ip=2607:f8b0:400e:c05::233; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::233 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-pg0-x233.google.com with SMTP id 81so55380179pgh.2 for ; Thu, 06 Apr 2017 21:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xDPY2yIbJ/HITNBrAOFke/pOrvbrW5OBC+Ah2lWlpsI=; b=TeyqWSBvvd0I/qr5ygxvcQfcRc/Lz4+ArqjFuGoFWmUxmJbFMihiYPGWhzKEmKVtOw SGhLILdIh4IgLbcGncuOO31LZsD/rK3VPc8B4U4wijJlGimDoQHiElqSPVbz/7elf4Tt mL/tMIM4x6fb/ZJLP7YLldcaUVIJ7pef8I8yY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xDPY2yIbJ/HITNBrAOFke/pOrvbrW5OBC+Ah2lWlpsI=; b=kaccsRGj0sRuW/KHL1+2tmtTjNlX/QmSOyWr3/gNC7Dl2gZLpO6phZUbjx5eu+XeBF 9zA12ay6a17DcqDagOa6K+dDwx59HM7r4ePa1+QfTT3pgwYOay6EV1NcYZhmPbYJfFJa vIeojs13coSM1a5bBc2/+x2KsgC/Agf+L5Wxouf4jPiRJEy5r+7iMWciJNx1U0tdxFk8 6KfzfxRUqYGjEJ7rH8oygOVsGkuDKsVxTYGXiXfyFFsDap+2SgwyuEV03JgWrDu/IOL/ z+u+M2//3NQPhA5Tz0tf418XLNES/LPzvuFAk4pTq5w318c6bu9FdQ+5laNV7MThwiQm Z95A== X-Gm-Message-State: AFeK/H1pNghAo2RBuQjrZOai+ZFi0ESCHeflc53sx1sd0qc+cZUfkB+u03rbx3Gol9bTF+CBryQ= X-Received: by 10.84.231.196 with SMTP id g4mr46484550pln.12.1491541146841; Thu, 06 Apr 2017 21:59:06 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id v17sm6574468pgc.20.2017.04.06.21.59.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 21:59:05 -0700 (PDT) From: John Stultz To: Cc: John Stultz , Rob Herring , Sumit Semwal , Amit Pundir , Vishal Bhoj Subject: [PATCH] wifi: Fixup wifi to use new hal bits Date: Thu, 6 Apr 2017 21:59:01 -0700 Message-Id: <1491541141-2882-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 Pull in fixes to get wifi working again on flo Cc: Rob Herring Cc: Sumit Semwal Cc: Amit Pundir Cc: Vishal Bhoj Signed-off-by: John Stultz --- wifi/device.mk | 2 ++ wifi/wifi.rc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/wifi/device.mk b/wifi/device.mk index 23d5f02..fed3dc0 100644 --- a/wifi/device.mk +++ b/wifi/device.mk @@ -5,6 +5,8 @@ PRODUCT_PACKAGES := \ hostapd \ wpa_supplicant \ wificond \ + android.hardware.wifi@1.0-service \ + PRODUCT_COPY_FILES := \ frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ diff --git a/wifi/wifi.rc b/wifi/wifi.rc index d270f7f..164c771 100644 --- a/wifi/wifi.rc +++ b/wifi/wifi.rc @@ -1,4 +1,4 @@ -service wpa_supplicant /system/bin/wpa_supplicant \ +service wpa_supplicant /system/vendor/bin/hw/wpa_supplicant \ -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf \ -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 socket wpa_wlan0 dgram 660 wifi wifi