From: Denis Kenzior <denkenz@gmail.com>
To: iwd@lists.linux.dev
Subject: Re: [PATCH 1/5] defs: Add defs.h to hold certain global definitions
Date: Fri, 23 Aug 2024 12:24:12 -0500 [thread overview]
Message-ID: <688bf80b-5c66-4e6b-8098-c44e4e8995b0@gmail.com> (raw)
In-Reply-To: <20240823161848.485685-1-denkenz@gmail.com>
On 8/23/24 11:18 AM, Denis Kenzior wrote:
> This will help to get rid of magic number use throughout the project.
> The definitions should be limited to global magic numbers that are used
> throughout the project, for example SSID length, MAC address length,
> etc.
> ---
> Makefile.am | 3 ++-
> src/ap.c | 8 ++++----
> src/crypto.c | 3 ++-
> src/defs.h | 13 +++++++++++++
> src/dpp-util.h | 5 ++++-
> src/eap-wsc.c | 4 ++--
> src/handshake.h | 2 +-
> src/ie.c | 2 +-
> src/ie.h | 3 ++-
> src/knownnetworks.h | 4 +++-
> src/network.c | 2 +-
> src/p2putil.h | 3 ++-
> src/rrm.c | 4 ++--
> src/scan.c | 2 +-
> src/scan.h | 4 +++-
> src/station.c | 4 ++--
> src/storage.c | 3 ++-
> src/util.c | 5 +++--
> src/wsc.h | 2 +-
> src/wscutil.c | 2 +-
> src/wscutil.h | 4 +++-
> unit/test-util.c | 3 ++-
> 22 files changed, 57 insertions(+), 28 deletions(-)
> create mode 100644 src/defs.h
>
All applied
prev parent reply other threads:[~2024-08-23 17:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-23 16:18 [PATCH 1/5] defs: Add defs.h to hold certain global definitions Denis Kenzior
2024-08-23 16:18 ` [PATCH 2/5] monitor: Don't dump survey results with noscan Denis Kenzior
2024-08-23 16:18 ` [PATCH 3/5] monitor: Don't skip genl control Done,Error messages Denis Kenzior
2024-08-23 16:18 ` [PATCH 4/5] nl80211util: support attributes in CMD_EXTERNAL_AUTH Denis Kenzior
2024-08-23 16:18 ` [PATCH 5/5] nl80211util: Add builder for CMD_EXTERNAL_AUTH Denis Kenzior
2024-08-23 17:21 ` [PATCH 1/5] defs: Add defs.h to hold certain global definitions James Prestwood
2024-08-23 17:24 ` Denis Kenzior [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=688bf80b-5c66-4e6b-8098-c44e4e8995b0@gmail.com \
--to=denkenz@gmail.com \
--cc=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox