* PATCH] mac80211: set no_cck also for hw_scan
@ 2011-10-07 6:56 Janusz Dziedzic
2011-10-07 7:17 ` Johannes Berg
0 siblings, 1 reply; 4+ messages in thread
From: Janusz Dziedzic @ 2011-10-07 6:56 UTC (permalink / raw)
To: linux-wireless; +Cc: Rajkumar Manoharan
[-- Attachment #1: Type: text/plain, Size: 623 bytes --]
In case we are using hw_scan we should also
send no_cck information to lower layer.
---
net/mac80211/scan.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index 6f09eca..509d89e 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -249,6 +249,7 @@ static bool ieee80211_prep_hw_scan(struct
ieee80211_local *local)
} while (!n_chans);
local->hw_scan_req->n_channels = n_chans;
+ local->hw_scan_req->no_cck = req->no_cck;
ielen = ieee80211_build_preq_ies(local, (u8 *)local->hw_scan_req->ie,
req->ie, req->ie_len, band,
--
1.7.0.4
[-- Attachment #2: 0001-mac80211-set-no_cck-also-for-hw_scan.patch --]
[-- Type: application/octet-stream, Size: 840 bytes --]
From a74c41d3ba5c5a0555dfd07391c32d91071c2a17 Mon Sep 17 00:00:00 2001
From: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Date: Fri, 7 Oct 2011 08:48:47 +0200
Subject: [PATCH] mac80211: set no_cck also for hw_scan
In case we are using hw_scan we should also
send no_cck information to lower layer.
---
net/mac80211/scan.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index 6f09eca..509d89e 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -249,6 +249,7 @@ static bool ieee80211_prep_hw_scan(struct ieee80211_local *local)
} while (!n_chans);
local->hw_scan_req->n_channels = n_chans;
+ local->hw_scan_req->no_cck = req->no_cck;
ielen = ieee80211_build_preq_ies(local, (u8 *)local->hw_scan_req->ie,
req->ie, req->ie_len, band,
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: PATCH] mac80211: set no_cck also for hw_scan
2011-10-07 6:56 PATCH] mac80211: set no_cck also for hw_scan Janusz Dziedzic
@ 2011-10-07 7:17 ` Johannes Berg
2011-10-07 7:35 ` Janusz Dziedzic
0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2011-10-07 7:17 UTC (permalink / raw)
To: Janusz Dziedzic; +Cc: linux-wireless, Rajkumar Manoharan
On Fri, 2011-10-07 at 08:56 +0200, Janusz Dziedzic wrote:
> In case we are using hw_scan we should also
> send no_cck information to lower layer.
Missing Signed-off-by, but I already submitted a very similar patch a
few days ago.
johannes
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PATCH] mac80211: set no_cck also for hw_scan
2011-10-07 7:17 ` Johannes Berg
@ 2011-10-07 7:35 ` Janusz Dziedzic
2011-10-07 7:52 ` Johannes Berg
0 siblings, 1 reply; 4+ messages in thread
From: Janusz Dziedzic @ 2011-10-07 7:35 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, Rajkumar Manoharan
2011/10/7 Johannes Berg <johannes@sipsolutions.net>:
> On Fri, 2011-10-07 at 08:56 +0200, Janusz Dziedzic wrote:
>> In case we are using hw_scan we should also
>> send no_cck information to lower layer.
>
>
> Missing Signed-off-by, but I already submitted a very similar patch a
> few days ago.
>
Thanks.
I have a small question also. How should/could I get latest
compat-wireless with git history?
git clone for compat-wireless.git from kernel.org seems not work yet??
In case I have tar ball - eg. compat-wireless-3.0-2.tar.bz2 - how
could I find latest commit for this release?
--
Janusz Dziedzic
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PATCH] mac80211: set no_cck also for hw_scan
2011-10-07 7:35 ` Janusz Dziedzic
@ 2011-10-07 7:52 ` Johannes Berg
0 siblings, 0 replies; 4+ messages in thread
From: Johannes Berg @ 2011-10-07 7:52 UTC (permalink / raw)
To: Janusz Dziedzic; +Cc: linux-wireless, Rajkumar Manoharan
On Fri, 2011-10-07 at 09:35 +0200, Janusz Dziedzic wrote:
> I have a small question also. How should/could I get latest
> compat-wireless with git history?
> git clone for compat-wireless.git from kernel.org seems not work yet??
>
> In case I have tar ball - eg. compat-wireless-3.0-2.tar.bz2 - how
> could I find latest commit for this release?
Err, do you want compat-wireless's git history, or the git history for
the kernel it's based on? For the former, Luis moved to github (search
the mailing list archive) for now. For the latter, that's just
linux-next and the tarball contains the commit ID it was built from.
johannes
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-07 7:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-07 6:56 PATCH] mac80211: set no_cck also for hw_scan Janusz Dziedzic
2011-10-07 7:17 ` Johannes Berg
2011-10-07 7:35 ` Janusz Dziedzic
2011-10-07 7:52 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox