Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include <linux/wireless.h>
#include <linux/netdevice.h>
#include <linux/mutex.h>
#include <net/iw_handler.h>
#include <net/ieee80211_radiotap.h>
#include <net/lib80211.h>
#include "hostap_config.h"
#include "hostap_common.h"
Go to the source code of this file.
Data Structures | |
struct | linux_wlan_ng_val |
struct | linux_wlan_ng_prism_hdr |
struct | linux_wlan_ng_cap_hdr |
struct | hostap_radiotap_rx |
struct | hfa384x_rx_frame |
struct | hfa384x_tx_frame |
struct | hfa384x_rid_hdr |
struct | hfa384x_scan_request |
struct | hfa384x_hostscan_request |
struct | hfa384x_join_request |
struct | hfa384x_info_frame |
struct | hfa384x_comm_tallies |
struct | hfa384x_comm_tallies32 |
struct | hfa384x_scan_result_hdr |
struct | hfa384x_scan_result |
struct | hfa384x_hostscan_result |
struct | comm_tallies_sums |
struct | hfa384x_regs |
Enumerations | |
enum | { HFA384X_LINKSTATUS_CONNECTED = 1, HFA384X_LINKSTATUS_DISCONNECTED = 2, HFA384X_LINKSTATUS_AP_CHANGE = 3, HFA384X_LINKSTATUS_AP_OUT_OF_RANGE = 4, HFA384X_LINKSTATUS_AP_IN_RANGE = 5, HFA384X_LINKSTATUS_ASSOC_FAILED = 6 } |
enum | { HFA384X_PORTTYPE_BSS = 1, HFA384X_PORTTYPE_WDS = 2, HFA384X_PORTTYPE_PSEUDO_IBSS = 3, HFA384X_PORTTYPE_IBSS = 0, HFA384X_PORTTYPE_HOSTAP = 6 } |
enum | { HFA384X_RX_MSGTYPE_NORMAL = 0, HFA384X_RX_MSGTYPE_RFC1042 = 1, HFA384X_RX_MSGTYPE_BRIDGETUNNEL = 2, HFA384X_RX_MSGTYPE_MGMT = 4 } |
Variables | |
struct linux_wlan_ng_val | __packed |
#define DEF_INTS -1, -1, -1, -1, -1, -1, -1 |
Definition at line 17 of file hostap_wlan.h.
#define ETH_P_HOSTAP ETH_P_CONTROL |
Definition at line 27 of file hostap_wlan.h.
Definition at line 18 of file hostap_wlan.h.
#define HFA384X_AUX_MAGIC0 0xfe01 |
Definition at line 407 of file hostap_wlan.h.
#define HFA384X_AUX_MAGIC1 0xdc23 |
Definition at line 408 of file hostap_wlan.h.
#define HFA384X_AUX_MAGIC2 0xba45 |
Definition at line 409 of file hostap_wlan.h.
#define HFA384X_AUX_PORT_DISABLE BIT(14) |
Definition at line 412 of file hostap_wlan.h.
#define HFA384X_AUX_PORT_DISABLED 0 |
Definition at line 411 of file hostap_wlan.h.
#define HFA384X_AUX_PORT_ENABLE BIT(15) |
Definition at line 413 of file hostap_wlan.h.
Definition at line 414 of file hostap_wlan.h.
Definition at line 415 of file hostap_wlan.h.
#define HFA384X_CMD_BUSY BIT(15) |
Definition at line 393 of file hostap_wlan.h.
#define HFA384X_CMD_TX_RECLAIM BIT(8) |
Definition at line 395 of file hostap_wlan.h.
#define HFA384X_CMDCODE_ACCESS 0x21 |
Definition at line 377 of file hostap_wlan.h.
#define HFA384X_CMDCODE_ACCESS_WRITE (0x21 | BIT(8)) |
Definition at line 378 of file hostap_wlan.h.
#define HFA384X_CMDCODE_ALLOC 0x0A |
Definition at line 374 of file hostap_wlan.h.
#define HFA384X_CMDCODE_DISABLE 0x02 |
Definition at line 373 of file hostap_wlan.h.
#define HFA384X_CMDCODE_DOWNLOAD 0x22 |
Definition at line 379 of file hostap_wlan.h.
#define HFA384X_CMDCODE_ENABLE 0x01 |
Definition at line 372 of file hostap_wlan.h.
#define HFA384X_CMDCODE_INIT 0x00 |
Definition at line 371 of file hostap_wlan.h.
#define HFA384X_CMDCODE_INQUIRE 0x11 |
Definition at line 376 of file hostap_wlan.h.
#define HFA384X_CMDCODE_MASK 0x3F |
Definition at line 384 of file hostap_wlan.h.
#define HFA384X_CMDCODE_READMIF 0x30 |
Definition at line 380 of file hostap_wlan.h.
#define HFA384X_CMDCODE_TEST 0x38 |
Definition at line 382 of file hostap_wlan.h.
#define HFA384X_CMDCODE_TRANSMIT 0x0B |
Definition at line 375 of file hostap_wlan.h.
#define HFA384X_CMDCODE_WRITEMIF 0x31 |
Definition at line 381 of file hostap_wlan.h.
#define HFA384X_EV_ALLOC BIT(3) |
Definition at line 431 of file hostap_wlan.h.
#define HFA384X_EV_CMD BIT(4) |
Definition at line 430 of file hostap_wlan.h.
#define HFA384X_EV_DTIM BIT(5) |
Definition at line 429 of file hostap_wlan.h.
#define HFA384X_EV_INFDROP BIT(13) |
Definition at line 423 of file hostap_wlan.h.
#define HFA384X_EV_INFO BIT(7) |
Definition at line 428 of file hostap_wlan.h.
#define HFA384X_EV_RX BIT(0) |
Definition at line 434 of file hostap_wlan.h.
#define HFA384X_EV_TICK BIT(15) |
Definition at line 421 of file hostap_wlan.h.
#define HFA384X_EV_TX BIT(1) |
Definition at line 433 of file hostap_wlan.h.
#define HFA384X_EV_TXEXC BIT(2) |
Definition at line 432 of file hostap_wlan.h.
#define HFA384X_EV_WTERR BIT(14) |
Definition at line 422 of file hostap_wlan.h.
#define HFA384X_INFO_ASSOCSTATUS 0xF201 /* ? */ |
Definition at line 445 of file hostap_wlan.h.
#define HFA384X_INFO_AUTHREQ 0xF202 /* ? */ |
Definition at line 446 of file hostap_wlan.h.
#define HFA384X_INFO_CHANNELINFORESULTS 0xF102 /* AP f/w only */ |
Definition at line 442 of file hostap_wlan.h.
#define HFA384X_INFO_COMMTALLIES 0xF100 |
Definition at line 440 of file hostap_wlan.h.
#define HFA384X_INFO_HANDOVERADDR 0xF000 /* AP f/w ? */ |
Definition at line 438 of file hostap_wlan.h.
#define HFA384X_INFO_HANDOVERDEAUTHADDR 0xF001 /* AP f/w 1.3.7 */ |
Definition at line 439 of file hostap_wlan.h.
#define HFA384X_INFO_HOSTSCANRESULTS 0xF103 |
Definition at line 443 of file hostap_wlan.h.
#define HFA384X_INFO_KEYIDCHANGED 0xF204 /* ? */ |
Definition at line 448 of file hostap_wlan.h.
#define HFA384X_INFO_LINKSTATUS 0xF200 |
Definition at line 444 of file hostap_wlan.h.
#define HFA384X_INFO_PSUSERCNT 0xF203 /* ? */ |
Definition at line 447 of file hostap_wlan.h.
#define HFA384X_INFO_SCANRESULTS 0xF101 |
Definition at line 441 of file hostap_wlan.h.
#define HFA384X_LEVEL_TO_dBm | ( | v | ) | 0x100 + (v) * 100 / 255 - 100 |
Definition at line 142 of file hostap_wlan.h.
Definition at line 144 of file hostap_wlan.h.
#define HFA384X_OFFSET_BUSY BIT(15) |
Definition at line 398 of file hostap_wlan.h.
#define HFA384X_OFFSET_ERR BIT(14) |
Definition at line 397 of file hostap_wlan.h.
#define HFA384X_PROGMODE_DISABLE 0 |
Definition at line 402 of file hostap_wlan.h.
#define HFA384X_PROGMODE_ENABLE_NON_VOLATILE 2 |
Definition at line 404 of file hostap_wlan.h.
#define HFA384X_PROGMODE_ENABLE_VOLATILE 1 |
Definition at line 403 of file hostap_wlan.h.
#define HFA384X_PROGMODE_PROGRAM_NON_VOLATILE 3 |
Definition at line 405 of file hostap_wlan.h.
#define HFA384X_RATES_11MBPS BIT(3) |
Definition at line 464 of file hostap_wlan.h.
#define HFA384X_RATES_1MBPS BIT(0) |
Definition at line 461 of file hostap_wlan.h.
#define HFA384X_RATES_2MBPS BIT(1) |
Definition at line 462 of file hostap_wlan.h.
#define HFA384X_RATES_5MBPS BIT(2) |
Definition at line 463 of file hostap_wlan.h.
#define HFA384X_ROAMING_DISABLED 3 |
Definition at line 468 of file hostap_wlan.h.
#define HFA384X_ROAMING_FIRMWARE 1 |
Definition at line 466 of file hostap_wlan.h.
#define HFA384X_ROAMING_HOST 2 |
Definition at line 467 of file hostap_wlan.h.
#define HFA384X_RX_STATUS_FCSERR BIT(0) |
Definition at line 479 of file hostap_wlan.h.
#define HFA384X_RX_STATUS_GET_MACPORT | ( | s | ) | (((s) & HFA384X_RX_STATUS_MACPORT) >> 8) |
Definition at line 483 of file hostap_wlan.h.
#define HFA384X_RX_STATUS_GET_MSGTYPE | ( | s | ) | (((s) & HFA384X_RX_STATUS_MSGTYPE) >> 13) |
Definition at line 481 of file hostap_wlan.h.
Definition at line 477 of file hostap_wlan.h.
Definition at line 475 of file hostap_wlan.h.
#define HFA384X_RX_STATUS_PCF BIT(12) |
Definition at line 476 of file hostap_wlan.h.
#define HFA384X_RX_STATUS_UNDECR BIT(1) |
Definition at line 478 of file hostap_wlan.h.
#define HFA384X_SCAN_FIRMWARE_INITIATED 2 |
Definition at line 221 of file hostap_wlan.h.
#define HFA384X_SCAN_HOST_INITIATED 1 |
Definition at line 220 of file hostap_wlan.h.
Definition at line 219 of file hostap_wlan.h.
#define HFA384X_SCAN_INQUIRY_FROM_HOST 3 |
Definition at line 222 of file hostap_wlan.h.
#define HFA384X_SCAN_MAX_RESULTS 32 |
Definition at line 225 of file hostap_wlan.h.
#define HFA384X_TEST_CFG_BIT_ALC BIT(3) |
Definition at line 391 of file hostap_wlan.h.
#define HFA384X_TEST_CFG_BITS 0x15 |
Definition at line 390 of file hostap_wlan.h.
#define HFA384X_TEST_CHANGE_CHANNEL 0x08 |
Definition at line 387 of file hostap_wlan.h.
#define HFA384X_TEST_MONITOR 0x0B |
Definition at line 388 of file hostap_wlan.h.
#define HFA384X_TEST_STOP 0x0F |
Definition at line 389 of file hostap_wlan.h.
#define HFA384X_TX_CTRL_802_11 BIT(3) |
Definition at line 491 of file hostap_wlan.h.
#define HFA384X_TX_CTRL_802_3 0 |
Definition at line 492 of file hostap_wlan.h.
#define HFA384X_TX_CTRL_ALT_RTRY BIT(5) |
Definition at line 490 of file hostap_wlan.h.
#define HFA384X_TX_CTRL_TX_EX BIT(2) |
Definition at line 493 of file hostap_wlan.h.
#define HFA384X_TX_CTRL_TX_OK BIT(1) |
Definition at line 494 of file hostap_wlan.h.
#define HFA384X_TX_STATUS_AGEDERR BIT(1) |
Definition at line 497 of file hostap_wlan.h.
#define HFA384X_TX_STATUS_DISCON BIT(2) |
Definition at line 498 of file hostap_wlan.h.
#define HFA384X_TX_STATUS_FORMERR BIT(3) |
Definition at line 499 of file hostap_wlan.h.
#define HFA384X_TX_STATUS_RETRYERR BIT(0) |
Definition at line 496 of file hostap_wlan.h.
#define HFA384X_WEPFLAGS_EXCLUDEUNENCRYPTED BIT(1) |
Definition at line 471 of file hostap_wlan.h.
#define HFA384X_WEPFLAGS_HOSTDECRYPT BIT(7) |
Definition at line 473 of file hostap_wlan.h.
#define HFA384X_WEPFLAGS_HOSTENCRYPT BIT(4) |
Definition at line 472 of file hostap_wlan.h.
#define HFA384X_WEPFLAGS_PRIVACYINVOKED BIT(0) |
Definition at line 470 of file hostap_wlan.h.
#define HFA386X_CR_A_D_TEST_MODES2 0x1A /* CR13 */ |
Definition at line 504 of file hostap_wlan.h.
#define HFA386X_CR_MANUAL_TX_POWER 0x3E /* CR31 */ |
Definition at line 505 of file hostap_wlan.h.
#define HFA386X_CR_MEASURED_TX_POWER 0x74 /* CR58 */ |
Definition at line 506 of file hostap_wlan.h.
#define HFA386X_CR_RX_CONFIGURE 0x14 /* CR10 */ |
Definition at line 503 of file hostap_wlan.h.
#define HFA386X_CR_TX_CONFIGURE 0x12 /* CR9 */ |
Definition at line 502 of file hostap_wlan.h.
Definition at line 72 of file hostap_wlan.h.
#define LWNG_CAPHDR_VERSION 0x80211001 |
Definition at line 73 of file hostap_wlan.h.
#define MAX_PARM_DEVICES 8 |
Definition at line 15 of file hostap_wlan.h.
#define PARM_MIN_MAX "1-" __MODULE_STRING(MAX_PARM_DEVICES) |
Definition at line 16 of file hostap_wlan.h.
#define PRISM2_PDA_SIZE 1024 |
Definition at line 417 of file hostap_wlan.h.
anonymous enum |
HFA384X_LINKSTATUS_CONNECTED | |
HFA384X_LINKSTATUS_DISCONNECTED | |
HFA384X_LINKSTATUS_AP_CHANGE | |
HFA384X_LINKSTATUS_AP_OUT_OF_RANGE | |
HFA384X_LINKSTATUS_AP_IN_RANGE | |
HFA384X_LINKSTATUS_ASSOC_FAILED |
Definition at line 450 of file hostap_wlan.h.
anonymous enum |
HFA384X_PORTTYPE_BSS | |
HFA384X_PORTTYPE_WDS | |
HFA384X_PORTTYPE_PSEUDO_IBSS | |
HFA384X_PORTTYPE_IBSS | |
HFA384X_PORTTYPE_HOSTAP |
Definition at line 457 of file hostap_wlan.h.
anonymous enum |
HFA384X_RX_MSGTYPE_NORMAL | |
HFA384X_RX_MSGTYPE_RFC1042 | |
HFA384X_RX_MSGTYPE_BRIDGETUNNEL | |
HFA384X_RX_MSGTYPE_MGMT |
Definition at line 486 of file hostap_wlan.h.