It is currently April 19th, 2024, 2:44 pm
Report bugs with the Rainmeter application and suggest features.
SilverAzide
Rainmeter Sage
Posts: 2603 Joined: March 23rd, 2015, 5:26 pm
Post
by SilverAzide » April 16th, 2021, 4:40 pm
Can the WifiStatus plugin be tweaked to show the latest radio type for
WiFiInfoType=PHY ? Currently, an 802.11ax wifi connection is returning "???" (which matches the documentation).
Code: Select all
C:\>netsh wlan show networks mode=bssid
Interface name : Wi-Fi
There are 2 networks currently visible.
SSID 1 : XXXXXX
Network type : Infrastructure
Authentication : WPA2-Personal
Encryption : CCMP
BSSID 1 : xx:xx:xx:xx:xx:xx
Signal : 95%
Radio type : 802.11ax
Channel : 1
Basic rates (Mbps) : 1 2 5.5 11
Other rates (Mbps) : 6 9 12 18 24 36 48 54
BSSID 2 : xx:xx:xx:xx:xx:xx
Signal : 99%
Radio type : 802.11ax
Channel : 149
Basic rates (Mbps) : 24 39 156
Other rates (Mbps) : 18 19.5 36 48 54
SSID 2 : XXXXXX
Network type : Infrastructure
Authentication : WPA2-Personal
Encryption : CCMP
BSSID 1 : xx:xx:xx:xx:xx:xx
Signal : 99%
Radio type : 802.11ac
Channel : 44
Basic rates (Mbps) : 24 39 156
Other rates (Mbps) : 18 19.5 36 48 54
jsmorley
Developer
Posts: 22629 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » April 16th, 2021, 4:57 pm
Can you try this test build out for me?
Rainmeter-4.4-r3447-beta.zip
I changed the code for
..Plugins\PluginWifiStatus\WifiStatus.cpp
Code: Select all
const WCHAR* ToString(DOT11_PHY_TYPE value)
{
switch (value)
{
case dot11_phy_type_fhss: return L"FHSS";
case dot11_phy_type_dsss: return L"DSSS";
case dot11_phy_type_irbaseband: return L"IR-Band";
case dot11_phy_type_ofdm: return L"802.11a";
case dot11_phy_type_hrdsss: return L"802.11b";
case dot11_phy_type_erp: return L"802.11g";
case dot11_phy_type_ht: return L"802.11n";
case dot11_phy_type_vht: return L"802.11ac";
case dot11_phy_type_dmg: return L"802.11ad";
case dot11_phy_type_he: return L"802.11ax";
default: return L"???";
}
}
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/windot11/ne-windot11-_dot11_phy_type
I added values for "ad" and "ax". There may be other "new" types we might want to consider. I'll leave that to Brian to investigate.
You do not have the required permissions to view the files attached to this post.
SilverAzide
Rainmeter Sage
Posts: 2603 Joined: March 23rd, 2015, 5:26 pm
Post
by SilverAzide » April 16th, 2021, 7:18 pm
jsmorley wrote: ↑ April 16th, 2021, 4:57 pm
Can you try this test build out for me?
Perfect!
Image1.png
You do not have the required permissions to view the files attached to this post.
jsmorley
Developer
Posts: 22629 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » April 16th, 2021, 9:50 pm
SilverAzide wrote: ↑ April 16th, 2021, 7:18 pm
Perfect!
Image1.png
Great! We will get it into the next beta. Likely tomorrow...