2011-10-27 22:27:10

by Daniel Wolstenholme

[permalink] [raw]
Subject: cfg80211 events

Hi all,

I'm working with the Broadcom brcmfmac driver, and I'm attempting to improve
event reporting, but I'm finding there's not that much documentation on
wireless events. ?One big problem I'm having is that I'm using the cfg80211
interface, but when I run "iw event -t -f", I don't see the events showing
up. ?Another question I have is: is there a way to send events with
arbitrary strings from the driver through to userspace?

Any pointers would be greatly appreciated.

Dan


2011-10-31 21:28:56

by Franky Lin

[permalink] [raw]
Subject: Re: cfg80211 events

On 10/27/2011 03:27 PM, Daniel Wolstenholme wrote:
> Hi all,
>
> I'm working with the Broadcom brcmfmac driver, and I'm attempting to improve
> event reporting, but I'm finding there's not that much documentation on
> wireless events. One big problem I'm having is that I'm using the cfg80211
> interface, but when I run "iw event -t -f", I don't see the events showing
> up. Another question I have is: is there a way to send events with
> arbitrary strings from the driver through to userspace?
>
> Any pointers would be greatly appreciated.
>
> Dan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

Hi Dan,

Just curious, on what kind of hardware platform are you using brcmfmac?

Thanks,
Franky


2011-10-27 23:09:24

by Dan Williams

[permalink] [raw]
Subject: Re: cfg80211 events

On Thu, 2011-10-27 at 15:27 -0700, Daniel Wolstenholme wrote:
> Hi all,
>
> I'm working with the Broadcom brcmfmac driver, and I'm attempting to improve
> event reporting, but I'm finding there's not that much documentation on
> wireless events. One big problem I'm having is that I'm using the cfg80211
> interface, but when I run "iw event -t -f", I don't see the events showing
> up. Another question I have is: is there a way to send events with
> arbitrary strings from the driver through to userspace?

I'd be careful of that; we don't want a repeat of IWPRIV events, we'd
rather have stuff standardized. Unless you're doing this for testing,
of course.

Dan

> Any pointers would be greatly appreciated.
>
> Dan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html



2011-10-28 08:04:34

by Johannes Berg

[permalink] [raw]
Subject: Re: cfg80211 events

On Thu, 2011-10-27 at 18:09 -0500, Dan Williams wrote:
> On Thu, 2011-10-27 at 15:27 -0700, Daniel Wolstenholme wrote:
> > Hi all,
> >
> > I'm working with the Broadcom brcmfmac driver, and I'm attempting to improve
> > event reporting, but I'm finding there's not that much documentation on
> > wireless events. One big problem I'm having is that I'm using the cfg80211
> > interface, but when I run "iw event -t -f", I don't see the events showing
> > up. Another question I have is: is there a way to send events with
> > arbitrary strings from the driver through to userspace?
>
> I'd be careful of that; we don't want a repeat of IWPRIV events, we'd
> rather have stuff standardized. Unless you're doing this for testing,
> of course.

Indeed. You can use testmode events for in-house testing, qualification,
calibration, etc. but it will be compiled out in distro kernels.

Arbitrary string events will never exist.

johannes