]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - info.c
iw: update extended features in info
[thirdparty/iw.git] / info.c
diff --git a/info.c b/info.c
index 38362d8744b74c4446bcd47dd4c15d689393e155..9147b925ba12713ba5d01b01f66aac5cc3a1bab9 100644 (file)
--- a/info.c
+++ b/info.c
@@ -133,6 +133,9 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)
        if (print_name && tb_msg[NL80211_ATTR_WIPHY_NAME])
                printf("Wiphy %s\n", nla_get_string(tb_msg[NL80211_ATTR_WIPHY_NAME]));
 
+       if (print_name && tb_msg[NL80211_ATTR_WIPHY])
+               printf("\twiphy index: %u\n", nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]));
+
        /* needed for split dump */
        if (tb_msg[NL80211_ATTR_WIPHY_BANDS]) {
                nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) {
@@ -676,16 +679,33 @@ broken_combination:
                ext_feat_print(tb, DFS_OFFLOAD, "DFS offload");
                ext_feat_print(tb, CONTROL_PORT_OVER_NL80211,
                               "control port over nl80211");
+               ext_feat_print(tb, ACK_SIGNAL_SUPPORT,
+                              "ack signal level support");
                ext_feat_print(tb, TXQS, "FQ-CoDel-enabled intermediate TXQs");
                ext_feat_print(tb, AIRTIME_FAIRNESS,
                               "airtime fairness scheduling");
+               ext_feat_print(tb, AQL,
+                              "Airtime Queue Limits (AQL)");
+               ext_feat_print(tb, SCAN_RANDOM_SN,
+                              "use random sequence numbers in scans");
+               ext_feat_print(tb, SCAN_MIN_PREQ_CONTENT,
+                              "use probe request with only rate IEs in scans");
+               ext_feat_print(tb, CAN_REPLACE_PTK0,
+                              "can safely replace PTK 0 when rekeying");
+               ext_feat_print(tb, ENABLE_FTM_RESPONDER,
+                              "enable FTM (Fine Time Measurement) responder");
                ext_feat_print(tb, AP_PMKSA_CACHING,
                               "PMKSA caching supported in AP mode");
                ext_feat_print(tb, SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD,
                               "band specific RSSI thresholds for scheduled scan");
-               ext_feat_print(tb, EXT_KEY_ID, "extended key ID support");
+               ext_feat_print(tb, EXT_KEY_ID, "Extended Key ID support");
                ext_feat_print(tb, STA_TX_PWR, "TX power control per station");
                ext_feat_print(tb, SAE_OFFLOAD, "SAE offload support");
+               ext_feat_print(tb, VLAN_OFFLOAD, "VLAN offload support");
+               ext_feat_print(tb, BEACON_PROTECTION, "beacon protection support");
+               ext_feat_print(tb, CONTROL_PORT_NO_PREAUTH, "disable pre-auth over nl80211 control port support");
+               ext_feat_print(tb, PROTECTED_TWT, "protected Target Wake Time (TWT) support");
+               ext_feat_print(tb, DEL_IBSS_STA, "deletion of IBSS station support");
        }
 
        if (tb_msg[NL80211_ATTR_COALESCE_RULE]) {