Dmitry Shmidt | 1 Mar 01:19 2012
Picon

Re: hostapd: rsn replay counters issue

On Wed, Feb 29, 2012 at 3:02 PM, Jouni Malinen <j <at> w1.fi> wrote:
> On Wed, Feb 29, 2012 at 10:23:02AM -0800, Dmitry Shmidt wrote:
>> According to the src/ap/wpa_auth_ie.c code:
>> Setting 16 rsn replay counters depends on if WMM mode was set.
>>
>> int wpa_write_rsn_ie()
>> {
>> ...
>>         if (conf->wmm_enabled) {
>>               /* 4 PTKSA replay counters when using WMM */
>>               capab |= (RSN_NUM_REPLAY_COUNTERS_16 << 2);
>>       }
>> ...
>> }
>>
>> However, if I don't want for my hostap to support WMM, it breaks ability to use
>> WPA/WPA2 security.
>
> Why would that break WPA/WPA2 security? If you do not enable WMM/QoS,
> you don't need 16 replay counters..
>
> Or are you running to an issue where the driver/firmware ends up
> generating different WPA/RSN IE for Beacon/Probe Response and supplicant
> rejects that due to mismatch in IEs? That has been somewhat of a common
> bug with multiple drivers where the IEs do not get synchronized properly
> between the driver and hostapd.

Thanks ! This is what I suspected.

>
(Continue reading)

Hector Akamine | 1 Mar 06:15 2012
Picon

wpa_supplicant deauthentication frames

Hello,
In order to do some testing, I commented out the
wpa_drv_deauthenticate() call inside wpa_supplicant_deauthenticate()
(in wpa_supplicant.c), to force wpa_supplicant not to send
deauthentication frames on disconnection (for example when killing the
wpa_supplicant process), but I am still getting deauthentication
frames from the STA. Is there any other part of the code that control
the sending of these frames?
I am using a recent commit from git, driver is nl80211 (ath9k)

Thank you,
Hector
Jouni Malinen | 1 Mar 09:55 2012
Picon

Re: wpa_supplicant deauthentication frames

On Thu, Mar 01, 2012 at 02:15:12PM +0900, Hector Akamine wrote:
> In order to do some testing, I commented out the
> wpa_drv_deauthenticate() call inside wpa_supplicant_deauthenticate()
> (in wpa_supplicant.c), to force wpa_supplicant not to send
> deauthentication frames on disconnection (for example when killing the
> wpa_supplicant process), but I am still getting deauthentication
> frames from the STA. Is there any other part of the code that control
> the sending of these frames?
> I am using a recent commit from git, driver is nl80211 (ath9k)

mac80211 (i.e., kernel code) does that for you when wpa_supplicant sets
the interface down (which happens when you kill it.. i.e., you would
need to leave it running or kill it with kill -9).

--

-- 
Jouni Malinen                                            PGP id EFC895FA
Valeriy Kucherenko | 1 Mar 21:31 2012
Picon

Re: [PROPOSAL] Add hostapd.conf parameter to skip checkforneighboring BSS (prevent fallback in 150Mb mode)

Hello.
See comments below.

> On Tue, Feb 21, 2012 at 04:05:25PM +0200, Valeriy Kucherenko wrote:
> > So, is it possible to make such config parameter?
> > 
> > Btw, I have sent you scan results 2 weeks ago. Have you received email/message?
> 
> Could you please answer the part of which channel(pri/sec) you are
> trying to use? The screenshot of scan results showed APs on channel
> 1, 2, 3, 4, 6, 11, and 13+9, so I would assume you are looking at use of
> 40 MHz channel on 2.4 GHz band. I would also like to see debug log from
> hostapd showing why it disables 40 MHz use.

Debug log I have sent directly to you.

> 
> If your configuration is trying to use some other primary channel than
> 13, I would suggest trying to use the same parameters as the other 40
> MHz BSS was using (I would assume that 13+9 meant channel 13 with
> HT40-).

You. I'm on HT40- at primary 13 and secondary 9 because
other frequencies are totally in use.

> 
> In general, I would prefer to get hostapd closer to the 20/40 coex rules
> described in IEEE 802.11 rather than providing mechanism for ignoring
> these rules. They were added for a good reason and it would be better to
> promote responsible use of the shared radio resource.
(Continue reading)

Bartosz Sławomir Białek | 2 Mar 11:34 2012
Picon

[P2P] p2p_peer oper_freq update on group formation/termination

Hi,

I would like to ask you one thing regarding the operating frequency
value. The p2p_peer command shows that oper_freq is 0 right before the
first P2P Group formation for both peers attempting to connect (two
devices scenario). I noticed oper_freq is not being updated neither
after group formation for the client, nor after group termination for
both GO and client. Is that correct? Should oper_freq not be zeroed
for peers who are not in P2P Group anymore?

--

-- 
Pozdrawiam / Best regards,
Bartosz Sławomir Białek
DarshanPrajapati | 2 Mar 11:37 2012

Setting hw_mode with some specific options (b&g mode, n mode only etc.) through hostapd

Dear all,

I am using hostapd 0.7.3 stable release as make atherose based (having  
ar9287 chipset) wifi module in AP and other settings.

Acually, i want to set the module's hw_mode(Network mode) with some  
options as listed bellow.

1) b only mode
2) g only mode
3) n only mode
4) b&g mode
5) b&n mode
6) g&n mode
7) mixed (b/g&n) mode

i have referred hostapd.conf and as per my knowledge, i think it can  
allow to set options as bellow listed modes.

1) b only mode [by hw_mode=b and ieee80211n=0]
2) g only mode [by hw_mode=g and ieee80211n=0]

5) b&n mode [by hw_mode=b and ieee80211n=1]
6) g&n mode [by hw_mode=g and ieee80211n=1]

    If, i am correct?

and also, how to set rest of options, like
3) n only mode
4) b&g mode
(Continue reading)

Grzegorz Bajorski | 2 Mar 11:37 2012

[PATCH] Filter input parameters in p2p_serv_disc_external

Hi

p2p_ctrl_serv_disc_external() can take only one parameters "0" or "1".

Change-Id: I999c575024bdf93736b56d0c7d5f3acc5e32791a
Signed-hostap: Grzegorz Bajorski <grzegorz.bajorski <at> tieto.com>
---
  wpa_supplicant/ctrl_iface.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index ac4009b..3c19421 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
 <at>  <at>  -2673,6 +2673,8  <at>  <at>  static int p2p_ctrl_serv_disc_resp(struct 
wpa_supplicant *wpa_s, char *cmd)
  static int p2p_ctrl_serv_disc_external(struct wpa_supplicant *wpa_s,
  				       char *cmd)
  {
+	if (os_strcmp(cmd, "0") && os_strcmp(cmd, "1"))
+		return -1;
  	wpa_s->p2p_sd_over_ctrl_iface = atoi(cmd);
  	return 0;
  }
--

-- 
1.7.0.4

Hi
(Continue reading)

DarshanPrajapati | 2 Mar 11:41 2012

Can it be possible to set txpower of AP by using hostapd

Dear All,

I have one query that, can it be possible to set txpower of AP using hostapd.

as by using iw to set txpower, i am not getting any actual changes of  
txpower at hardware side by measuring it.

Any direction will be helpful

Thanks,
Darshan Prajapati
Valeriy Kucherenko | 2 Mar 12:55 2012
Picon

Re: Setting hw_mode with some specific options (b&g mode, n mode onlyetc.) through hostapd

Hello, see comments below.

> Dear all,
> 
> I am using hostapd 0.7.3 stable release as make atherose based (having  
> ar9287 chipset) wifi module in AP and other settings.

You'd better to compile hostapd from sources (trunk or release candidate) if you want to use n-mode. As I
remember 0.7.3 works bad in N.

> 
> Acually, i want to set the module's hw_mode(Network mode) with some  
> options as listed bellow.
> 
> 1) b only mode
> 2) g only mode
> 3) n only mode
> 4) b&g mode
> 5) b&n mode
> 6) g&n mode
> 7) mixed (b/g&n) mode
> 
> i have referred hostapd.conf and as per my knowledge, i think it can  
> allow to set options as bellow listed modes.
> 
> 1) b only mode [by hw_mode=b and ieee80211n=0]

Yes.

> 2) g only mode [by hw_mode=g and ieee80211n=0]
(Continue reading)

gene heskett | 3 Mar 00:14 2012

Network died on laptop, 10-99th time

Hi All;

Machine, HP dv5100us laptop

OS installed Ubuntu-10.04 LTS so its the same install as on another machine 
that is running an app thats frozen to that kernel.  I figured they may as 
well be the same.

network card in it, bcm4318, disabled, needs run thru a heavy duty paper 
shredder. POC.

networking USB<->wifi dongle netgear WNA3100

This Netgear WNA3100 dongle worked well, with ndiswrapper & the bcmwlhigh5 
driver, from something over a year ago, at 3 different locations including 
the present one in my workshop, but the lappy has been cased for about 6 
months.

I pulled it out of the case & powered it up today, and loadndisdriver now 
fails to load bcmwlhigh5, even if I give it the full path to the unpacked 
driver.  So I try to get ndiswrapper to re-install it, and it claims its 
already installed.

Apparently I am clueless, can I buy one or two from you folks?

Cheers, Gene
--

-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
(Continue reading)


Gmane