From: Johannes Berg <johannes@sipsolutions.net>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: linville@tuxdriver.com, kathy.giori@atheros.com,
amod.bodas@atheros.com, david.quan@atheros.com,
michael.green@atheros.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/8] wireless-regdb: Add DFS bit fields for countries
Date: Wed, 22 Dec 2010 14:58:27 +0100 [thread overview]
Message-ID: <1293026307.3531.17.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1292864555-28661-2-git-send-email-lrodriguez@atheros.com>
On Mon, 2010-12-20 at 12:02 -0500, Luis R. Rodriguez wrote:
> for alpha2 in countrynames:
> coll = countries[alpha2]
> # struct regdb_file_reg_country
> - output.write(struct.pack('>ccxxI', str(alpha2[0]), str(alpha2[1]), reg_rules_collections[coll.permissions]))
> + output.write(struct.pack('>cchI', str(alpha2[0]), str(alpha2[1]), coll.cflags, reg_rules_collections[coll.permissions]))
maybe you shouldn't be using the full two bytes we have since you just
need three bits?
johannes
next prev parent reply other threads:[~2010-12-22 13:58 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 17:02 [PATCH 0/8] wireless: DFS region support Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 1/8] wireless-regdb: Add DFS bit fields for countries Luis R. Rodriguez
2010-12-22 13:58 ` Johannes Berg [this message]
2010-12-22 14:21 ` Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 1/2] cfg80211: process new country regulatory flags (DFS) Luis R. Rodriguez
2010-12-22 14:02 ` Johannes Berg
2010-12-22 14:29 ` Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 2/2] cfg80211: pass DFS region to drivers through reg_notifier() Luis R. Rodriguez
2010-12-21 10:53 ` Johannes Berg
2010-12-21 12:43 ` Luis R. Rodriguez
2010-12-22 14:03 ` Johannes Berg
2010-12-22 14:26 ` Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 4/8] crda: synch up nl80211.h copy file Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 5/8] crda: synch up nl80211.h header with upstream for country flags Luis R. Rodriguez
2010-12-22 14:02 ` Johannes Berg
2010-12-22 14:36 ` Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 1/2] iw: fix country print Luis R. Rodriguez
2010-12-20 17:02 ` [RFC 8/8] wireless-regdb: add FCC as the DFS region for US Luis R. Rodriguez
2011-01-04 18:49 ` [PATCH 0/8] wireless: DFS region support John W. Linville
2011-01-05 18:28 ` Luis R. Rodriguez
2011-01-05 18:30 ` John W. Linville
2011-01-05 21:26 ` Luis R. Rodriguez
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=1293026307.3531.17.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=amod.bodas@atheros.com \
--cc=david.quan@atheros.com \
--cc=kathy.giori@atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=lrodriguez@atheros.com \
--cc=michael.green@atheros.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.