question

yinghuiliu-8415 avatar image
0 Votes"
yinghuiliu-8415 asked yinghuiliu-8415 commented

Native WIFI API - How to support WIFI with WPA3

I used native wifi API for my WIFI connection function. It supports WPA2 currently, I wants to extend it to support WIFI6 and WPA3.
Now I have problem with this enum DOT11_AUTH_ALGORITHM , no key for WPA3 is there.
This document have not been updated since 2018. Is it just the document update issue or native WIFI API do not support WP3 at all?
If it is just the documentation issue then how can I support WP3 with native WIFI API?

reference(DOT11_AUTH_ALGORITHM enumeration):
https://docs.microsoft.com/en-us/windows/win32/nativewifi/dot11-auth-algorithm

windows-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XiaopoYang-MSFT avatar image
0 Votes"
XiaopoYang-MSFT answered yinghuiliu-8415 commented

It is just the document update issue. I find it in code.

   // DOT11_AUTH_ALGO_LIST
     #ifdef __midl
     // use the 4-byte enum
     typedef [v1_enum] enum _DOT11_AUTH_ALGORITHM {
     #else
     typedef enum _DOT11_AUTH_ALGORITHM {
     #endif
         DOT11_AUTH_ALGO_80211_OPEN = 1,
         DOT11_AUTH_ALGO_80211_SHARED_KEY = 2,
         DOT11_AUTH_ALGO_WPA = 3,
         DOT11_AUTH_ALGO_WPA_PSK = 4,
         DOT11_AUTH_ALGO_WPA_NONE = 5,               // used in NatSTA only
         DOT11_AUTH_ALGO_RSNA = 6,
         DOT11_AUTH_ALGO_RSNA_PSK = 7,
         DOT11_AUTH_ALGO_WPA3 = 8,
         DOT11_AUTH_ALGO_WPA3_SAE = 9,
         DOT11_AUTH_ALGO_IHV_START = 0x80000000,
         DOT11_AUTH_ALGO_IHV_END = 0xffffffff
     } DOT11_AUTH_ALGORITHM, * PDOT11_AUTH_ALGORITHM;


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It works. Thank you

0 Votes 0 ·