Commit Graph

25 Commits

Author SHA1 Message Date
wpaul
c956c5f74b Hide a diagnostic message under if (verbose) to avoid cluttering the
system log when not in verbose logging mode.
2005-10-21 16:57:57 +00:00
wpaul
6db27f35d6 Fix small grammar nit. 2005-10-20 18:33:46 +00:00
wpaul
bcc6df344c Implement the PacketGetVersion() routine, which is used in
the 0.4.x versions of wpa_supplicant.
2005-10-20 16:49:31 +00:00
wpaul
1bf7a68287 Drain all pending events from the driver when we get an
RTM_IFINFO message, in case some were posted before ndis_events
was run. This keeps us in sync with wpa_supplicant.
2005-10-12 00:57:31 +00:00
wpaul
020d6defa5 Make forwarding of connect/disconnect events optional. wpa_supplicant
seems to already be able to tell when it's associated and the extra
events just confuse it. Only forward media-specific events by default.
2005-10-10 20:40:28 +00:00
wpaul
ae456864c8 Enable -D ndis support in wpa_supplicant and add the ndis_events utility.
This allows wpa_supplicant to work with WPA and WPA2 compliant NDIS
drivers.
2005-10-10 17:51:12 +00:00
sam
94cff4b92f o correct alignment of 802.11 addresses passed to ether_ntoa to fix
segfaults on amd64
o while here correct printf formats for size_t args

Identified by:	Pascal Hofstee
MFC after:	3 days
2005-08-30 15:59:49 +00:00
sam
4a59272425 save+restore wpa, privacy, and roaming settings
MFC after:	2 weeks
2005-08-13 04:23:33 +00:00
keramida
ac7c9f771d Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.

MFC after:	1 week
Thanks to:	Music band ``Chingon''
		for keeping me company while searching for these.
2005-07-31 03:30:48 +00:00
sam
2626cf3b71 Correct problems with handling interfaces that go away (e.g. when
a card is ejected).  wpa_supplicant requires that internal events
for interfaces coming+going include a name but after an interface
is removed you cannot use if_indextoname to map the interface index
in the RTM_IFINFO (or RTM_IFANNOUNCE) msg to an interface name.
Instead record the interface index in the driver-private data area
and use that to filter msgs from the routing socket.  This insures
that when we have a message to process we know the interface name.
The end result is that we can now dispatch an "interface removed"
event that is understood when notified than an interface went away
(where previously the event dispatched was ignored because the
interface name was unrecognized).

This change also insures we only process events for our interface.

The only downside is that we can no longer wait for an interface
to arrive as we need to map the interface name to an index at
startup.  This is not important as wpa_supplicant should be launched
by devd and not include a separate mechanism for doing interface
discovery.

MFC after:	3 days
2005-07-29 05:57:28 +00:00
sam
5bf3752adf clear eloop registration when deinit'd the l2 packet support
MFC after:	3 days
2005-07-29 05:48:00 +00:00
brueffer
da02241800 Spelling and grammar fixes.
MFC after:	3 days
2005-07-13 05:39:47 +00:00
sam
070db914d4 handle RTM_IFINFO events so we terminate when an interface is
marked down

Reviewed by:	brooks, avatar
Approved by:	re (scottl)
2005-07-08 16:33:52 +00:00
sam
b480c038d1 explicitly set IEEE80211_KEY_GROUP instead of depending on kernel kludge
Reviewed by:	avatar
Approved by:	re (scottl)
2005-07-05 17:42:27 +00:00
sam
a4fe2c7b74 Update key handling:
o use proper api for setting/deleting keys instead of depending
  on key indices
o check mac address to decide whether a key is unicast or group/global
o check set_tx on key set to decide whether a group/global key should
  also be marked as default
o explicitly set IEEE80211_KEY_GROUP flag for group keys instead of
  depending on kernel auto-add kludge

With the above changes static wep key handling works.

Reviewed by:	avatar
Approved by:	re (scottl)
2005-07-05 17:41:42 +00:00
ru
6ff738eb1b Tidy up the markup (fixing some nearby content bugs).
Timeout from:	sam
Approved by:	re (blanket manpages)
2005-06-27 06:40:43 +00:00
sam
299c46a38d move hostapd_cli to section 8
Approved by:	re (blanket wpa)
2005-06-17 05:38:43 +00:00
sam
243e7bb92b o move hostapd to section 8
o add placeholder for hostapd.conf

Approved by:	re (blanket wpa)
2005-06-17 05:37:08 +00:00
sam
0cc1e95903 o move wpa_supplicant to section 8
o fillin wpa_supplicant.conf.5

Approved by:	re (blanket wpa)
2005-06-17 05:32:48 +00:00
sam
7d99568dca move wpa_cli to section 8 + minor wordsmithing
Approved by:	re (blanket wpa)
2005-06-17 03:08:59 +00:00
sam
7a16f375cc o improve error msg for ioctl failures
o zero mlme struct before use
2005-06-09 22:19:00 +00:00
sam
258fa861f2 add EAP-TTLS to the EAPOL group; may want a separate knob later 2005-06-07 23:50:37 +00:00
sam
4375d40c7c Catch up with changes in wpa_supplicant:
o reorg driver to consolidate state setup in the associate method
o add set_auth_alg method
o cleanup interface state on deinit
o change associate to use revised MLME ioctl api so we can support
  ap_scan=2 methodology
o cleanup associate to support WEP and no cipher cases
o s/__FUNCTION__/__func__/
2005-06-07 23:41:58 +00:00
sam
e3651a7bbf freebsd pieces of hostapd support 2005-06-06 02:13:42 +00:00
sam
c4dae948ad freebsd pieces of wpa supplicant support
Reviewed by:	brooks
2005-06-05 21:18:53 +00:00