* broadcom driver
@ 2008-11-12 10:48 EforeZZ
2008-11-12 11:03 ` Michael Buesch
0 siblings, 1 reply; 2+ messages in thread
From: EforeZZ @ 2008-11-12 10:48 UTC (permalink / raw)
To: linux-wireless
Hi guys,
We're trying to write a broadcom WiFi driver for FreeBSD.
We looked at M$ Windows driver and found these structures..
We'd be very grateful if anyone tells the standard and/or description
of what these values may mean..
struct _locale_info_t
{
unsigned char valid_channels[28];
struct radar_channels;
struct restricted_channels;
unsigned char maxpwr[6];
unsigned char pub_maxpwr[5];
unsigned char flags;
};
struct _locale_info_t _locale_b = {
{ 254, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0},
_chanvec_none,
_chanvec_none,
{ 76, 76, 76, 76, 76, 76 },
{ 20, 20, 20, 0, 0 },
1 };
struct _locale_info_t _locale_13 = {
{0, 0, 0, 0, 16, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0 }
_radar_set1,
_chanvec_none,
{ 84, 84, 84, 0, 0, 0 },
{ 23, 23, 0, 0, 0 },
3 };
struct _locale_info_t _locale_15 = {
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0 },
_chanvec_none,
_chanvec_none,
{ 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 },
0 };
struct _locale_mimo_info_t
{
unsigned char val[32];
};
struct _locale_mimo_info_t _locale_fn = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 16, 0, 0, 0 };
struct _locale_mimo_info_t _locale_15n = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 16, 0, 0, 0 };
struct _country_info_t
{
unsigned char abbrev[4];
struct _locate_info_t locale_2G;
struct _locate_info_t locale_5G;
struct _locale_mimo_info_t locale_mimo_2G;
struct _locale_mimo_info_t locale_mimo_5G;
} cntry_locales[] =
{
{'UA', _locale_b, _locale_15, _locale_fn, _locale_15n},
{'UA1', _locale_b, _locale_13, _locale_fn, _locale_15n},
};
--
Best regards,
EforeZZ
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: broadcom driver
2008-11-12 10:48 broadcom driver EforeZZ
@ 2008-11-12 11:03 ` Michael Buesch
0 siblings, 0 replies; 2+ messages in thread
From: Michael Buesch @ 2008-11-12 11:03 UTC (permalink / raw)
To: EforeZZ; +Cc: linux-wireless
On Wednesday 12 November 2008 11:48:04 EforeZZ wrote:
> Hi guys,
>
> We're trying to write a broadcom WiFi driver for FreeBSD.
> We looked at M$ Windows driver and found these structures..
> We'd be very grateful if anyone tells the standard and/or description
> of what these values may mean..
>
> struct _locale_info_t
> {
> unsigned char valid_channels[28];
> struct radar_channels;
> struct restricted_channels;
> unsigned char maxpwr[6];
> unsigned char pub_maxpwr[5];
> unsigned char flags;
> };
Hm, it's pretty obvious what this is. Just read it.
It's channel tables for different locales. Not very interesting stuff.
Anyway, you should probably contact Dragonfly people. They are already
writing a BSD licensed driver.
--
Greetings Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-12 11:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-12 10:48 broadcom driver EforeZZ
2008-11-12 11:03 ` Michael Buesch
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).