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

Commit 8cb836d0 authored by Jimmy Chen's avatar Jimmy Chen
Browse files

wifi: add DMG BSS capability definition

Bug: 155424211
Test: atest FrameworksWifiApiTests
Change-Id: I309544fdebe351cf643ce21abcf5cad7b1995be6
parent a93b3cf9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7823,6 +7823,8 @@ package android.net.wifi.nl80211 {
    field public static final int BSS_CAPABILITY_CF_POLL_REQUEST = 8; // 0x8
    field public static final int BSS_CAPABILITY_CHANNEL_AGILITY = 128; // 0x80
    field public static final int BSS_CAPABILITY_DELAYED_BLOCK_ACK = 16384; // 0x4000
    field public static final int BSS_CAPABILITY_DMG_ESS = 3; // 0x3
    field public static final int BSS_CAPABILITY_DMG_IBSS = 1; // 0x1
    field public static final int BSS_CAPABILITY_DSSS_OFDM = 8192; // 0x2000
    field public static final int BSS_CAPABILITY_ESS = 1; // 0x1
    field public static final int BSS_CAPABILITY_IBSS = 2; // 0x2
+2 −0
Original line number Diff line number Diff line
@@ -6813,6 +6813,8 @@ package android.net.wifi.nl80211 {
    field public static final int BSS_CAPABILITY_CF_POLL_REQUEST = 8; // 0x8
    field public static final int BSS_CAPABILITY_CHANNEL_AGILITY = 128; // 0x80
    field public static final int BSS_CAPABILITY_DELAYED_BLOCK_ACK = 16384; // 0x4000
    field public static final int BSS_CAPABILITY_DMG_ESS = 3; // 0x3
    field public static final int BSS_CAPABILITY_DMG_IBSS = 1; // 0x1
    field public static final int BSS_CAPABILITY_DSSS_OFDM = 8192; // 0x2000
    field public static final int BSS_CAPABILITY_ESS = 1; // 0x1
    field public static final int BSS_CAPABILITY_IBSS = 2; // 0x2
+9 −0
Original line number Diff line number Diff line
@@ -225,6 +225,15 @@ public final class NativeScanResult implements Parcelable {
     * BSS capability bit (see IEEE Std 802.11: 9.4.1.4): Immediate Block Ack.
     */
    public static final int BSS_CAPABILITY_IMMEDIATE_BLOCK_ACK = 0x1 << 15;
    /**
     * BSS capability bit (see IEEE Std 802.11: 9.4.1.4): DMG ESS.
     * In DMG bits 0 and 1 are parsed together, where ESS=0x3 and IBSS=0x1
     */
    public static final int BSS_CAPABILITY_DMG_ESS = 0x3;
    /**
     * BSS capability bit (see IEEE Std 802.11: 9.4.1.4): DMG IBSS.
     */
    public static final int BSS_CAPABILITY_DMG_IBSS = 0x1;

    /**
     *  Returns the capabilities of the AP repseresented by this scan result as advertised in the