Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fea031e8 authored by Gabriel Biren's avatar Gabriel Biren
Browse files

Reorder the hostapd Generation enum to list

the WiFi generations chronologically.

Bug: 213475388
Test: Build the interface (mm -j)
Change-Id: I9f501c021956a376c03884dadade473ab0953bd3
(cherry picked from commit 04deb64b)
parent dceca455
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ enum Generation {
  WIFI_STANDARD_LEGACY = 0,
  WIFI_STANDARD_11N = 1,
  WIFI_STANDARD_11AC = 2,
  WIFI_STANDARD_11AX = 3,
  WIFI_STANDARD_11AD = 4,
  WIFI_STANDARD_11AD = 3,
  WIFI_STANDARD_11AX = 4,
  WIFI_STANDARD_11BE = 5,
}
+3 −3
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ package android.hardware.wifi.hostapd;
 * WIFI_STANDARD_11N = [hw_mode is HOSTAPD_MODE_IEEE80211G and (HT is 1 or HT40 is 1)] or
 *                     [hw_mode is HOSTAPD_MODE_IEEE80211A and VHT is 0].
 * WIFI_STANDARD_11AC = hw_mode is HOSTAPD_MODE_IEEE80211A and VHT is 1.
 * WIFI_STANDARD_11AX = hw_mode is HOSTAPD_MODE_IEEE80211A and High Efficiency supported.
 * WIFI_STANDARD_11AD = hw_mode is HOSTAPD_MODE_IEEE80211AD.
 * WIFI_STANDARD_11AX = hw_mode is HOSTAPD_MODE_IEEE80211A and High Efficiency supported.
 * WIFI_STANDARD_11BE = hw_mode is HOSTAPD_MODE_IEEE80211A and Extreme High Throughput supported.
 */
@VintfStability
@@ -36,7 +36,7 @@ enum Generation {
    WIFI_STANDARD_LEGACY = 0,
    WIFI_STANDARD_11N = 1,
    WIFI_STANDARD_11AC = 2,
    WIFI_STANDARD_11AX = 3,
    WIFI_STANDARD_11AD = 4,
    WIFI_STANDARD_11AD = 3,
    WIFI_STANDARD_11AX = 4,
    WIFI_STANDARD_11BE = 5,
}