Hello community, here is the log from the commit of package iw for openSUSE:Factory checked in at 2020-05-07 15:06:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iw (Old) and /work/SRC/openSUSE:Factory/.iw.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iw" Thu May 7 15:06:05 2020 rev:34 rq:800311 version:5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/iw/iw.changes 2019-08-16 15:31:09.533952081 +0200 +++ /work/SRC/openSUSE:Factory/.iw.new.2738/iw.changes 2020-05-07 15:06:18.335812105 +0200 @@ -1,0 +2,11 @@ +Wed Apr 15 06:45:47 UTC 2020 - Martin Pluskal <[email protected]> + +- Update to version 5.4: + * iw: generate command list at build time + * iw: scan: fix double-free in error paths + * iw: Fix typo in iw --help + * iw: Print current time in station info dump + * iw: Support associated-at station statistic. + * update nl80211.h + +------------------------------------------------------------------- Old: ---- iw-5.3.tar.sign iw-5.3.tar.xz New: ---- iw-5.4.tar.sign iw-5.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iw.spec ++++++ --- /var/tmp/diff_new_pack.yQ4L2y/_old 2020-05-07 15:06:18.843813229 +0200 +++ /var/tmp/diff_new_pack.yQ4L2y/_new 2020-05-07 15:06:18.847813239 +0200 @@ -1,7 +1,7 @@ # # spec file for package iw # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,16 @@ Name: iw -Version: 5.3 +Version: 5.4 Release: 0 Summary: Configuration utility for nl80211 based wireless drivers License: ISC Group: Hardware/Wifi -Url: https://wireless.wiki.kernel.org/en/users/documentation/iw +URL: https://wireless.wiki.kernel.org/en/users/documentation/iw Source: https://kernel.org/pub/software/network/iw/iw-%{version}.tar.xz Source2: https://kernel.org/pub/software/network/iw/iw-%{version}.tar.sign BuildRequires: pkgconfig BuildRequires: pkgconfig(libnl-3.0) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description iw is a nl80211 based CLI configuration utility for wireless devices. It @@ -40,15 +39,15 @@ %build # FIXME: -fno-strict-aliasing seems to be obsolete, but upstream Makefile requires it. # Either it is really obsolete or there is a hidden aliasing use. -make %{?_smp_mflags} CFLAGS="%{optflags} $(pkg-config --cflags libnl-3.0) -DCONFIG_LIBNL30 -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration" V=1 +%make_build CFLAGS="%{optflags} $(pkg-config --cflags libnl-3.0) -DCONFIG_LIBNL30 -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration" %install %make_install %files -%defattr(-,root,root) -%doc COPYING README +%license COPYING +%doc README %{_sbindir}/iw -%{_mandir}/man8/iw.8%{ext_man} +%{_mandir}/man8/iw.8%{?ext_man} %changelog ++++++ iw-5.3.tar.xz -> iw-5.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iw-5.3/.gitignore new/iw-5.4/.gitignore --- old/iw-5.3/.gitignore 2019-08-05 22:33:56.000000000 +0200 +++ new/iw-5.4/.gitignore 2019-12-05 13:13:54.000000000 +0100 @@ -5,3 +5,4 @@ version.c iw.8.gz *-stamp +/nl80211-commands.inc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iw-5.3/Makefile new/iw-5.4/Makefile --- old/iw-5.3/Makefile 2019-08-05 22:33:56.000000000 +0200 +++ new/iw-5.4/Makefile 2019-12-05 13:13:54.000000000 +0100 @@ -94,7 +94,11 @@ @$(NQ) ' GEN ' $@ $(Q)./version.sh $@ -%.o: %.c iw.h nl80211.h +nl80211-commands.inc: nl80211.h + @$(NQ) ' GEN ' $@ + $(Q)sed 's%^\tNL80211_CMD_%%;t n;d;:n s%^\([^=]*\),.*%\t[NL80211_CMD_\1] = \"\L\1\",%;t;d' nl80211.h | grep -v "reserved" > $@ + +%.o: %.c iw.h nl80211.h nl80211-commands.inc @$(NQ) ' CC ' $@ $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< @@ -120,4 +124,4 @@ $(Q)$(INSTALL) -m 644 iw.8.gz $(DESTDIR)$(MANDIR)/man8/ clean: - $(Q)rm -f iw *.o *~ *.gz version.c *-stamp + $(Q)rm -f iw *.o *~ *.gz version.c *-stamp nl80211-commands.inc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iw-5.3/event.c new/iw-5.4/event.c --- old/iw-5.3/event.c 2019-08-05 22:33:56.000000000 +0200 +++ new/iw-5.4/event.c 2019-12-05 13:13:54.000000000 +0100 @@ -1172,5 +1172,5 @@ TOPLEVEL(event, "[-t|-r] [-f]", 0, 0, CIB_NONE, print_events, "Monitor events from the kernel.\n" "-t - print timestamp\n" - "-r - print relative timstamp\n" + "-r - print relative timestamp\n" "-f - print full frame for auth/assoc etc."); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iw-5.3/nl80211.h new/iw-5.4/nl80211.h --- old/iw-5.3/nl80211.h 2019-08-05 22:33:56.000000000 +0200 +++ new/iw-5.4/nl80211.h 2019-12-05 13:13:54.000000000 +0100 @@ -52,6 +52,11 @@ #define NL80211_MULTICAST_GROUP_NAN "nan" #define NL80211_MULTICAST_GROUP_TESTMODE "testmode" +#define NL80211_EDMG_BW_CONFIG_MIN 4 +#define NL80211_EDMG_BW_CONFIG_MAX 15 +#define NL80211_EDMG_CHANNELS_MIN 1 +#define NL80211_EDMG_CHANNELS_MAX 0x3c /* 0b00111100 */ + /** * DOC: Station handling * @@ -2361,6 +2366,13 @@ * @NL80211_ATTR_HE_OBSS_PD: nested attribute for OBSS Packet Detection * functionality. * + * @NL80211_ATTR_WIPHY_EDMG_CHANNELS: bitmap that indicates the 2.16 GHz + * channel(s) that are allowed to be used for EDMG transmissions. + * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251. (u8 attribute) + * @NL80211_ATTR_WIPHY_EDMG_BW_CONFIG: Channel BW Configuration subfield encodes + * the allowed channel bandwidth configurations. (u8 attribute) + * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251, Table 13. + * * @NUM_NL80211_ATTR: total number of nl80211_attrs available * @NL80211_ATTR_MAX: highest attribute number currently defined * @__NL80211_ATTR_AFTER_LAST: internal use @@ -2820,6 +2832,9 @@ NL80211_ATTR_HE_OBSS_PD, + NL80211_ATTR_WIPHY_EDMG_CHANNELS, + NL80211_ATTR_WIPHY_EDMG_BW_CONFIG, + /* add attributes here, update the policy in nl80211.c */ __NL80211_ATTR_AFTER_LAST, @@ -3201,6 +3216,8 @@ * sent to the station (u64, usec) * @NL80211_STA_INFO_AIRTIME_WEIGHT: current airtime weight for station (u16) * @NL80211_STA_INFO_AIRTIME_LINK_METRIC: airtime link metric for mesh station + * @NL80211_STA_INFO_ASSOC_AT_BOOTTIME: Timestamp (CLOCK_BOOTTIME, nanoseconds) + * of STA's association * @__NL80211_STA_INFO_AFTER_LAST: internal * @NL80211_STA_INFO_MAX: highest possible station info attribute */ @@ -3247,6 +3264,7 @@ NL80211_STA_INFO_TX_DURATION, NL80211_STA_INFO_AIRTIME_WEIGHT, NL80211_STA_INFO_AIRTIME_LINK_METRIC, + NL80211_STA_INFO_ASSOC_AT_BOOTTIME, /* keep last */ __NL80211_STA_INFO_AFTER_LAST, @@ -3428,6 +3446,12 @@ * @NL80211_BAND_ATTR_VHT_CAPA: VHT capabilities, as in the HT information IE * @NL80211_BAND_ATTR_IFTYPE_DATA: nested array attribute, with each entry using * attributes from &enum nl80211_band_iftype_attr + * @NL80211_BAND_ATTR_EDMG_CHANNELS: bitmap that indicates the 2.16 GHz + * channel(s) that are allowed to be used for EDMG transmissions. + * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251. + * @NL80211_BAND_ATTR_EDMG_BW_CONFIG: Channel BW Configuration subfield encodes + * the allowed channel bandwidth configurations. + * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251, Table 13. * @NL80211_BAND_ATTR_MAX: highest band attribute currently defined * @__NL80211_BAND_ATTR_AFTER_LAST: internal use */ @@ -3445,6 +3469,9 @@ NL80211_BAND_ATTR_VHT_CAPA, NL80211_BAND_ATTR_IFTYPE_DATA, + NL80211_BAND_ATTR_EDMG_CHANNELS, + NL80211_BAND_ATTR_EDMG_BW_CONFIG, + /* keep last */ __NL80211_BAND_ATTR_AFTER_LAST, NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1 @@ -3843,6 +3870,8 @@ * @NL80211_SURVEY_INFO_TIME_SCAN: time the radio spent for scan * (on this channel or globally) * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment + * @NL80211_SURVEY_INFO_TIME_BSS_RX: amount of time the radio spent + * receiving frames destined to the local BSS * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number * currently defined * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use @@ -3859,6 +3888,7 @@ NL80211_SURVEY_INFO_TIME_TX, NL80211_SURVEY_INFO_TIME_SCAN, NL80211_SURVEY_INFO_PAD, + NL80211_SURVEY_INFO_TIME_BSS_RX, /* keep last */ __NL80211_SURVEY_INFO_AFTER_LAST, @@ -4543,6 +4573,7 @@ * @NL80211_BAND_2GHZ: 2.4 GHz ISM band * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz) * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 69.12 GHz) + * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.2 GHz) * @NUM_NL80211_BANDS: number of bands, avoid using this in userspace * since newer kernel versions may support more bands */ @@ -4550,6 +4581,7 @@ NL80211_BAND_2GHZ, NL80211_BAND_5GHZ, NL80211_BAND_60GHZ, + NL80211_BAND_6GHZ, NUM_NL80211_BANDS, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iw-5.3/scan.c new/iw-5.4/scan.c --- old/iw-5.3/scan.c 2019-08-05 22:33:56.000000000 +0200 +++ new/iw-5.4/scan.c 2019-12-05 13:13:54.000000000 +0100 @@ -448,8 +448,6 @@ } /* fall through - this is an error */ case DONE: - nlmsg_free(ssids); - nlmsg_free(freqs); err = 1; goto nla_put_failure; case FREQ: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iw-5.3/station.c new/iw-5.4/station.c --- old/iw-5.3/station.c 2019-08-05 22:33:56.000000000 +0200 +++ new/iw-5.4/station.c 2019-12-05 13:13:54.000000000 +0100 @@ -7,6 +7,7 @@ #include <netlink/genl/ctrl.h> #include <netlink/msg.h> #include <netlink/attr.h> +#include <time.h> #include "nl80211.h" #include "iw.h" @@ -326,6 +327,12 @@ [NL80211_STA_INFO_ACK_SIGNAL_AVG] = { .type = NLA_U8 }, }; char *chain; + struct timeval now; + unsigned long long now_ms; + + gettimeofday(&now, NULL); + now_ms = now.tv_sec * 1000; + now_ms += (now.tv_usec / 1000); nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), genlmsg_attrlen(gnlh, 0), NULL); @@ -569,8 +576,24 @@ if (sinfo[NL80211_STA_INFO_CONNECTED_TIME]) printf("\n\tconnected time:\t%u seconds", nla_get_u32(sinfo[NL80211_STA_INFO_CONNECTED_TIME])); + if (sinfo[NL80211_STA_INFO_ASSOC_AT_BOOTTIME]) { + unsigned long long bt; + struct timespec now_ts; + unsigned long long boot_ns; + unsigned long long assoc_at_ms; + + clock_gettime(CLOCK_BOOTTIME, &now_ts); + boot_ns = now_ts.tv_sec * 1000000000; + boot_ns += now_ts.tv_nsec; + + bt = (unsigned long long)nla_get_u64(sinfo[NL80211_STA_INFO_ASSOC_AT_BOOTTIME]); + printf("\n\tassociated at [boottime]:\t%llu.%.3llus", + bt/1000000000, (bt%1000000000)/1000000); + assoc_at_ms = now_ms - ((boot_ns - bt) / 1000000); + printf("\n\tassociated at:\t%llu ms", assoc_at_ms); + } - printf("\n"); + printf("\n\tcurrent time:\t%llu ms\n", now_ms); return NL_SKIP; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iw-5.3/util.c new/iw-5.4/util.c --- old/iw-5.3/util.c 2019-08-05 22:33:56.000000000 +0200 +++ new/iw-5.4/util.c 2019-12-05 13:13:54.000000000 +0100 @@ -148,145 +148,7 @@ } static const char *commands[NL80211_CMD_MAX + 1] = { -/* - * sed 's%^\tNL80211_CMD_%%;t n;d;:n s%^\([^=]*\),.*%\t[NL80211_CMD_\1] = \"\L\1\",%;t;d' nl80211.h | grep -v "reserved" - */ - [NL80211_CMD_UNSPEC] = "unspec", - [NL80211_CMD_GET_WIPHY] = "get_wiphy", - [NL80211_CMD_SET_WIPHY] = "set_wiphy", - [NL80211_CMD_NEW_WIPHY] = "new_wiphy", - [NL80211_CMD_DEL_WIPHY] = "del_wiphy", - [NL80211_CMD_GET_INTERFACE] = "get_interface", - [NL80211_CMD_SET_INTERFACE] = "set_interface", - [NL80211_CMD_NEW_INTERFACE] = "new_interface", - [NL80211_CMD_DEL_INTERFACE] = "del_interface", - [NL80211_CMD_GET_KEY] = "get_key", - [NL80211_CMD_SET_KEY] = "set_key", - [NL80211_CMD_NEW_KEY] = "new_key", - [NL80211_CMD_DEL_KEY] = "del_key", - [NL80211_CMD_GET_BEACON] = "get_beacon", - [NL80211_CMD_SET_BEACON] = "set_beacon", - [NL80211_CMD_START_AP] = "start_ap", - [NL80211_CMD_STOP_AP] = "stop_ap", - [NL80211_CMD_GET_STATION] = "get_station", - [NL80211_CMD_SET_STATION] = "set_station", - [NL80211_CMD_NEW_STATION] = "new_station", - [NL80211_CMD_DEL_STATION] = "del_station", - [NL80211_CMD_GET_MPATH] = "get_mpath", - [NL80211_CMD_SET_MPATH] = "set_mpath", - [NL80211_CMD_NEW_MPATH] = "new_mpath", - [NL80211_CMD_DEL_MPATH] = "del_mpath", - [NL80211_CMD_SET_BSS] = "set_bss", - [NL80211_CMD_SET_REG] = "set_reg", - [NL80211_CMD_REQ_SET_REG] = "req_set_reg", - [NL80211_CMD_GET_MESH_CONFIG] = "get_mesh_config", - [NL80211_CMD_SET_MESH_CONFIG] = "set_mesh_config", - [NL80211_CMD_GET_REG] = "get_reg", - [NL80211_CMD_GET_SCAN] = "get_scan", - [NL80211_CMD_TRIGGER_SCAN] = "trigger_scan", - [NL80211_CMD_NEW_SCAN_RESULTS] = "new_scan_results", - [NL80211_CMD_SCAN_ABORTED] = "scan_aborted", - [NL80211_CMD_REG_CHANGE] = "reg_change", - [NL80211_CMD_AUTHENTICATE] = "authenticate", - [NL80211_CMD_ASSOCIATE] = "associate", - [NL80211_CMD_DEAUTHENTICATE] = "deauthenticate", - [NL80211_CMD_DISASSOCIATE] = "disassociate", - [NL80211_CMD_MICHAEL_MIC_FAILURE] = "michael_mic_failure", - [NL80211_CMD_REG_BEACON_HINT] = "reg_beacon_hint", - [NL80211_CMD_JOIN_IBSS] = "join_ibss", - [NL80211_CMD_LEAVE_IBSS] = "leave_ibss", - [NL80211_CMD_TESTMODE] = "testmode", - [NL80211_CMD_CONNECT] = "connect", - [NL80211_CMD_ROAM] = "roam", - [NL80211_CMD_DISCONNECT] = "disconnect", - [NL80211_CMD_SET_WIPHY_NETNS] = "set_wiphy_netns", - [NL80211_CMD_GET_SURVEY] = "get_survey", - [NL80211_CMD_NEW_SURVEY_RESULTS] = "new_survey_results", - [NL80211_CMD_SET_PMKSA] = "set_pmksa", - [NL80211_CMD_DEL_PMKSA] = "del_pmksa", - [NL80211_CMD_FLUSH_PMKSA] = "flush_pmksa", - [NL80211_CMD_REMAIN_ON_CHANNEL] = "remain_on_channel", - [NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL] = "cancel_remain_on_channel", - [NL80211_CMD_SET_TX_BITRATE_MASK] = "set_tx_bitrate_mask", - [NL80211_CMD_REGISTER_FRAME] = "register_frame", - [NL80211_CMD_FRAME] = "frame", - [NL80211_CMD_FRAME_TX_STATUS] = "frame_tx_status", - [NL80211_CMD_SET_POWER_SAVE] = "set_power_save", - [NL80211_CMD_GET_POWER_SAVE] = "get_power_save", - [NL80211_CMD_SET_CQM] = "set_cqm", - [NL80211_CMD_NOTIFY_CQM] = "notify_cqm", - [NL80211_CMD_SET_CHANNEL] = "set_channel", - [NL80211_CMD_SET_WDS_PEER] = "set_wds_peer", - [NL80211_CMD_FRAME_WAIT_CANCEL] = "frame_wait_cancel", - [NL80211_CMD_JOIN_MESH] = "join_mesh", - [NL80211_CMD_LEAVE_MESH] = "leave_mesh", - [NL80211_CMD_UNPROT_DEAUTHENTICATE] = "unprot_deauthenticate", - [NL80211_CMD_UNPROT_DISASSOCIATE] = "unprot_disassociate", - [NL80211_CMD_NEW_PEER_CANDIDATE] = "new_peer_candidate", - [NL80211_CMD_GET_WOWLAN] = "get_wowlan", - [NL80211_CMD_SET_WOWLAN] = "set_wowlan", - [NL80211_CMD_START_SCHED_SCAN] = "start_sched_scan", - [NL80211_CMD_STOP_SCHED_SCAN] = "stop_sched_scan", - [NL80211_CMD_SCHED_SCAN_RESULTS] = "sched_scan_results", - [NL80211_CMD_SCHED_SCAN_STOPPED] = "sched_scan_stopped", - [NL80211_CMD_SET_REKEY_OFFLOAD] = "set_rekey_offload", - [NL80211_CMD_PMKSA_CANDIDATE] = "pmksa_candidate", - [NL80211_CMD_TDLS_OPER] = "tdls_oper", - [NL80211_CMD_TDLS_MGMT] = "tdls_mgmt", - [NL80211_CMD_UNEXPECTED_FRAME] = "unexpected_frame", - [NL80211_CMD_PROBE_CLIENT] = "probe_client", - [NL80211_CMD_REGISTER_BEACONS] = "register_beacons", - [NL80211_CMD_UNEXPECTED_4ADDR_FRAME] = "unexpected_4addr_frame", - [NL80211_CMD_SET_NOACK_MAP] = "set_noack_map", - [NL80211_CMD_CH_SWITCH_NOTIFY] = "ch_switch_notify", - [NL80211_CMD_START_P2P_DEVICE] = "start_p2p_device", - [NL80211_CMD_STOP_P2P_DEVICE] = "stop_p2p_device", - [NL80211_CMD_CONN_FAILED] = "conn_failed", - [NL80211_CMD_SET_MCAST_RATE] = "set_mcast_rate", - [NL80211_CMD_SET_MAC_ACL] = "set_mac_acl", - [NL80211_CMD_RADAR_DETECT] = "radar_detect", - [NL80211_CMD_GET_PROTOCOL_FEATURES] = "get_protocol_features", - [NL80211_CMD_UPDATE_FT_IES] = "update_ft_ies", - [NL80211_CMD_FT_EVENT] = "ft_event", - [NL80211_CMD_CRIT_PROTOCOL_START] = "crit_protocol_start", - [NL80211_CMD_CRIT_PROTOCOL_STOP] = "crit_protocol_stop", - [NL80211_CMD_GET_COALESCE] = "get_coalesce", - [NL80211_CMD_SET_COALESCE] = "set_coalesce", - [NL80211_CMD_CHANNEL_SWITCH] = "channel_switch", - [NL80211_CMD_VENDOR] = "vendor", - [NL80211_CMD_SET_QOS_MAP] = "set_qos_map", - [NL80211_CMD_ADD_TX_TS] = "add_tx_ts", - [NL80211_CMD_DEL_TX_TS] = "del_tx_ts", - [NL80211_CMD_GET_MPP] = "get_mpp", - [NL80211_CMD_JOIN_OCB] = "join_ocb", - [NL80211_CMD_LEAVE_OCB] = "leave_ocb", - [NL80211_CMD_CH_SWITCH_STARTED_NOTIFY] = "ch_switch_started_notify", - [NL80211_CMD_TDLS_CHANNEL_SWITCH] = "tdls_channel_switch", - [NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH] = "tdls_cancel_channel_switch", - [NL80211_CMD_WIPHY_REG_CHANGE] = "wiphy_reg_change", - [NL80211_CMD_ABORT_SCAN] = "abort_scan", - [NL80211_CMD_START_NAN] = "start_nan", - [NL80211_CMD_STOP_NAN] = "stop_nan", - [NL80211_CMD_ADD_NAN_FUNCTION] = "add_nan_function", - [NL80211_CMD_DEL_NAN_FUNCTION] = "del_nan_function", - [NL80211_CMD_CHANGE_NAN_CONFIG] = "change_nan_config", - [NL80211_CMD_NAN_MATCH] = "nan_match", - [NL80211_CMD_SET_MULTICAST_TO_UNICAST] = "set_multicast_to_unicast", - [NL80211_CMD_UPDATE_CONNECT_PARAMS] = "update_connect_params", - [NL80211_CMD_SET_PMK] = "set_pmk", - [NL80211_CMD_DEL_PMK] = "del_pmk", - [NL80211_CMD_PORT_AUTHORIZED] = "port_authorized", - [NL80211_CMD_RELOAD_REGDB] = "reload_regdb", - [NL80211_CMD_EXTERNAL_AUTH] = "external_auth", - [NL80211_CMD_STA_OPMODE_CHANGED] = "sta_opmode_changed", - [NL80211_CMD_CONTROL_PORT_FRAME] = "control_port_frame", - [NL80211_CMD_GET_FTM_RESPONDER_STATS] = "get_ftm_responder_stats", - [NL80211_CMD_PEER_MEASUREMENT_START] = "peer_measurement_start", - [NL80211_CMD_PEER_MEASUREMENT_RESULT] = "peer_measurement_result", - [NL80211_CMD_PEER_MEASUREMENT_COMPLETE] = "peer_measurement_complete", - [NL80211_CMD_NOTIFY_RADAR] = "notify_radar", - [NL80211_CMD_UPDATE_OWE_INFO] = "update_owe_info", - [NL80211_CMD_PROBE_MESH_LINK] = "probe_mesh_link", +#include "nl80211-commands.inc" }; static char cmdbuf[100]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iw-5.3/version.sh new/iw-5.4/version.sh --- old/iw-5.3/version.sh 2019-08-05 22:33:56.000000000 +0200 +++ new/iw-5.4/version.sh 2019-12-05 13:13:54.000000000 +0100 @@ -1,6 +1,6 @@ #!/bin/sh -VERSION="5.3" +VERSION="5.4" OUT="$1" # get the absolute path for the OUT file
