History

Merge tag 'wireless-2025-06-18' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless

Johannes Berg says: ==================== More fixes: - ath12k - avoid busy-waiting - activate correct number of links - iwlwifi - iwldvm regression (lots of warnings) - iwlmld merge damage regression (crash) - fix build with some old gcc versions - carl9170: don't talk to device w/o FW [syzbot] - ath6kl: remove bad FW WARN [syzbot] - ieee80211: use variable-length arrays [syzbot] - mac80211 - remove WARN on delayed beacon update [syzbot] - drop OCB frames with invalid source [syzbot] * tag 'wireless-2025-06-18' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless: wifi: iwlwifi: Fix incorrect logic on cmd_ver range checking wifi: iwlwifi: dvm: restore n_no_reclaim_cmds setting wifi: iwlwifi: cfg: Limit cb_size to valid range wifi: iwlwifi: restore missing initialization of async_handlers_list (again) wifi: ath6kl: remove WARN on bad firmware input wifi: carl9170: do not ping device which has failed to load firmware wifi: ath12k: don't wait when there is no vdev started wifi: ath12k: don't use static variables in ath12k_wmi_fw_stats_process() wifi: ath12k: avoid burning CPU while waiting for firmware stats wifi: ath12k: fix documentation on firmware stats wifi: ath12k: don't activate more links than firmware supports wifi: ath12k: update link active in case two links fall on the same MAC wifi: ath12k: support WMI_MLO_LINK_SET_ACTIVE_CMDID command wifi: ath12k: update freq range for each hardware mode wifi: ath12k: parse and save sbs_lower_band_end_freq from WMI_SERVICE_READY_EXT2_EVENTID event wifi: ath12k: parse and save hardware mode info from WMI_SERVICE_READY_EXT_EVENTID event for later use wifi: ath12k: Avoid CPU busy-wait by handling VDEV_STAT and BCN_STAT wifi: mac80211: don't WARN for late channel/color switch wifi: mac80211: drop invalid source address OCB frames wifi: remove zero-length arrays ====================

Jakub Kicinski committed 1 year ago

Commit dccf87e2 parents 9738280 68dd8ee18 files · +1445 −133Browse files

Showing the changes to include/linux (1 of 18 files). Show all

Unified · Split

include/linux/ieee80211.h+9−9
@@ -1278,7 +1278,7 @@ struct ieee80211_ext { · 1277 unmodified lines
12781278 u8 sa[ETH_ALEN];
12791279 __le32 timestamp;
12801280 u8 change_seq;
1281− u8 variable[0];
1281+ u8 variable[];
12821282 } __packed s1g_beacon;
12831283 } u;
12841284 } __packed __aligned(2);
@@ -1536,7 +1536,7 @@ struct ieee80211_mgmt { · 251 unmodified lines
15361536 u8 action_code;
15371537 u8 dialog_token;
15381538 __le16 capability;
1539− u8 variable[0];
1539+ u8 variable[];
15401540 } __packed tdls_discover_resp;
15411541 struct {
15421542 u8 action_code;
@@ -1721,35 +1721,35 @@ struct ieee80211_tdls_data { · 178 unmodified lines
17211721 struct {
17221722 u8 dialog_token;
17231723 __le16 capability;
1724− u8 variable[0];
1724+ u8 variable[];
17251725 } __packed setup_req;
17261726 struct {
17271727 __le16 status_code;
17281728 u8 dialog_token;
17291729 __le16 capability;
1730− u8 variable[0];
1730+ u8 variable[];
17311731 } __packed setup_resp;
17321732 struct {
17331733 __le16 status_code;
17341734 u8 dialog_token;
1735− u8 variable[0];
1735+ u8 variable[];
17361736 } __packed setup_cfm;
17371737 struct {
17381738 __le16 reason_code;
1739− u8 variable[0];
1739+ u8 variable[];
17401740 } __packed teardown;
17411741 struct {
17421742 u8 dialog_token;
1743− u8 variable[0];
1743+ u8 variable[];
17441744 } __packed discover_req;
17451745 struct {
17461746 u8 target_channel;
17471747 u8 oper_class;
1748− u8 variable[0];
1748+ u8 variable[];
17491749 } __packed chan_switch_req;
17501750 struct {
17511751 __le16 status_code;
1752− u8 variable[0];
1752+ u8 variable[];
17531753 } __packed chan_switch_resp;
17541754 } u;
17551755 } __packed;