Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
rtllib.h File Reference
#include <linux/if_ether.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>
#include <linux/timer.h>
#include <linux/sched.h>
#include <linux/semaphore.h>
#include <linux/delay.h>
#include <linux/wireless.h>
#include "rtllib_debug.h"
#include "rtl819x_HT.h"
#include "rtl819x_BA.h"
#include "rtl819x_TS.h"
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <net/lib80211.h>
#include <net/iw_handler.h>

Go to the source code of this file.

Data Structures

struct  cb_desc
 
struct  sw_chnl_cmd
 
struct  ieee_param
 
struct  rtllib_snap_hdr
 
struct  ieee_ibss_seq
 
struct  rtllib_rx_stats
 
struct  rtllib_frag_entry
 
struct  rtllib_stats
 
struct  rtllib_security
 
struct  rtllib_pspoll_hdr
 
struct  rtllib_hdr
 
struct  rtllib_hdr_1addr
 
struct  rtllib_hdr_2addr
 
struct  rtllib_hdr_3addr
 
struct  rtllib_hdr_4addr
 
struct  rtllib_hdr_3addrqos
 
struct  rtllib_hdr_4addrqos
 
struct  rtllib_info_element
 
struct  rtllib_authentication
 
struct  rtllib_disauth
 
struct  rtllib_disassoc
 
struct  rtllib_probe_request
 
struct  rtllib_probe_response
 
struct  rtllib_assoc_request_frame
 
struct  rtllib_reassoc_request_frame
 
struct  rtllib_assoc_response_frame
 
struct  rtllib_txb
 
struct  rtllib_drv_agg_txb
 
struct  rtllib_rxb
 
union  frameqos
 
struct  rtllib_qos_information_element
 
struct  rtllib_qos_ac_parameter
 
struct  rtllib_qos_parameter_info
 
struct  rtllib_qos_parameters
 
struct  rtllib_qos_data
 
struct  rtllib_tim_parameters
 
struct  rtllib_wmm_ac_param
 
struct  rtllib_wmm_ts_info
 
struct  rtllib_wmm_tspec_elem
 
struct  eapol
 
struct  rtllib_softmac_stats
 
struct  rtllib_info_element_hdr
 
struct  ether_header
 
struct  rtllib_network
 
struct  tx_pending
 
struct  bandwidth_autoswitch
 
struct  rx_reorder_entry
 
struct  ibss_parms
 
struct  rt_pm_wol_info
 
struct  rt_pwr_save_ctrl
 
struct  rt_link_detect
 
struct  sw_cam_table
 
struct  rate_adaptive
 
struct  rt_pmkid_list
 
struct  rt_intel_promisc_mode
 
struct  rtllib_device
 

Macros

#define MAX_PRECMD_CNT   16
 
#define MAX_RFDEPENDCMD_CNT   16
 
#define MAX_POSTCMD_CNT   16
 
#define WIRELESS_SPY
 
#define IW_MODE_MONITOR   6
 
#define IWEVCUSTOM   0x8c02
 
#define IW_CUSTOM_MAX   256 /* In bytes */
 
#define container_of(ptr, type, member)
 
#define skb_tail_pointer_rsl(skb)   skb_tail_pointer(skb)
 
#define EXPORT_SYMBOL_RSL(x)   EXPORT_SYMBOL(x)
 
#define queue_delayed_work_rsl(x, y, z)   queue_delayed_work(x, y, z)
 
#define INIT_DELAYED_WORK_RSL(x, y, z)   INIT_DELAYED_WORK(x, y)
 
#define queue_work_rsl(x, y)   queue_work(x, y)
 
#define INIT_WORK_RSL(x, y, z)   INIT_WORK(x, y)
 
#define container_of_work_rsl(x, y, z)   container_of(x, y, z)
 
#define container_of_dwork_rsl(x, y, z)   container_of(container_of(x, struct delayed_work, work), y, z)
 
#define iwe_stream_add_event_rsl(info, start, stop, iwe, len)   iwe_stream_add_event(info, start, stop, iwe, len)
 
#define iwe_stream_add_point_rsl(info, start, stop, iwe, p)   iwe_stream_add_point(info, start, stop, iwe, p)
 
#define usb_alloc_urb_rsl(x, y)   usb_alloc_urb(x, y)
 
#define usb_submit_urb_rsl(x, y)   usb_submit_urb(x, y)
 
#define KEY_TYPE_NA   0x0
 
#define KEY_TYPE_WEP40   0x1
 
#define KEY_TYPE_TKIP   0x2
 
#define KEY_TYPE_CCMP   0x4
 
#define KEY_TYPE_WEP104   0x5
 
#define MAX_QUEUE_SIZE   0x10
 
#define BK_QUEUE   0
 
#define BE_QUEUE   1
 
#define VI_QUEUE   2
 
#define VO_QUEUE   3
 
#define HCCA_QUEUE   4
 
#define TXCMD_QUEUE   5
 
#define MGNT_QUEUE   6
 
#define HIGH_QUEUE   7
 
#define BEACON_QUEUE   8
 
#define LOW_QUEUE   BE_QUEUE
 
#define NORMAL_QUEUE   MGNT_QUEUE
 
#define IW_MODE_MESH   7
 
#define AMSDU_SUBHEADER_LEN   14
 
#define SWRF_TIMEOUT   50
 
#define IE_CISCO_FLAG_POSITION   0x08
 
#define SUPPORT_CKIP_MIC   0x08
 
#define SUPPORT_CKIP_PK   0x10
 
#define RT_RF_OFF_LEVL_ASPM   BIT0
 
#define RT_RF_OFF_LEVL_CLK_REQ   BIT1
 
#define RT_RF_OFF_LEVL_PCI_D3   BIT2
 
#define RT_RF_OFF_LEVL_HALT_NIC   BIT3
 
#define RT_RF_OFF_LEVL_FREE_FW   BIT4
 
#define RT_RF_OFF_LEVL_FW_32K   BIT5
 
#define RT_RF_PS_LEVEL_ALWAYS_ASPM   BIT6
 
#define RT_RF_LPS_DISALBE_2R   BIT30
 
#define RT_RF_LPS_LEVEL_ASPM   BIT31
 
#define RT_IN_PS_LEVEL(pPSC, _PS_FLAG)   ((pPSC->CurPsLevel & _PS_FLAG) ? true : false)
 
#define RT_CLEAR_PS_LEVEL(pPSC, _PS_FLAG)   (pPSC->CurPsLevel &= (~(_PS_FLAG)))
 
#define RT_SET_PS_LEVEL(pPSC, _PS_FLAG)   (pPSC->CurPsLevel |= _PS_FLAG)
 
#define MGN_1M   0x02
 
#define MGN_2M   0x04
 
#define MGN_5_5M   0x0b
 
#define MGN_11M   0x16
 
#define MGN_6M   0x0c
 
#define MGN_9M   0x12
 
#define MGN_12M   0x18
 
#define MGN_18M   0x24
 
#define MGN_24M   0x30
 
#define MGN_36M   0x48
 
#define MGN_48M   0x60
 
#define MGN_54M   0x6c
 
#define MGN_MCS0   0x80
 
#define MGN_MCS1   0x81
 
#define MGN_MCS2   0x82
 
#define MGN_MCS3   0x83
 
#define MGN_MCS4   0x84
 
#define MGN_MCS5   0x85
 
#define MGN_MCS6   0x86
 
#define MGN_MCS7   0x87
 
#define MGN_MCS8   0x88
 
#define MGN_MCS9   0x89
 
#define MGN_MCS10   0x8a
 
#define MGN_MCS11   0x8b
 
#define MGN_MCS12   0x8c
 
#define MGN_MCS13   0x8d
 
#define MGN_MCS14   0x8e
 
#define MGN_MCS15   0x8f
 
#define MGN_MCS0_SG   0x90
 
#define MGN_MCS1_SG   0x91
 
#define MGN_MCS2_SG   0x92
 
#define MGN_MCS3_SG   0x93
 
#define MGN_MCS4_SG   0x94
 
#define MGN_MCS5_SG   0x95
 
#define MGN_MCS6_SG   0x96
 
#define MGN_MCS7_SG   0x97
 
#define MGN_MCS8_SG   0x98
 
#define MGN_MCS9_SG   0x99
 
#define MGN_MCS10_SG   0x9a
 
#define MGN_MCS11_SG   0x9b
 
#define MGN_MCS12_SG   0x9c
 
#define MGN_MCS13_SG   0x9d
 
#define MGN_MCS14_SG   0x9e
 
#define MGN_MCS15_SG   0x9f
 
#define aSifsTime
 
#define MGMT_QUEUE_NUM   5
 
#define IEEE_CMD_SET_WPA_PARAM   1
 
#define IEEE_CMD_SET_WPA_IE   2
 
#define IEEE_CMD_SET_ENCRYPTION   3
 
#define IEEE_CMD_MLME   4
 
#define IEEE_PARAM_WPA_ENABLED   1
 
#define IEEE_PARAM_TKIP_COUNTERMEASURES   2
 
#define IEEE_PARAM_DROP_UNENCRYPTED   3
 
#define IEEE_PARAM_PRIVACY_INVOKED   4
 
#define IEEE_PARAM_AUTH_ALGS   5
 
#define IEEE_PARAM_IEEE_802_1X   6
 
#define IEEE_PARAM_WPAX_SELECT   7
 
#define IEEE_PROTO_WPA   1
 
#define IEEE_PROTO_RSN   2
 
#define IEEE_WPAX_USEGROUP   0
 
#define IEEE_WPAX_WEP40   1
 
#define IEEE_WPAX_TKIP   2
 
#define IEEE_WPAX_WRAP   3
 
#define IEEE_WPAX_CCMP   4
 
#define IEEE_WPAX_WEP104   5
 
#define IEEE_KEY_MGMT_IEEE8021X   1
 
#define IEEE_KEY_MGMT_PSK   2
 
#define IEEE_MLME_STA_DEAUTH   1
 
#define IEEE_MLME_STA_DISASSOC   2
 
#define IEEE_CRYPT_ERR_UNKNOWN_ALG   2
 
#define IEEE_CRYPT_ERR_UNKNOWN_ADDR   3
 
#define IEEE_CRYPT_ERR_CRYPT_INIT_FAILED   4
 
#define IEEE_CRYPT_ERR_KEY_SET_FAILED   5
 
#define IEEE_CRYPT_ERR_TX_KEY_SET_FAILED   6
 
#define IEEE_CRYPT_ERR_CARD_CONF_FAILED   7
 
#define IEEE_CRYPT_ALG_NAME_LEN   16
 
#define MAX_IE_LEN   0xff
 
#define RT_ASSERT_RET(_Exp)   do {} while (0)
 
#define RT_ASSERT_RET_VALUE(_Exp, Ret)   do {} while (0)
 
#define IW_QUAL_QUAL_INVALID   0x10
 
#define IW_QUAL_LEVEL_INVALID   0x20
 
#define IW_QUAL_NOISE_INVALID   0x40
 
#define IW_QUAL_QUAL_UPDATED   0x1
 
#define IW_QUAL_LEVEL_UPDATED   0x2
 
#define IW_QUAL_NOISE_UPDATED   0x4
 
#define MSECS(t)   msecs_to_jiffies(t)
 
#define msleep_interruptible_rsl   msleep_interruptible
 
#define RTLLIB_DATA_LEN   2304
 
#define RTLLIB_1ADDR_LEN   10
 
#define RTLLIB_2ADDR_LEN   16
 
#define RTLLIB_3ADDR_LEN   24
 
#define RTLLIB_4ADDR_LEN   30
 
#define RTLLIB_FCS_LEN   4
 
#define RTLLIB_HLEN   (RTLLIB_4ADDR_LEN)
 
#define RTLLIB_FRAME_LEN   (RTLLIB_DATA_LEN + RTLLIB_HLEN)
 
#define RTLLIB_MGMT_HDR_LEN   24
 
#define RTLLIB_DATA_HDR3_LEN   24
 
#define RTLLIB_DATA_HDR4_LEN   30
 
#define RTLLIB_SKBBUFFER_SIZE   2500
 
#define MIN_FRAG_THRESHOLD   256U
 
#define MAX_FRAG_THRESHOLD   2346U
 
#define MAX_HT_DATA_FRAG_THRESHOLD   0x2000
 
#define HT_AMSDU_SIZE_4K   3839
 
#define HT_AMSDU_SIZE_8K   7935
 
#define RTLLIB_FCTL_VERS   0x0003
 
#define RTLLIB_FCTL_FTYPE   0x000c
 
#define RTLLIB_FCTL_STYPE   0x00f0
 
#define RTLLIB_FCTL_FRAMETYPE   0x00fc
 
#define RTLLIB_FCTL_TODS   0x0100
 
#define RTLLIB_FCTL_FROMDS   0x0200
 
#define RTLLIB_FCTL_DSTODS   0x0300
 
#define RTLLIB_FCTL_MOREFRAGS   0x0400
 
#define RTLLIB_FCTL_RETRY   0x0800
 
#define RTLLIB_FCTL_PM   0x1000
 
#define RTLLIB_FCTL_MOREDATA   0x2000
 
#define RTLLIB_FCTL_WEP   0x4000
 
#define RTLLIB_FCTL_ORDER   0x8000
 
#define RTLLIB_FTYPE_MGMT   0x0000
 
#define RTLLIB_FTYPE_CTL   0x0004
 
#define RTLLIB_FTYPE_DATA   0x0008
 
#define RTLLIB_STYPE_ASSOC_REQ   0x0000
 
#define RTLLIB_STYPE_ASSOC_RESP   0x0010
 
#define RTLLIB_STYPE_REASSOC_REQ   0x0020
 
#define RTLLIB_STYPE_REASSOC_RESP   0x0030
 
#define RTLLIB_STYPE_PROBE_REQ   0x0040
 
#define RTLLIB_STYPE_PROBE_RESP   0x0050
 
#define RTLLIB_STYPE_BEACON   0x0080
 
#define RTLLIB_STYPE_ATIM   0x0090
 
#define RTLLIB_STYPE_DISASSOC   0x00A0
 
#define RTLLIB_STYPE_AUTH   0x00B0
 
#define RTLLIB_STYPE_DEAUTH   0x00C0
 
#define RTLLIB_STYPE_MANAGE_ACT   0x00D0
 
#define RTLLIB_STYPE_PSPOLL   0x00A0
 
#define RTLLIB_STYPE_RTS   0x00B0
 
#define RTLLIB_STYPE_CTS   0x00C0
 
#define RTLLIB_STYPE_ACK   0x00D0
 
#define RTLLIB_STYPE_CFEND   0x00E0
 
#define RTLLIB_STYPE_CFENDACK   0x00F0
 
#define RTLLIB_STYPE_BLOCKACK   0x0094
 
#define RTLLIB_STYPE_DATA   0x0000
 
#define RTLLIB_STYPE_DATA_CFACK   0x0010
 
#define RTLLIB_STYPE_DATA_CFPOLL   0x0020
 
#define RTLLIB_STYPE_DATA_CFACKPOLL   0x0030
 
#define RTLLIB_STYPE_NULLFUNC   0x0040
 
#define RTLLIB_STYPE_CFACK   0x0050
 
#define RTLLIB_STYPE_CFPOLL   0x0060
 
#define RTLLIB_STYPE_CFACKPOLL   0x0070
 
#define RTLLIB_STYPE_QOS_DATA   0x0080
 
#define RTLLIB_STYPE_QOS_NULL   0x00C0
 
#define RTLLIB_SCTL_FRAG   0x000F
 
#define RTLLIB_SCTL_SEQ   0xFFF0
 
#define RTLLIB_QCTL_TID   0x000F
 
#define FC_QOS_BIT   BIT7
 
#define IsDataFrame(pdu)   (((pdu[0] & 0x0C) == 0x08) ? true : false)
 
#define IsLegacyDataFrame(pdu)   (IsDataFrame(pdu) && (!(pdu[0]&FC_QOS_BIT)))
 
#define IsQoSDataFrame(pframe)
 
#define Frame_Order(pframe)   (*(u16 *)pframe&RTLLIB_FCTL_ORDER)
 
#define SN_LESS(a, b)   (((a-b)&0x800) != 0)
 
#define SN_EQUAL(a, b)   (a == b)
 
#define MAX_DEV_ADDR_SIZE   8
 
#define OUI_SUBTYPE_WMM_INFO   0
 
#define OUI_SUBTYPE_WMM_PARAM   1
 
#define OUI_SUBTYPE_QOS_CAPABI   5
 
#define RTLLIB_DEBUG(level, fmt, args...)
 
#define RTLLIB_DEBUG_DATA(level, data, datalen)
 
#define RTLLIB_DL_INFO   (1<<0)
 
#define RTLLIB_DL_WX   (1<<1)
 
#define RTLLIB_DL_SCAN   (1<<2)
 
#define RTLLIB_DL_STATE   (1<<3)
 
#define RTLLIB_DL_MGMT   (1<<4)
 
#define RTLLIB_DL_FRAG   (1<<5)
 
#define RTLLIB_DL_EAP   (1<<6)
 
#define RTLLIB_DL_DROP   (1<<7)
 
#define RTLLIB_DL_TX   (1<<8)
 
#define RTLLIB_DL_RX   (1<<9)
 
#define RTLLIB_DL_HT   (1<<10)
 
#define RTLLIB_DL_BA   (1<<11)
 
#define RTLLIB_DL_TS   (1<<12)
 
#define RTLLIB_DL_QOS   (1<<13)
 
#define RTLLIB_DL_REORDER   (1<<14)
 
#define RTLLIB_DL_IOT   (1<<15)
 
#define RTLLIB_DL_IPS   (1<<16)
 
#define RTLLIB_DL_TRACE   (1<<29)
 
#define RTLLIB_DL_DATA   (1<<30)
 
#define RTLLIB_DL_ERR   (1<<31)
 
#define RTLLIB_ERROR(f, a...)   printk(KERN_ERR "rtllib: " f, ## a)
 
#define RTLLIB_WARNING(f, a...)   printk(KERN_WARNING "rtllib: " f, ## a)
 
#define RTLLIB_DEBUG_INFO(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_INFO, f, ## a)
 
#define RTLLIB_DEBUG_WX(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_WX, f, ## a)
 
#define RTLLIB_DEBUG_SCAN(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_SCAN, f, ## a)
 
#define RTLLIB_DEBUG_STATE(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_STATE, f, ## a)
 
#define RTLLIB_DEBUG_MGMT(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_MGMT, f, ## a)
 
#define RTLLIB_DEBUG_FRAG(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_FRAG, f, ## a)
 
#define RTLLIB_DEBUG_EAP(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_EAP, f, ## a)
 
#define RTLLIB_DEBUG_DROP(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_DROP, f, ## a)
 
#define RTLLIB_DEBUG_TX(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_TX, f, ## a)
 
#define RTLLIB_DEBUG_RX(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_RX, f, ## a)
 
#define RTLLIB_DEBUG_QOS(f, a...)   RTLLIB_DEBUG(RTLLIB_DL_QOS, f, ## a)
 
#define MAX_STR_LEN   64
 
#define PRINTABLE(_ch)   (_ch > '!' && _ch < '~')
 
#define RTLLIB_PRINT_STR(_Comp, _TitleString, _Ptr, _Len)
 
#define ETH_P_PAE   0x888E /* Port Access Entity (IEEE 802.1X) */
 
#define ETH_P_IP   0x0800 /* Internet Protocol packet */
 
#define ETH_P_ARP   0x0806 /* Address Resolution packet */
 
#define ETH_P_PREAUTH   0x88C7 /* IEEE 802.11i pre-authentication */
 
#define ETH_P_80211_RAW   (ETH_P_ECONET + 1)
 
#define P80211_OUI_LEN   3
 
#define SNAP_SIZE   sizeof(struct rtllib_snap_hdr)
 
#define WLAN_FC_GET_VERS(fc)   ((fc) & RTLLIB_FCTL_VERS)
 
#define WLAN_FC_GET_TYPE(fc)   ((fc) & RTLLIB_FCTL_FTYPE)
 
#define WLAN_FC_GET_STYPE(fc)   ((fc) & RTLLIB_FCTL_STYPE)
 
#define WLAN_FC_MORE_DATA(fc)   ((fc) & RTLLIB_FCTL_MOREDATA)
 
#define WLAN_FC_GET_FRAMETYPE(fc)   ((fc) & RTLLIB_FCTL_FRAMETYPE)
 
#define WLAN_GET_SEQ_FRAG(seq)   ((seq) & RTLLIB_SCTL_FRAG)
 
#define WLAN_GET_SEQ_SEQ(seq)   (((seq) & RTLLIB_SCTL_SEQ) >> 4)
 
#define WLAN_AUTH_OPEN   0
 
#define WLAN_AUTH_SHARED_KEY   1
 
#define WLAN_AUTH_LEAP   128
 
#define WLAN_AUTH_CHALLENGE_LEN   128
 
#define WLAN_CAPABILITY_ESS   (1<<0)
 
#define WLAN_CAPABILITY_IBSS   (1<<1)
 
#define WLAN_CAPABILITY_CF_POLLABLE   (1<<2)
 
#define WLAN_CAPABILITY_CF_POLL_REQUEST   (1<<3)
 
#define WLAN_CAPABILITY_PRIVACY   (1<<4)
 
#define WLAN_CAPABILITY_SHORT_PREAMBLE   (1<<5)
 
#define WLAN_CAPABILITY_PBCC   (1<<6)
 
#define WLAN_CAPABILITY_CHANNEL_AGILITY   (1<<7)
 
#define WLAN_CAPABILITY_SPECTRUM_MGMT   (1<<8)
 
#define WLAN_CAPABILITY_QOS   (1<<9)
 
#define WLAN_CAPABILITY_SHORT_SLOT_TIME   (1<<10)
 
#define WLAN_CAPABILITY_DSSS_OFDM   (1<<13)
 
#define WLAN_ERP_NON_ERP_PRESENT   (1<<0)
 
#define WLAN_ERP_USE_PROTECTION   (1<<1)
 
#define WLAN_ERP_BARKER_PREAMBLE   (1<<2)
 
#define RTLLIB_STATMASK_SIGNAL   (1<<0)
 
#define RTLLIB_STATMASK_RSSI   (1<<1)
 
#define RTLLIB_STATMASK_NOISE   (1<<2)
 
#define RTLLIB_STATMASK_RATE   (1<<3)
 
#define RTLLIB_STATMASK_WEMASK   0x7
 
#define RTLLIB_CCK_MODULATION   (1<<0)
 
#define RTLLIB_OFDM_MODULATION   (1<<1)
 
#define RTLLIB_24GHZ_BAND   (1<<0)
 
#define RTLLIB_52GHZ_BAND   (1<<1)
 
#define RTLLIB_CCK_RATE_LEN   4
 
#define RTLLIB_CCK_RATE_1MB   0x02
 
#define RTLLIB_CCK_RATE_2MB   0x04
 
#define RTLLIB_CCK_RATE_5MB   0x0B
 
#define RTLLIB_CCK_RATE_11MB   0x16
 
#define RTLLIB_OFDM_RATE_LEN   8
 
#define RTLLIB_OFDM_RATE_6MB   0x0C
 
#define RTLLIB_OFDM_RATE_9MB   0x12
 
#define RTLLIB_OFDM_RATE_12MB   0x18
 
#define RTLLIB_OFDM_RATE_18MB   0x24
 
#define RTLLIB_OFDM_RATE_24MB   0x30
 
#define RTLLIB_OFDM_RATE_36MB   0x48
 
#define RTLLIB_OFDM_RATE_48MB   0x60
 
#define RTLLIB_OFDM_RATE_54MB   0x6C
 
#define RTLLIB_BASIC_RATE_MASK   0x80
 
#define RTLLIB_CCK_RATE_1MB_MASK   (1<<0)
 
#define RTLLIB_CCK_RATE_2MB_MASK   (1<<1)
 
#define RTLLIB_CCK_RATE_5MB_MASK   (1<<2)
 
#define RTLLIB_CCK_RATE_11MB_MASK   (1<<3)
 
#define RTLLIB_OFDM_RATE_6MB_MASK   (1<<4)
 
#define RTLLIB_OFDM_RATE_9MB_MASK   (1<<5)
 
#define RTLLIB_OFDM_RATE_12MB_MASK   (1<<6)
 
#define RTLLIB_OFDM_RATE_18MB_MASK   (1<<7)
 
#define RTLLIB_OFDM_RATE_24MB_MASK   (1<<8)
 
#define RTLLIB_OFDM_RATE_36MB_MASK   (1<<9)
 
#define RTLLIB_OFDM_RATE_48MB_MASK   (1<<10)
 
#define RTLLIB_OFDM_RATE_54MB_MASK   (1<<11)
 
#define RTLLIB_CCK_RATES_MASK   0x0000000F
 
#define RTLLIB_CCK_BASIC_RATES_MASK
 
#define RTLLIB_CCK_DEFAULT_RATES_MASK
 
#define RTLLIB_OFDM_RATES_MASK   0x00000FF0
 
#define RTLLIB_OFDM_BASIC_RATES_MASK
 
#define RTLLIB_OFDM_DEFAULT_RATES_MASK
 
#define RTLLIB_DEFAULT_RATES_MASK
 
#define RTLLIB_NUM_OFDM_RATES   8
 
#define RTLLIB_NUM_CCK_RATES   4
 
#define RTLLIB_OFDM_SHIFT_MASK_A   4
 
#define RTLLIB_FC0_TYPE_MASK   0x0c
 
#define RTLLIB_FC0_TYPE_DATA   0x08
 
#define RTLLIB_FC0_SUBTYPE_MASK   0xB0
 
#define RTLLIB_FC0_SUBTYPE_QOS   0x80
 
#define RTLLIB_QOS_HAS_SEQ(fc)
 
#define IEEE_IBSS_MAC_HASH_SIZE   31
 
#define RTLLIB_FRAG_CACHE_LEN   4
 
#define SEC_KEY_1   (1<<0)
 
#define SEC_KEY_2   (1<<1)
 
#define SEC_KEY_3   (1<<2)
 
#define SEC_KEY_4   (1<<3)
 
#define SEC_ACTIVE_KEY   (1<<4)
 
#define SEC_AUTH_MODE   (1<<5)
 
#define SEC_UNICAST_GROUP   (1<<6)
 
#define SEC_LEVEL   (1<<7)
 
#define SEC_ENABLED   (1<<8)
 
#define SEC_ENCRYPT   (1<<9)
 
#define SEC_LEVEL_0   0 /* None */
 
#define SEC_LEVEL_1   1 /* WEP 40 and 104 bit */
 
#define SEC_LEVEL_2   2 /* Level 1 + TKIP */
 
#define SEC_LEVEL_2_CKIP   3 /* Level 1 + CKIP */
 
#define SEC_LEVEL_3   4 /* Level 2 + CCMP */
 
#define SEC_ALG_NONE   0
 
#define SEC_ALG_WEP   1
 
#define SEC_ALG_TKIP   2
 
#define SEC_ALG_CCMP   4
 
#define WEP_KEY_LEN   13
 
#define SCM_KEY_LEN   32
 
#define SCM_TEMPORAL_KEY_LENGTH   16
 
#define rtllib_beacon   rtllib_probe_response
 
#define MAX_TX_AGG_COUNT   16
 
#define MAX_SUBFRAME_COUNT   64
 
#define MAX_SWEEP_TAB_ENTRIES   42
 
#define MAX_SWEEP_TAB_ENTRIES_PER_PACKET   7
 
#define MAX_RATES_LENGTH   ((u8)12)
 
#define MAX_RATES_EX_LENGTH   ((u8)16)
 
#define MAX_NETWORK_COUNT   96
 
#define MAX_CHANNEL_NUMBER   161
 
#define RTLLIB_SOFTMAC_SCAN_TIME   100
 
#define RTLLIB_SOFTMAC_ASSOC_RETRY_TIME   (HZ * 2)
 
#define CRC_LENGTH   4U
 
#define MAX_WPA_IE_LEN   64
 
#define MAX_WZC_IE_LEN   256
 
#define NETWORK_EMPTY_ESSID   (1<<0)
 
#define NETWORK_HAS_OFDM   (1<<1)
 
#define NETWORK_HAS_CCK   (1<<2)
 
#define NETWORK_HAS_QOS_PARAMETERS   (1<<3)
 
#define NETWORK_HAS_QOS_INFORMATION   (1<<4)
 
#define NETWORK_HAS_QOS_MASK
 
#define NETWORK_HAS_POWER_CONSTRAINT   (1<<5)
 
#define NETWORK_HAS_CSA   (1<<6)
 
#define NETWORK_HAS_QUIET   (1<<7)
 
#define NETWORK_HAS_IBSS_DFS   (1<<8)
 
#define NETWORK_HAS_TPC_REPORT   (1<<9)
 
#define NETWORK_HAS_ERP_VALUE   (1<<10)
 
#define QOS_QUEUE_NUM   4
 
#define QOS_OUI_LEN   3
 
#define QOS_OUI_TYPE   2
 
#define QOS_ELEMENT_ID   221
 
#define QOS_OUI_INFO_SUB_TYPE   0
 
#define QOS_OUI_PARAM_SUB_TYPE   1
 
#define QOS_VERSION_1   1
 
#define QOS_AIFSN_MIN_VALUE   2
 
#define BEACON_PROBE_SSID_ID_POSITION   12
 
#define RTLLIB_DEFAULT_TX_ESSID   "Penguin"
 
#define RTLLIB_DEFAULT_BASIC_RATE   2
 
#define MAX_SP_Len   (WMM_all_frame << 4)
 
#define RTLLIB_QOS_TID   0x0f
 
#define QOS_CTL_NOTCONTAIN_ACK   (0x01 << 5)
 
#define RTLLIB_DTIM_MBCAST   4
 
#define RTLLIB_DTIM_UCAST   2
 
#define RTLLIB_DTIM_VALID   1
 
#define RTLLIB_DTIM_INVALID   0
 
#define RTLLIB_PS_DISABLED   0
 
#define RTLLIB_PS_UNICAST   RTLLIB_DTIM_UCAST
 
#define RTLLIB_PS_MBCAST   RTLLIB_DTIM_MBCAST
 
#define WME_AC_BK   0x00
 
#define WME_AC_BE   0x01
 
#define WME_AC_VI   0x02
 
#define WME_AC_VO   0x03
 
#define WME_ACI_MASK   0x03
 
#define WME_AIFSN_MASK   0x03
 
#define WME_AC_PRAM_LEN   16
 
#define MAX_RECEIVE_BUFFER_SIZE   9100
 
#define UP2AC(up)
 
#define AC2UP(_ac)
 
#define ETHER_ADDR_LEN   6 /* length of an Ethernet address */
 
#define ETHERNET_HEADER_SIZE
 
#define ETHERTYPE_PAE   0x888e /* EAPOL PAE/802.1x */
 
#define ETHERTYPE_IP   0x0800 /* IP protocol */
 
#define DEFAULT_MAX_SCAN_AGE   (15 * HZ)
 
#define DEFAULT_FTS   2346
 
#define CFG_RTLLIB_RESERVE_FCS   (1<<0)
 
#define CFG_RTLLIB_COMPUTE_FCS   (1<<1)
 
#define CFG_RTLLIB_RTS   (1<<2)
 
#define RTLLIB_24GHZ_MIN_CHANNEL   1
 
#define RTLLIB_24GHZ_MAX_CHANNEL   14
 
#define RTLLIB_24GHZ_CHANNELS
 
#define RTLLIB_52GHZ_MIN_CHANNEL   34
 
#define RTLLIB_52GHZ_MAX_CHANNEL   165
 
#define RTLLIB_52GHZ_CHANNELS
 
#define eqMacAddr(a, b)
 
#define REORDER_WIN_SIZE   128
 
#define REORDER_ENTRY_NUM   128
 
#define MAX_NUM_RATES   264
 
#define MAX_SUPPORT_WOL_PATTERN_NUM   8
 
#define MAX_WOL_BIT_MASK_SIZE   16
 
#define MAX_WOL_PATTERN_SIZE   128
 
#define RT_RF_CHANGE_SOURCE   u32
 
#define RF_CHANGE_BY_SW   BIT31
 
#define RF_CHANGE_BY_HW   BIT30
 
#define RF_CHANGE_BY_PS   BIT29
 
#define RF_CHANGE_BY_IPS   BIT28
 
#define RF_CHANGE_BY_INIT   0
 
#define RT_MAX_LD_SLOT_NUM   10
 
#define TOTAL_CAM_ENTRY   32
 
#define NUM_PMKID_CACHE   16
 
#define STATUS_SCANNING   0
 
#define STATUS_SCAN_HW   1
 
#define STATUS_SCAN_ABORTING   2
 
#define STATUS_SETTING_CHAN   3
 
#define DEFAULT_RTS_THRESHOLD   2346U
 
#define MIN_RTS_THRESHOLD   1
 
#define MAX_RTS_THRESHOLD   2346U
 
#define RTLLIB_QUEUE_LIMIT   128
 
#define IEEE_A   (1<<0)
 
#define IEEE_B   (1<<1)
 
#define IEEE_G   (1<<2)
 
#define IEEE_N_24G   (1<<4)
 
#define IEEE_N_5G   (1<<5)
 
#define IEEE_MODE_MASK   (IEEE_A|IEEE_B|IEEE_G)
 
#define IEEE_SOFTMAC_SCAN   (1<<2)
 
#define IEEE_SOFTMAC_ASSOCIATE   (1<<3)
 
#define IEEE_SOFTMAC_PROBERQ   (1<<4)
 
#define IEEE_SOFTMAC_PROBERS   (1<<5)
 
#define IEEE_SOFTMAC_TX_QUEUE   (1<<7)
 
#define IEEE_SOFTMAC_SINGLE_QUEUE   (1<<8)
 
#define IEEE_SOFTMAC_BEACONS   (1<<6)
 
#define MAX_RECEIVE_BUFFER_SIZE   9100
 
#define CONVERT_RATE(_ieee, _MGN_RATE)
 
#define RT_ASOC_RETRY_LIMIT   5
 
#define SPIN_LOCK_IEEE(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_IEEE(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_IEEE_REORDER(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_IEEE_REORDER(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_IEEE_WPAX(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_IEEE_WPAX(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_IEEE_MGNTTX(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_IEEE_MGNTTX(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_IEEE_BCN(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_IEEE_BCN(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_MSH_STAINFO(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_MSH_STAINFO(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_MSH_PREQ(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_MSH_PREQ(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_MSH_QUEUE(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_MSH_QUEUE(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_PRIV_RFPS(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_PRIV_RFPS(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_PRIV_IRQTH(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_PRIV_IRQTH(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_PRIV_TX(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_PRIV_TX(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_PRIV_D3(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_PRIV_D3(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_PRIV_RF(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_PRIV_RF(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SPIN_LOCK_PRIV_PS(plock)   spin_lock_irqsave((plock), flags)
 
#define SPIN_UNLOCK_PRIV_PS(plock)   spin_unlock_irqrestore((plock), flags)
 
#define SEM_DOWN_IEEE_WX(psem)   down(psem)
 
#define SEM_UP_IEEE_WX(psem)   up(psem)
 
#define SEM_DOWN_IEEE_SCAN(psem)   down(psem)
 
#define SEM_UP_IEEE_SCAN(psem)   up(psem)
 
#define SEM_DOWN_IEEE_IPS(psem)   down(psem)
 
#define SEM_UP_IEEE_IPS(psem)   up(psem)
 
#define SEM_DOWN_PRIV_WX(psem)   down(psem)
 
#define SEM_UP_PRIV_WX(psem)   up(psem)
 
#define SEM_DOWN_PRIV_RF(psem)   down(psem)
 
#define SEM_UP_PRIV_RF(psem)   up(psem)
 
#define MUTEX_LOCK_PRIV(pmutex)   mutex_lock(pmutex)
 
#define MUTEX_UNLOCK_PRIV(pmutex)   mutex_unlock(pmutex)
 

Enumerations

enum  sw_chnl_cmd_id {
  CmdID_End, CmdID_SetTxPowerLevel, CmdID_BBRegWrite10, CmdID_WritePortUlong,
  CmdID_WritePortUshort, CmdID_WritePortUchar, CmdID_RF_WriteReg
}
 
enum  _ReasonCode {
  unspec_reason = 0x1, auth_not_valid = 0x2, deauth_lv_ss = 0x3, inactivity = 0x4,
  ap_overload = 0x5, class2_err = 0x6, class3_err = 0x7, disas_lv_ss = 0x8,
  asoc_not_auth = 0x9, mic_failure = 0xe, invalid_IE = 0x0d, four_way_tmout = 0x0f,
  two_way_tmout = 0x10, IE_dismatch = 0x11, invalid_Gcipher = 0x12, invalid_Pcipher = 0x13,
  invalid_AKMP = 0x14, unsup_RSNIEver = 0x15, invalid_RSNIE = 0x16, auth_802_1x_fail = 0x17,
  ciper_reject = 0x18, QoS_unspec = 0x20, QAP_bandwidth = 0x21, poor_condition = 0x22,
  no_facility = 0x23, req_declined = 0x25, invalid_param = 0x26, req_not_honored = 0x27,
  TS_not_created = 0x2F, DL_not_allowed = 0x30, dest_not_exist = 0x31, dest_not_QSTA = 0x32,
  unspec_reason = 0x1, auth_not_valid = 0x2, deauth_lv_ss = 0x3, inactivity = 0x4,
  ap_overload = 0x5, class2_err = 0x6, class3_err = 0x7, disas_lv_ss = 0x8,
  asoc_not_auth = 0x9, mic_failure = 0xe, invalid_IE = 0x0d, four_way_tmout = 0x0f,
  two_way_tmout = 0x10, IE_dismatch = 0x11, invalid_Gcipher = 0x12, invalid_Pcipher = 0x13,
  invalid_AKMP = 0x14, unsup_RSNIEver = 0x15, invalid_RSNIE = 0x16, auth_802_1x_fail = 0x17,
  ciper_reject = 0x18, QoS_unspec = 0x20, QAP_bandwidth = 0x21, poor_condition = 0x22,
  no_facility = 0x23, req_declined = 0x25, invalid_param = 0x26, req_not_honored = 0x27,
  TS_not_created = 0x2F, DL_not_allowed = 0x30, dest_not_exist = 0x31, dest_not_QSTA = 0x32,
  unspec_reason = 0x1, auth_not_valid = 0x2, deauth_lv_ss = 0x3, inactivity = 0x4,
  ap_overload = 0x5, class2_err = 0x6, class3_err = 0x7, disas_lv_ss = 0x8,
  asoc_not_auth = 0x9, mic_failure = 0xe, invalid_IE = 0x0d, four_way_tmout = 0x0f,
  two_way_tmout = 0x10, IE_dismatch = 0x11, invalid_Gcipher = 0x12, invalid_Pcipher = 0x13,
  invalid_AKMP = 0x14, unsup_RSNIEver = 0x15, invalid_RSNIE = 0x16, auth_802_1x_fail = 0x17,
  ciper_reject = 0x18, QoS_unspec = 0x20, QAP_bandwidth = 0x21, poor_condition = 0x22,
  no_facility = 0x23, req_declined = 0x25, invalid_param = 0x26, req_not_honored = 0x27,
  TS_not_created = 0x2F, DL_not_allowed = 0x30, dest_not_exist = 0x31, dest_not_QSTA = 0x32
}
 
enum  hal_def_variable {
  HAL_DEF_TPC_ENABLE, HAL_DEF_INIT_GAIN, HAL_DEF_PROT_IMP_MODE, HAL_DEF_HIGH_POWER_MECHANISM,
  HAL_DEF_RATE_ADAPTIVE_MECHANISM, HAL_DEF_ANTENNA_DIVERSITY_MECHANISM, HAL_DEF_LED, HAL_DEF_CW_MAX_MIN,
  HAL_DEF_WOWLAN, HAL_DEF_ENDPOINTS, HAL_DEF_MIN_TX_POWER_DBM, HAL_DEF_MAX_TX_POWER_DBM,
  HW_DEF_EFUSE_REPG_SECTION1_FLAG, HW_DEF_EFUSE_REPG_DATA, HW_DEF_GPIO, HAL_DEF_PCI_SUPPORT_ASPM,
  HAL_DEF_THERMAL_VALUE, HAL_DEF_USB_IN_TOKEN_REV
}
 
enum  hw_variables {
  HW_VAR_ETHER_ADDR, HW_VAR_MULTICAST_REG, HW_VAR_BASIC_RATE, HW_VAR_BSSID,
  HW_VAR_MEDIA_STATUS, HW_VAR_SECURITY_CONF, HW_VAR_BEACON_INTERVAL, HW_VAR_ATIM_WINDOW,
  HW_VAR_LISTEN_INTERVAL, HW_VAR_CS_COUNTER, HW_VAR_DEFAULTKEY0, HW_VAR_DEFAULTKEY1,
  HW_VAR_DEFAULTKEY2, HW_VAR_DEFAULTKEY3, HW_VAR_SIFS, HW_VAR_DIFS,
  HW_VAR_EIFS, HW_VAR_SLOT_TIME, HW_VAR_ACK_PREAMBLE, HW_VAR_CW_CONFIG,
  HW_VAR_CW_VALUES, HW_VAR_RATE_FALLBACK_CONTROL, HW_VAR_CONTENTION_WINDOW, HW_VAR_RETRY_COUNT,
  HW_VAR_TR_SWITCH, HW_VAR_COMMAND, HW_VAR_WPA_CONFIG, HW_VAR_AMPDU_MIN_SPACE,
  HW_VAR_SHORTGI_DENSITY, HW_VAR_AMPDU_FACTOR, HW_VAR_MCS_RATE_AVAILABLE, HW_VAR_AC_PARAM,
  HW_VAR_ACM_CTRL, HW_VAR_DIS_Req_Qsize, HW_VAR_CCX_CHNL_LOAD, HW_VAR_CCX_NOISE_HISTOGRAM,
  HW_VAR_CCX_CLM_NHM, HW_VAR_TxOPLimit, HW_VAR_TURBO_MODE, HW_VAR_RF_STATE,
  HW_VAR_RF_OFF_BY_HW, HW_VAR_BUS_SPEED, HW_VAR_SET_DEV_POWER, HW_VAR_RCR,
  HW_VAR_RATR_0, HW_VAR_RRSR, HW_VAR_CPU_RST, HW_VAR_CECHK_BSSID,
  HW_VAR_LBK_MODE, HW_VAR_AES_11N_FIX, HW_VAR_USB_RX_AGGR, HW_VAR_USER_CONTROL_TURBO_MODE,
  HW_VAR_RETRY_LIMIT, HW_VAR_INIT_TX_RATE, HW_VAR_TX_RATE_REG, HW_VAR_EFUSE_USAGE,
  HW_VAR_EFUSE_BYTES, HW_VAR_AUTOLOAD_STATUS, HW_VAR_RF_2R_DISABLE, HW_VAR_SET_RPWM,
  HW_VAR_H2C_FW_PWRMODE, HW_VAR_H2C_FW_JOINBSSRPT, HW_VAR_FW_PSMODE_STATUS, HW_VAR_1X1_RECV_COMBINE,
  HW_VAR_STOP_SEND_BEACON, HW_VAR_TSF_TIMER, HW_VAR_IO_CMD, HW_VAR_RF_RECOVERY,
  HW_VAR_H2C_FW_UPDATE_GTK, HW_VAR_WF_MASK, HW_VAR_WF_CRC, HW_VAR_WF_IS_MAC_ADDR,
  HW_VAR_H2C_FW_OFFLOAD, HW_VAR_RESET_WFCRC, HW_VAR_HANDLE_FW_C2H, HW_VAR_DL_FW_RSVD_PAGE,
  HW_VAR_AID, HW_VAR_HW_SEQ_ENABLE, HW_VAR_CORRECT_TSF, HW_VAR_BCN_VALID,
  HW_VAR_FWLPS_RF_ON, HW_VAR_DUAL_TSF_RST, HW_VAR_SWITCH_EPHY_WoWLAN, HW_VAR_INT_MIGRATION,
  HW_VAR_INT_AC, HW_VAR_RF_TIMING, HW_VAR_MRC, HW_VAR_MGT_FILTER,
  HW_VAR_CTRL_FILTER, HW_VAR_DATA_FILTER, HW_VAR_ETHER_ADDR, HW_VAR_MULTICAST_REG,
  HW_VAR_BASIC_RATE, HW_VAR_BSSID, HW_VAR_MEDIA_STATUS, HW_VAR_SECURITY_CONF,
  HW_VAR_BEACON_INTERVAL, HW_VAR_ATIM_WINDOW, HW_VAR_LISTEN_INTERVAL, HW_VAR_CS_COUNTER,
  HW_VAR_DEFAULTKEY0, HW_VAR_DEFAULTKEY1, HW_VAR_DEFAULTKEY2, HW_VAR_DEFAULTKEY3,
  HW_VAR_SIFS, HW_VAR_DIFS, HW_VAR_EIFS, HW_VAR_SLOT_TIME,
  HW_VAR_ACK_PREAMBLE, HW_VAR_CW_CONFIG, HW_VAR_CW_VALUES, HW_VAR_RATE_FALLBACK_CONTROL,
  HW_VAR_CONTENTION_WINDOW, HW_VAR_RETRY_COUNT, HW_VAR_TR_SWITCH, HW_VAR_COMMAND,
  HW_VAR_WPA_CONFIG, HW_VAR_AMPDU_MIN_SPACE, HW_VAR_SHORTGI_DENSITY, HW_VAR_AMPDU_FACTOR,
  HW_VAR_MCS_RATE_AVAILABLE, HW_VAR_AC_PARAM, HW_VAR_ACM_CTRL, HW_VAR_DIS_Req_Qsize,
  HW_VAR_CCX_CHNL_LOAD, HW_VAR_CCX_NOISE_HISTOGRAM, HW_VAR_CCX_CLM_NHM, HW_VAR_TxOPLimit,
  HW_VAR_TURBO_MODE, HW_VAR_RF_STATE, HW_VAR_RF_OFF_BY_HW, HW_VAR_BUS_SPEED,
  HW_VAR_SET_DEV_POWER, HW_VAR_RCR, HW_VAR_RATR_0, HW_VAR_RRSR,
  HW_VAR_CPU_RST, HW_VAR_CECHK_BSSID, HW_VAR_LBK_MODE, HW_VAR_AES_11N_FIX,
  HW_VAR_USB_RX_AGGR, HW_VAR_USER_CONTROL_TURBO_MODE, HW_VAR_RETRY_LIMIT, HW_VAR_INIT_TX_RATE,
  HW_VAR_TX_RATE_REG, HW_VAR_EFUSE_USAGE, HW_VAR_EFUSE_BYTES, HW_VAR_AUTOLOAD_STATUS,
  HW_VAR_RF_2R_DISABLE, HW_VAR_SET_RPWM, HW_VAR_H2C_FW_PWRMODE, HW_VAR_H2C_FW_JOINBSSRPT,
  HW_VAR_1X1_RECV_COMBINE, HW_VAR_STOP_SEND_BEACON, HW_VAR_TSF_TIMER, HW_VAR_IO_CMD,
  HW_VAR_RF_RECOVERY, HW_VAR_H2C_FW_UPDATE_GTK, HW_VAR_WF_MASK, HW_VAR_WF_CRC,
  HW_VAR_WF_IS_MAC_ADDR, HW_VAR_H2C_FW_OFFLOAD, HW_VAR_RESET_WFCRC, HW_VAR_HANDLE_FW_C2H,
  HW_VAR_DL_FW_RSVD_PAGE, HW_VAR_AID, HW_VAR_HW_SEQ_ENABLE, HW_VAR_CORRECT_TSF,
  HW_VAR_BCN_VALID, HW_VAR_FWLPS_RF_ON, HW_VAR_DUAL_TSF_RST, HW_VAR_SWITCH_EPHY_WoWLAN,
  HW_VAR_INT_MIGRATION, HW_VAR_INT_AC, HW_VAR_RF_TIMING
}
 
enum  rt_op_mode { RT_OP_MODE_AP, RT_OP_MODE_INFRASTRUCTURE, RT_OP_MODE_IBSS, RT_OP_MODE_NO_LINK }
 
enum  act_category {
  ACT_CAT_QOS = 1, ACT_CAT_DLS = 2, ACT_CAT_BA = 3, ACT_CAT_HT = 7,
  ACT_CAT_WMM = 17, ACT_CAT_QOS = 1, ACT_CAT_DLS = 2, ACT_CAT_BA = 3,
  ACT_CAT_HT = 7, ACT_CAT_WMM = 17
}
 
enum  ts_action { ACT_ADDTSREQ = 0, ACT_ADDTSRSP = 1, ACT_DELTS = 2, ACT_SCHEDULE = 3 }
 
enum  ba_action {
  ACT_ADDBAREQ = 0, ACT_ADDBARSP = 1, ACT_DELBA = 2, ACT_ADDBAREQ = 0,
  ACT_ADDBARSP = 1, ACT_DELBA = 2
}
 
enum  init_gain_op_type { IG_Backup = 0, IG_Restore, IG_Max }
 
enum  led_ctl_mode {
  LED_CTL_POWER_ON = 1, LED_CTL_LINK = 2, LED_CTL_NO_LINK = 3, LED_CTL_TX = 4,
  LED_CTL_RX = 5, LED_CTL_SITE_SURVEY = 6, LED_CTL_POWER_OFF = 7, LED_CTL_START_TO_LINK = 8,
  LED_CTL_START_WPS = 9, LED_CTL_STOP_WPS = 10, LED_CTL_POWER_ON = 1, LED_CTL_LINK = 2,
  LED_CTL_NO_LINK = 3, LED_CTL_TX = 4, LED_CTL_RX = 5, LED_CTL_SITE_SURVEY = 6,
  LED_CTL_POWER_OFF = 7, LED_CTL_START_TO_LINK = 8, LED_CTL_START_WPS = 9, LED_CTL_STOP_WPS = 10,
  LED_CTL_START_WPS_BOTTON = 11, LED_CTL_STOP_WPS_FAIL = 12, LED_CTL_STOP_WPS_FAIL_OVERLAP = 13
}
 
enum  rt_rf_type_def {
  RF_1T2R = 0, RF_2T4R, RF_2T2R, RF_1T1R,
  RF_2T2R_GREEN, RF_819X_MAX_TYPE
}
 
enum  wireless_mode {
  WIRELESS_MODE_UNKNOWN = 0x00, WIRELESS_MODE_A = 0x01, WIRELESS_MODE_B = 0x02, WIRELESS_MODE_G = 0x04,
  WIRELESS_MODE_AUTO = 0x08, WIRELESS_MODE_N_24G = 0x10, WIRELESS_MODE_N_5G = 0x20, WIRELESS_MODE_UNKNOWN = 0x00,
  WIRELESS_MODE_A = 0x01, WIRELESS_MODE_B = 0x02, WIRELESS_MODE_G = 0x04, WIRELESS_MODE_AUTO = 0x08,
  WIRELESS_MODE_N_24G = 0x10, WIRELESS_MODE_N_5G = 0x20
}
 
enum  wireless_network_type { WIRELESS_11B = 1, WIRELESS_11G = 2, WIRELESS_11A = 4, WIRELESS_11N = 8 }
 
enum  _REG_PREAMBLE_MODE {
  PREAMBLE_LONG = 1, PREAMBLE_AUTO = 2, PREAMBLE_SHORT = 3, PREAMBLE_LONG = 1,
  PREAMBLE_AUTO = 2, PREAMBLE_SHORT = 3
}
 
enum  rtllib_mfie {
  MFIE_TYPE_SSID = 0, MFIE_TYPE_RATES = 1, MFIE_TYPE_FH_SET = 2, MFIE_TYPE_DS_SET = 3,
  MFIE_TYPE_CF_SET = 4, MFIE_TYPE_TIM = 5, MFIE_TYPE_IBSS_SET = 6, MFIE_TYPE_COUNTRY = 7,
  MFIE_TYPE_HOP_PARAMS = 8, MFIE_TYPE_HOP_TABLE = 9, MFIE_TYPE_REQUEST = 10, MFIE_TYPE_CHALLENGE = 16,
  MFIE_TYPE_POWER_CONSTRAINT = 32, MFIE_TYPE_POWER_CAPABILITY = 33, MFIE_TYPE_TPC_REQUEST = 34, MFIE_TYPE_TPC_REPORT = 35,
  MFIE_TYPE_SUPP_CHANNELS = 36, MFIE_TYPE_CSA = 37, MFIE_TYPE_MEASURE_REQUEST = 38, MFIE_TYPE_MEASURE_REPORT = 39,
  MFIE_TYPE_QUIET = 40, MFIE_TYPE_IBSS_DFS = 41, MFIE_TYPE_ERP = 42, MFIE_TYPE_HT_CAP = 45,
  MFIE_TYPE_RSN = 48, MFIE_TYPE_RATES_EX = 50, MFIE_TYPE_HT_INFO = 61, MFIE_TYPE_AIRONET = 133,
  MFIE_TYPE_GENERIC = 221, MFIE_TYPE_QOS_PARAMETER = 222
}
 
enum  eap_type {
  EAP_PACKET = 0, EAPOL_START, EAPOL_LOGOFF, EAPOL_KEY,
  EAPOL_ENCAP_ASF_ALERT, EAP_PACKET = 0, EAPOL_START, EAPOL_LOGOFF,
  EAPOL_KEY, EAPOL_ENCAP_ASF_ALERT, EAP_PACKET = 0, EAPOL_START,
  EAPOL_LOGOFF, EAPOL_KEY, EAPOL_ENCAP_ASF_ALERT, EAP_PACKET = 0,
  EAPOL_START, EAPOL_LOGOFF, EAPOL_KEY, EAPOL_ENCAP_ASF_ALERT
}
 
enum  { WMM_all_frame, WMM_two_frame, WMM_four_frame, WMM_six_frame }
 
enum  erp_t { ERP_NonERPpresent = 0x01, ERP_UseProtection = 0x02, ERP_BarkerPreambleMode = 0x04 }
 
enum  rtllib_state {
  RTLLIB_NOLINK = 0, RTLLIB_ASSOCIATING, RTLLIB_ASSOCIATING_RETRY, RTLLIB_ASSOCIATING_AUTHENTICATING,
  RTLLIB_ASSOCIATING_AUTHENTICATED, RTLLIB_LINKED, RTLLIB_LINKED_SCANNING
}
 
enum  fsync_state { Default_Fsync, HW_Fsync, SW_Fsync }
 
enum  rt_ps_mode { eActive, eMaxPs, eFastPs, eAutoPs }
 
enum  ips_callback_function { IPS_CALLBACK_NONE = 0, IPS_CALLBACK_MGNT_LINK_REQUEST = 1, IPS_CALLBACK_JOIN_REQUEST = 2 }
 
enum  rt_join_action { RT_JOIN_INFRA = 1, RT_JOIN_IBSS = 2, RT_START_IBSS = 3, RT_NO_ACTION = 4 }
 
enum  rt_rf_power_state { eRfOn, eRfSleep, eRfOff }
 
enum  wol_pattern_type {
  eNetBIOS = 0, eIPv4IPv6ARP, eIPv4IPv6TCPSYN, eMACIDOnly,
  eNoDefined
}
 
enum  country_code_type {
  COUNTRY_CODE_FCC = 0, COUNTRY_CODE_IC = 1, COUNTRY_CODE_ETSI = 2, COUNTRY_CODE_SPAIN = 3,
  COUNTRY_CODE_FRANCE = 4, COUNTRY_CODE_MKK = 5, COUNTRY_CODE_MKK1 = 6, COUNTRY_CODE_ISRAEL = 7,
  COUNTRY_CODE_TELEC = 8, COUNTRY_CODE_MIC = 9, COUNTRY_CODE_GLOBAL_DOMAIN = 10, COUNTRY_CODE_WORLD_WIDE_13 = 11,
  COUNTRY_CODE_TELEC_NETGEAR = 12, COUNTRY_CODE_MAX
}
 
enum  scan_op_backup_opt { SCAN_OPT_BACKUP = 0, SCAN_OPT_RESTORE, SCAN_OPT_MAX }
 
enum  fw_cmd_io_type {
  FW_CMD_DIG_ENABLE = 0, FW_CMD_DIG_DISABLE = 1, FW_CMD_DIG_HALT = 2, FW_CMD_DIG_RESUME = 3,
  FW_CMD_HIGH_PWR_ENABLE = 4, FW_CMD_HIGH_PWR_DISABLE = 5, FW_CMD_RA_RESET = 6, FW_CMD_RA_ACTIVE = 7,
  FW_CMD_RA_REFRESH_N = 8, FW_CMD_RA_REFRESH_BG = 9, FW_CMD_RA_INIT = 10, FW_CMD_IQK_ENABLE = 11,
  FW_CMD_TXPWR_TRACK_ENABLE = 12, FW_CMD_TXPWR_TRACK_DISABLE = 13, FW_CMD_TXPWR_TRACK_THERMAL = 14, FW_CMD_PAUSE_DM_BY_SCAN = 15,
  FW_CMD_RESUME_DM_BY_SCAN = 16, FW_CMD_RA_REFRESH_N_COMB = 17, FW_CMD_RA_REFRESH_BG_COMB = 18, FW_CMD_ANTENNA_SW_ENABLE = 19,
  FW_CMD_ANTENNA_SW_DISABLE = 20, FW_CMD_TX_FEEDBACK_CCX_ENABLE = 21, FW_CMD_LPS_ENTER = 22, FW_CMD_LPS_LEAVE = 23,
  FW_CMD_DIG_MODE_SS = 24, FW_CMD_DIG_MODE_FA = 25, FW_CMD_ADD_A2_ENTRY = 26, FW_CMD_CTRL_DM_BY_DRIVER = 27,
  FW_CMD_CTRL_DM_BY_DRIVER_NEW = 28, FW_CMD_PAPE_CONTROL = 29, FW_CMD_CHAN_SET = 30
}
 
enum  ratr_table_mode_8192s {
  RATR_INX_WIRELESS_NGB = 0, RATR_INX_WIRELESS_NG = 1, RATR_INX_WIRELESS_NB = 2, RATR_INX_WIRELESS_N = 3,
  RATR_INX_WIRELESS_GB = 4, RATR_INX_WIRELESS_G = 5, RATR_INX_WIRELESS_B = 6, RATR_INX_WIRELESS_MC = 7,
  RATR_INX_WIRELESS_A = 8
}
 
enum  { NO_USE = 0, USED = 1, HW_SEC = 2, SW_SEC = 3 }
 
enum  { LPS_IS_WAKE = 0, LPS_IS_SLEEP = 1, LPS_WAIT_NULL_DATA_SEND = 2 }
 

Functions

int rtllib_is_empty_essid (const char *essid, int essid_len)
 
int rtllib_is_valid_mode (struct rtllib_device *ieee, int mode)
 
int rtllib_get_hdrlen (u16 fc)
 
void free_rtllib (struct net_device *dev)
 
struct net_devicealloc_rtllib (int sizeof_priv)
 
int rtllib_set_encryption (struct rtllib_device *ieee)
 
int rtllib_encrypt_fragment (struct rtllib_device *ieee, struct sk_buff *frag, int hdr_len)
 
int rtllib_xmit (struct sk_buff *skb, struct net_device *dev)
 
int rtllib_xmit_inter (struct sk_buff *skb, struct net_device *dev)
 
void rtllib_txb_free (struct rtllib_txb *)
 
int rtllib_rx (struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats)
 
void rtllib_rx_mgt (struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *stats)
 
void rtllib_rx_probe_rq (struct rtllib_device *ieee, struct sk_buff *skb)
 
int rtllib_legal_channel (struct rtllib_device *rtllib, u8 channel)
 
int rtllib_wx_get_scan (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *key)
 
int rtllib_wx_set_encode (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *key)
 
int rtllib_wx_get_encode (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *key)
 
int rtllib_wx_set_auth (struct rtllib_device *ieee, struct iw_request_info *info, struct iw_param *data, char *extra)
 
int rtllib_wx_set_mlme (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_set_gen_ie (struct rtllib_device *ieee, u8 *ie, size_t len)
 
short rtllib_is_54g (struct rtllib_network *net)
 
short rtllib_is_shortslot (const struct rtllib_network *net)
 
int rtllib_rx_frame_softmac (struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, u16 type, u16 stype)
 
void rtllib_softmac_new_net (struct rtllib_device *ieee, struct rtllib_network *net)
 
void SendDisassociation (struct rtllib_device *ieee, bool deauth, u16 asRsn)
 
void rtllib_softmac_xmit (struct rtllib_txb *txb, struct rtllib_device *ieee)
 
void rtllib_stop_send_beacons (struct rtllib_device *ieee)
 
void notify_wx_assoc_event (struct rtllib_device *ieee)
 
void rtllib_softmac_check_all_nets (struct rtllib_device *ieee)
 
void rtllib_start_bss (struct rtllib_device *ieee)
 
void rtllib_start_master_bss (struct rtllib_device *ieee)
 
void rtllib_start_ibss (struct rtllib_device *ieee)
 
void rtllib_softmac_init (struct rtllib_device *ieee)
 
void rtllib_softmac_free (struct rtllib_device *ieee)
 
void rtllib_associate_abort (struct rtllib_device *ieee)
 
void rtllib_disassociate (struct rtllib_device *ieee)
 
void rtllib_stop_scan (struct rtllib_device *ieee)
 
bool rtllib_act_scanning (struct rtllib_device *ieee, bool sync_scan)
 
void rtllib_stop_scan_syncro (struct rtllib_device *ieee)
 
void rtllib_start_scan_syncro (struct rtllib_device *ieee, u8 is_mesh)
 
struct sk_buffrtllib_probe_req (struct rtllib_device *ieee)
 
u8 MgntQuery_MgntFrameTxRate (struct rtllib_device *ieee)
 
void rtllib_sta_ps_send_null_frame (struct rtllib_device *ieee, short pwr)
 
void rtllib_sta_wakeup (struct rtllib_device *ieee, short nl)
 
void rtllib_sta_ps_send_pspoll_frame (struct rtllib_device *ieee)
 
void rtllib_check_all_nets (struct rtllib_device *ieee)
 
void rtllib_start_protocol (struct rtllib_device *ieee)
 
void rtllib_stop_protocol (struct rtllib_device *ieee, u8 shutdown)
 
void rtllib_EnableNetMonitorMode (struct net_device *dev, bool bInitState)
 
void rtllib_DisableNetMonitorMode (struct net_device *dev, bool bInitState)
 
void rtllib_EnableIntelPromiscuousMode (struct net_device *dev, bool bInitState)
 
void rtllib_DisableIntelPromiscuousMode (struct net_device *dev, bool bInitState)
 
void rtllib_send_probe_requests (struct rtllib_device *ieee, u8 is_mesh)
 
void rtllib_softmac_stop_protocol (struct rtllib_device *ieee, u8 mesh_flag, u8 shutdown)
 
void rtllib_softmac_start_protocol (struct rtllib_device *ieee, u8 mesh_flag)
 
void rtllib_reset_queue (struct rtllib_device *ieee)
 
void rtllib_wake_queue (struct rtllib_device *ieee)
 
void rtllib_stop_queue (struct rtllib_device *ieee)
 
void rtllib_wake_all_queues (struct rtllib_device *ieee)
 
void rtllib_stop_all_queues (struct rtllib_device *ieee)
 
struct sk_buffrtllib_get_beacon (struct rtllib_device *ieee)
 
void rtllib_start_send_beacons (struct rtllib_device *ieee)
 
int rtllib_wpa_supplicant_ioctl (struct rtllib_device *ieee, struct iw_point *p, u8 is_mesh)
 
void rtllib_ps_tx_ack (struct rtllib_device *ieee, short success)
 
void softmac_mgmt_xmit (struct sk_buff *skb, struct rtllib_device *ieee)
 
u16 rtllib_query_seqnum (struct rtllib_device *ieee, struct sk_buff *skb, u8 *dst)
 
u8 rtllib_ap_sec_type (struct rtllib_device *ieee)
 
void rtllib_tkip_null (void)
 
void rtllib_wep_null (void)
 
void rtllib_ccmp_null (void)
 
int rtllib_wx_get_wap (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *ext)
 
int rtllib_wx_set_wap (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *awrq, char *extra)
 
int rtllib_wx_get_essid (struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b)
 
int rtllib_wx_set_rate (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_get_rate (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_set_mode (struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b)
 
int rtllib_wx_set_scan (struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b)
 
int rtllib_wx_set_essid (struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_get_mode (struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b)
 
int rtllib_wx_set_freq (struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b)
 
int rtllib_wx_get_freq (struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b)
 
void rtllib_wx_sync_scan_wq (void *data)
 
int rtllib_wx_set_rawtx (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_get_name (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_set_power (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_get_power (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_set_rts (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int rtllib_wx_get_rts (struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
void HTDebugHTCapability (u8 *CapIE, u8 *TitleString)
 
void HTDebugHTInfo (u8 *InfoIE, u8 *TitleString)
 
void HTSetConnectBwMode (struct rtllib_device *ieee, enum ht_channel_width Bandwidth, enum ht_extchnl_offset Offset)
 
void HTUpdateDefaultSetting (struct rtllib_device *ieee)
 
void HTConstructCapabilityElement (struct rtllib_device *ieee, u8 *posHTCap, u8 *len, u8 isEncrypt, bool bAssoc)
 
void HTConstructInfoElement (struct rtllib_device *ieee, u8 *posHTInfo, u8 *len, u8 isEncrypt)
 
void HTConstructRT2RTAggElement (struct rtllib_device *ieee, u8 *posRT2RTAgg, u8 *len)
 
void HTOnAssocRsp (struct rtllib_device *ieee)
 
void HTInitializeHTInfo (struct rtllib_device *ieee)
 
void HTInitializeBssDesc (struct bss_ht *pBssHT)
 
void HTResetSelfAndSavePeerSetting (struct rtllib_device *ieee, struct rtllib_network *pNetwork)
 
void HT_update_self_and_peer_setting (struct rtllib_device *ieee, struct rtllib_network *pNetwork)
 
u8 HTGetHighestMCSRate (struct rtllib_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter)
 
u8 HTCCheck (struct rtllib_device *ieee, u8 *pFrame)
 
void HTResetIOTSetting (struct rt_hi_throughput *pHTInfo)
 
bool IsHTHalfNmodeAPs (struct rtllib_device *ieee)
 
u16 HTHalfMcsToDataRate (struct rtllib_device *ieee, u8 nMcsRate)
 
u16 HTMcsToDataRate (struct rtllib_device *ieee, u8 nMcsRate)
 
u16 TxCountToDataRate (struct rtllib_device *ieee, u8 nDataRate)
 
int rtllib_rx_ADDBAReq (struct rtllib_device *ieee, struct sk_buff *skb)
 
int rtllib_rx_ADDBARsp (struct rtllib_device *ieee, struct sk_buff *skb)
 
int rtllib_rx_DELBA (struct rtllib_device *ieee, struct sk_buff *skb)
 
void TsInitAddBA (struct rtllib_device *ieee, struct tx_ts_record *pTS, u8 Policy, u8 bOverwritePending)
 
void TsInitDelBA (struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, enum tr_select TxRxSelect)
 
void BaSetupTimeOut (unsigned long data)
 
void TxBaInactTimeout (unsigned long data)
 
void RxBaInactTimeout (unsigned long data)
 
void ResetBaEntry (struct ba_record *pBA)
 
bool GetTs (struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *Addr, u8 TID, enum tr_select TxRxSelect, bool bAddNewTs)
 
void TSInitialize (struct rtllib_device *ieee)
 
void TsStartAddBaProcess (struct rtllib_device *ieee, struct tx_ts_record *pTxTS)
 
void RemovePeerTS (struct rtllib_device *ieee, u8 *Addr)
 
void RemoveAllTS (struct rtllib_device *ieee)
 
void rtllib_softmac_scan_syncro (struct rtllib_device *ieee, u8 is_mesh)
 
void rtllib_increment_scans (struct rtllib_device *ieee)
 
int rtllib_get_scans (struct rtllib_device *ieee)
 
bool rtllib_MgntDisconnect (struct rtllib_device *rtllib, u8 asRsn)
 
void rtllib_update_active_chan_map (struct rtllib_device *ieee)
 
void rtllib_FlushRxTsPendingPkts (struct rtllib_device *ieee, struct rx_ts_record *pTS)
 
int rtllib_data_xmit (struct sk_buff *skb, struct net_device *dev)
 
int rtllib_parse_info_param (struct rtllib_device *ieee, struct rtllib_info_element *info_element, u16 length, struct rtllib_network *network, struct rtllib_rx_stats *stats)
 
void rtllib_indicate_packets (struct rtllib_device *ieee, struct rtllib_rxb **prxbIndicateArray, u8 index)
 
u8 HTFilterMCSRate (struct rtllib_device *ieee, u8 *pSupportMCS, u8 *pOperateMCS)
 
void HTUseDefaultSetting (struct rtllib_device *ieee)
 
u8 MgntQuery_TxRateExcludeCCKRates (struct rtllib_device *ieee)
 
void rtllib_TURBO_Info (struct rtllib_device *ieee, u8 **tag_p)
 

Variables

struct sw_chnl_cmd __packed
 
u32 rtllib_debug_level
 
u8 MCS_FILTER_ALL []
 
u16 MCS_DATA_RATE [2][2][77]
 
const long rtllib_wlan_frequencies []
 

Macro Definition Documentation

#define AC2UP (   _ac)
Value:
( \
((_ac) == WME_AC_VO) ? 6 : \
((_ac) == WME_AC_VI) ? 5 : \
((_ac) == WME_AC_BK) ? 1 : \
0)

Definition at line 1572 of file rtllib.h.

#define AMSDU_SUBHEADER_LEN   14

Definition at line 136 of file rtllib.h.

#define aSifsTime
Value:
(((priv->rtllib->current_network.mode == IEEE_A) \
|| (priv->rtllib->current_network.mode == IEEE_N_24G) \
|| (priv->rtllib->current_network.mode == IEEE_N_5G)) ? 16 : 10)

Definition at line 441 of file rtllib.h.

#define BE_QUEUE   1

Definition at line 121 of file rtllib.h.

#define BEACON_PROBE_SSID_ID_POSITION   12

Definition at line 1514 of file rtllib.h.

#define BEACON_QUEUE   8

Definition at line 128 of file rtllib.h.

#define BK_QUEUE   0

Definition at line 120 of file rtllib.h.

#define CFG_RTLLIB_COMPUTE_FCS   (1<<1)

Definition at line 1725 of file rtllib.h.

#define CFG_RTLLIB_RESERVE_FCS   (1<<0)

Definition at line 1724 of file rtllib.h.

#define CFG_RTLLIB_RTS   (1<<2)

Definition at line 1726 of file rtllib.h.

#define container_of (   ptr,
  type,
  member 
)
Value:
({ \
const typeof(((type *)0)->member)*__mptr = (ptr); \
(type *)((char *)__mptr - offsetof(type, member)); })

container_of - cast a member of a structure out to the containing structure

: the pointer to the member. : the type of the container struct this is embedded in. : the name of the member within the struct.

Definition at line 78 of file rtllib.h.

#define container_of_dwork_rsl (   x,
  y,
 
)    container_of(container_of(x, struct delayed_work, work), y, z)

Definition at line 95 of file rtllib.h.

#define container_of_work_rsl (   x,
  y,
 
)    container_of(x, y, z)

Definition at line 94 of file rtllib.h.

#define CONVERT_RATE (   _ieee,
  _MGN_RATE 
)
Value:
((_MGN_RATE < MGN_MCS0) ? (_MGN_RATE) : \
(HTMcsToDataRate(_ieee, (u8)_MGN_RATE)))

Definition at line 2980 of file rtllib.h.

#define CRC_LENGTH   4U

Definition at line 1344 of file rtllib.h.

#define DEFAULT_FTS   2346

Definition at line 1722 of file rtllib.h.

#define DEFAULT_MAX_SCAN_AGE   (15 * HZ)

Definition at line 1721 of file rtllib.h.

#define DEFAULT_RTS_THRESHOLD   2346U

Definition at line 2201 of file rtllib.h.

#define eqMacAddr (   a,
  b 
)
Value:
(((a)[0] == (b)[0] && (a)[1] == (b)[1] && (a)[2] == (b)[2] && \
(a)[3] == (b)[3] && (a)[4] == (b)[4] && (a)[5] == (b)[5]) ? 1 : 0)

Definition at line 1738 of file rtllib.h.

#define ETH_P_80211_RAW   (ETH_P_ECONET + 1)

Definition at line 816 of file rtllib.h.

#define ETH_P_ARP   0x0806 /* Address Resolution packet */

Definition at line 810 of file rtllib.h.

#define ETH_P_IP   0x0800 /* Internet Protocol packet */

Definition at line 809 of file rtllib.h.

#define ETH_P_PAE   0x888E /* Port Access Entity (IEEE 802.1X) */

Definition at line 808 of file rtllib.h.

#define ETH_P_PREAUTH   0x88C7 /* IEEE 802.11i pre-authentication */

Definition at line 813 of file rtllib.h.

#define ETHER_ADDR_LEN   6 /* length of an Ethernet address */

Definition at line 1578 of file rtllib.h.

#define ETHERNET_HEADER_SIZE
Value:
14 /* length of two Ethernet address
* plus ether type*/

Definition at line 1579 of file rtllib.h.

#define ETHERTYPE_IP   0x0800 /* IP protocol */

Definition at line 1591 of file rtllib.h.

#define ETHERTYPE_PAE   0x888e /* EAPOL PAE/802.1x */

Definition at line 1588 of file rtllib.h.

#define EXPORT_SYMBOL_RSL (   x)    EXPORT_SYMBOL(x)

Definition at line 85 of file rtllib.h.

#define FC_QOS_BIT   BIT7

Definition at line 619 of file rtllib.h.

#define Frame_Order (   pframe)    (*(u16 *)pframe&RTLLIB_FCTL_ORDER)

Definition at line 625 of file rtllib.h.

#define HCCA_QUEUE   4

Definition at line 124 of file rtllib.h.

#define HIGH_QUEUE   7

Definition at line 127 of file rtllib.h.

#define HT_AMSDU_SIZE_4K   3839

Definition at line 556 of file rtllib.h.

#define HT_AMSDU_SIZE_8K   7935

Definition at line 557 of file rtllib.h.

#define IE_CISCO_FLAG_POSITION   0x08

Definition at line 139 of file rtllib.h.

#define IEEE_A   (1<<0)

Definition at line 2525 of file rtllib.h.

#define IEEE_B   (1<<1)

Definition at line 2526 of file rtllib.h.

#define IEEE_CMD_MLME   4

Definition at line 451 of file rtllib.h.

#define IEEE_CMD_SET_ENCRYPTION   3

Definition at line 450 of file rtllib.h.

#define IEEE_CMD_SET_WPA_IE   2

Definition at line 449 of file rtllib.h.

#define IEEE_CMD_SET_WPA_PARAM   1

Definition at line 448 of file rtllib.h.

#define IEEE_CRYPT_ALG_NAME_LEN   16

Definition at line 482 of file rtllib.h.

#define IEEE_CRYPT_ERR_CARD_CONF_FAILED   7

Definition at line 481 of file rtllib.h.

#define IEEE_CRYPT_ERR_CRYPT_INIT_FAILED   4

Definition at line 478 of file rtllib.h.

#define IEEE_CRYPT_ERR_KEY_SET_FAILED   5

Definition at line 479 of file rtllib.h.

#define IEEE_CRYPT_ERR_TX_KEY_SET_FAILED   6

Definition at line 480 of file rtllib.h.

#define IEEE_CRYPT_ERR_UNKNOWN_ADDR   3

Definition at line 477 of file rtllib.h.

#define IEEE_CRYPT_ERR_UNKNOWN_ALG   2

Definition at line 476 of file rtllib.h.

#define IEEE_G   (1<<2)

Definition at line 2527 of file rtllib.h.

#define IEEE_IBSS_MAC_HASH_SIZE   31

Definition at line 951 of file rtllib.h.

#define IEEE_KEY_MGMT_IEEE8021X   1

Definition at line 469 of file rtllib.h.

#define IEEE_KEY_MGMT_PSK   2

Definition at line 470 of file rtllib.h.

#define IEEE_MLME_STA_DEAUTH   1

Definition at line 472 of file rtllib.h.

#define IEEE_MLME_STA_DISASSOC   2

Definition at line 473 of file rtllib.h.

#define IEEE_MODE_MASK   (IEEE_A|IEEE_B|IEEE_G)

Definition at line 2530 of file rtllib.h.

#define IEEE_N_24G   (1<<4)

Definition at line 2528 of file rtllib.h.

#define IEEE_N_5G   (1<<5)

Definition at line 2529 of file rtllib.h.

#define IEEE_PARAM_AUTH_ALGS   5

Definition at line 457 of file rtllib.h.

#define IEEE_PARAM_DROP_UNENCRYPTED   3

Definition at line 455 of file rtllib.h.

#define IEEE_PARAM_IEEE_802_1X   6

Definition at line 458 of file rtllib.h.

#define IEEE_PARAM_PRIVACY_INVOKED   4

Definition at line 456 of file rtllib.h.

#define IEEE_PARAM_TKIP_COUNTERMEASURES   2

Definition at line 454 of file rtllib.h.

#define IEEE_PARAM_WPA_ENABLED   1

Definition at line 453 of file rtllib.h.

#define IEEE_PARAM_WPAX_SELECT   7

Definition at line 459 of file rtllib.h.

#define IEEE_PROTO_RSN   2

Definition at line 461 of file rtllib.h.

#define IEEE_PROTO_WPA   1

Definition at line 460 of file rtllib.h.

#define IEEE_SOFTMAC_ASSOCIATE   (1<<3)

Definition at line 2540 of file rtllib.h.

#define IEEE_SOFTMAC_BEACONS   (1<<6)

Definition at line 2561 of file rtllib.h.

#define IEEE_SOFTMAC_PROBERQ   (1<<4)

Definition at line 2543 of file rtllib.h.

#define IEEE_SOFTMAC_PROBERS   (1<<5)

Definition at line 2546 of file rtllib.h.

#define IEEE_SOFTMAC_SCAN   (1<<2)

Definition at line 2537 of file rtllib.h.

#define IEEE_SOFTMAC_SINGLE_QUEUE   (1<<8)

Definition at line 2556 of file rtllib.h.

#define IEEE_SOFTMAC_TX_QUEUE   (1<<7)

Definition at line 2551 of file rtllib.h.

#define IEEE_WPAX_CCMP   4

Definition at line 466 of file rtllib.h.

#define IEEE_WPAX_TKIP   2

Definition at line 464 of file rtllib.h.

#define IEEE_WPAX_USEGROUP   0

Definition at line 462 of file rtllib.h.

#define IEEE_WPAX_WEP104   5

Definition at line 467 of file rtllib.h.

#define IEEE_WPAX_WEP40   1

Definition at line 463 of file rtllib.h.

#define IEEE_WPAX_WRAP   3

Definition at line 465 of file rtllib.h.

#define INIT_DELAYED_WORK_RSL (   x,
  y,
 
)    INIT_DELAYED_WORK(x, y)

Definition at line 89 of file rtllib.h.

#define INIT_WORK_RSL (   x,
  y,
 
)    INIT_WORK(x, y)

Definition at line 92 of file rtllib.h.

#define IsDataFrame (   pdu)    (((pdu[0] & 0x0C) == 0x08) ? true : false)

Definition at line 620 of file rtllib.h.

#define IsLegacyDataFrame (   pdu)    (IsDataFrame(pdu) && (!(pdu[0]&FC_QOS_BIT)))

Definition at line 621 of file rtllib.h.

#define IsQoSDataFrame (   pframe)
Value:

Definition at line 622 of file rtllib.h.

#define IW_CUSTOM_MAX   256 /* In bytes */

Definition at line 66 of file rtllib.h.

#define IW_MODE_MESH   7

Definition at line 134 of file rtllib.h.

#define IW_MODE_MONITOR   6

Definition at line 57 of file rtllib.h.

#define IW_QUAL_LEVEL_INVALID   0x20

Definition at line 521 of file rtllib.h.

#define IW_QUAL_LEVEL_UPDATED   0x2

Definition at line 524 of file rtllib.h.

#define IW_QUAL_NOISE_INVALID   0x40

Definition at line 522 of file rtllib.h.

#define IW_QUAL_NOISE_UPDATED   0x4

Definition at line 525 of file rtllib.h.

#define IW_QUAL_QUAL_INVALID   0x10

Definition at line 520 of file rtllib.h.

#define IW_QUAL_QUAL_UPDATED   0x1

Definition at line 523 of file rtllib.h.

#define iwe_stream_add_event_rsl (   info,
  start,
  stop,
  iwe,
  len 
)    iwe_stream_add_event(info, start, stop, iwe, len)

Definition at line 98 of file rtllib.h.

#define iwe_stream_add_point_rsl (   info,
  start,
  stop,
  iwe,
  p 
)    iwe_stream_add_point(info, start, stop, iwe, p)

Definition at line 101 of file rtllib.h.

#define IWEVCUSTOM   0x8c02

Definition at line 61 of file rtllib.h.

#define KEY_TYPE_CCMP   0x4

Definition at line 115 of file rtllib.h.

#define KEY_TYPE_NA   0x0

Definition at line 112 of file rtllib.h.

#define KEY_TYPE_TKIP   0x2

Definition at line 114 of file rtllib.h.

#define KEY_TYPE_WEP104   0x5

Definition at line 116 of file rtllib.h.

#define KEY_TYPE_WEP40   0x1

Definition at line 113 of file rtllib.h.

#define LOW_QUEUE   BE_QUEUE

Definition at line 130 of file rtllib.h.

#define MAX_CHANNEL_NUMBER   161

Definition at line 1340 of file rtllib.h.

#define MAX_DEV_ADDR_SIZE   8

Definition at line 628 of file rtllib.h.

#define MAX_FRAG_THRESHOLD   2346U

Definition at line 553 of file rtllib.h.

#define MAX_HT_DATA_FRAG_THRESHOLD   0x2000

Definition at line 554 of file rtllib.h.

#define MAX_IE_LEN   0xff

Definition at line 484 of file rtllib.h.

#define MAX_NETWORK_COUNT   96

Definition at line 1338 of file rtllib.h.

#define MAX_NUM_RATES   264

Definition at line 1792 of file rtllib.h.

#define MAX_POSTCMD_CNT   16

Definition at line 49 of file rtllib.h.

#define MAX_PRECMD_CNT   16

Definition at line 47 of file rtllib.h.

#define MAX_QUEUE_SIZE   0x10

Definition at line 118 of file rtllib.h.

#define MAX_RATES_EX_LENGTH   ((u8)16)

Definition at line 1337 of file rtllib.h.

#define MAX_RATES_LENGTH   ((u8)12)

Definition at line 1336 of file rtllib.h.

#define MAX_RECEIVE_BUFFER_SIZE   9100

Definition at line 2884 of file rtllib.h.

#define MAX_RECEIVE_BUFFER_SIZE   9100

Definition at line 2884 of file rtllib.h.

#define MAX_RFDEPENDCMD_CNT   16

Definition at line 48 of file rtllib.h.

#define MAX_RTS_THRESHOLD   2346U

Definition at line 2203 of file rtllib.h.

#define MAX_SP_Len   (WMM_all_frame << 4)

Definition at line 1542 of file rtllib.h.

#define MAX_STR_LEN   64

Definition at line 788 of file rtllib.h.

#define MAX_SUBFRAME_COUNT   64

Definition at line 1309 of file rtllib.h.

#define MAX_SUPPORT_WOL_PATTERN_NUM   8

Definition at line 1800 of file rtllib.h.

#define MAX_SWEEP_TAB_ENTRIES   42

Definition at line 1330 of file rtllib.h.

#define MAX_SWEEP_TAB_ENTRIES_PER_PACKET   7

Definition at line 1331 of file rtllib.h.

#define MAX_TX_AGG_COUNT   16

Definition at line 1303 of file rtllib.h.

#define MAX_WOL_BIT_MASK_SIZE   16

Definition at line 1802 of file rtllib.h.

#define MAX_WOL_PATTERN_SIZE   128

Definition at line 1803 of file rtllib.h.

#define MAX_WPA_IE_LEN   64

Definition at line 1346 of file rtllib.h.

#define MAX_WZC_IE_LEN   256

Definition at line 1347 of file rtllib.h.

#define MGMT_QUEUE_NUM   5

Definition at line 446 of file rtllib.h.

#define MGN_11M   0x16

Definition at line 237 of file rtllib.h.

#define MGN_12M   0x18

Definition at line 241 of file rtllib.h.

#define MGN_18M   0x24

Definition at line 242 of file rtllib.h.

#define MGN_1M   0x02

Definition at line 234 of file rtllib.h.

#define MGN_24M   0x30

Definition at line 243 of file rtllib.h.

#define MGN_2M   0x04

Definition at line 235 of file rtllib.h.

#define MGN_36M   0x48

Definition at line 244 of file rtllib.h.

#define MGN_48M   0x60

Definition at line 245 of file rtllib.h.

#define MGN_54M   0x6c

Definition at line 246 of file rtllib.h.

#define MGN_5_5M   0x0b

Definition at line 236 of file rtllib.h.

#define MGN_6M   0x0c

Definition at line 239 of file rtllib.h.

#define MGN_9M   0x12

Definition at line 240 of file rtllib.h.

#define MGN_MCS0   0x80

Definition at line 248 of file rtllib.h.

#define MGN_MCS0_SG   0x90

Definition at line 264 of file rtllib.h.

#define MGN_MCS1   0x81

Definition at line 249 of file rtllib.h.

#define MGN_MCS10   0x8a

Definition at line 258 of file rtllib.h.

#define MGN_MCS10_SG   0x9a

Definition at line 274 of file rtllib.h.

#define MGN_MCS11   0x8b

Definition at line 259 of file rtllib.h.

#define MGN_MCS11_SG   0x9b

Definition at line 275 of file rtllib.h.

#define MGN_MCS12   0x8c

Definition at line 260 of file rtllib.h.

#define MGN_MCS12_SG   0x9c

Definition at line 276 of file rtllib.h.

#define MGN_MCS13   0x8d

Definition at line 261 of file rtllib.h.

#define MGN_MCS13_SG   0x9d

Definition at line 277 of file rtllib.h.

#define MGN_MCS14   0x8e

Definition at line 262 of file rtllib.h.

#define MGN_MCS14_SG   0x9e

Definition at line 278 of file rtllib.h.

#define MGN_MCS15   0x8f

Definition at line 263 of file rtllib.h.

#define MGN_MCS15_SG   0x9f

Definition at line 279 of file rtllib.h.

#define MGN_MCS1_SG   0x91

Definition at line 265 of file rtllib.h.

#define MGN_MCS2   0x82

Definition at line 250 of file rtllib.h.

#define MGN_MCS2_SG   0x92

Definition at line 266 of file rtllib.h.

#define MGN_MCS3   0x83

Definition at line 251 of file rtllib.h.

#define MGN_MCS3_SG   0x93

Definition at line 267 of file rtllib.h.

#define MGN_MCS4   0x84

Definition at line 252 of file rtllib.h.

#define MGN_MCS4_SG   0x94

Definition at line 268 of file rtllib.h.

#define MGN_MCS5   0x85

Definition at line 253 of file rtllib.h.

#define MGN_MCS5_SG   0x95

Definition at line 269 of file rtllib.h.

#define MGN_MCS6   0x86

Definition at line 254 of file rtllib.h.

#define MGN_MCS6_SG   0x96

Definition at line 270 of file rtllib.h.

#define MGN_MCS7   0x87

Definition at line 255 of file rtllib.h.

#define MGN_MCS7_SG   0x97

Definition at line 271 of file rtllib.h.

#define MGN_MCS8   0x88

Definition at line 256 of file rtllib.h.

#define MGN_MCS8_SG   0x98

Definition at line 272 of file rtllib.h.

#define MGN_MCS9   0x89

Definition at line 257 of file rtllib.h.

#define MGN_MCS9_SG   0x99

Definition at line 273 of file rtllib.h.

#define MGNT_QUEUE   6

Definition at line 126 of file rtllib.h.

#define MIN_FRAG_THRESHOLD   256U

Definition at line 552 of file rtllib.h.

#define MIN_RTS_THRESHOLD   1

Definition at line 2202 of file rtllib.h.

#define MSECS (   t)    msecs_to_jiffies(t)

Definition at line 528 of file rtllib.h.

#define msleep_interruptible_rsl   msleep_interruptible

Definition at line 529 of file rtllib.h.

#define MUTEX_LOCK_PRIV (   pmutex)    mutex_lock(pmutex)

Definition at line 3048 of file rtllib.h.

#define MUTEX_UNLOCK_PRIV (   pmutex)    mutex_unlock(pmutex)

Definition at line 3049 of file rtllib.h.

#define NETWORK_EMPTY_ESSID   (1<<0)

Definition at line 1349 of file rtllib.h.

#define NETWORK_HAS_CCK   (1<<2)

Definition at line 1351 of file rtllib.h.

#define NETWORK_HAS_CSA   (1<<6)

Definition at line 1360 of file rtllib.h.

#define NETWORK_HAS_ERP_VALUE   (1<<10)

Definition at line 1365 of file rtllib.h.

#define NETWORK_HAS_IBSS_DFS   (1<<8)

Definition at line 1362 of file rtllib.h.

#define NETWORK_HAS_OFDM   (1<<1)

Definition at line 1350 of file rtllib.h.

#define NETWORK_HAS_POWER_CONSTRAINT   (1<<5)

Definition at line 1359 of file rtllib.h.

#define NETWORK_HAS_QOS_INFORMATION   (1<<4)

Definition at line 1355 of file rtllib.h.

#define NETWORK_HAS_QOS_MASK
Value:
NETWORK_HAS_QOS_INFORMATION)

Definition at line 1356 of file rtllib.h.

#define NETWORK_HAS_QOS_PARAMETERS   (1<<3)

Definition at line 1354 of file rtllib.h.

#define NETWORK_HAS_QUIET   (1<<7)

Definition at line 1361 of file rtllib.h.

#define NETWORK_HAS_TPC_REPORT   (1<<9)

Definition at line 1363 of file rtllib.h.

#define NORMAL_QUEUE   MGNT_QUEUE

Definition at line 131 of file rtllib.h.

#define NUM_PMKID_CACHE   16

Definition at line 2014 of file rtllib.h.

#define OUI_SUBTYPE_QOS_CAPABI   5

Definition at line 701 of file rtllib.h.

#define OUI_SUBTYPE_WMM_INFO   0

Definition at line 699 of file rtllib.h.

#define OUI_SUBTYPE_WMM_PARAM   1

Definition at line 700 of file rtllib.h.

#define P80211_OUI_LEN   3

Definition at line 821 of file rtllib.h.

#define PRINTABLE (   _ch)    (_ch > '!' && _ch < '~')

Definition at line 790 of file rtllib.h.

#define QOS_AIFSN_MIN_VALUE   2

Definition at line 1374 of file rtllib.h.

#define QOS_CTL_NOTCONTAIN_ACK   (0x01 << 5)

Definition at line 1544 of file rtllib.h.

#define QOS_ELEMENT_ID   221

Definition at line 1370 of file rtllib.h.

#define QOS_OUI_INFO_SUB_TYPE   0

Definition at line 1371 of file rtllib.h.

#define QOS_OUI_LEN   3

Definition at line 1368 of file rtllib.h.

#define QOS_OUI_PARAM_SUB_TYPE   1

Definition at line 1372 of file rtllib.h.

#define QOS_OUI_TYPE   2

Definition at line 1369 of file rtllib.h.

#define QOS_QUEUE_NUM   4

Definition at line 1367 of file rtllib.h.

#define QOS_VERSION_1   1

Definition at line 1373 of file rtllib.h.

#define queue_delayed_work_rsl (   x,
  y,
 
)    queue_delayed_work(x, y, z)

Definition at line 88 of file rtllib.h.

#define queue_work_rsl (   x,
  y 
)    queue_work(x, y)

Definition at line 91 of file rtllib.h.

#define REORDER_ENTRY_NUM   128

Definition at line 1757 of file rtllib.h.

#define REORDER_WIN_SIZE   128

Definition at line 1756 of file rtllib.h.

#define RF_CHANGE_BY_HW   BIT30

Definition at line 1883 of file rtllib.h.

#define RF_CHANGE_BY_INIT   0

Definition at line 1886 of file rtllib.h.

#define RF_CHANGE_BY_IPS   BIT28

Definition at line 1885 of file rtllib.h.

#define RF_CHANGE_BY_PS   BIT29

Definition at line 1884 of file rtllib.h.

#define RF_CHANGE_BY_SW   BIT31

Definition at line 1882 of file rtllib.h.

#define RT_ASOC_RETRY_LIMIT   5

Definition at line 3006 of file rtllib.h.

#define RT_ASSERT_RET (   _Exp)    do {} while (0)

Definition at line 485 of file rtllib.h.

#define RT_ASSERT_RET_VALUE (   _Exp,
  Ret 
)    do {} while (0)

Definition at line 486 of file rtllib.h.

#define RT_CLEAR_PS_LEVEL (   pPSC,
  _PS_FLAG 
)    (pPSC->CurPsLevel &= (~(_PS_FLAG)))

Definition at line 153 of file rtllib.h.

#define RT_IN_PS_LEVEL (   pPSC,
  _PS_FLAG 
)    ((pPSC->CurPsLevel & _PS_FLAG) ? true : false)

Definition at line 151 of file rtllib.h.

#define RT_MAX_LD_SLOT_NUM   10

Definition at line 1945 of file rtllib.h.

#define RT_RF_CHANGE_SOURCE   u32

Definition at line 1880 of file rtllib.h.

#define RT_RF_LPS_DISALBE_2R   BIT30

Definition at line 149 of file rtllib.h.

#define RT_RF_LPS_LEVEL_ASPM   BIT31

Definition at line 150 of file rtllib.h.

#define RT_RF_OFF_LEVL_ASPM   BIT0

Definition at line 142 of file rtllib.h.

#define RT_RF_OFF_LEVL_CLK_REQ   BIT1

Definition at line 143 of file rtllib.h.

#define RT_RF_OFF_LEVL_FREE_FW   BIT4

Definition at line 146 of file rtllib.h.

#define RT_RF_OFF_LEVL_FW_32K   BIT5

Definition at line 147 of file rtllib.h.

#define RT_RF_OFF_LEVL_HALT_NIC   BIT3

Definition at line 145 of file rtllib.h.

#define RT_RF_OFF_LEVL_PCI_D3   BIT2

Definition at line 144 of file rtllib.h.

#define RT_RF_PS_LEVEL_ALWAYS_ASPM   BIT6

Definition at line 148 of file rtllib.h.

#define RT_SET_PS_LEVEL (   pPSC,
  _PS_FLAG 
)    (pPSC->CurPsLevel |= _PS_FLAG)

Definition at line 155 of file rtllib.h.

#define RTLLIB_1ADDR_LEN   10

Definition at line 539 of file rtllib.h.

#define RTLLIB_24GHZ_BAND   (1<<0)

Definition at line 883 of file rtllib.h.

#define RTLLIB_24GHZ_CHANNELS
Value:
RTLLIB_24GHZ_MIN_CHANNEL + 1)

Definition at line 1730 of file rtllib.h.

#define RTLLIB_24GHZ_MAX_CHANNEL   14

Definition at line 1729 of file rtllib.h.

#define RTLLIB_24GHZ_MIN_CHANNEL   1

Definition at line 1728 of file rtllib.h.

#define RTLLIB_2ADDR_LEN   16

Definition at line 540 of file rtllib.h.

#define RTLLIB_3ADDR_LEN   24

Definition at line 541 of file rtllib.h.

#define RTLLIB_4ADDR_LEN   30

Definition at line 542 of file rtllib.h.

#define RTLLIB_52GHZ_BAND   (1<<1)

Definition at line 884 of file rtllib.h.

#define RTLLIB_52GHZ_CHANNELS
Value:
RTLLIB_52GHZ_MIN_CHANNEL + 1)

Definition at line 1735 of file rtllib.h.

#define RTLLIB_52GHZ_MAX_CHANNEL   165

Definition at line 1734 of file rtllib.h.

#define RTLLIB_52GHZ_MIN_CHANNEL   34

Definition at line 1733 of file rtllib.h.

#define RTLLIB_BASIC_RATE_MASK   0x80

Definition at line 900 of file rtllib.h.

#define rtllib_beacon   rtllib_probe_response

Definition at line 1265 of file rtllib.h.

#define RTLLIB_CCK_BASIC_RATES_MASK
Value:
RTLLIB_CCK_RATE_2MB_MASK)

Definition at line 916 of file rtllib.h.

#define RTLLIB_CCK_DEFAULT_RATES_MASK
Value:
RTLLIB_CCK_RATE_5MB_MASK | \
RTLLIB_CCK_RATE_11MB_MASK)

Definition at line 918 of file rtllib.h.

#define RTLLIB_CCK_MODULATION   (1<<0)

Definition at line 880 of file rtllib.h.

#define RTLLIB_CCK_RATE_11MB   0x16

Definition at line 890 of file rtllib.h.

#define RTLLIB_CCK_RATE_11MB_MASK   (1<<3)

Definition at line 905 of file rtllib.h.

#define RTLLIB_CCK_RATE_1MB   0x02

Definition at line 887 of file rtllib.h.

#define RTLLIB_CCK_RATE_1MB_MASK   (1<<0)

Definition at line 902 of file rtllib.h.

#define RTLLIB_CCK_RATE_2MB   0x04

Definition at line 888 of file rtllib.h.

#define RTLLIB_CCK_RATE_2MB_MASK   (1<<1)

Definition at line 903 of file rtllib.h.

#define RTLLIB_CCK_RATE_5MB   0x0B

Definition at line 889 of file rtllib.h.

#define RTLLIB_CCK_RATE_5MB_MASK   (1<<2)

Definition at line 904 of file rtllib.h.

#define RTLLIB_CCK_RATE_LEN   4

Definition at line 886 of file rtllib.h.

#define RTLLIB_CCK_RATES_MASK   0x0000000F

Definition at line 915 of file rtllib.h.

#define RTLLIB_DATA_HDR3_LEN   24

Definition at line 547 of file rtllib.h.

#define RTLLIB_DATA_HDR4_LEN   30

Definition at line 548 of file rtllib.h.

#define RTLLIB_DATA_LEN   2304

Definition at line 531 of file rtllib.h.

#define RTLLIB_DEBUG (   level,
  fmt,
  args... 
)
Value:
do { \
printk(KERN_DEBUG "rtllib: " fmt, ## args); \
} while (0)

Definition at line 705 of file rtllib.h.

#define RTLLIB_DEBUG_DATA (   level,
  data,
  datalen 
)
Value:
do { \
if ((rtllib_debug_level & (level)) == (level)) { \
int i; \
u8 *pdata = (u8 *)data; \
printk(KERN_DEBUG "rtllib: %s()\n", __func__); \
for (i = 0; i < (int)(datalen); i++) { \
printk("%2.2x ", pdata[i]); \
if ((i+1)%16 == 0) \
printk("\n"); \
} \
printk("\n"); \
} \
} while (0)

Definition at line 711 of file rtllib.h.

#define RTLLIB_DEBUG_DROP (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_DROP, f, ## a)

Definition at line 782 of file rtllib.h.

#define RTLLIB_DEBUG_EAP (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_EAP, f, ## a)

Definition at line 781 of file rtllib.h.

#define RTLLIB_DEBUG_FRAG (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_FRAG, f, ## a)

Definition at line 780 of file rtllib.h.

#define RTLLIB_DEBUG_INFO (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_INFO, f, ## a)

Definition at line 774 of file rtllib.h.

#define RTLLIB_DEBUG_MGMT (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_MGMT, f, ## a)

Definition at line 779 of file rtllib.h.

#define RTLLIB_DEBUG_QOS (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_QOS, f, ## a)

Definition at line 785 of file rtllib.h.

#define RTLLIB_DEBUG_RX (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_RX, f, ## a)

Definition at line 784 of file rtllib.h.

#define RTLLIB_DEBUG_SCAN (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_SCAN, f, ## a)

Definition at line 777 of file rtllib.h.

#define RTLLIB_DEBUG_STATE (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_STATE, f, ## a)

Definition at line 778 of file rtllib.h.

#define RTLLIB_DEBUG_TX (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_TX, f, ## a)

Definition at line 783 of file rtllib.h.

#define RTLLIB_DEBUG_WX (   f,
  a... 
)    RTLLIB_DEBUG(RTLLIB_DL_WX, f, ## a)

Definition at line 776 of file rtllib.h.

#define RTLLIB_DEFAULT_BASIC_RATE   2

Definition at line 1539 of file rtllib.h.

#define RTLLIB_DEFAULT_RATES_MASK
Value:
RTLLIB_CCK_DEFAULT_RATES_MASK)

Definition at line 932 of file rtllib.h.

#define RTLLIB_DEFAULT_TX_ESSID   "Penguin"

Definition at line 1538 of file rtllib.h.

#define RTLLIB_DL_BA   (1<<11)

Definition at line 763 of file rtllib.h.

#define RTLLIB_DL_DATA   (1<<30)

Definition at line 770 of file rtllib.h.

#define RTLLIB_DL_DROP   (1<<7)

Definition at line 757 of file rtllib.h.

#define RTLLIB_DL_EAP   (1<<6)

Definition at line 756 of file rtllib.h.

#define RTLLIB_DL_ERR   (1<<31)

Definition at line 771 of file rtllib.h.

#define RTLLIB_DL_FRAG   (1<<5)

Definition at line 755 of file rtllib.h.

#define RTLLIB_DL_HT   (1<<10)

Definition at line 762 of file rtllib.h.

#define RTLLIB_DL_INFO   (1<<0)

Definition at line 750 of file rtllib.h.

#define RTLLIB_DL_IOT   (1<<15)

Definition at line 767 of file rtllib.h.

#define RTLLIB_DL_IPS   (1<<16)

Definition at line 768 of file rtllib.h.

#define RTLLIB_DL_MGMT   (1<<4)

Definition at line 754 of file rtllib.h.

#define RTLLIB_DL_QOS   (1<<13)

Definition at line 765 of file rtllib.h.

#define RTLLIB_DL_REORDER   (1<<14)

Definition at line 766 of file rtllib.h.

#define RTLLIB_DL_RX   (1<<9)

Definition at line 760 of file rtllib.h.

#define RTLLIB_DL_SCAN   (1<<2)

Definition at line 752 of file rtllib.h.

#define RTLLIB_DL_STATE   (1<<3)

Definition at line 753 of file rtllib.h.

#define RTLLIB_DL_TRACE   (1<<29)

Definition at line 769 of file rtllib.h.

#define RTLLIB_DL_TS   (1<<12)

Definition at line 764 of file rtllib.h.

#define RTLLIB_DL_TX   (1<<8)

Definition at line 759 of file rtllib.h.

#define RTLLIB_DL_WX   (1<<1)

Definition at line 751 of file rtllib.h.

#define RTLLIB_DTIM_INVALID   0

Definition at line 1549 of file rtllib.h.

#define RTLLIB_DTIM_MBCAST   4

Definition at line 1546 of file rtllib.h.

#define RTLLIB_DTIM_UCAST   2

Definition at line 1547 of file rtllib.h.

#define RTLLIB_DTIM_VALID   1

Definition at line 1548 of file rtllib.h.

#define RTLLIB_ERROR (   f,
  a... 
)    printk(KERN_ERR "rtllib: " f, ## a)

Definition at line 772 of file rtllib.h.

#define RTLLIB_FC0_SUBTYPE_MASK   0xB0

Definition at line 943 of file rtllib.h.

#define RTLLIB_FC0_SUBTYPE_QOS   0x80

Definition at line 944 of file rtllib.h.

#define RTLLIB_FC0_TYPE_DATA   0x08

Definition at line 942 of file rtllib.h.

#define RTLLIB_FC0_TYPE_MASK   0x0c

Definition at line 941 of file rtllib.h.

#define RTLLIB_FCS_LEN   4

Definition at line 543 of file rtllib.h.

#define RTLLIB_FCTL_DSTODS   0x0300

Definition at line 566 of file rtllib.h.

#define RTLLIB_FCTL_FRAMETYPE   0x00fc

Definition at line 563 of file rtllib.h.

#define RTLLIB_FCTL_FROMDS   0x0200

Definition at line 565 of file rtllib.h.

#define RTLLIB_FCTL_FTYPE   0x000c

Definition at line 561 of file rtllib.h.

#define RTLLIB_FCTL_MOREDATA   0x2000

Definition at line 570 of file rtllib.h.

#define RTLLIB_FCTL_MOREFRAGS   0x0400

Definition at line 567 of file rtllib.h.

#define RTLLIB_FCTL_ORDER   0x8000

Definition at line 572 of file rtllib.h.

#define RTLLIB_FCTL_PM   0x1000

Definition at line 569 of file rtllib.h.

#define RTLLIB_FCTL_RETRY   0x0800

Definition at line 568 of file rtllib.h.

#define RTLLIB_FCTL_STYPE   0x00f0

Definition at line 562 of file rtllib.h.

#define RTLLIB_FCTL_TODS   0x0100

Definition at line 564 of file rtllib.h.

#define RTLLIB_FCTL_VERS   0x0003

Definition at line 560 of file rtllib.h.

#define RTLLIB_FCTL_WEP   0x4000

Definition at line 571 of file rtllib.h.

#define RTLLIB_FRAG_CACHE_LEN   4

Definition at line 1026 of file rtllib.h.

#define RTLLIB_FRAME_LEN   (RTLLIB_DATA_LEN + RTLLIB_HLEN)

Definition at line 545 of file rtllib.h.

#define RTLLIB_FTYPE_CTL   0x0004

Definition at line 575 of file rtllib.h.

#define RTLLIB_FTYPE_DATA   0x0008

Definition at line 576 of file rtllib.h.

#define RTLLIB_FTYPE_MGMT   0x0000

Definition at line 574 of file rtllib.h.

#define RTLLIB_HLEN   (RTLLIB_4ADDR_LEN)

Definition at line 544 of file rtllib.h.

#define RTLLIB_MGMT_HDR_LEN   24

Definition at line 546 of file rtllib.h.

#define RTLLIB_NUM_CCK_RATES   4

Definition at line 936 of file rtllib.h.

#define RTLLIB_NUM_OFDM_RATES   8

Definition at line 935 of file rtllib.h.

#define RTLLIB_OFDM_BASIC_RATES_MASK
Value:
RTLLIB_OFDM_RATE_12MB_MASK | \
RTLLIB_OFDM_RATE_24MB_MASK)

Definition at line 923 of file rtllib.h.

#define RTLLIB_OFDM_DEFAULT_RATES_MASK
Value:
RTLLIB_OFDM_RATE_9MB_MASK | \
RTLLIB_OFDM_RATE_18MB_MASK | \
RTLLIB_OFDM_RATE_36MB_MASK | \
RTLLIB_OFDM_RATE_48MB_MASK | \
RTLLIB_OFDM_RATE_54MB_MASK)

Definition at line 926 of file rtllib.h.

#define RTLLIB_OFDM_MODULATION   (1<<1)

Definition at line 881 of file rtllib.h.

#define RTLLIB_OFDM_RATE_12MB   0x18

Definition at line 894 of file rtllib.h.

#define RTLLIB_OFDM_RATE_12MB_MASK   (1<<6)

Definition at line 908 of file rtllib.h.

#define RTLLIB_OFDM_RATE_18MB   0x24

Definition at line 895 of file rtllib.h.

#define RTLLIB_OFDM_RATE_18MB_MASK   (1<<7)

Definition at line 909 of file rtllib.h.

#define RTLLIB_OFDM_RATE_24MB   0x30

Definition at line 896 of file rtllib.h.

#define RTLLIB_OFDM_RATE_24MB_MASK   (1<<8)

Definition at line 910 of file rtllib.h.

#define RTLLIB_OFDM_RATE_36MB   0x48

Definition at line 897 of file rtllib.h.

#define RTLLIB_OFDM_RATE_36MB_MASK   (1<<9)

Definition at line 911 of file rtllib.h.

#define RTLLIB_OFDM_RATE_48MB   0x60

Definition at line 898 of file rtllib.h.

#define RTLLIB_OFDM_RATE_48MB_MASK   (1<<10)

Definition at line 912 of file rtllib.h.

#define RTLLIB_OFDM_RATE_54MB   0x6C

Definition at line 899 of file rtllib.h.

#define RTLLIB_OFDM_RATE_54MB_MASK   (1<<11)

Definition at line 913 of file rtllib.h.

#define RTLLIB_OFDM_RATE_6MB   0x0C

Definition at line 892 of file rtllib.h.

#define RTLLIB_OFDM_RATE_6MB_MASK   (1<<4)

Definition at line 906 of file rtllib.h.

#define RTLLIB_OFDM_RATE_9MB   0x12

Definition at line 893 of file rtllib.h.

#define RTLLIB_OFDM_RATE_9MB_MASK   (1<<5)

Definition at line 907 of file rtllib.h.

#define RTLLIB_OFDM_RATE_LEN   8

Definition at line 891 of file rtllib.h.

#define RTLLIB_OFDM_RATES_MASK   0x00000FF0

Definition at line 922 of file rtllib.h.

#define RTLLIB_OFDM_SHIFT_MASK_A   4

Definition at line 937 of file rtllib.h.

#define RTLLIB_PRINT_STR (   _Comp,
  _TitleString,
  _Ptr,
  _Len 
)
Value:
if ((_Comp) & level) { \
int __i; \
int length = (_Len < MAX_STR_LEN) ? _Len : (MAX_STR_LEN-1) ;\
memset(struct buffer, 0, MAX_STR_LEN); \
memcpy(struct buffer, (u8 *)_Ptr, length); \
for (__i = 0; __i < MAX_STR_LEN; __i++) { \
if (!PRINTABLE(struct buffer[__i])) \
struct buffer[__i] = '?'; \
} \
struct buffer[length] = '\0'; \
printk(KERN_INFO "Rtl819x: "); \
printk(_TitleString); \
printk(": %d, <%s>\n", _Len, struct buffer); \
}

Definition at line 791 of file rtllib.h.

#define RTLLIB_PS_DISABLED   0

Definition at line 1551 of file rtllib.h.

#define RTLLIB_PS_MBCAST   RTLLIB_DTIM_MBCAST

Definition at line 1553 of file rtllib.h.

#define RTLLIB_PS_UNICAST   RTLLIB_DTIM_UCAST

Definition at line 1552 of file rtllib.h.

#define RTLLIB_QCTL_TID   0x000F

Definition at line 617 of file rtllib.h.

#define RTLLIB_QOS_HAS_SEQ (   fc)
#define RTLLIB_QOS_TID   0x0f

Definition at line 1543 of file rtllib.h.

#define RTLLIB_QUEUE_LIMIT   128

Definition at line 2314 of file rtllib.h.

#define RTLLIB_SCTL_FRAG   0x000F

Definition at line 613 of file rtllib.h.

#define RTLLIB_SCTL_SEQ   0xFFF0

Definition at line 614 of file rtllib.h.

#define RTLLIB_SKBBUFFER_SIZE   2500

Definition at line 550 of file rtllib.h.

#define RTLLIB_SOFTMAC_ASSOC_RETRY_TIME   (HZ * 2)

Definition at line 1342 of file rtllib.h.

#define RTLLIB_SOFTMAC_SCAN_TIME   100

Definition at line 1341 of file rtllib.h.

#define RTLLIB_STATMASK_NOISE   (1<<2)

Definition at line 876 of file rtllib.h.

#define RTLLIB_STATMASK_RATE   (1<<3)

Definition at line 877 of file rtllib.h.

#define RTLLIB_STATMASK_RSSI   (1<<1)

Definition at line 875 of file rtllib.h.

#define RTLLIB_STATMASK_SIGNAL   (1<<0)

Definition at line 874 of file rtllib.h.

#define RTLLIB_STATMASK_WEMASK   0x7

Definition at line 878 of file rtllib.h.

#define RTLLIB_STYPE_ACK   0x00D0

Definition at line 596 of file rtllib.h.

#define RTLLIB_STYPE_ASSOC_REQ   0x0000

Definition at line 579 of file rtllib.h.

#define RTLLIB_STYPE_ASSOC_RESP   0x0010

Definition at line 580 of file rtllib.h.

#define RTLLIB_STYPE_ATIM   0x0090

Definition at line 586 of file rtllib.h.

#define RTLLIB_STYPE_AUTH   0x00B0

Definition at line 588 of file rtllib.h.

#define RTLLIB_STYPE_BEACON   0x0080

Definition at line 585 of file rtllib.h.

#define RTLLIB_STYPE_BLOCKACK   0x0094

Definition at line 599 of file rtllib.h.

#define RTLLIB_STYPE_CFACK   0x0050

Definition at line 607 of file rtllib.h.

#define RTLLIB_STYPE_CFACKPOLL   0x0070

Definition at line 609 of file rtllib.h.

#define RTLLIB_STYPE_CFEND   0x00E0

Definition at line 597 of file rtllib.h.

#define RTLLIB_STYPE_CFENDACK   0x00F0

Definition at line 598 of file rtllib.h.

#define RTLLIB_STYPE_CFPOLL   0x0060

Definition at line 608 of file rtllib.h.

#define RTLLIB_STYPE_CTS   0x00C0

Definition at line 595 of file rtllib.h.

#define RTLLIB_STYPE_DATA   0x0000

Definition at line 602 of file rtllib.h.

#define RTLLIB_STYPE_DATA_CFACK   0x0010

Definition at line 603 of file rtllib.h.

#define RTLLIB_STYPE_DATA_CFACKPOLL   0x0030

Definition at line 605 of file rtllib.h.

#define RTLLIB_STYPE_DATA_CFPOLL   0x0020

Definition at line 604 of file rtllib.h.

#define RTLLIB_STYPE_DEAUTH   0x00C0

Definition at line 589 of file rtllib.h.

#define RTLLIB_STYPE_DISASSOC   0x00A0

Definition at line 587 of file rtllib.h.

#define RTLLIB_STYPE_MANAGE_ACT   0x00D0

Definition at line 590 of file rtllib.h.

#define RTLLIB_STYPE_NULLFUNC   0x0040

Definition at line 606 of file rtllib.h.

#define RTLLIB_STYPE_PROBE_REQ   0x0040

Definition at line 583 of file rtllib.h.

#define RTLLIB_STYPE_PROBE_RESP   0x0050

Definition at line 584 of file rtllib.h.

#define RTLLIB_STYPE_PSPOLL   0x00A0

Definition at line 593 of file rtllib.h.

#define RTLLIB_STYPE_QOS_DATA   0x0080

Definition at line 610 of file rtllib.h.

#define RTLLIB_STYPE_QOS_NULL   0x00C0

Definition at line 611 of file rtllib.h.

#define RTLLIB_STYPE_REASSOC_REQ   0x0020

Definition at line 581 of file rtllib.h.

#define RTLLIB_STYPE_REASSOC_RESP   0x0030

Definition at line 582 of file rtllib.h.

#define RTLLIB_STYPE_RTS   0x00B0

Definition at line 594 of file rtllib.h.

#define RTLLIB_WARNING (   f,
  a... 
)    printk(KERN_WARNING "rtllib: " f, ## a)

Definition at line 773 of file rtllib.h.

#define SCM_KEY_LEN   32

Definition at line 1086 of file rtllib.h.

#define SCM_TEMPORAL_KEY_LENGTH   16

Definition at line 1087 of file rtllib.h.

#define SEC_ACTIVE_KEY   (1<<4)

Definition at line 1067 of file rtllib.h.

#define SEC_ALG_CCMP   4

Definition at line 1083 of file rtllib.h.

#define SEC_ALG_NONE   0

Definition at line 1080 of file rtllib.h.

#define SEC_ALG_TKIP   2

Definition at line 1082 of file rtllib.h.

#define SEC_ALG_WEP   1

Definition at line 1081 of file rtllib.h.

#define SEC_AUTH_MODE   (1<<5)

Definition at line 1068 of file rtllib.h.

#define SEC_ENABLED   (1<<8)

Definition at line 1071 of file rtllib.h.

#define SEC_ENCRYPT   (1<<9)

Definition at line 1072 of file rtllib.h.

#define SEC_KEY_1   (1<<0)

Definition at line 1063 of file rtllib.h.

#define SEC_KEY_2   (1<<1)

Definition at line 1064 of file rtllib.h.

#define SEC_KEY_3   (1<<2)

Definition at line 1065 of file rtllib.h.

#define SEC_KEY_4   (1<<3)

Definition at line 1066 of file rtllib.h.

#define SEC_LEVEL   (1<<7)

Definition at line 1070 of file rtllib.h.

#define SEC_LEVEL_0   0 /* None */

Definition at line 1074 of file rtllib.h.

#define SEC_LEVEL_1   1 /* WEP 40 and 104 bit */

Definition at line 1075 of file rtllib.h.

#define SEC_LEVEL_2   2 /* Level 1 + TKIP */

Definition at line 1076 of file rtllib.h.

#define SEC_LEVEL_2_CKIP   3 /* Level 1 + CKIP */

Definition at line 1077 of file rtllib.h.

#define SEC_LEVEL_3   4 /* Level 2 + CCMP */

Definition at line 1078 of file rtllib.h.

#define SEC_UNICAST_GROUP   (1<<6)

Definition at line 1069 of file rtllib.h.

#define SEM_DOWN_IEEE_IPS (   psem)    down(psem)

Definition at line 3042 of file rtllib.h.

#define SEM_DOWN_IEEE_SCAN (   psem)    down(psem)

Definition at line 3040 of file rtllib.h.

#define SEM_DOWN_IEEE_WX (   psem)    down(psem)

Definition at line 3038 of file rtllib.h.

#define SEM_DOWN_PRIV_RF (   psem)    down(psem)

Definition at line 3046 of file rtllib.h.

#define SEM_DOWN_PRIV_WX (   psem)    down(psem)

Definition at line 3044 of file rtllib.h.

#define SEM_UP_IEEE_IPS (   psem)    up(psem)

Definition at line 3043 of file rtllib.h.

#define SEM_UP_IEEE_SCAN (   psem)    up(psem)

Definition at line 3041 of file rtllib.h.

#define SEM_UP_IEEE_WX (   psem)    up(psem)

Definition at line 3039 of file rtllib.h.

#define SEM_UP_PRIV_RF (   psem)    up(psem)

Definition at line 3047 of file rtllib.h.

#define SEM_UP_PRIV_WX (   psem)    up(psem)

Definition at line 3045 of file rtllib.h.

#define skb_tail_pointer_rsl (   skb)    skb_tail_pointer(skb)

Definition at line 83 of file rtllib.h.

#define SN_EQUAL (   a,
  b 
)    (a == b)

Definition at line 627 of file rtllib.h.

#define SN_LESS (   a,
  b 
)    (((a-b)&0x800) != 0)

Definition at line 626 of file rtllib.h.

#define SNAP_SIZE   sizeof(struct rtllib_snap_hdr)

Definition at line 838 of file rtllib.h.

#define SPIN_LOCK_IEEE (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3010 of file rtllib.h.

#define SPIN_LOCK_IEEE_BCN (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3018 of file rtllib.h.

#define SPIN_LOCK_IEEE_MGNTTX (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3016 of file rtllib.h.

#define SPIN_LOCK_IEEE_REORDER (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3012 of file rtllib.h.

#define SPIN_LOCK_IEEE_WPAX (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3014 of file rtllib.h.

#define SPIN_LOCK_MSH_PREQ (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3022 of file rtllib.h.

#define SPIN_LOCK_MSH_QUEUE (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3024 of file rtllib.h.

#define SPIN_LOCK_MSH_STAINFO (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3020 of file rtllib.h.

#define SPIN_LOCK_PRIV_D3 (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3032 of file rtllib.h.

#define SPIN_LOCK_PRIV_IRQTH (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3028 of file rtllib.h.

#define SPIN_LOCK_PRIV_PS (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3036 of file rtllib.h.

#define SPIN_LOCK_PRIV_RF (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3034 of file rtllib.h.

#define SPIN_LOCK_PRIV_RFPS (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3026 of file rtllib.h.

#define SPIN_LOCK_PRIV_TX (   plock)    spin_lock_irqsave((plock), flags)

Definition at line 3030 of file rtllib.h.

#define SPIN_UNLOCK_IEEE (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3011 of file rtllib.h.

#define SPIN_UNLOCK_IEEE_BCN (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3019 of file rtllib.h.

#define SPIN_UNLOCK_IEEE_MGNTTX (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3017 of file rtllib.h.

#define SPIN_UNLOCK_IEEE_REORDER (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3013 of file rtllib.h.

#define SPIN_UNLOCK_IEEE_WPAX (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3015 of file rtllib.h.

#define SPIN_UNLOCK_MSH_PREQ (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3023 of file rtllib.h.

#define SPIN_UNLOCK_MSH_QUEUE (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3025 of file rtllib.h.

#define SPIN_UNLOCK_MSH_STAINFO (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3021 of file rtllib.h.

#define SPIN_UNLOCK_PRIV_D3 (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3033 of file rtllib.h.

#define SPIN_UNLOCK_PRIV_IRQTH (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3029 of file rtllib.h.

#define SPIN_UNLOCK_PRIV_PS (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3037 of file rtllib.h.

#define SPIN_UNLOCK_PRIV_RF (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3035 of file rtllib.h.

#define SPIN_UNLOCK_PRIV_RFPS (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3027 of file rtllib.h.

#define SPIN_UNLOCK_PRIV_TX (   plock)    spin_unlock_irqrestore((plock), flags)

Definition at line 3031 of file rtllib.h.

#define STATUS_SCAN_ABORTING   2

Definition at line 2033 of file rtllib.h.

#define STATUS_SCAN_HW   1

Definition at line 2032 of file rtllib.h.

#define STATUS_SCANNING   0

Definition at line 2031 of file rtllib.h.

#define STATUS_SETTING_CHAN   3

Definition at line 2034 of file rtllib.h.

#define SUPPORT_CKIP_MIC   0x08

Definition at line 140 of file rtllib.h.

#define SUPPORT_CKIP_PK   0x10

Definition at line 141 of file rtllib.h.

#define SWRF_TIMEOUT   50

Definition at line 137 of file rtllib.h.

#define TOTAL_CAM_ENTRY   32

Definition at line 1978 of file rtllib.h.

#define TXCMD_QUEUE   5

Definition at line 125 of file rtllib.h.

#define UP2AC (   up)
Value:
( \
((up) < 1) ? WME_AC_BE : \
((up) < 3) ? WME_AC_BK : \
((up) < 4) ? WME_AC_BE : \
((up) < 6) ? WME_AC_VI : \
WME_AC_VO)

Definition at line 1565 of file rtllib.h.

#define usb_alloc_urb_rsl (   x,
  y 
)    usb_alloc_urb(x, y)

Definition at line 104 of file rtllib.h.

#define usb_submit_urb_rsl (   x,
  y 
)    usb_submit_urb(x, y)

Definition at line 105 of file rtllib.h.

#define VI_QUEUE   2

Definition at line 122 of file rtllib.h.

#define VO_QUEUE   3

Definition at line 123 of file rtllib.h.

#define WEP_KEY_LEN   13

Definition at line 1085 of file rtllib.h.

#define WIRELESS_SPY

Definition at line 52 of file rtllib.h.

#define WLAN_AUTH_CHALLENGE_LEN   128

Definition at line 854 of file rtllib.h.

#define WLAN_AUTH_LEAP   128

Definition at line 852 of file rtllib.h.

#define WLAN_AUTH_OPEN   0

Definition at line 850 of file rtllib.h.

#define WLAN_AUTH_SHARED_KEY   1

Definition at line 851 of file rtllib.h.

#define WLAN_CAPABILITY_CF_POLL_REQUEST   (1<<3)

Definition at line 859 of file rtllib.h.

#define WLAN_CAPABILITY_CF_POLLABLE   (1<<2)

Definition at line 858 of file rtllib.h.

#define WLAN_CAPABILITY_CHANNEL_AGILITY   (1<<7)

Definition at line 863 of file rtllib.h.

#define WLAN_CAPABILITY_DSSS_OFDM   (1<<13)

Definition at line 867 of file rtllib.h.

#define WLAN_CAPABILITY_ESS   (1<<0)

Definition at line 856 of file rtllib.h.

#define WLAN_CAPABILITY_IBSS   (1<<1)

Definition at line 857 of file rtllib.h.

#define WLAN_CAPABILITY_PBCC   (1<<6)

Definition at line 862 of file rtllib.h.

#define WLAN_CAPABILITY_PRIVACY   (1<<4)

Definition at line 860 of file rtllib.h.

#define WLAN_CAPABILITY_QOS   (1<<9)

Definition at line 865 of file rtllib.h.

#define WLAN_CAPABILITY_SHORT_PREAMBLE   (1<<5)

Definition at line 861 of file rtllib.h.

#define WLAN_CAPABILITY_SHORT_SLOT_TIME   (1<<10)

Definition at line 866 of file rtllib.h.

#define WLAN_CAPABILITY_SPECTRUM_MGMT   (1<<8)

Definition at line 864 of file rtllib.h.

#define WLAN_ERP_BARKER_PREAMBLE   (1<<2)

Definition at line 872 of file rtllib.h.

#define WLAN_ERP_NON_ERP_PRESENT   (1<<0)

Definition at line 870 of file rtllib.h.

#define WLAN_ERP_USE_PROTECTION   (1<<1)

Definition at line 871 of file rtllib.h.

#define WLAN_FC_GET_FRAMETYPE (   fc)    ((fc) & RTLLIB_FCTL_FRAMETYPE)

Definition at line 845 of file rtllib.h.

#define WLAN_FC_GET_STYPE (   fc)    ((fc) & RTLLIB_FCTL_STYPE)

Definition at line 842 of file rtllib.h.

#define WLAN_FC_GET_TYPE (   fc)    ((fc) & RTLLIB_FCTL_FTYPE)

Definition at line 841 of file rtllib.h.

#define WLAN_FC_GET_VERS (   fc)    ((fc) & RTLLIB_FCTL_VERS)

Definition at line 840 of file rtllib.h.

#define WLAN_FC_MORE_DATA (   fc)    ((fc) & RTLLIB_FCTL_MOREDATA)

Definition at line 843 of file rtllib.h.

#define WLAN_GET_SEQ_FRAG (   seq)    ((seq) & RTLLIB_SCTL_FRAG)

Definition at line 846 of file rtllib.h.

#define WLAN_GET_SEQ_SEQ (   seq)    (((seq) & RTLLIB_SCTL_SEQ) >> 4)

Definition at line 847 of file rtllib.h.

#define WME_AC_BE   0x01

Definition at line 1556 of file rtllib.h.

#define WME_AC_BK   0x00

Definition at line 1555 of file rtllib.h.

#define WME_AC_PRAM_LEN   16

Definition at line 1561 of file rtllib.h.

#define WME_AC_VI   0x02

Definition at line 1557 of file rtllib.h.

#define WME_AC_VO   0x03

Definition at line 1558 of file rtllib.h.

#define WME_ACI_MASK   0x03

Definition at line 1559 of file rtllib.h.

#define WME_AIFSN_MASK   0x03

Definition at line 1560 of file rtllib.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
WMM_all_frame 
WMM_two_frame 
WMM_four_frame 
WMM_six_frame 

Definition at line 1541 of file rtllib.h.

anonymous enum
Enumerator:
NO_USE 
USED 
HW_SEC 
SW_SEC 

Definition at line 2037 of file rtllib.h.

anonymous enum
Enumerator:
LPS_IS_WAKE 
LPS_IS_SLEEP 
LPS_WAIT_NULL_DATA_SEND 

Definition at line 2044 of file rtllib.h.

Enumerator:
unspec_reason 
auth_not_valid 
deauth_lv_ss 
inactivity 
ap_overload 
class2_err 
class3_err 
disas_lv_ss 
asoc_not_auth 
mic_failure 
invalid_IE 
four_way_tmout 
two_way_tmout 
IE_dismatch 
invalid_Gcipher 
invalid_Pcipher 
invalid_AKMP 
unsup_RSNIEver 
invalid_RSNIE 
auth_802_1x_fail 
ciper_reject 
QoS_unspec 
QAP_bandwidth 
poor_condition 
no_facility 
req_declined 
invalid_param 
req_not_honored 
TS_not_created 
DL_not_allowed 
dest_not_exist 
dest_not_QSTA 
unspec_reason 
auth_not_valid 
deauth_lv_ss 
inactivity 
ap_overload 
class2_err 
class3_err 
disas_lv_ss 
asoc_not_auth 
mic_failure 
invalid_IE 
four_way_tmout 
two_way_tmout 
IE_dismatch 
invalid_Gcipher 
invalid_Pcipher 
invalid_AKMP 
unsup_RSNIEver 
invalid_RSNIE 
auth_802_1x_fail 
ciper_reject 
QoS_unspec 
QAP_bandwidth 
poor_condition 
no_facility 
req_declined 
invalid_param 
req_not_honored 
TS_not_created 
DL_not_allowed 
dest_not_exist 
dest_not_QSTA 
unspec_reason 
auth_not_valid 
deauth_lv_ss 
inactivity 
ap_overload 
class2_err 
class3_err 
disas_lv_ss 
asoc_not_auth 
mic_failure 
invalid_IE 
four_way_tmout 
two_way_tmout 
IE_dismatch 
invalid_Gcipher 
invalid_Pcipher 
invalid_AKMP 
unsup_RSNIEver 
invalid_RSNIE 
auth_802_1x_fail 
ciper_reject 
QoS_unspec 
QAP_bandwidth 
poor_condition 
no_facility 
req_declined 
invalid_param 
req_not_honored 
TS_not_created 
DL_not_allowed 
dest_not_exist 
dest_not_QSTA 

Definition at line 282 of file rtllib.h.

Enumerator:
PREAMBLE_LONG 
PREAMBLE_AUTO 
PREAMBLE_SHORT 
PREAMBLE_LONG 
PREAMBLE_AUTO 
PREAMBLE_SHORT 

Definition at line 832 of file rtllib.h.

Enumerator:
ACT_CAT_QOS 
ACT_CAT_DLS 
ACT_CAT_BA 
ACT_CAT_HT 
ACT_CAT_WMM 
ACT_CAT_QOS 
ACT_CAT_DLS 
ACT_CAT_BA 
ACT_CAT_HT 
ACT_CAT_WMM 

Definition at line 630 of file rtllib.h.

enum ba_action
Enumerator:
ACT_ADDBAREQ 
ACT_ADDBARSP 
ACT_DELBA 
ACT_ADDBAREQ 
ACT_ADDBARSP 
ACT_DELBA 

Definition at line 645 of file rtllib.h.

Enumerator:
COUNTRY_CODE_FCC 
COUNTRY_CODE_IC 
COUNTRY_CODE_ETSI 
COUNTRY_CODE_SPAIN 
COUNTRY_CODE_FRANCE 
COUNTRY_CODE_MKK 
COUNTRY_CODE_MKK1 
COUNTRY_CODE_ISRAEL 
COUNTRY_CODE_TELEC 
COUNTRY_CODE_MIC 
COUNTRY_CODE_GLOBAL_DOMAIN 
COUNTRY_CODE_WORLD_WIDE_13 
COUNTRY_CODE_TELEC_NETGEAR 
COUNTRY_CODE_MAX 

Definition at line 1888 of file rtllib.h.

enum eap_type
Enumerator:
EAP_PACKET 
EAPOL_START 
EAPOL_LOGOFF 
EAPOL_KEY 
EAPOL_ENCAP_ASF_ALERT 
EAP_PACKET 
EAPOL_START 
EAPOL_LOGOFF 
EAPOL_KEY 
EAPOL_ENCAP_ASF_ALERT 
EAP_PACKET 
EAPOL_START 
EAPOL_LOGOFF 
EAPOL_KEY 
EAPOL_ENCAP_ASF_ALERT 
EAP_PACKET 
EAPOL_START 
EAPOL_LOGOFF 
EAPOL_KEY 
EAPOL_ENCAP_ASF_ALERT 

Definition at line 1451 of file rtllib.h.

enum erp_t
Enumerator:
ERP_NonERPpresent 
ERP_UseProtection 
ERP_BarkerPreambleMode 

Definition at line 1595 of file rtllib.h.

Enumerator:
Default_Fsync 
HW_Fsync 
SW_Fsync 

Definition at line 1763 of file rtllib.h.

Enumerator:
FW_CMD_DIG_ENABLE 
FW_CMD_DIG_DISABLE 
FW_CMD_DIG_HALT 
FW_CMD_DIG_RESUME 
FW_CMD_HIGH_PWR_ENABLE 
FW_CMD_HIGH_PWR_DISABLE 
FW_CMD_RA_RESET 
FW_CMD_RA_ACTIVE 
FW_CMD_RA_REFRESH_N 
FW_CMD_RA_REFRESH_BG 
FW_CMD_RA_INIT 
FW_CMD_IQK_ENABLE 
FW_CMD_TXPWR_TRACK_ENABLE 
FW_CMD_TXPWR_TRACK_DISABLE 
FW_CMD_TXPWR_TRACK_THERMAL 
FW_CMD_PAUSE_DM_BY_SCAN 
FW_CMD_RESUME_DM_BY_SCAN 
FW_CMD_RA_REFRESH_N_COMB 
FW_CMD_RA_REFRESH_BG_COMB 
FW_CMD_ANTENNA_SW_ENABLE 
FW_CMD_ANTENNA_SW_DISABLE 
FW_CMD_TX_FEEDBACK_CCX_ENABLE 
FW_CMD_LPS_ENTER 
FW_CMD_LPS_LEAVE 
FW_CMD_DIG_MODE_SS 
FW_CMD_DIG_MODE_FA 
FW_CMD_ADD_A2_ENTRY 
FW_CMD_CTRL_DM_BY_DRIVER 
FW_CMD_CTRL_DM_BY_DRIVER_NEW 
FW_CMD_PAPE_CONTROL 
FW_CMD_CHAN_SET 

Definition at line 1911 of file rtllib.h.

Enumerator:
HAL_DEF_TPC_ENABLE 
HAL_DEF_INIT_GAIN 
HAL_DEF_PROT_IMP_MODE 
HAL_DEF_HIGH_POWER_MECHANISM 
HAL_DEF_RATE_ADAPTIVE_MECHANISM 
HAL_DEF_ANTENNA_DIVERSITY_MECHANISM 
HAL_DEF_LED 
HAL_DEF_CW_MAX_MIN 
HAL_DEF_WOWLAN 
HAL_DEF_ENDPOINTS 
HAL_DEF_MIN_TX_POWER_DBM 
HAL_DEF_MAX_TX_POWER_DBM 
HW_DEF_EFUSE_REPG_SECTION1_FLAG 
HW_DEF_EFUSE_REPG_DATA 
HW_DEF_GPIO 
HAL_DEF_PCI_SUPPORT_ASPM 
HAL_DEF_THERMAL_VALUE 
HAL_DEF_USB_IN_TOKEN_REV 

Definition at line 320 of file rtllib.h.

Enumerator:
HW_VAR_ETHER_ADDR 
HW_VAR_MULTICAST_REG 
HW_VAR_BASIC_RATE 
HW_VAR_BSSID 
HW_VAR_MEDIA_STATUS 
HW_VAR_SECURITY_CONF 
HW_VAR_BEACON_INTERVAL 
HW_VAR_ATIM_WINDOW 
HW_VAR_LISTEN_INTERVAL 
HW_VAR_CS_COUNTER 
HW_VAR_DEFAULTKEY0 
HW_VAR_DEFAULTKEY1 
HW_VAR_DEFAULTKEY2 
HW_VAR_DEFAULTKEY3 
HW_VAR_SIFS 
HW_VAR_DIFS 
HW_VAR_EIFS 
HW_VAR_SLOT_TIME 
HW_VAR_ACK_PREAMBLE 
HW_VAR_CW_CONFIG 
HW_VAR_CW_VALUES 
HW_VAR_RATE_FALLBACK_CONTROL 
HW_VAR_CONTENTION_WINDOW 
HW_VAR_RETRY_COUNT 
HW_VAR_TR_SWITCH 
HW_VAR_COMMAND 
HW_VAR_WPA_CONFIG 
HW_VAR_AMPDU_MIN_SPACE 
HW_VAR_SHORTGI_DENSITY 
HW_VAR_AMPDU_FACTOR 
HW_VAR_MCS_RATE_AVAILABLE 
HW_VAR_AC_PARAM 
HW_VAR_ACM_CTRL 
HW_VAR_DIS_Req_Qsize 
HW_VAR_CCX_CHNL_LOAD 
HW_VAR_CCX_NOISE_HISTOGRAM 
HW_VAR_CCX_CLM_NHM 
HW_VAR_TxOPLimit 
HW_VAR_TURBO_MODE 
HW_VAR_RF_STATE 
HW_VAR_RF_OFF_BY_HW 
HW_VAR_BUS_SPEED 
HW_VAR_SET_DEV_POWER 
HW_VAR_RCR 
HW_VAR_RATR_0 
HW_VAR_RRSR 
HW_VAR_CPU_RST 
HW_VAR_CECHK_BSSID 
HW_VAR_LBK_MODE 
HW_VAR_AES_11N_FIX 
HW_VAR_USB_RX_AGGR 
HW_VAR_USER_CONTROL_TURBO_MODE 
HW_VAR_RETRY_LIMIT 
HW_VAR_INIT_TX_RATE 
HW_VAR_TX_RATE_REG 
HW_VAR_EFUSE_USAGE 
HW_VAR_EFUSE_BYTES 
HW_VAR_AUTOLOAD_STATUS 
HW_VAR_RF_2R_DISABLE 
HW_VAR_SET_RPWM 
HW_VAR_H2C_FW_PWRMODE 
HW_VAR_H2C_FW_JOINBSSRPT 
HW_VAR_FW_PSMODE_STATUS 
HW_VAR_1X1_RECV_COMBINE 
HW_VAR_STOP_SEND_BEACON 
HW_VAR_TSF_TIMER 
HW_VAR_IO_CMD 
HW_VAR_RF_RECOVERY 
HW_VAR_H2C_FW_UPDATE_GTK 
HW_VAR_WF_MASK 
HW_VAR_WF_CRC 
HW_VAR_WF_IS_MAC_ADDR 
HW_VAR_H2C_FW_OFFLOAD 
HW_VAR_RESET_WFCRC 
HW_VAR_HANDLE_FW_C2H 
HW_VAR_DL_FW_RSVD_PAGE 
HW_VAR_AID 
HW_VAR_HW_SEQ_ENABLE 
HW_VAR_CORRECT_TSF 
HW_VAR_BCN_VALID 
HW_VAR_FWLPS_RF_ON 
HW_VAR_DUAL_TSF_RST 
HW_VAR_SWITCH_EPHY_WoWLAN 
HW_VAR_INT_MIGRATION 
HW_VAR_INT_AC 
HW_VAR_RF_TIMING 
HW_VAR_MRC 
HW_VAR_MGT_FILTER 
HW_VAR_CTRL_FILTER 
HW_VAR_DATA_FILTER 
HW_VAR_ETHER_ADDR 
HW_VAR_MULTICAST_REG 
HW_VAR_BASIC_RATE 
HW_VAR_BSSID 
HW_VAR_MEDIA_STATUS 
HW_VAR_SECURITY_CONF 
HW_VAR_BEACON_INTERVAL 
HW_VAR_ATIM_WINDOW 
HW_VAR_LISTEN_INTERVAL 
HW_VAR_CS_COUNTER 
HW_VAR_DEFAULTKEY0 
HW_VAR_DEFAULTKEY1 
HW_VAR_DEFAULTKEY2 
HW_VAR_DEFAULTKEY3 
HW_VAR_SIFS 
HW_VAR_DIFS 
HW_VAR_EIFS 
HW_VAR_SLOT_TIME 
HW_VAR_ACK_PREAMBLE 
HW_VAR_CW_CONFIG 
HW_VAR_CW_VALUES 
HW_VAR_RATE_FALLBACK_CONTROL 
HW_VAR_CONTENTION_WINDOW 
HW_VAR_RETRY_COUNT 
HW_VAR_TR_SWITCH 
HW_VAR_COMMAND 
HW_VAR_WPA_CONFIG 
HW_VAR_AMPDU_MIN_SPACE 
HW_VAR_SHORTGI_DENSITY 
HW_VAR_AMPDU_FACTOR 
HW_VAR_MCS_RATE_AVAILABLE 
HW_VAR_AC_PARAM 
HW_VAR_ACM_CTRL 
HW_VAR_DIS_Req_Qsize 
HW_VAR_CCX_CHNL_LOAD 
HW_VAR_CCX_NOISE_HISTOGRAM 
HW_VAR_CCX_CLM_NHM 
HW_VAR_TxOPLimit 
HW_VAR_TURBO_MODE 
HW_VAR_RF_STATE 
HW_VAR_RF_OFF_BY_HW 
HW_VAR_BUS_SPEED 
HW_VAR_SET_DEV_POWER 
HW_VAR_RCR 
HW_VAR_RATR_0 
HW_VAR_RRSR 
HW_VAR_CPU_RST 
HW_VAR_CECHK_BSSID 
HW_VAR_LBK_MODE 
HW_VAR_AES_11N_FIX 
HW_VAR_USB_RX_AGGR 
HW_VAR_USER_CONTROL_TURBO_MODE 
HW_VAR_RETRY_LIMIT 
HW_VAR_INIT_TX_RATE 
HW_VAR_TX_RATE_REG 
HW_VAR_EFUSE_USAGE 
HW_VAR_EFUSE_BYTES 
HW_VAR_AUTOLOAD_STATUS 
HW_VAR_RF_2R_DISABLE 
HW_VAR_SET_RPWM 
HW_VAR_H2C_FW_PWRMODE 
HW_VAR_H2C_FW_JOINBSSRPT 
HW_VAR_1X1_RECV_COMBINE 
HW_VAR_STOP_SEND_BEACON 
HW_VAR_TSF_TIMER 
HW_VAR_IO_CMD 
HW_VAR_RF_RECOVERY 
HW_VAR_H2C_FW_UPDATE_GTK 
HW_VAR_WF_MASK 
HW_VAR_WF_CRC 
HW_VAR_WF_IS_MAC_ADDR 
HW_VAR_H2C_FW_OFFLOAD 
HW_VAR_RESET_WFCRC 
HW_VAR_HANDLE_FW_C2H 
HW_VAR_DL_FW_RSVD_PAGE 
HW_VAR_AID 
HW_VAR_HW_SEQ_ENABLE 
HW_VAR_CORRECT_TSF 
HW_VAR_BCN_VALID 
HW_VAR_FWLPS_RF_ON 
HW_VAR_DUAL_TSF_RST 
HW_VAR_SWITCH_EPHY_WoWLAN 
HW_VAR_INT_MIGRATION 
HW_VAR_INT_AC 
HW_VAR_RF_TIMING 

Definition at line 342 of file rtllib.h.

Enumerator:
IG_Backup 
IG_Restore 
IG_Max 

Definition at line 651 of file rtllib.h.

Enumerator:
IPS_CALLBACK_NONE 
IPS_CALLBACK_MGNT_LINK_REQUEST 
IPS_CALLBACK_JOIN_REQUEST 

Definition at line 1776 of file rtllib.h.

Enumerator:
LED_CTL_POWER_ON 
LED_CTL_LINK 
LED_CTL_NO_LINK 
LED_CTL_TX 
LED_CTL_RX 
LED_CTL_SITE_SURVEY 
LED_CTL_POWER_OFF 
LED_CTL_START_TO_LINK 
LED_CTL_START_WPS 
LED_CTL_STOP_WPS 
LED_CTL_POWER_ON 
LED_CTL_LINK 
LED_CTL_NO_LINK 
LED_CTL_TX 
LED_CTL_RX 
LED_CTL_SITE_SURVEY 
LED_CTL_POWER_OFF 
LED_CTL_START_TO_LINK 
LED_CTL_START_WPS 
LED_CTL_STOP_WPS 
LED_CTL_START_WPS_BOTTON 
LED_CTL_STOP_WPS_FAIL 
LED_CTL_STOP_WPS_FAIL_OVERLAP 

Definition at line 657 of file rtllib.h.

Enumerator:
RATR_INX_WIRELESS_NGB 
RATR_INX_WIRELESS_NG 
RATR_INX_WIRELESS_NB 
RATR_INX_WIRELESS_N 
RATR_INX_WIRELESS_GB 
RATR_INX_WIRELESS_G 
RATR_INX_WIRELESS_B 
RATR_INX_WIRELESS_MC 
RATR_INX_WIRELESS_A 

Definition at line 2002 of file rtllib.h.

Enumerator:
RT_JOIN_INFRA 
RT_JOIN_IBSS 
RT_START_IBSS 
RT_NO_ACTION 

Definition at line 1782 of file rtllib.h.

enum rt_op_mode
Enumerator:
RT_OP_MODE_AP 
RT_OP_MODE_INFRASTRUCTURE 
RT_OP_MODE_IBSS 
RT_OP_MODE_NO_LINK 

Definition at line 433 of file rtllib.h.

enum rt_ps_mode
Enumerator:
eActive 
eMaxPs 
eFastPs 
eAutoPs 

Definition at line 1769 of file rtllib.h.

Enumerator:
eRfOn 
eRfSleep 
eRfOff 

Definition at line 1794 of file rtllib.h.

Enumerator:
RF_1T2R 
RF_2T4R 
RF_2T2R 
RF_1T1R 
RF_2T2R_GREEN 
RF_819X_MAX_TYPE 

Definition at line 673 of file rtllib.h.

Enumerator:
MFIE_TYPE_SSID 
MFIE_TYPE_RATES 
MFIE_TYPE_FH_SET 
MFIE_TYPE_DS_SET 
MFIE_TYPE_CF_SET 
MFIE_TYPE_TIM 
MFIE_TYPE_IBSS_SET 
MFIE_TYPE_COUNTRY 
MFIE_TYPE_HOP_PARAMS 
MFIE_TYPE_HOP_TABLE 
MFIE_TYPE_REQUEST 
MFIE_TYPE_CHALLENGE 
MFIE_TYPE_POWER_CONSTRAINT 
MFIE_TYPE_POWER_CAPABILITY 
MFIE_TYPE_TPC_REQUEST 
MFIE_TYPE_TPC_REPORT 
MFIE_TYPE_SUPP_CHANNELS 
MFIE_TYPE_CSA 
MFIE_TYPE_MEASURE_REQUEST 
MFIE_TYPE_MEASURE_REPORT 
MFIE_TYPE_QUIET 
MFIE_TYPE_IBSS_DFS 
MFIE_TYPE_ERP 
MFIE_TYPE_HT_CAP 
MFIE_TYPE_RSN 
MFIE_TYPE_RATES_EX 
MFIE_TYPE_HT_INFO 
MFIE_TYPE_AIRONET 
MFIE_TYPE_GENERIC 
MFIE_TYPE_QOS_PARAMETER 

Definition at line 1115 of file rtllib.h.

Enumerator:
RTLLIB_NOLINK 
RTLLIB_ASSOCIATING 
RTLLIB_ASSOCIATING_RETRY 
RTLLIB_ASSOCIATING_AUTHENTICATING 
RTLLIB_ASSOCIATING_AUTHENTICATED 
RTLLIB_LINKED 
RTLLIB_LINKED_SCANNING 

Definition at line 1672 of file rtllib.h.

Enumerator:
SCAN_OPT_BACKUP 
SCAN_OPT_RESTORE 
SCAN_OPT_MAX 

Definition at line 1905 of file rtllib.h.

Enumerator:
CmdID_End 
CmdID_SetTxPowerLevel 
CmdID_BBRegWrite10 
CmdID_WritePortUlong 
CmdID_WritePortUshort 
CmdID_WritePortUchar 
CmdID_RF_WriteReg 

Definition at line 216 of file rtllib.h.

enum ts_action
Enumerator:
ACT_ADDTSREQ 
ACT_ADDTSRSP 
ACT_DELTS 
ACT_SCHEDULE 

Definition at line 638 of file rtllib.h.

Enumerator:
WIRELESS_MODE_UNKNOWN 
WIRELESS_MODE_A 
WIRELESS_MODE_B 
WIRELESS_MODE_G 
WIRELESS_MODE_AUTO 
WIRELESS_MODE_N_24G 
WIRELESS_MODE_N_5G 
WIRELESS_MODE_UNKNOWN 
WIRELESS_MODE_A 
WIRELESS_MODE_B 
WIRELESS_MODE_G 
WIRELESS_MODE_AUTO 
WIRELESS_MODE_N_24G 
WIRELESS_MODE_N_5G 

Definition at line 682 of file rtllib.h.

Enumerator:
WIRELESS_11B 
WIRELESS_11G 
WIRELESS_11A 
WIRELESS_11N 

Definition at line 692 of file rtllib.h.

Enumerator:
eNetBIOS 
eIPv4IPv6ARP 
eIPv4IPv6TCPSYN 
eMACIDOnly 
eNoDefined 

Definition at line 1805 of file rtllib.h.

Function Documentation

struct net_device* alloc_rtllib ( int  sizeof_priv)
read

Definition at line 103 of file rtllib_module.c.

void BaSetupTimeOut ( unsigned long  data)

Definition at line 534 of file rtl819x_BAProc.c.

void free_rtllib ( struct net_device dev)

Definition at line 189 of file rtllib_module.c.

bool GetTs ( struct rtllib_device ieee,
struct ts_common_info **  ppTS,
u8 Addr,
u8  TID,
enum tr_select  TxRxSelect,
bool  bAddNewTs 
)

Definition at line 309 of file rtl819x_TSProc.c.

void HT_update_self_and_peer_setting ( struct rtllib_device ieee,
struct rtllib_network pNetwork 
)

Definition at line 946 of file rtl819x_HTProc.c.

u8 HTCCheck ( struct rtllib_device ieee,
u8 pFrame 
)

Definition at line 997 of file rtl819x_HTProc.c.

void HTConstructCapabilityElement ( struct rtllib_device ieee,
u8 posHTCap,
u8 len,
u8  isEncrypt,
bool  bAssoc 
)

Definition at line 445 of file rtl819x_HTProc.c.

void HTConstructInfoElement ( struct rtllib_device ieee,
u8 posHTInfo,
u8 len,
u8  isEncrypt 
)

Definition at line 527 of file rtl819x_HTProc.c.

void HTConstructRT2RTAggElement ( struct rtllib_device ieee,
u8 posRT2RTAgg,
u8 len 
)

Definition at line 570 of file rtl819x_HTProc.c.

void HTDebugHTCapability ( u8 CapIE,
u8 TitleString 
)

Definition at line 120 of file rtl819x_HTProc.c.

void HTDebugHTInfo ( u8 InfoIE,
u8 TitleString 
)

Definition at line 158 of file rtl819x_HTProc.c.

u8 HTFilterMCSRate ( struct rtllib_device ieee,
u8 pSupportMCS,
u8 pOperateMCS 
)

Definition at line 663 of file rtl819x_HTProc.c.

u8 HTGetHighestMCSRate ( struct rtllib_device ieee,
u8 pMCSRateSet,
u8 pMCSFilter 
)

Definition at line 625 of file rtl819x_HTProc.c.

u16 HTHalfMcsToDataRate ( struct rtllib_device ieee,
u8  nMcsRate 
)

Definition at line 262 of file rtl819x_HTProc.c.

void HTInitializeBssDesc ( struct bss_ht pBssHT)

Definition at line 855 of file rtl819x_HTProc.c.

void HTInitializeHTInfo ( struct rtllib_device ieee)

Definition at line 804 of file rtl819x_HTProc.c.

u16 HTMcsToDataRate ( struct rtllib_device ieee,
u8  nMcsRate 
)

Definition at line 275 of file rtl819x_HTProc.c.

void HTOnAssocRsp ( struct rtllib_device ieee)

Definition at line 687 of file rtl819x_HTProc.c.

void HTResetIOTSetting ( struct rt_hi_throughput pHTInfo)

Definition at line 438 of file rtl819x_HTProc.c.

void HTResetSelfAndSavePeerSetting ( struct rtllib_device ieee,
struct rtllib_network pNetwork 
)

Definition at line 871 of file rtl819x_HTProc.c.

void HTSetConnectBwMode ( struct rtllib_device ieee,
enum ht_channel_width  Bandwidth,
enum ht_extchnl_offset  Offset 
)

Definition at line 1037 of file rtl819x_HTProc.c.

void HTUpdateDefaultSetting ( struct rtllib_device ieee)

Definition at line 82 of file rtl819x_HTProc.c.

void HTUseDefaultSetting ( struct rtllib_device ieee)

Definition at line 960 of file rtl819x_HTProc.c.

bool IsHTHalfNmodeAPs ( struct rtllib_device ieee)

Definition at line 314 of file rtl819x_HTProc.c.

u8 MgntQuery_MgntFrameTxRate ( struct rtllib_device ieee)

Definition at line 195 of file rtllib_softmac.c.

u8 MgntQuery_TxRateExcludeCCKRates ( struct rtllib_device ieee)

Definition at line 169 of file rtllib_softmac.c.

void notify_wx_assoc_event ( struct rtllib_device ieee)

Definition at line 3726 of file rtllib_softmac.c.

void RemoveAllTS ( struct rtllib_device ieee)

Definition at line 502 of file rtl819x_TSProc.c.

void RemovePeerTS ( struct rtllib_device ieee,
u8 Addr 
)

Definition at line 462 of file rtl819x_TSProc.c.

void ResetBaEntry ( struct ba_record pBA)

Definition at line 67 of file rtl819x_BAProc.c.

bool rtllib_act_scanning ( struct rtllib_device ieee,
bool  sync_scan 
)

Definition at line 738 of file rtllib_softmac.c.

u8 rtllib_ap_sec_type ( struct rtllib_device ieee)

Definition at line 3551 of file rtllib_softmac.c.

void rtllib_associate_abort ( struct rtllib_device ieee)

Definition at line 1419 of file rtllib_softmac.c.

void rtllib_ccmp_null ( void  )
void rtllib_check_all_nets ( struct rtllib_device ieee)
int rtllib_data_xmit ( struct sk_buff skb,
struct net_device dev 
)
void rtllib_DisableIntelPromiscuousMode ( struct net_device dev,
bool  bInitState 
)

Definition at line 478 of file rtllib_softmac.c.

void rtllib_DisableNetMonitorMode ( struct net_device dev,
bool  bInitState 
)

Definition at line 436 of file rtllib_softmac.c.

void rtllib_disassociate ( struct rtllib_device ieee)

Definition at line 2836 of file rtllib_softmac.c.

void rtllib_EnableIntelPromiscuousMode ( struct net_device dev,
bool  bInitState 
)

Definition at line 455 of file rtllib_softmac.c.

void rtllib_EnableNetMonitorMode ( struct net_device dev,
bool  bInitState 
)

Definition at line 420 of file rtllib_softmac.c.

int rtllib_encrypt_fragment ( struct rtllib_device ieee,
struct sk_buff frag,
int  hdr_len 
)

Definition at line 179 of file rtllib_tx.c.

void rtllib_FlushRxTsPendingPkts ( struct rtllib_device ieee,
struct rx_ts_record pTS 
)

Definition at line 519 of file rtllib_rx.c.

struct sk_buff* rtllib_get_beacon ( struct rtllib_device ieee)
read

Definition at line 2915 of file rtllib_softmac.c.

int rtllib_get_hdrlen ( u16  fc)
inline

Definition at line 2611 of file rtllib.h.

int rtllib_get_scans ( struct rtllib_device ieee)
inline

Definition at line 2950 of file rtllib.h.

void rtllib_increment_scans ( struct rtllib_device ieee)
inline

Definition at line 2945 of file rtllib.h.

void rtllib_indicate_packets ( struct rtllib_device ieee,
struct rtllib_rxb **  prxbIndicateArray,
u8  index 
)

Definition at line 469 of file rtllib_rx.c.

short rtllib_is_54g ( struct rtllib_network net)

Definition at line 25 of file rtllib_softmac.c.

int rtllib_is_empty_essid ( const char essid,
int  essid_len 
)
inline

Definition at line 2569 of file rtllib.h.

short rtllib_is_shortslot ( const struct rtllib_network net)

Definition at line 30 of file rtllib_softmac.c.

int rtllib_is_valid_mode ( struct rtllib_device ieee,
int  mode 
)
inline

Definition at line 2585 of file rtllib.h.

int rtllib_legal_channel ( struct rtllib_device rtllib,
u8  channel 
)

Definition at line 2495 of file rtllib_rx.c.

bool rtllib_MgntDisconnect ( struct rtllib_device rtllib,
u8  asRsn 
)

Definition at line 3709 of file rtllib_softmac.c.

int rtllib_parse_info_param ( struct rtllib_device ieee,
struct rtllib_info_element info_element,
u16  length,
struct rtllib_network network,
struct rtllib_rx_stats stats 
)

Definition at line 1741 of file rtllib_rx.c.

struct sk_buff* rtllib_probe_req ( struct rtllib_device ieee)
read

Definition at line 344 of file rtllib_softmac.c.

void rtllib_ps_tx_ack ( struct rtllib_device ieee,
short  success 
)

Definition at line 2150 of file rtllib_softmac.c.

u16 rtllib_query_seqnum ( struct rtllib_device ieee,
struct sk_buff skb,
u8 dst 
)

Definition at line 512 of file rtllib_tx.c.

void rtllib_reset_queue ( struct rtllib_device ieee)

Definition at line 2537 of file rtllib_softmac.c.

int rtllib_rx ( struct rtllib_device ieee,
struct sk_buff skb,
struct rtllib_rx_stats rx_stats 
)

Definition at line 1459 of file rtllib_rx.c.

int rtllib_rx_ADDBAReq ( struct rtllib_device ieee,
struct sk_buff skb 
)

Definition at line 238 of file rtl819x_BAProc.c.

int rtllib_rx_ADDBARsp ( struct rtllib_device ieee,
struct sk_buff skb 
)

Definition at line 324 of file rtl819x_BAProc.c.

int rtllib_rx_DELBA ( struct rtllib_device ieee,
struct sk_buff skb 
)

Definition at line 425 of file rtl819x_BAProc.c.

int rtllib_rx_frame_softmac ( struct rtllib_device ieee,
struct sk_buff skb,
struct rtllib_rx_stats rx_stats,
u16  type,
u16  stype 
)
inline

Definition at line 2407 of file rtllib_softmac.c.

void rtllib_rx_mgt ( struct rtllib_device ieee,
struct sk_buff skb,
struct rtllib_rx_stats stats 
)

Definition at line 2676 of file rtllib_rx.c.

void rtllib_rx_probe_rq ( struct rtllib_device ieee,
struct sk_buff skb 
)

Definition at line 1923 of file rtllib_softmac.c.

void rtllib_send_probe_requests ( struct rtllib_device ieee,
u8  is_mesh 
)

Definition at line 506 of file rtllib_softmac.c.

int rtllib_set_encryption ( struct rtllib_device ieee)
void rtllib_softmac_check_all_nets ( struct rtllib_device ieee)

Definition at line 1765 of file rtllib_softmac.c.

void rtllib_softmac_free ( struct rtllib_device ieee)

Definition at line 3144 of file rtllib_softmac.c.

void rtllib_softmac_init ( struct rtllib_device ieee)

Definition at line 3049 of file rtllib_softmac.c.

void rtllib_softmac_new_net ( struct rtllib_device ieee,
struct rtllib_network net 
)
inline

Definition at line 1631 of file rtllib_softmac.c.

void rtllib_softmac_scan_syncro ( struct rtllib_device ieee,
u8  is_mesh 
)

Definition at line 528 of file rtllib_softmac.c.

void rtllib_softmac_start_protocol ( struct rtllib_device ieee,
u8  mesh_flag 
)

Definition at line 2987 of file rtllib_softmac.c.

void rtllib_softmac_stop_protocol ( struct rtllib_device ieee,
u8  mesh_flag,
u8  shutdown 
)

Definition at line 2936 of file rtllib_softmac.c.

void rtllib_softmac_xmit ( struct rtllib_txb txb,
struct rtllib_device ieee 
)

Definition at line 2464 of file rtllib_softmac.c.

void rtllib_sta_ps_send_null_frame ( struct rtllib_device ieee,
short  pwr 
)

Definition at line 1958 of file rtllib_softmac.c.

void rtllib_sta_ps_send_pspoll_frame ( struct rtllib_device ieee)

Definition at line 1968 of file rtllib_softmac.c.

void rtllib_sta_wakeup ( struct rtllib_device ieee,
short  nl 
)

Definition at line 2114 of file rtllib_softmac.c.

void rtllib_start_bss ( struct rtllib_device ieee)

Definition at line 2801 of file rtllib_softmac.c.

void rtllib_start_ibss ( struct rtllib_device ieee)
inline

Definition at line 2795 of file rtllib_softmac.c.

void rtllib_start_master_bss ( struct rtllib_device ieee)

Definition at line 2627 of file rtllib_softmac.c.

void rtllib_start_protocol ( struct rtllib_device ieee)

Definition at line 2995 of file rtllib_softmac.c.

void rtllib_start_scan_syncro ( struct rtllib_device ieee,
u8  is_mesh 
)

Definition at line 776 of file rtllib_softmac.c.

void rtllib_start_send_beacons ( struct rtllib_device ieee)

Definition at line 692 of file rtllib_softmac.c.

void rtllib_stop_all_queues ( struct rtllib_device ieee)

Definition at line 2606 of file rtllib_softmac.c.

void rtllib_stop_protocol ( struct rtllib_device ieee,
u8  shutdown 
)

Definition at line 2947 of file rtllib_softmac.c.

void rtllib_stop_queue ( struct rtllib_device ieee)

Definition at line 2595 of file rtllib_softmac.c.

void rtllib_stop_scan ( struct rtllib_device ieee)

Definition at line 716 of file rtllib_softmac.c.

void rtllib_stop_scan_syncro ( struct rtllib_device ieee)

Definition at line 727 of file rtllib_softmac.c.

void rtllib_stop_send_beacons ( struct rtllib_device ieee)

Definition at line 682 of file rtllib_softmac.c.

void rtllib_tkip_null ( void  )
void rtllib_TURBO_Info ( struct rtllib_device ieee,
u8 **  tag_p 
)

Definition at line 112 of file rtllib_softmac.c.

void rtllib_txb_free ( struct rtllib_txb )

Definition at line 215 of file rtllib_tx.c.

void rtllib_update_active_chan_map ( struct rtllib_device ieee)

Definition at line 519 of file rtllib_softmac.c.

void rtllib_wake_all_queues ( struct rtllib_device ieee)

Definition at line 2615 of file rtllib_softmac.c.

void rtllib_wake_queue ( struct rtllib_device ieee)

Definition at line 2553 of file rtllib_softmac.c.

void rtllib_wep_null ( void  )
int rtllib_wpa_supplicant_ioctl ( struct rtllib_device ieee,
struct iw_point p,
u8  is_mesh 
)

Definition at line 3580 of file rtllib_softmac.c.

int rtllib_wx_get_encode ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char key 
)

Definition at line 474 of file rtllib_wx.c.

int rtllib_wx_get_essid ( struct rtllib_device ieee,
struct iw_request_info a,
union iwreq_data wrqu,
char b 
)

Definition at line 193 of file rtllib_softmac_wx.c.

int rtllib_wx_get_freq ( struct rtllib_device ieee,
struct iw_request_info a,
union iwreq_data wrqu,
char b 
)

Definition at line 90 of file rtllib_softmac_wx.c.

int rtllib_wx_get_mode ( struct rtllib_device ieee,
struct iw_request_info a,
union iwreq_data wrqu,
char b 
)

Definition at line 507 of file rtllib_softmac_wx.c.

int rtllib_wx_get_name ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 552 of file rtllib_softmac_wx.c.

int rtllib_wx_get_power ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 627 of file rtllib_softmac_wx.c.

int rtllib_wx_get_rate ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 242 of file rtllib_softmac_wx.c.

int rtllib_wx_get_rts ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 272 of file rtllib_softmac_wx.c.

int rtllib_wx_get_scan ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char key 
)

Definition at line 254 of file rtllib_wx.c.

int rtllib_wx_get_wap ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char ext 
)

Definition at line 105 of file rtllib_softmac_wx.c.

int rtllib_wx_set_auth ( struct rtllib_device ieee,
struct iw_request_info info,
struct iw_param data,
char extra 
)

Definition at line 785 of file rtllib_wx.c.

int rtllib_wx_set_encode ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char key 
)

Definition at line 299 of file rtllib_wx.c.

int rtllib_wx_set_essid ( struct rtllib_device ieee,
struct iw_request_info a,
union iwreq_data wrqu,
char extra 
)

Definition at line 444 of file rtllib_softmac_wx.c.

int rtllib_wx_set_freq ( struct rtllib_device ieee,
struct iw_request_info a,
union iwreq_data wrqu,
char b 
)

Definition at line 32 of file rtllib_softmac_wx.c.

int rtllib_wx_set_gen_ie ( struct rtllib_device ieee,
u8 ie,
size_t  len 
)

Definition at line 838 of file rtllib_wx.c.

int rtllib_wx_set_mlme ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 737 of file rtllib_wx.c.

int rtllib_wx_set_mode ( struct rtllib_device ieee,
struct iw_request_info a,
union iwreq_data wrqu,
char b 
)

Definition at line 283 of file rtllib_softmac_wx.c.

int rtllib_wx_set_power ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 570 of file rtllib_softmac_wx.c.

int rtllib_wx_set_rate ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 230 of file rtllib_softmac_wx.c.

int rtllib_wx_set_rawtx ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 515 of file rtllib_softmac_wx.c.

int rtllib_wx_set_rts ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 256 of file rtllib_softmac_wx.c.

int rtllib_wx_set_scan ( struct rtllib_device ieee,
struct iw_request_info a,
union iwreq_data wrqu,
char b 
)

Definition at line 420 of file rtllib_softmac_wx.c.

int rtllib_wx_set_wap ( struct rtllib_device ieee,
struct iw_request_info info,
union iwreq_data awrq,
char extra 
)

Definition at line 135 of file rtllib_softmac_wx.c.

void rtllib_wx_sync_scan_wq ( void data)

Definition at line 329 of file rtllib_softmac_wx.c.

int rtllib_xmit ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 963 of file rtllib_tx.c.

int rtllib_xmit_inter ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 551 of file rtllib_tx.c.

void RxBaInactTimeout ( unsigned long  data)

Definition at line 554 of file rtl819x_BAProc.c.

void SendDisassociation ( struct rtllib_device ieee,
bool  deauth,
u16  asRsn 
)

Definition at line 3537 of file rtllib_softmac.c.

void softmac_mgmt_xmit ( struct sk_buff skb,
struct rtllib_device ieee 
)
inline

Definition at line 217 of file rtllib_softmac.c.

void TsInitAddBA ( struct rtllib_device ieee,
struct tx_ts_record pTS,
u8  Policy,
u8  bOverwritePending 
)

Definition at line 486 of file rtl819x_BAProc.c.

void TsInitDelBA ( struct rtllib_device ieee,
struct ts_common_info pTsCommonInfo,
enum tr_select  TxRxSelect 
)

Definition at line 510 of file rtl819x_BAProc.c.

void TSInitialize ( struct rtllib_device ieee)

Definition at line 140 of file rtl819x_TSProc.c.

void TsStartAddBaProcess ( struct rtllib_device ieee,
struct tx_ts_record pTxTS 
)

Definition at line 531 of file rtl819x_TSProc.c.

void TxBaInactTimeout ( unsigned long  data)

Definition at line 543 of file rtl819x_BAProc.c.

u16 TxCountToDataRate ( struct rtllib_device ieee,
u8  nDataRate 
)

Definition at line 286 of file rtl819x_HTProc.c.

Variable Documentation

u16 MCS_DATA_RATE[2][2][77]

Definition at line 31 of file rtl819x_HTProc.c.

u8 MCS_FILTER_ALL[]

Definition at line 21 of file rtl819x_HTProc.c.

u32 rtllib_debug_level

Definition at line 205 of file rtllib_module.c.

const long rtllib_wlan_frequencies[]

Definition at line 23 of file rtllib_softmac_wx.c.