[PATCH] Resolve missing constants in latest linux-wireless tree.

Ed Howland ed.howland
Fri Aug 10 10:29:02 PDT 2007

Hi all,

This patch is a suggestion to fix the compile issues in
driver_devicescape.c in the latest linux-wireless tree.

Johannes Berg removed these (and others) from the net/mac80211
subsystem because they were not referenced anywhere else. He suggested
that hostapd should define these directly, I am not sure if
driver_devicescape.c is the right place for them or a header file
should be used.

commit 618c6ea94be7b5664511966f1fa8e5a51e28b614
Author: ed.howland at gmail.com
Date:   Fri Aug 10 12:03:39 2007 -0500

    Added constants that were removed from latest version of linux-wireless tree

    ... are taken from constants defined in previous version of a kernel (2.6.22

diff --git a/hostapd/driver_devicescape.c b/hostapd/driver_devicescape.c
index 73e05f0..99b948d 100644
--- a/hostapd/driver_devicescape.c
+++ b/hostapd/driver_devicescape.c
@@ -49,6 +49,9 @@ enum {
        NUM_IEEE80211_MODES = 5
 #include "mlme.h"
+#define ieee80211_msg_set_aid_for_sta 8
+#define ieee80211_msg_passive_scan 3

 struct i802_driver_data {

Ed Howland
"The information transmitted is intended only for the person or entity
to which it is addressed and may contain proprietary, confidential
and/or legally privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from all computers."

More information about the Hostap mailing list