aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ap_list.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2006-08-04 23:22:04 (GMT)
committerJouni Malinen <j@w1.fi>2006-08-04 23:22:04 (GMT)
commit3ac5de37c7d6904250ac84a450e0d32da30f84dd (patch)
tree7e5cb7a9e3e4a879d0aea984e477363808c9c99e /hostapd/ap_list.c
parenta118222b96c4042dd5092fc5619624735c24b2f1 (diff)
downloadhostap-history-3ac5de37c7d6904250ac84a450e0d32da30f84dd.zip
hostap-history-3ac5de37c7d6904250ac84a450e0d32da30f84dd.tar.gz
hostap-history-3ac5de37c7d6904250ac84a450e0d32da30f84dd.tar.bz2
Coding style cleanup (from Devicescape).
Diffstat (limited to 'hostapd/ap_list.c')
-rw-r--r--hostapd/ap_list.c56
1 files changed, 25 insertions, 31 deletions
diff --git a/hostapd/ap_list.c b/hostapd/ap_list.c
index f5bfcfa..6883a7c 100644
--- a/hostapd/ap_list.c
+++ b/hostapd/ap_list.c
@@ -14,13 +14,7 @@
* See README and COPYING for more details.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <netinet/in.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <time.h>
+#include "includes.h"
#include "hostapd.h"
#include "ieee802_11.h"
@@ -31,20 +25,20 @@
struct ieee80211_frame_info {
- u32 version;
- u32 length;
- u64 mactime;
- u64 hosttime;
- u32 phytype;
- u32 channel;
- u32 datarate;
- u32 antenna;
- u32 priority;
- u32 ssi_type;
- u32 ssi_signal;
- u32 ssi_noise;
- u32 preamble;
- u32 encoding;
+ u32 version;
+ u32 length;
+ u64 mactime;
+ u64 hosttime;
+ u32 phytype;
+ u32 channel;
+ u32 datarate;
+ u32 antenna;
+ u32 priority;
+ u32 ssi_type;
+ u32 ssi_signal;
+ u32 ssi_noise;
+ u32 preamble;
+ u32 encoding;
/* Note: this structure is otherwise identical to capture format used
* in linux-wlan-ng, but this additional field is used to provide meta
@@ -55,16 +49,16 @@ struct ieee80211_frame_info {
enum ieee80211_phytype {
- ieee80211_phytype_fhss_dot11_97 = 1,
- ieee80211_phytype_dsss_dot11_97 = 2,
- ieee80211_phytype_irbaseband = 3,
- ieee80211_phytype_dsss_dot11_b = 4,
- ieee80211_phytype_pbcc_dot11_b = 5,
- ieee80211_phytype_ofdm_dot11_g = 6,
- ieee80211_phytype_pbcc_dot11_g = 7,
- ieee80211_phytype_ofdm_dot11_a = 8,
- ieee80211_phytype_dsss_dot11_turbog = 255,
- ieee80211_phytype_dsss_dot11_turbo = 256,
+ ieee80211_phytype_fhss_dot11_97 = 1,
+ ieee80211_phytype_dsss_dot11_97 = 2,
+ ieee80211_phytype_irbaseband = 3,
+ ieee80211_phytype_dsss_dot11_b = 4,
+ ieee80211_phytype_pbcc_dot11_b = 5,
+ ieee80211_phytype_ofdm_dot11_g = 6,
+ ieee80211_phytype_pbcc_dot11_g = 7,
+ ieee80211_phytype_ofdm_dot11_a = 8,
+ ieee80211_phytype_dsss_dot11_turbog = 255,
+ ieee80211_phytype_dsss_dot11_turbo = 256,
};