diff --git a/src/CoreWlan/Enums.cs b/src/CoreWlan/Enums.cs index c4b0a1641df2..659d029f085b 100644 --- a/src/CoreWlan/Enums.cs +++ b/src/CoreWlan/Enums.cs @@ -95,6 +95,9 @@ public enum CWPhyMode : ulong { /// To be added. AC = 5, AX = 6, + /// 802.11be (Wi-Fi 7). + [Mac (26, 4)] + BE = 7, } [NoMacCatalyst] diff --git a/src/corewlan.cs b/src/corewlan.cs index c25829f03f9d..3fe10186156b 100644 --- a/src/corewlan.cs +++ b/src/corewlan.cs @@ -553,11 +553,17 @@ interface CWWiFiClient { /// To be added. /// To be added. /// To be added. + [Deprecated (PlatformName.MacOSX, 14, 0, message: "Use the 'GetInterfaceNames' instance method instead.")] [NullAllowed] [Export ("interfaceNames")] [Static] string [] InterfaceNames { get; } + [Mac (14, 0)] + [return: NullAllowed] + [Export ("interfaceNames")] + string [] GetInterfaceNames (); + /// To be added. /// To be added. /// To be added. diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index ae48d487c8d3..67fcb4b355cc 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -11613,6 +11613,7 @@ M:CoreWlan.CWKeychain.TrySetWiFiPassword(CoreWlan.CWKeychainDomain,Foundation.NS M:CoreWlan.CWKeychain.TrySetWiFiPassword(CoreWlan.CWKeychainDomain,Foundation.NSData,System.String,System.Int32@) M:CoreWlan.CWKeychain.TrySetWiFiPassword(CoreWlan.CWKeychainDomain,Foundation.NSData,System.String) M:CoreWlan.CWWiFiClient.Dispose(System.Boolean) +M:CoreWlan.CWWiFiClient.GetInterfaceNames M:CryptoTokenKit.ITKSmartCardTokenDriverDelegate.CreateToken(CryptoTokenKit.TKSmartCardTokenDriver,CryptoTokenKit.TKSmartCard,Foundation.NSData,Foundation.NSError@) M:CryptoTokenKit.ITKSmartCardUserInteractionDelegate.CharacterEntered(CryptoTokenKit.TKSmartCardUserInteraction) M:CryptoTokenKit.ITKSmartCardUserInteractionDelegate.CorrectionKeyPressed(CryptoTokenKit.TKSmartCardUserInteraction) diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-CoreWLAN.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-CoreWLAN.todo deleted file mode 100644 index 9b80b59d91b4..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-CoreWLAN.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! CWWiFiClient::interfaceNames not bound -!missing-enum-value! CWPhyMode native value kCWPHYMode11be = 7 not bound