wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Enumerations | Functions | Variables
iapp.c File Reference

hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP) More...

#include "utils/includes.h"
#include <net/if.h>
#include <sys/ioctl.h>
#include <netpacket/packet.h>
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "hostapd.h"
#include "ap_config.h"
#include "ieee802_11.h"
#include "sta_info.h"
#include "iapp.h"

Data Structures

struct  iapp_hdr
 
struct  iapp_add_notify
 
struct  iapp_layer2_update
 
struct  iapp_move_notify
 
struct  iapp_move_response
 
struct  iapp_cache_notify
 
struct  iapp_cache_response
 
struct  iapp_send_security_block
 
struct  iapp_ack_security_block
 
struct  iapp_data
 

Macros

#define IAPP_MULTICAST   "224.0.1.178"
 
#define IAPP_UDP_PORT   3517
 
#define IAPP_TCP_PORT   3517
 
#define IAPP_VERSION   0
 

Enumerations

enum  IAPP_COMMAND {
  IAPP_CMD_ADD_notify = 0, IAPP_CMD_MOVE_notify = 1, IAPP_CMD_MOVE_response = 2, IAPP_CMD_Send_Security_Block = 3,
  IAPP_CMD_ACK_Security_Block = 4, IAPP_CMD_CACHE_notify = 5, IAPP_CMD_CACHE_response = 6
}
 
enum  { IAPP_MOVE_SUCCESSFUL = 0, IAPP_MOVE_DENIED = 1, IAPP_MOVE_STALE_MOVE = 2 }
 
enum  { IAPP_CACHE_SUCCESSFUL = 0, IAPP_CACHE_STALE_CACHE = 1 }
 

Functions

struct iapp_hdr __attribute__ ((packed))
 
void iapp_new_station (struct iapp_data *iapp, struct sta_info *sta)
 IAPP processing for a new STA. More...
 
struct iapp_dataiapp_init (struct hostapd_data *hapd, const char *iface)
 
void iapp_deinit (struct iapp_data *iapp)
 

Variables

u8 version
 
u8 command
 
be16 identifier
 
be16 length
 
enum IAPP_COMMAND __attribute__
 
u8 addr_len
 
u8 reserved
 
u8 mac_addr [ETH_ALEN]
 
be16 seq_num
 
u8 da [ETH_ALEN]
 
u8 sa [ETH_ALEN]
 
be16 len
 
u8 dsap
 
u8 ssap
 
u8 control
 
u8 xid_info [3]
 
u16 ctx_block_len
 
u8 status
 
u8 current_ap [ETH_ALEN]
 
u8 iv [8]
 
u16 sec_block_len
 
u8 new_ap_ack_authenticator [48]
 

Detailed Description

hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)

Note: IEEE 802.11F-2003 was a experimental use specification. It has expired and IEEE has withdrawn it. In other words, it is likely better to look at using some other mechanism for AP-to-AP communication than extending the implementation here.

Function Documentation

void iapp_new_station ( struct iapp_data iapp,
struct sta_info sta 
)

IAPP processing for a new STA.

Parameters
iappIAPP data
staThe associated station