Re: [PATCH 2/7] d80211: add support for SIOCSIWRATE and SIOCGIWRATE

2006-10-12 Thread mabbas
I am sorry for the late response. please read my comment bellow. Jiri Benc wrote: On Thu, 21 Sep 2006 09:59:39 -0700, mabbas wrote: I can not see how does it break per-STA TX rate limit, especially PRISM2_HOSTAPD_SET_RATE_SETS almost doing the same thing. I am not saying the patch is

Re: [d80211 patch 1/1] setting bss freq and phymode using rx_status

2006-09-25 Thread mabbas
actaully we dont even need local->conf.channel. rx_status->channel holds the channel we physically received the frame on. channel hold the value from ds. if they are not equal then adjust freq. Attached is the modified patch Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/net/d

[d80211 patch 1/1] setting bss freq and phymode using rx_status

2006-09-22 Thread mabbas
this patch is a replacement for d80211-iwlist-fix.patch. Now we set bss's phymode and freq using rx_status. The low level driver need to set these values. Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c index a933d92..ddbaf14

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread mabbas
Jiri Benc wrote: On Thu, 21 Sep 2006 12:57:01 -0700, mabbas wrote: if the user set txpoer using iwconfig command, the driver will clap all txpower to this value for all available channels if channels original txpower is higher than txpower value. Looks like a job for the stack. If

Re: [PATCH 5/7] d80211: indicate if unassociate/radio off status

2006-09-21 Thread mabbas
Dan Williams wrote: On Thu, 2006-09-21 at 12:47 -0700, mabbas wrote: Dan Williams wrote: On Thu, 2006-09-21 at 19:01 +0200, Jiri Benc wrote: On Mon, 28 Aug 2006 13:49:35 -0700, mabbas wrote: This patch indicate unassociated and radio off status in name field

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread mabbas
Jiri Benc wrote: Thu, 21 Sep 2006 09:43:31 -0700, mabbas pise: What about adding a new callback function fot txpower. ieee80211_hw_config callback still confusing if txpower was changed for channel change or because the user setting txpower limit. Why should the driver care? Jiri

Re: [PATCH 5/7] d80211: indicate if unassociate/radio off status

2006-09-21 Thread mabbas
Dan Williams wrote: On Thu, 2006-09-21 at 19:01 +0200, Jiri Benc wrote: On Mon, 28 Aug 2006 13:49:35 -0700, mabbas wrote: This patch indicate unassociated and radio off status in name field NAK. Fix SIOCGIWAP handler instead. Right; the _one_ place anyone should ever

Re: [PATCH 7/7] d80211: getting wrong freq value if we did hardware scan

2006-09-21 Thread mabbas
Jiri Benc wrote: On Mon, 28 Aug 2006 13:57:28 -0700, mabbas wrote: diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c index a933d92..374193e 100644 --- a/net/d80211/ieee80211_sta.c +++ b/net/d80211/ieee80211_sta.c @@ -1543,8 +1543,6 @@ #endif bss->channel = chan

Re: [PATCH 2/7] d80211: add support for SIOCSIWRATE and SIOCGIWRATE

2006-09-21 Thread mabbas
Jiri Benc wrote: On Wed, 30 Aug 2006 10:19:19 -0700, Jouni Malinen wrote: On Mon, Aug 28, 2006 at 01:45:34PM -0700, mabbas wrote: This patch modify d80211 to add SIOCSIWRATE and SIOCGIWRATE commands. this patch almost does the same thing as in PRISM2_HOSTAPD_SET_RATE_SETS. I

Re: [PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-09-21 Thread mabbas
Jiri Benc wrote: Hi, sorry for the long delay. On Mon, 28 Aug 2006 13:45:18 -0700, mabbas wrote: [...] +static int ieee80211_ioctl_siwtxpow(struct net_device *dev, + struct iw_request_info *info, +union iwreq_data *wrqu, +char *extra

Re: [d80211] connecting to B-mode AP

2006-09-15 Thread mabbas
s are available - it's the available rate set - this is independent of whether the card is B or G. A G AP may only advertise B rates, even though it's a G AP. I still don't see any need to change the phytype. Simon -Original Message- From: mabbas [mailto:[EMAIL PROTECTED] Sent:

Re: [d80211] connecting to B-mode AP

2006-09-15 Thread mabbas
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mabbas Sent: Thursday, September 14, 2006 4:25 PM To: netdev@vger.kernel.org Subject: [d80211] connecting to B-mode AP When I connect to b-mode only AP and then run iwconf it shows it as a G-mode AP. I guess when we set frequency it look through

[d80211] connecting to B-mode AP

2006-09-14 Thread mabbas
When I connect to b-mode only AP and then run iwconf it shows it as a G-mode AP. I guess when we set frequency it look through all the modes and set the mode to the first channel it founds. since B and G share the same frequencies it will set phymode to G. How can we force it to set phymode to

Re: [d80211] some issues regarding iwconfig parameters sequence

2006-09-14 Thread mabbas
Dan Williams wrote: On Wed, 2006-09-13 at 14:00 -0700, mabbas wrote: Hi I have some problem connecting if I don't follow some parameters sequence in iwconfig command for example if I issues the following # iwconfig wlan0 essid test ap xx:xx:xx:xx:xx:xx #iwconfif wlan0 channel 9

[d80211] some issues regarding iwconfig parameters sequence

2006-09-13 Thread mabbas
Hi I have some problem connecting if I don't follow some parameters sequence in iwconfig command for example if I issues the following # iwconfig wlan0 essid test ap xx:xx:xx:xx:xx:xx #iwconfif wlan0 channel 9 in d80211 if essid and bssid set it will start authentication with default channel

[PATCH 7/7] d80211: getting wrong freq value if we did hardware scan

2006-08-28 Thread mabbas
In this patch we search all A-BAND available channels to get the right frequency value. this might not be the right thing to do in beacon parsing. Another approach is to have a static array of the maximum A-BAND channel number then we can map from channel to frequency fast. we can set the va

[PATCH 4/7] d80211: add support for SIOCSIWNICKN SIOCGIWNICKN

2006-08-28 Thread mabbas
This patch modify d80211 to add nick wireless command Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/net/d80211/ieee80211_i.h b/net/d80211/ieee80211_i.h index 0d2d79d..02242c6 100644 --- a/net/d80211/ieee80211_i.h +++ b/net/d80211/ieee80211_i.h @@ -241,6 +241,7 @@ struct ieee80

[PATCH 6/7] d80211: diplay supported rates in readable format

2006-08-28 Thread mabbas
This patch modify d80211 to report supported rates in readable format in iwlist scan command. Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c index a933d92..b2e45a4 100644 --- a/net/d80211/ieee80211_sta.c +++ b/net/d80211/iee

[PATCH 5/7] d80211: indicate if unassociate/radio off status

2006-08-28 Thread mabbas
This patch indicate unassociated and radio off status in name field Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/net/d80211/ieee80211_ioctl.c b/net/d80211/ieee80211_ioctl.c index 89a58e3..44b2698 100644 --- a/net/d80211/ieee80211_ioctl.c +++ b/net/d80211/ieee80211_ioctl.c @@ -

[PATCH 1/7] d80211: add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER

2006-08-28 Thread mabbas
This patch modify d80211 to add SIOCSIWTXPOW, SIOCGIWTXPOW, SIOCSIWPOWER and SIOCGIWPOWER. This is not a complete soluation but add the hook for them. Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/include/net/d80211.h b/include/net/d80211.h index 42fdbf7..bc5eb87 100644 --- a/i

[PATCH 2/7] d80211: add support for SIOCSIWRATE and SIOCGIWRATE

2006-08-28 Thread mabbas
This patch modify d80211 to add SIOCSIWRATE and SIOCGIWRATE commands. this patch almost does the same thing as in PRISM2_HOSTAPD_SET_RATE_SETS. Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/net/d80211/ieee80211.c b/net/d80211/ieee80211.c index e72721f..26ed68c 100644 --- a/ne

[PATCH 3/7] d80211: report supported rates and channels in SIOCGIWRANGE

2006-08-28 Thread mabbas
This patch modify d80211 to report more information like supported rate and channel in SIOCGIWRANGE command. Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]> diff --git a/net/d80211/ieee80211_ioctl.c b/net/d80211/ieee80211_ioctl.c index 89a58e3..3d8156c 100644 --- a/net/d80211/ieee80211_ioctl

[PATCH 0/7] d80211: support more wireless command

2006-08-28 Thread mabbas
the following patches are based on earlier patched. I did separate each set of command into its own patch with enhanced based on you comments. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kern