mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
infix-hardware: fix operational with virtual radios
* Show a vendor of the radio (hwsim) * Allow to show alot of supported AP interfaces, hwsim supports 2048
This commit is contained in:
@@ -213,7 +213,9 @@ def parse_phy_info(phy_name):
|
||||
|
||||
# Map driver to manufacturer
|
||||
driver_lower = driver_name.lower()
|
||||
if 'mt' in driver_lower or 'mediatek' in driver_lower:
|
||||
if 'hwsim' in driver_lower:
|
||||
result['manufacturer'] = 'Virtual (hwsim)'
|
||||
elif 'mt' in driver_lower or 'mediatek' in driver_lower:
|
||||
result['manufacturer'] = 'MediaTek Inc.'
|
||||
elif 'rtw' in driver_lower or 'realtek' in driver_lower:
|
||||
result['manufacturer'] = 'Realtek Semiconductor Corp.'
|
||||
|
||||
@@ -27,7 +27,7 @@ MODULES=(
|
||||
"infix-syslog@2025-11-17.yang"
|
||||
"iana-hardware@2018-03-13.yang"
|
||||
"ietf-hardware@2018-03-13.yang -e hardware-state -e hardware-sensor"
|
||||
"infix-hardware@2026-03-01.yang"
|
||||
"infix-hardware@2026-07-02.yang"
|
||||
"ieee802-dot1q-types@2022-10-29.yang"
|
||||
"infix-ip@2026-04-28.yang"
|
||||
"infix-if-type@2026-01-07.yang"
|
||||
|
||||
@@ -21,6 +21,12 @@ module infix-hardware {
|
||||
contact "kernelkit@googlegroups.com";
|
||||
description "Vital Product Data augmentation of ieee-hardware and deviations.";
|
||||
|
||||
revision 2026-07-02 {
|
||||
description "Widen wifi max-interfaces ap/station to uint16, virtual
|
||||
radios (mac80211_hwsim) report combinations up to 2048.";
|
||||
reference "internal";
|
||||
}
|
||||
|
||||
revision 2026-03-01 {
|
||||
description "Add channel-width leaf for WiFi radio container.";
|
||||
reference "internal";
|
||||
@@ -457,13 +463,13 @@ module infix-hardware {
|
||||
"Maximum number of virtual interfaces supported by this radio.";
|
||||
|
||||
leaf ap {
|
||||
type uint8;
|
||||
type uint16;
|
||||
description
|
||||
"Maximum number of AP interfaces.";
|
||||
}
|
||||
|
||||
leaf station {
|
||||
type uint8;
|
||||
type uint16;
|
||||
description
|
||||
"Maximum number of station interfaces.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user