From: Johannes Berg <johannes@sipsolutions.net>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] add basic support for parsing country information element
Date: Mon, 04 May 2009 09:56:12 +0200 [thread overview]
Message-ID: <1241423772.8683.8.camel@johannes.local> (raw)
In-Reply-To: <1241413787-3185-1-git-send-email-marcel@holtmann.org>
[-- Attachment #1: Type: text/plain, Size: 712 bytes --]
On Sun, 2009-05-03 at 22:09 -0700, Marcel Holtmann wrote:
> ---
> scan.c | 11 +++++++++++
> 1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/scan.c b/scan.c
> index 2976115..c503487 100644
> --- a/scan.c
> +++ b/scan.c
> @@ -91,6 +91,16 @@ static void print_ign(unsigned char type, unsigned char len, unsigned char *data
> /* ignore for now, not too useful */
> }
>
> +static void print_country(unsigned char type, unsigned char len, unsigned char *data)
> +{
> + int i;
> +
> + printf("\tCountry: %.*s data:", 3, data);
IIRC the third characters there is a space if it's in- and outdoor, it
might make sense to parse it instead of just printing it?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2009-05-04 7:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 5:09 [PATCH] add basic support for parsing country information element Marcel Holtmann
2009-05-04 7:56 ` Johannes Berg [this message]
2009-05-04 7:58 ` Johannes Berg
2009-05-04 8:51 ` Marcel Holtmann
2009-05-04 11:12 ` Johannes Berg
2009-05-04 11:37 ` Johannes Berg
2009-05-04 15:52 ` Marcel Holtmann
2009-05-04 15:57 ` Johannes Berg
2009-05-04 16:09 ` Marcel Holtmann
2009-05-04 16:17 ` Johannes Berg
2009-05-04 16:28 ` Marcel Holtmann
2009-05-04 7:58 ` Marcel Holtmann
2009-05-04 8:00 ` Johannes Berg
2009-05-04 8:53 ` Marcel Holtmann
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=1241423772.8683.8.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=marcel@holtmann.org \
/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;
as well as URLs for NNTP newsgroup(s).