Skip to contentSkip to conversation

softmac: (v2) send WEXT assoc/disassoc events to userspace

RFC PATCH Larry Finger 4 participants 5 messages Mar 9, 2006 – Apr 16, 2006 8 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1141935893.28038.2.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#3 lore raw
Quoted 7 lines · Dan Williams

Completely untested, not entirely sure it compiles. For whatever reason, softmac is sending custom events to userspace already, but it should _really_ be sending the right WEXT events instead. Comments? If this looks good, please apply it.

V2 compiles cleanly. It still doesn't authenticate with my WRT54G V5, but that must be another problem.

Larry

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 5 lines · Dan Williams

Can you grab a debug log from wpa_supplicant? Run wpa_supplicant with the args "-ddd", and _don't_ run it as a daemon. Mail the output to me if you don't want it to go to everyone on the cc list (might include SSIDs and such). That should allow us to figure out exactly where wpa_supplicant and/or the driver are having issues.

Did this ever happen? I'm currently trying to collect all the pending patches

johannes

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1144887916.4187.28.camel@localhost

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1144888334.4187.32.camel@localhost

#10 lore raw

With the patch, wpa_supplicant is able to work properly for WEP and plaintext as tested with my bcm4306 (iBook), and the latest git.

However, and this may not be related, I still must issue an

ip link set up eth1

after loading the bcm43xx module but before starting wpa_supplicant or it will not work.

Signature · 5 lines
Hans Fugal ; http://hans.fugal.net
 
There's nothing remarkable about it. All one has to do is hit the 
right keys at the right time and the instrument plays itself.
    -- Johann Sebastian Bach
#11 lore raw
Quoted 2 lines · Hans Fugal

With the patch, wpa_supplicant is able to work properly for WEP and plaintext as tested with my bcm4306 (iBook), and the latest git.

Thanks, great. I have network-manager up and running too now (finally!)

Quoted 6 lines

However, and this may not be related, I still must issue an

ip link set up eth1

after loading the bcm43xx module but before starting wpa_supplicant or it will not work.

Right, that is expected behaviour right now until we come up with how to handle this properly.

johannes

#12 lore raw

softmac: semantics of SIOCSIWFREQ

Hi,

I'm just reviewing the zd1211 code and I'm wondering about the semantics of SIOCSIWFREQ and actually, what is good for. It looks like that softmac's set_channel can be called at any time and will ignore any settings of SIOCSIWFREQ even it is has been given the flag IW_FREQ_FIXED.

Following questions come to mind:

- Is SIOCSIWFREQ allowed while associated?
- If the flag IW_FREQ_FIXED is set, should all activitity including scanning only be allowed on this frequency? (Actually a better would even be to work with channel/frequency sets. These sets would make a lot of sense for parallel scanning whith more than one device.)
- Is there any use of the control, if the frequency is not fixed?

SIOCSIWFREQ and SIOCGIWFREQ appear to be good candidates to be included in the softmac. If I would have a rough idea, what the semantics should be, I would even volunteer to implement it.

Uli

Signature · 1 line
Ulrich Kunitz - [email protected]