1
0
Fork 0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git synced 2026-12-03 00:14:36 +00:00
No description
  • C 99.3%
  • Makefile 0.4%
  • Roff 0.2%
  • Shell 0.1%
Find a file
Josef Schlehofer bd9f51c8ed iw: util: fix the EHT PHY capabilities buffer size
print_eht_info() stores the EHT PHY capabilities in an 8-byte
buffer, but the kernel provides 9 bytes. __print_eht_capa()
prints all 9 bytes and accesses two bits of the ninth byte
through phy_cap[2]. Both accesses go past the end of the
buffer, and the ninth byte is lost when copying the attribute.

Increase the buffer size to accommodate all 9 bytes.

Fixes: 4c85991731 ("iw: util: update and clean up eht capa printing")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Link: https://patch.msgid.link/20261124211430.93249-1-pepe.schlehofer@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2026-12-02 10:58:35 -08:00
.gitignore iw: generate command list at build time 2019-12-05 12:43:52 +01:00
Android.mk iw: remove android-nl.c with unneeded workaround 2015-08-13 10:58:52 +02:00
ap.c iw: refactor frequency help 2024-06-05 13:41:51 +02:00
bitrate.c iw: bitrate: support link id 2025-10-27 11:36:55 +01:00
bloom.c iw: nan: Add NAN Commands 2018-10-11 12:37:36 +02:00
coalesce.c iw: remove superfluous includes 2015-10-21 14:25:36 +02:00
connect.c iw: connect: Add support for WPA3 SAE association 2025-10-27 11:37:31 +01:00
CONTRIBUTING iw: embrace the Developer Certificate of Origin for contributions 2014-03-28 09:56:54 +01:00
COPYING iw: add get regulatory domain support 2009-02-04 23:34:48 +01:00
cqm.c iw: cqm: check nlmsg_alloc() return 2015-08-13 15:16:31 +02:00
event.c bump version to 6.9 2024-05-17 11:19:09 +02:00
ftm.c iw: Prevent segfault in ftm get stats 2025-06-24 09:29:48 +02:00
genl.c whitespace cleanups 2011-12-07 09:08:40 +01:00
hwsim.c iw: remove superfluous includes 2015-10-08 11:32:36 +02:00
ibss.c iw: S1G: add frequency set in kHz and offset options 2023-04-14 13:01:26 +02:00
ieee80211.h iw: scan: print Time Advertisement and Time Zone elements 2026-11-10 09:06:49 +01:00
info.c iw: update nl80211.h 2026-11-19 17:03:01 +01:00
interface.c iw: print NPCA channel parameters 2026-11-19 17:08:42 +01:00
iw.8 man: update wikipage URL, reformat SEE ALSO section 2020-11-30 09:58:43 +01:00
iw.c iw: don't set stupid socket buffer size 2025-09-03 09:43:39 +02:00
iw.h iw: support setting an S1G monitor channel 2026-11-19 16:58:08 +01:00
keys.c keys: don't require NL80211_ATTR_KEY_DATA 2026-03-25 18:59:53 +01:00
link.c iw: scan: add eht capability parsing 2025-04-23 16:37:15 +02:00
Makefile build: disable implicit rules 2026-05-05 12:31:41 +02:00
measurements.c iw: add support for configuring the bss color for ranging measurements 2021-09-08 09:28:59 +02:00
mesh.c iw: mesh: fix const discard warning 2026-11-10 09:11:10 +01:00
mgmt.c iw: fix mgmt dump missing arguments segfault 2021-04-16 11:21:21 +02:00
mpath.c iw: fix double tab in mesh path header 2022-05-04 11:37:13 +02:00
mpp.c iw: remove superfluous includes 2015-10-21 14:25:36 +02:00
nan.c nan: fix memory leak 2019-05-24 10:49:01 +02:00
nl80211.h iw: update nl80211.h 2026-11-19 17:03:01 +01:00
ocb.c iw: S1G: add frequency set in kHz and offset options 2023-04-14 13:01:26 +02:00
offch.c iw: Fix segfault when no args are given to offchannel 2015-10-21 14:04:46 +02:00
p2p.c iw: remove superfluous includes 2015-10-21 14:25:36 +02:00
phy.c iw: print S1G channel widths 2026-11-19 16:58:08 +01:00
ps.c iw: ps: fix "get power_save" documentation 2021-07-23 10:30:41 +02:00
README iw: update wikipage URL 2020-10-27 08:53:11 +01:00
reason.c fix a reason string 2009-07-09 23:02:03 +02:00
reg.c iw: print NO-EHT flags for reg get command 2025-05-16 10:54:27 +02:00
roc.c iw: remove superfluous includes 2015-10-08 11:32:36 +02:00
sar.c iw: add set sar_specs command 2021-10-21 17:19:14 +02:00
scan.c iw: scan: print Time Advertisement and Time Zone elements 2026-11-10 09:06:49 +01:00
sections.c separate commands into sections 2009-08-24 13:28:55 +02:00
sha256.c iw: make all code files non-executable 2019-01-08 12:42:42 +01:00
sha256.h iw: make all code files non-executable 2019-01-08 12:42:42 +01:00
station.c iw: print UHR rate information 2026-11-19 17:09:27 +01:00
status.c print status 2009-05-05 12:39:30 +02:00
survey.c iw: survey: add BSS receive time to survey 2026-01-19 10:12:43 +01:00
util.c iw: util: fix the EHT PHY capabilities buffer size 2026-12-02 10:58:35 -08:00
vendor.c iw: fix fp handling inside handle_vendor 2019-05-24 10:44:25 +02:00
version.sh bump version to 6.17 2025-09-03 09:47:25 +02:00
wowlan.c wowlan: Use MAX_NL80211_ATTR instead of NUM in nla_parse 2018-10-11 12:31:14 +02:00

This is 'iw', a tool to use nl80211.


To build iw, just enter 'make'. If that fails, set the
PKG_CONFIG_PATH environment variable to allow the Makefile
to find libnl.


'iw' is currently maintained at http://git.sipsolutions.net/iw.git/,
some more documentation is available at
https://wireless.wiki.kernel.org/en/users/Documentation/iw

Please send all patches to Johannes Berg <johannes@sipsolutions.net>
and CC linux-wireless@vger.kernel.org for community review.