Skip to content

Commit f073f48

Browse files
committed
Wifi (Linux): detect Wifi-7
1 parent 692ad50 commit f073f48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/detection/wifi/wifi_linux.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ static const char* detectWifiWithIw(FFWifiResult* item, FFstrbuf* buffer)
229229
{
230230
item->conn.txRate = ffStrbufToDouble(buffer);
231231

232-
if(ffStrbufContainS(buffer, " HE-MCS "))
232+
if(ffStrbufContainS(buffer, " EHT-MCS "))
233+
ffStrbufSetStatic(&item->conn.protocol, "802.11be (Wi-Fi 7)");
234+
else if(ffStrbufContainS(buffer, " HE-MCS "))
233235
ffStrbufSetStatic(&item->conn.protocol, "802.11ax (Wi-Fi 6)");
234236
else if(ffStrbufContainS(buffer, " VHT-MCS "))
235237
ffStrbufSetStatic(&item->conn.protocol, "802.11ac (Wi-Fi 5)");

0 commit comments

Comments
 (0)