2008-02-27 17:40:08

by Tomas Winkler

[permalink] [raw]
Subject: linux/wireless.h - missing section

Does anybody knows why this section is missing from in kernel linux/wireless.h

struct iw_range {

......


/* More power management stuff */
__s32 min_pms; /* Minimal PM saving */
__s32 max_pms; /* Maximal PM saving */
__u16 pms_flags; /* How to decode max/min PM saving */

/* All available modulations for driver (hw may support less) */
__s32 modul_capa; /* IW_MODUL_* bit field */

/* More bitrate stuff */
__u32 bitrate_capa; /* Types of bitrates supported */
};

Thanks
Tomas


2008-02-27 18:05:55

by Jean Tourrilhes

[permalink] [raw]
Subject: Re: linux/wireless.h - missing section

On Wed, Feb 27, 2008 at 07:40:07PM +0200, Tomas Winkler wrote:
> Does anybody knows why this section is missing from in kernel linux/wireless.h
>
> struct iw_range {
>
> ......
>
>
> /* More power management stuff */
> __s32 min_pms; /* Minimal PM saving */
> __s32 max_pms; /* Maximal PM saving */
> __u16 pms_flags; /* How to decode max/min PM saving */
>
> /* All available modulations for driver (hw may support less) */
> __s32 modul_capa; /* IW_MODUL_* bit field */
>
> /* More bitrate stuff */
> __u32 bitrate_capa; /* Types of bitrates supported */
> };
>
> Thanks
> Tomas

Because it was rejected by the kernel maitainers.

Jean

2008-02-27 19:23:24

by Tomas Winkler

[permalink] [raw]
Subject: Re: linux/wireless.h - missing section

On Wed, Feb 27, 2008 at 8:26 PM, John W. Linville
<[email protected]> wrote:
> On Wed, Feb 27, 2008 at 07:40:07PM +0200, Tomas Winkler wrote:
>
>
> > Does anybody knows why this section is missing from in kernel linux/wireless.h
> >
> > struct iw_range {
> >
> > ......
> >
> >
> > /* More power management stuff */
> > __s32 min_pms; /* Minimal PM saving */
> > __s32 max_pms; /* Maximal PM saving */
> > __u16 pms_flags; /* How to decode max/min PM saving */
> >
> > /* All available modulations for driver (hw may support less) */
> > __s32 modul_capa; /* IW_MODUL_* bit field */
> >
> > /* More bitrate stuff */
> > __u32 bitrate_capa; /* Types of bitrates supported */
> > };
>
> Those were in Jean's original WE-21 patch. They got
> dropped in the redacted version of WE-21 I applied in commit
> baef186519c69b11cf7e48c26e75feb1e6173baa. Please see these threads:
>
> http://marc.info/?l=linux-netdev&m=115689985827349&w=2
> http://marc.info/?l=linux-netdev&m=115757728300747&w=2
>
> Hth!
>
> John
> --
> John W. Linville
> [email protected]
>

Thanks for answer. It's just that user space utility differs from what
is in kernel which is a bit odd
Tomas

2008-02-27 18:38:35

by John W. Linville

[permalink] [raw]
Subject: Re: linux/wireless.h - missing section

On Wed, Feb 27, 2008 at 07:40:07PM +0200, Tomas Winkler wrote:
> Does anybody knows why this section is missing from in kernel linux/wireless.h
>
> struct iw_range {
>
> ......
>
>
> /* More power management stuff */
> __s32 min_pms; /* Minimal PM saving */
> __s32 max_pms; /* Maximal PM saving */
> __u16 pms_flags; /* How to decode max/min PM saving */
>
> /* All available modulations for driver (hw may support less) */
> __s32 modul_capa; /* IW_MODUL_* bit field */
>
> /* More bitrate stuff */
> __u32 bitrate_capa; /* Types of bitrates supported */
> };

Those were in Jean's original WE-21 patch. They got
dropped in the redacted version of WE-21 I applied in commit
baef186519c69b11cf7e48c26e75feb1e6173baa. Please see these threads:

http://marc.info/?l=linux-netdev&m=115689985827349&w=2
http://marc.info/?l=linux-netdev&m=115757728300747&w=2

Hth!

John
--
John W. Linville
[email protected]

2008-02-27 17:57:27

by Pavel Roskin

[permalink] [raw]
Subject: Re: linux/wireless.h - missing section


On Wed, 2008-02-27 at 19:40 +0200, Tomas Winkler wrote:
> Does anybody knows why this section is missing from in kernel linux/wireless.h

I remember it was decided to avoid significant improvement in Wireless
Extensions and concentrate on cfg80211. This was supposed to be a part
of Wireless Extensions 21, but was removed in the final release.
Wireless Extensions 22 was a security fix.

--
Regards,
Pavel Roskin