netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: chunkeey@web.de
Cc: "John W. Linville" <linville@tuxdriver.com>, netdev@vger.kernel.org
Subject: Re: [PATCH wireless-2.6-git] prism54: WPA/RSN support for fullmac cards
Date: Mon, 30 Oct 2006 09:50:41 +0100	[thread overview]
Message-ID: <1162198241.2854.13.camel@ux156> (raw)
In-Reply-To: <200610291335.07729.chunkeey@web.de>

On Sun, 2006-10-29 at 14:35 +0200, chunkeey@web.de wrote:

> +#define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]: 
> +#define MACSTR "%02x: %02x:%02x:%02x:%02x:%02x"

such defines should exist already in ieee80211 headers.

> -       /* Update our wireless stats, but do not schedule to often: 
> +       /* Update our wireless stats, but do not schedule to often : 

You could have fixed to->too while at it :)

> -       range->encoding_size[0] = 5;: 
> +       range->encoding_size[0] = KEY_SIZE_WEP40;: 
>         /* 128(104) bits WEP */
> -       range->encoding_size[1] = 13;: 
> +       range->encoding_size[1] = WEP_KEY_LEN;: 
>         /* 256 bits for WPA-PSK */
> -       range->encoding_size[2] = 32;: 
> +       range->encoding_size[2] = SCM_KEY_LEN;: 

Are there no constants for these in the ieee80211 headers? These look
home-grown.

> +               attach->type = DOT11_PKT_BEACON;: 

> +               attach->type = DOT11_PKT_PROBE_RESP;: 

These also look home-grown.


> -                        "%s %s %2.2X: %2.2X:%2.2X:%2.2X:%2.2X:%2.2X %s (%2.2X)",
> +                        "%s %s %2.2X: %2.2X:%2.2X:%2.2X:%2.2X:%2.2X [%2.2x %2.2X %4.4X]",
>                          str,
>                          ((priv->iw_mode == IW_MODE_MASTER) ? "from" : "to"),
>                          a[0], a[1], a[2], a[3], a[4], a[5],

Umm...

johannes

  reply	other threads:[~2006-10-30  8:49 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03 12:57 [PATCH] prism54: wpa support for fullmac cards chunkeey
2006-10-04 10:38 ` Jiri Benc
2006-10-04 11:40   ` Dan Williams
2006-10-04 14:12     ` chunkeey
2006-10-04 21:43       ` Jouni Malinen
2006-10-05 17:17         ` chunkeey
2006-10-17 21:32 ` John W. Linville
2006-10-29 12:35   ` [PATCH wireless-2.6-git] prism54: WPA/RSN " chunkeey
2006-10-30  8:50     ` Johannes Berg [this message]
2006-10-30 20:17     ` Luis R. Rodriguez
2006-10-31 16:05       ` Dan Williams
2006-10-31 17:53         ` chunkeey
2006-11-03 14:49         ` Dan Williams
2006-11-03 16:06           ` Luis R. Rodriguez
2006-11-03 18:12             ` chunkeey
2006-11-03 18:41               ` Luis R. Rodriguez
2006-11-08  0:39                 ` John W. Linville
2006-11-09 17:38                   ` chunkeey
2006-11-09 23:16                     ` Luis R. Rodriguez
2006-11-09 23:16                       ` Luis R. Rodriguez
2006-11-10 14:42                         ` Dan Williams
2006-11-17  5:42                           ` Dmitry Torokhov
2006-11-17 19:43                             ` chunkeey
2006-11-17 20:16                               ` Dmitry Torokhov
2006-11-17 20:53                                 ` chunkeey
2006-11-17 21:02                                   ` Dmitry Torokhov
2006-11-17 21:09                                     ` Dmitry Torokhov
2006-11-17 21:35                                       ` chunkeey
2006-11-18  4:27                                   ` Dmitry Torokhov
2006-11-18 10:18                                     ` chunkeey
2006-11-22  7:01                                       ` Dmitry Torokhov
2006-11-24 15:55                                         ` chunkeey
     [not found]                                         ` <200611250039.03597.dtor@insightbb.com>
2006-11-25 16:50                                           ` chunkeey
2006-11-26  5:27                                             ` Dmitry Torokhov
2006-11-26 10:47                                               ` chunkeey
2006-12-06  1:44                                                 ` John W. Linville
2006-12-06 12:05                                                   ` chunkeey
2006-12-06 14:11                                                     ` Dmitry Torokhov
2006-10-30 20:33     ` Dan Williams

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=1162198241.2854.13.camel@ux156 \
    --to=johannes@sipsolutions.net \
    --cc=chunkeey@web.de \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.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).