* [PATCH 4/5] mac80211: fix iwlist wlanX key behavior
@ 2007-03-16 3:28 Hong Liu
2007-03-23 18:28 ` Jiri Benc
0 siblings, 1 reply; 3+ messages in thread
From: Hong Liu @ 2007-03-16 3:28 UTC (permalink / raw)
To: Jiri Benc, John W. Linville; +Cc: linux-wireless
Signed-off-by: Hong Liu <hong.liu@intel.com>
---
net/mac80211/ieee80211_ioctl.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
85a09073975e027e2b613396c0bb1b31f72e8fc2
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
index 46fd125..839c565 100644
--- a/net/mac80211/ieee80211_ioctl.c
+++ b/net/mac80211/ieee80211_ioctl.c
@@ -1595,6 +1595,11 @@ static int ieee80211_ioctl_giwrange(stru
range->min_frag = 256;
range->max_frag = 2346;
+ range->encoding_size[0] = 5;
+ range->encoding_size[1] = 13;
+ range->num_encoding_sizes = 2;
+ range->max_encoding_tokens = NUM_DEFAULT_KEYS;
+
range->max_qual.qual = local->hw.max_signal;
range->max_qual.level = local->hw.max_rssi;
range->max_qual.noise = local->hw.max_noise;
--
1.3.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 4/5] mac80211: fix iwlist wlanX key behavior
2007-03-16 3:28 [PATCH 4/5] mac80211: fix iwlist wlanX key behavior Hong Liu
@ 2007-03-23 18:28 ` Jiri Benc
2007-03-27 2:07 ` Hong Liu
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Benc @ 2007-03-23 18:28 UTC (permalink / raw)
To: Hong Liu; +Cc: John W. Linville, linux-wireless
On Fri, 16 Mar 2007 11:28:21 +0800, Hong Liu wrote:
> Signed-off-by: Hong Liu <hong.liu@intel.com>
Please add a description.
Thanks,
Jiri
--
Jiri Benc
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 4/5] mac80211: fix iwlist wlanX key behavior
2007-03-23 18:28 ` Jiri Benc
@ 2007-03-27 2:07 ` Hong Liu
0 siblings, 0 replies; 3+ messages in thread
From: Hong Liu @ 2007-03-27 2:07 UTC (permalink / raw)
To: Jiri Benc; +Cc: John W. Linville, linux-wireless
return correct key info in SIOCGIWRANGE, iwconfig will use this info to
further query the key info by SIOCGIWENCODE.
Signed-off-by: Hong Liu <hong.liu@intel.com>
---
net/mac80211/ieee80211_ioctl.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
85a09073975e027e2b613396c0bb1b31f72e8fc2
diff --git a/net/mac80211/ieee80211_ioctl.c
b/net/mac80211/ieee80211_ioctl.c
index 46fd125..839c565 100644
--- a/net/mac80211/ieee80211_ioctl.c
+++ b/net/mac80211/ieee80211_ioctl.c
@@ -1595,6 +1595,11 @@ static int ieee80211_ioctl_giwrange(stru
range->min_frag = 256;
range->max_frag = 2346;
+ range->encoding_size[0] = 5;
+ range->encoding_size[1] = 13;
+ range->num_encoding_sizes = 2;
+ range->max_encoding_tokens = NUM_DEFAULT_KEYS;
+
range->max_qual.qual = local->hw.max_signal;
range->max_qual.level = local->hw.max_rssi;
range->max_qual.noise = local->hw.max_noise;
--
1.3.3
On Fri, 2007-03-23 at 19:28 +0100, Jiri Benc wrote:
> On Fri, 16 Mar 2007 11:28:21 +0800, Hong Liu wrote:
> > Signed-off-by: Hong Liu <hong.liu@intel.com>
>
> Please add a description.
>
> Thanks,
>
> Jiri
>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-27 2:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 3:28 [PATCH 4/5] mac80211: fix iwlist wlanX key behavior Hong Liu
2007-03-23 18:28 ` Jiri Benc
2007-03-27 2:07 ` Hong Liu
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).