netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: netdev@vger.kernel.org,
	"John W. Linville" <linville@tuxdriver.com>,
	softmac-dev@sipsolutions.net
Subject: Re: [patch 5] softmac: report when scanning has finished
Date: Thu, 13 Apr 2006 08:15:01 -0400	[thread overview]
Message-ID: <1144930501.2372.14.camel@localhost.localdomain> (raw)
In-Reply-To: <1144921288.4187.54.camel@localhost>

On Thu, 2006-04-13 at 11:41 +0200, Johannes Berg wrote:
> Make softmac report a scan event when scanning has finished, that way
> userspace can wait for the event to happen instead of polling for the
> results.
> 
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

ACK, good catch.

Signed-off-by: Dan Williams <dcbw@redhat.com>

> ---
> This patch depends on the previous patch 4. If you want, I can resend
> the whole series with proper patch x/5 headers etc. I don't know if
> these can still go in before .17, but it'd be very good if they could,
> they're essentially bug fixes for things I either didn't know or just
> plain bugs :)
> 
> Index: wireless-2.6/net/ieee80211/softmac/ieee80211softmac_event.c
> ===================================================================
> --- wireless-2.6.orig/net/ieee80211/softmac/ieee80211softmac_event.c	2006-04-13 02:42:59.000000000 +0200
> +++ wireless-2.6/net/ieee80211/softmac/ieee80211softmac_event.c	2006-04-13 11:30:59.896998787 +0200
> @@ -152,6 +152,12 @@
>  			wrqu.ap_addr.sa_family = ARPHRD_ETHER;
>  			we_event = SIOCGIWAP;
>  			break;
> +		case IEEE80211SOFTMAC_EVENT_SCAN_FINISHED:
> +			wrqu.data.length = 0;
> +			wrqu.data.flags = 0;
> +			memset(&wrqu, '\0', sizeof (union iwreq_data));
> +			we_event = SIOCGIWSCAN;
> +			break;
>  		default:
>  			msg = event_descriptions[event];
>  			wrqu.data.length = strlen(msg);
> 


      reply	other threads:[~2006-04-13 12:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060411085805.949313000@sipsolutions.net>
2006-04-13  0:42 ` [patch 4] softmac: fix event sending Johannes Berg
     [not found] ` <20060411085841.252064000@sipsolutions.net>
2006-04-13  9:00   ` [patch 1/3] softmac: return -EAGAIN from getscan while scanning Pete Zaitcev
2006-04-13  9:06     ` Johannes Berg
2006-04-13  9:34       ` Johannes Berg
2006-04-13 12:14         ` Dan Williams
2006-04-13 16:13           ` Jean Tourrilhes
2006-04-15 19:24             ` Johannes Berg
2006-04-15 21:27               ` Dan Williams
2006-04-13 12:12     ` Dan Williams
2006-04-13 12:19       ` Johannes Berg
2006-04-13 16:00         ` Jouni Malinen
2006-04-13 22:28           ` Pete Zaitcev
2006-04-13 22:45             ` Jouni Malinen
2006-04-13 23:03               ` Stephen Hemminger
2006-04-13 23:35               ` Pete Zaitcev
2006-04-13 22:21       ` Pete Zaitcev
2006-04-13  9:41 ` [patch 5] softmac: report when scanning has finished Johannes Berg
2006-04-13 12:15   ` Dan Williams [this message]

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=1144930501.2372.14.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --cc=johannes@sipsolutions.net \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    --cc=softmac-dev@sipsolutions.net \
    /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).