From: Klemens Nanni Subject: Re: sys/ieee80211: support of uAPSD; sys/iwx: enable uAPSD when supported by AP To: deraadt@openbsd.org, tech@openbsd.org Date: Mon, 06 Apr 2026 06:32:27 +0000 05.04.2026 21:41, Kirill A. Korinsky пишет: > On Sun, 05 Apr 2026 18:52:01 +0200, > "Theo de Raadt" wrote: >> >> Klemens Nanni wrote: >> >>> Can this be guarded with !SMALL, !SMALL_KERNEL and/or a new IEEE80211_UAPSD >>> in ifconfig, iwx and net80211, respectively? >> >> But don't go overboard unless the size savings is big. >> Mistakes relating to these #ifdef's can be a real pain. >> > > With patch: > > RAMDISK_CD $ wc -c obj/bsd* > 11297597 obj/bsd > 33730168 obj/bsd.gdb > 45027765 total > RAMDISK_CD $ > > Without patch: > > RAMDISK_CD $ wc -c obj/bsd* > 11289121 obj/bsd > 33712060 obj/bsd.gdb > 45001181 total > RAMDISK_CD $ > > or it adds ~8kb in ~11M kernel. > > I not sure that that changes are justified. It may not be that much on its own, but changes accumulate and this is one of the things certainly not needed in ramdisks. No objections from me to land this as as-is, though, since I haven't seen a diff for that or tried myself.