<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hardware_replicant_wlan/wifi_hal, branch replicant-11</title>
<subtitle>Generic WiFi HAL
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_replicant_wlan/'/>
<entry>
<title>Android.mk: Remove unused libcrypto includes</title>
<updated>2021-09-12T21:45:43+00:00</updated>
<author>
<name>Shawn Guo</name>
<email>shawn.guo@linaro.org</email>
</author>
<published>2021-09-12T16:36:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_replicant_wlan/commit/?id=9b3c5f7846b8e38ee03a0d75ec6978454267a78f'/>
<id>9b3c5f7846b8e38ee03a0d75ec6978454267a78f</id>
<content type='text'>
The broadcom HAL we imported use as a base in this repository
doesn't work with the brcmfmac upstream driver in Linux: even
if nonfree firwmares are found on the device (for instance
because users added them manually), Replicant can scan the
networks but it can't connect to WPA2 networks even with the
right password, and when the connection fails we see some
errors with the statistics reporting (from adb logcat -b main):
    [...] D WifiNl80211Manager: Scan result ready event
    [...] D WifiNative: Scan result ready event
    [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973)
          failed {.code = ERROR_UNKNOWN, .description = unknown error}

This might be because for some reasons the Broadcom HAL depends
on the bcmdhd kernel driver that we don't want to use because
it's an out of tree kernel driver and we want to use the upstream
kernel drivers instead.

So we need to modify this Broadcom Wi-Fi HAL not to depend on
the bcmdhd driver.

Since there is also a Wi-Fi hal in the device/linaro/poplar
repository that was derived from this Broadcom Wi-Fi HAL, we
could import it.

That modified Wi-Fi HAL has been imported in device/linaro/poplar[1]
in the android-11.0.0_r17 tag by the following commit:
    commit d9bd822cf11ffa4c2813e6027b8172a400f93505
    Author: Shawn Guo &lt;shawn.guo@linaro.org&gt;
    Date:   Wed Oct 10 10:24:47 2018 +0800

        Add poplar wifi hal source code

        The poplar wifi hal derives from bcmdhd one with a few changes below.

         - No GetChannelListCommand support for gscan.
         - Use different vendor data structure without internal radio statistics
           structure conversion for link_layer_stats.
         - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib.

        We should probably consolidate it with bcmdhd at hardware/ folder
        level, but let's start from maintaining it at poplar device level before
        we find it useful for more devices.

        Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962

However the amount of changes are way too big to be reviewed, so we
need to split them up.

Since this change was also done by this the "Add poplar wifi hal
source code" commit, we can simply split that away in order to
make review more easy.

[1]https://android.googlesource.com/device/linaro/poplar

GNUtoo: commit message, rebase and split
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The broadcom HAL we imported use as a base in this repository
doesn't work with the brcmfmac upstream driver in Linux: even
if nonfree firwmares are found on the device (for instance
because users added them manually), Replicant can scan the
networks but it can't connect to WPA2 networks even with the
right password, and when the connection fails we see some
errors with the statistics reporting (from adb logcat -b main):
    [...] D WifiNl80211Manager: Scan result ready event
    [...] D WifiNative: Scan result ready event
    [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973)
          failed {.code = ERROR_UNKNOWN, .description = unknown error}

This might be because for some reasons the Broadcom HAL depends
on the bcmdhd kernel driver that we don't want to use because
it's an out of tree kernel driver and we want to use the upstream
kernel drivers instead.

So we need to modify this Broadcom Wi-Fi HAL not to depend on
the bcmdhd driver.

Since there is also a Wi-Fi hal in the device/linaro/poplar
repository that was derived from this Broadcom Wi-Fi HAL, we
could import it.

That modified Wi-Fi HAL has been imported in device/linaro/poplar[1]
in the android-11.0.0_r17 tag by the following commit:
    commit d9bd822cf11ffa4c2813e6027b8172a400f93505
    Author: Shawn Guo &lt;shawn.guo@linaro.org&gt;
    Date:   Wed Oct 10 10:24:47 2018 +0800

        Add poplar wifi hal source code

        The poplar wifi hal derives from bcmdhd one with a few changes below.

         - No GetChannelListCommand support for gscan.
         - Use different vendor data structure without internal radio statistics
           structure conversion for link_layer_stats.
         - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib.

        We should probably consolidate it with bcmdhd at hardware/ folder
        level, but let's start from maintaining it at poplar device level before
        we find it useful for more devices.

        Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962

However the amount of changes are way too big to be reviewed, so we
need to split them up.

Since this change was also done by this the "Add poplar wifi hal
source code" commit, we can simply split that away in order to
make review more easy.

[1]https://android.googlesource.com/device/linaro/poplar

GNUtoo: commit message, rebase and split
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WIFI_EVENT enum: remove unneeded assignements</title>
<updated>2021-09-12T21:45:36+00:00</updated>
<author>
<name>Shawn Guo</name>
<email>shawn.guo@linaro.org</email>
</author>
<published>2021-09-12T16:36:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_replicant_wlan/commit/?id=377b0e8961210e3a380f5e083c448f7267d3c473'/>
<id>377b0e8961210e3a380f5e083c448f7267d3c473</id>
<content type='text'>
The broadcom HAL we imported use as a base in this repository
doesn't work with the brcmfmac upstream driver in Linux: even
if nonfree firwmares are found on the device (for instance
because users added them manually), Replicant can scan the
networks but it can't connect to WPA2 networks even with the
right password, and when the connection fails we see some
errors with the statistics reporting (from adb logcat -b main):
    [...] D WifiNl80211Manager: Scan result ready event
    [...] D WifiNative: Scan result ready event
    [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973)
          failed {.code = ERROR_UNKNOWN, .description = unknown error}

This might be because for some reasons the Broadcom HAL depends
on the bcmdhd kernel driver that we don't want to use because
it's an out of tree kernel driver and we want to use the upstream
kernel drivers instead.

So we need to modify this Broadcom Wi-Fi HAL not to depend on
the bcmdhd driver.

Since there is also a Wi-Fi hal in the device/linaro/poplar
repository that was derived from this Broadcom Wi-Fi HAL, we
could import it.

That modified Wi-Fi HAL has been imported in device/linaro/poplar[1]
in the android-11.0.0_r17 tag by the following commit:
    commit d9bd822cf11ffa4c2813e6027b8172a400f93505
    Author: Shawn Guo &lt;shawn.guo@linaro.org&gt;
    Date:   Wed Oct 10 10:24:47 2018 +0800

        Add poplar wifi hal source code

        The poplar wifi hal derives from bcmdhd one with a few changes below.

         - No GetChannelListCommand support for gscan.
         - Use different vendor data structure without internal radio statistics
           structure conversion for link_layer_stats.
         - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib.

        We should probably consolidate it with bcmdhd at hardware/ folder
        level, but let's start from maintaining it at poplar device level before
        we find it useful for more devices.

        Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962

However the amount of changes are way too big to be reviewed, so we
need to split them up.

Since this change was also done by this the "Add poplar wifi hal
source code" commit, we can simply split that away in order to
make review more easy.

[1]https://android.googlesource.com/device/linaro/poplar

GNUtoo: commit message, rebase and split
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The broadcom HAL we imported use as a base in this repository
doesn't work with the brcmfmac upstream driver in Linux: even
if nonfree firwmares are found on the device (for instance
because users added them manually), Replicant can scan the
networks but it can't connect to WPA2 networks even with the
right password, and when the connection fails we see some
errors with the statistics reporting (from adb logcat -b main):
    [...] D WifiNl80211Manager: Scan result ready event
    [...] D WifiNative: Scan result ready event
    [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973)
          failed {.code = ERROR_UNKNOWN, .description = unknown error}

This might be because for some reasons the Broadcom HAL depends
on the bcmdhd kernel driver that we don't want to use because
it's an out of tree kernel driver and we want to use the upstream
kernel drivers instead.

So we need to modify this Broadcom Wi-Fi HAL not to depend on
the bcmdhd driver.

Since there is also a Wi-Fi hal in the device/linaro/poplar
repository that was derived from this Broadcom Wi-Fi HAL, we
could import it.

That modified Wi-Fi HAL has been imported in device/linaro/poplar[1]
in the android-11.0.0_r17 tag by the following commit:
    commit d9bd822cf11ffa4c2813e6027b8172a400f93505
    Author: Shawn Guo &lt;shawn.guo@linaro.org&gt;
    Date:   Wed Oct 10 10:24:47 2018 +0800

        Add poplar wifi hal source code

        The poplar wifi hal derives from bcmdhd one with a few changes below.

         - No GetChannelListCommand support for gscan.
         - Use different vendor data structure without internal radio statistics
           structure conversion for link_layer_stats.
         - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib.

        We should probably consolidate it with bcmdhd at hardware/ folder
        level, but let's start from maintaining it at poplar device level before
        we find it useful for more devices.

        Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962

However the amount of changes are way too big to be reviewed, so we
need to split them up.

Since this change was also done by this the "Add poplar wifi hal
source code" commit, we can simply split that away in order to
make review more easy.

[1]https://android.googlesource.com/device/linaro/poplar

GNUtoo: commit message, rebase and split
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ANDROID_VENDOR_SUB_COMMAND: move ORDER NAN commads by value</title>
<updated>2021-09-12T21:34:16+00:00</updated>
<author>
<name>Shawn Guo</name>
<email>shawn.guo@linaro.org</email>
</author>
<published>2021-09-12T16:36:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_replicant_wlan/commit/?id=88677c1026e5d9ec83a09f5ac0714fcdd0ab1ae1'/>
<id>88677c1026e5d9ec83a09f5ac0714fcdd0ab1ae1</id>
<content type='text'>
The broadcom HAL we imported use as a base in this repository
doesn't work with the brcmfmac upstream driver in Linux: even
if nonfree firwmares are found on the device (for instance
because users added them manually), Replicant can scan the
networks but it can't connect to WPA2 networks even with the
right password, and when the connection fails we see some
errors with the statistics reporting (from adb logcat -b main):
    [...] D WifiNl80211Manager: Scan result ready event
    [...] D WifiNative: Scan result ready event
    [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973)
          failed {.code = ERROR_UNKNOWN, .description = unknown error}

This might be because for some reasons the Broadcom HAL depends
on the bcmdhd kernel driver that we don't want to use because
it's an out of tree kernel driver and we want to use the upstream
kernel drivers instead.

So we need to modify this Broadcom Wi-Fi HAL not to depend on
the bcmdhd driver.

Since there is also a Wi-Fi hal in the device/linaro/poplar
repository that was derived from this Broadcom Wi-Fi HAL, we
could import it.

That modified Wi-Fi HAL has been imported in device/linaro/poplar[1]
in the android-11.0.0_r17 tag by the following commit:
    commit d9bd822cf11ffa4c2813e6027b8172a400f93505
    Author: Shawn Guo &lt;shawn.guo@linaro.org&gt;
    Date:   Wed Oct 10 10:24:47 2018 +0800

        Add poplar wifi hal source code

        The poplar wifi hal derives from bcmdhd one with a few changes below.

         - No GetChannelListCommand support for gscan.
         - Use different vendor data structure without internal radio statistics
           structure conversion for link_layer_stats.
         - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib.

        We should probably consolidate it with bcmdhd at hardware/ folder
        level, but let's start from maintaining it at poplar device level before
        we find it useful for more devices.

        Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962

However the amount of changes are way too big to be reviewed, so we
need to split them up.

Since the reorder done by this commit was also done by the "Add
poplar wifi hal source code" commit, we can simply split that
away in order to make review more easy.

[1]https://android.googlesource.com/device/linaro/poplar

GNUtoo: commit message, rebase and split
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The broadcom HAL we imported use as a base in this repository
doesn't work with the brcmfmac upstream driver in Linux: even
if nonfree firwmares are found on the device (for instance
because users added them manually), Replicant can scan the
networks but it can't connect to WPA2 networks even with the
right password, and when the connection fails we see some
errors with the statistics reporting (from adb logcat -b main):
    [...] D WifiNl80211Manager: Scan result ready event
    [...] D WifiNative: Scan result ready event
    [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973)
          failed {.code = ERROR_UNKNOWN, .description = unknown error}

This might be because for some reasons the Broadcom HAL depends
on the bcmdhd kernel driver that we don't want to use because
it's an out of tree kernel driver and we want to use the upstream
kernel drivers instead.

So we need to modify this Broadcom Wi-Fi HAL not to depend on
the bcmdhd driver.

Since there is also a Wi-Fi hal in the device/linaro/poplar
repository that was derived from this Broadcom Wi-Fi HAL, we
could import it.

That modified Wi-Fi HAL has been imported in device/linaro/poplar[1]
in the android-11.0.0_r17 tag by the following commit:
    commit d9bd822cf11ffa4c2813e6027b8172a400f93505
    Author: Shawn Guo &lt;shawn.guo@linaro.org&gt;
    Date:   Wed Oct 10 10:24:47 2018 +0800

        Add poplar wifi hal source code

        The poplar wifi hal derives from bcmdhd one with a few changes below.

         - No GetChannelListCommand support for gscan.
         - Use different vendor data structure without internal radio statistics
           structure conversion for link_layer_stats.
         - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib.

        We should probably consolidate it with bcmdhd at hardware/ folder
        level, but let's start from maintaining it at poplar device level before
        we find it useful for more devices.

        Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962

However the amount of changes are way too big to be reviewed, so we
need to split them up.

Since the reorder done by this commit was also done by the "Add
poplar wifi hal source code" commit, we can simply split that
away in order to make review more easy.

[1]https://android.googlesource.com/device/linaro/poplar

GNUtoo: commit message, rebase and split
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Wi-Fi Aware / Neighbor Awareness Networking (NAN)</title>
<updated>2021-09-12T21:31:29+00:00</updated>
<author>
<name>Shawn Guo</name>
<email>shawn.guo@linaro.org</email>
</author>
<published>2021-09-12T16:36:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_replicant_wlan/commit/?id=a211890cbe75b99f303ae61ad9291d0c6a1d47e5'/>
<id>a211890cbe75b99f303ae61ad9291d0c6a1d47e5</id>
<content type='text'>
The broadcom HAL we imported use as a base in this repository
doesn't work with the brcmfmac upstream driver in Linux: even
if nonfree firwmares are found on the device (for instance
because users added them manually), Replicant can scan the
networks but it can't connect to WPA2 networks even with the
right password, and when the connection fails we see some
errors with the statistics reporting (from adb logcat -b main):
    [...] D WifiNl80211Manager: Scan result ready event
    [...] D WifiNative: Scan result ready event
    [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973)
          failed {.code = ERROR_UNKNOWN, .description = unknown error}

This might be because for some reasons the Broadcom HAL depends
on the bcmdhd kernel driver that we don't want to use because
it's an out of tree kernel driver and we want to use the upstream
kernel drivers instead.

So we need to modify this Broadcom Wi-Fi HAL not to depend on
the bcmdhd driver.

Since there is also a Wi-Fi hal in the device/linaro/poplar
repository that was derived from this Broadcom Wi-Fi HAL, we
could import it.

That modified Wi-Fi HAL has been imported in device/linaro/poplar[1]
in the android-11.0.0_r17 tag by the following commit:
    commit d9bd822cf11ffa4c2813e6027b8172a400f93505
    Author: Shawn Guo &lt;shawn.guo@linaro.org&gt;
    Date:   Wed Oct 10 10:24:47 2018 +0800

        Add poplar wifi hal source code

        The poplar wifi hal derives from bcmdhd one with a few changes below.

         - No GetChannelListCommand support for gscan.
         - Use different vendor data structure without internal radio statistics
           structure conversion for link_layer_stats.
         - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib.

        We should probably consolidate it with bcmdhd at hardware/ folder
        level, but let's start from maintaining it at poplar device level before
        we find it useful for more devices.

        Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962

However the amount of changes are way too big to be reviewed, so we
need to split them up.

Since support Wi-Fi Aware / Neighbor Awareness Networking (NAN)
support was also removed by that commit, we can simply split that
away in order to make review more easy.

This way, if for some reasons the Wi-Fi Aware feature needs to be
bring back, we could simply revert this commit.

More details wifi-aware are available on the wifi-aware[2] page
of Android developers documentation.

[1]https://android.googlesource.com/device/linaro/poplar
[2]https://developer.android.com/guide/topics/connectivity/wifi-aware

GNUtoo: commit message, rebase and split
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The broadcom HAL we imported use as a base in this repository
doesn't work with the brcmfmac upstream driver in Linux: even
if nonfree firwmares are found on the device (for instance
because users added them manually), Replicant can scan the
networks but it can't connect to WPA2 networks even with the
right password, and when the connection fails we see some
errors with the statistics reporting (from adb logcat -b main):
    [...] D WifiNl80211Manager: Scan result ready event
    [...] D WifiNative: Scan result ready event
    [...] E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973)
          failed {.code = ERROR_UNKNOWN, .description = unknown error}

This might be because for some reasons the Broadcom HAL depends
on the bcmdhd kernel driver that we don't want to use because
it's an out of tree kernel driver and we want to use the upstream
kernel drivers instead.

So we need to modify this Broadcom Wi-Fi HAL not to depend on
the bcmdhd driver.

Since there is also a Wi-Fi hal in the device/linaro/poplar
repository that was derived from this Broadcom Wi-Fi HAL, we
could import it.

That modified Wi-Fi HAL has been imported in device/linaro/poplar[1]
in the android-11.0.0_r17 tag by the following commit:
    commit d9bd822cf11ffa4c2813e6027b8172a400f93505
    Author: Shawn Guo &lt;shawn.guo@linaro.org&gt;
    Date:   Wed Oct 10 10:24:47 2018 +0800

        Add poplar wifi hal source code

        The poplar wifi hal derives from bcmdhd one with a few changes below.

         - No GetChannelListCommand support for gscan.
         - Use different vendor data structure without internal radio statistics
           structure conversion for link_layer_stats.
         - Drop BCMDHD_64_BIT_IPC build option support for wpa_supplicant_8_lib.

        We should probably consolidate it with bcmdhd at hardware/ folder
        level, but let's start from maintaining it at poplar device level before
        we find it useful for more devices.

        Change-Id: Ibef0f75f02f184b4feb7ba624407ce2f26984962

However the amount of changes are way too big to be reviewed, so we
need to split them up.

Since support Wi-Fi Aware / Neighbor Awareness Networking (NAN)
support was also removed by that commit, we can simply split that
away in order to make review more easy.

This way, if for some reasons the Wi-Fi Aware feature needs to be
bring back, we could simply revert this commit.

More details wifi-aware are available on the wifi-aware[2] page
of Android developers documentation.

[1]https://android.googlesource.com/device/linaro/poplar
[2]https://developer.android.com/guide/topics/connectivity/wifi-aware

GNUtoo: commit message, rebase and split
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Adapt for Replicant</title>
<updated>2021-09-08T17:51:56+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-09-08T14:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_replicant_wlan/commit/?id=0004cdb43f622cf959234a52ffa61718b894d3bd'/>
<id>0004cdb43f622cf959234a52ffa61718b894d3bd</id>
<content type='text'>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move everything out of the bcmdhd directory</title>
<updated>2021-09-08T13:50:29+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-09-08T13:50:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_replicant_wlan/commit/?id=52f5d170b4f892d12f3843431f468827e16efeb8'/>
<id>52f5d170b4f892d12f3843431f468827e16efeb8</id>
<content type='text'>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
