Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rtllib_softmac.c File Reference
#include "rtllib.h"
#include <linux/random.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
#include <linux/etherdevice.h>
#include "dot11d.h"

Go to the source code of this file.

Macros

#define CANCELLED   2
 
#define AUTH_ALG_OPEN_SYSTEM   0x1
 
#define AUTH_ALG_SHARED_KEY   0x2
 
#define AUTH_ALG_LEAP   0x4
 

Functions

short rtllib_is_54g (struct rtllib_network *net)
 
short rtllib_is_shortslot (const struct rtllib_network *net)
 
void rtllib_TURBO_Info (struct rtllib_device *ieee, u8 **tag_p)
 
u8 MgntQuery_TxRateExcludeCCKRates (struct rtllib_device *ieee)
 
u8 MgntQuery_MgntFrameTxRate (struct rtllib_device *ieee)
 
void softmac_mgmt_xmit (struct sk_buff *skb, struct rtllib_device *ieee)
 
void softmac_ps_mgmt_xmit (struct sk_buff *skb, struct rtllib_device *ieee)
 
struct sk_buffrtllib_probe_req (struct rtllib_device *ieee)
 
struct sk_buffrtllib_get_beacon_ (struct rtllib_device *ieee)
 
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)
 
 EXPORT_SYMBOL (rtllib_EnableIntelPromiscuousMode)
 
void rtllib_DisableIntelPromiscuousMode (struct net_device *dev, bool bInitState)
 
 EXPORT_SYMBOL (rtllib_DisableIntelPromiscuousMode)
 
void rtllib_send_probe_requests (struct rtllib_device *ieee, u8 is_mesh)
 
void rtllib_update_active_chan_map (struct rtllib_device *ieee)
 
void rtllib_softmac_scan_syncro (struct rtllib_device *ieee, u8 is_mesh)
 
void rtllib_stop_send_beacons (struct rtllib_device *ieee)
 
 EXPORT_SYMBOL (rtllib_stop_send_beacons)
 
void rtllib_start_send_beacons (struct rtllib_device *ieee)
 
 EXPORT_SYMBOL (rtllib_start_send_beacons)
 
void rtllib_stop_scan (struct rtllib_device *ieee)
 
 EXPORT_SYMBOL (rtllib_stop_scan)
 
void rtllib_stop_scan_syncro (struct rtllib_device *ieee)
 
 EXPORT_SYMBOL (rtllib_stop_scan_syncro)
 
bool rtllib_act_scanning (struct rtllib_device *ieee, bool sync_scan)
 
 EXPORT_SYMBOL (rtllib_act_scanning)
 
void rtllib_start_scan_syncro (struct rtllib_device *ieee, u8 is_mesh)
 
 EXPORT_SYMBOL (rtllib_start_scan_syncro)
 
struct sk_buffrtllib_authentication_req (struct rtllib_network *beacon, struct rtllib_device *ieee, int challengelen, u8 *daddr)
 
int SecIsInPMKIDList (struct rtllib_device *ieee, u8 *bssid)
 
struct sk_buffrtllib_association_req (struct rtllib_network *beacon, struct rtllib_device *ieee)
 
void rtllib_associate_abort (struct rtllib_device *ieee)
 
void rtllib_softmac_new_net (struct rtllib_device *ieee, struct rtllib_network *net)
 
void rtllib_softmac_check_all_nets (struct rtllib_device *ieee)
 
void rtllib_rx_probe_rq (struct rtllib_device *ieee, struct sk_buff *skb)
 
void rtllib_sta_ps_send_null_frame (struct rtllib_device *ieee, short pwr)
 
 EXPORT_SYMBOL (rtllib_sta_ps_send_null_frame)
 
void rtllib_sta_ps_send_pspoll_frame (struct rtllib_device *ieee)
 
void rtllib_sta_wakeup (struct rtllib_device *ieee, short nl)
 
void rtllib_ps_tx_ack (struct rtllib_device *ieee, short success)
 
 EXPORT_SYMBOL (rtllib_ps_tx_ack)
 
int rtllib_rx_assoc_resp (struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats)
 
int rtllib_rx_auth (struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats)
 
int rtllib_rx_deauth (struct rtllib_device *ieee, struct sk_buff *skb)
 
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_xmit (struct rtllib_txb *txb, struct rtllib_device *ieee)
 
void rtllib_reset_queue (struct rtllib_device *ieee)
 
 EXPORT_SYMBOL (rtllib_reset_queue)
 
void rtllib_wake_queue (struct rtllib_device *ieee)
 
void rtllib_stop_queue (struct rtllib_device *ieee)
 
void rtllib_stop_all_queues (struct rtllib_device *ieee)
 
void rtllib_wake_all_queues (struct rtllib_device *ieee)
 
void rtllib_randomize_cell (struct rtllib_device *ieee)
 
void rtllib_start_master_bss (struct rtllib_device *ieee)
 
void rtllib_start_ibss (struct rtllib_device *ieee)
 
void rtllib_start_bss (struct rtllib_device *ieee)
 
void rtllib_disassociate (struct rtllib_device *ieee)
 
struct sk_buffrtllib_get_beacon (struct rtllib_device *ieee)
 
 EXPORT_SYMBOL (rtllib_get_beacon)
 
void rtllib_softmac_stop_protocol (struct rtllib_device *ieee, u8 mesh_flag, u8 shutdown)
 
 EXPORT_SYMBOL (rtllib_softmac_stop_protocol)
 
void rtllib_stop_protocol (struct rtllib_device *ieee, u8 shutdown)
 
void rtllib_softmac_start_protocol (struct rtllib_device *ieee, u8 mesh_flag)
 
 EXPORT_SYMBOL (rtllib_softmac_start_protocol)
 
void rtllib_start_protocol (struct rtllib_device *ieee)
 
void rtllib_softmac_init (struct rtllib_device *ieee)
 
void rtllib_softmac_free (struct rtllib_device *ieee)
 
struct sk_buffrtllib_disauth_skb (struct rtllib_network *beacon, struct rtllib_device *ieee, u16 asRsn)
 
struct sk_buffrtllib_disassociate_skb (struct rtllib_network *beacon, struct rtllib_device *ieee, u16 asRsn)
 
void SendDisassociation (struct rtllib_device *ieee, bool deauth, u16 asRsn)
 
u8 rtllib_ap_sec_type (struct rtllib_device *ieee)
 
int rtllib_wpa_supplicant_ioctl (struct rtllib_device *ieee, struct iw_point *p, u8 is_mesh)
 
 EXPORT_SYMBOL (rtllib_wpa_supplicant_ioctl)
 
void rtllib_MgntDisconnectIBSS (struct rtllib_device *rtllib)
 
void rtllib_MlmeDisassociateRequest (struct rtllib_device *rtllib, u8 *asSta, u8 asRsn)
 
void rtllib_MgntDisconnectAP (struct rtllib_device *rtllib, u8 asRsn)
 
bool rtllib_MgntDisconnect (struct rtllib_device *rtllib, u8 asRsn)
 
 EXPORT_SYMBOL (rtllib_MgntDisconnect)
 
void notify_wx_assoc_event (struct rtllib_device *ieee)
 
 EXPORT_SYMBOL (notify_wx_assoc_event)
 

Macro Definition Documentation

#define AUTH_ALG_LEAP   0x4

Definition at line 3235 of file rtllib_softmac.c.

#define AUTH_ALG_OPEN_SYSTEM   0x1

Definition at line 3233 of file rtllib_softmac.c.

#define AUTH_ALG_SHARED_KEY   0x2

Definition at line 3234 of file rtllib_softmac.c.

#define CANCELLED   2

Definition at line 1528 of file rtllib_softmac.c.

Function Documentation

EXPORT_SYMBOL ( rtllib_EnableIntelPromiscuousMode  )
EXPORT_SYMBOL ( rtllib_stop_send_beacons  )
EXPORT_SYMBOL ( rtllib_start_send_beacons  )
EXPORT_SYMBOL ( rtllib_stop_scan  )
EXPORT_SYMBOL ( rtllib_stop_scan_syncro  )
EXPORT_SYMBOL ( rtllib_act_scanning  )
EXPORT_SYMBOL ( rtllib_start_scan_syncro  )
EXPORT_SYMBOL ( rtllib_sta_ps_send_null_frame  )
EXPORT_SYMBOL ( rtllib_ps_tx_ack  )
EXPORT_SYMBOL ( rtllib_reset_queue  )
EXPORT_SYMBOL ( rtllib_get_beacon  )
EXPORT_SYMBOL ( rtllib_softmac_stop_protocol  )
EXPORT_SYMBOL ( rtllib_softmac_start_protocol  )
EXPORT_SYMBOL ( rtllib_wpa_supplicant_ioctl  )
EXPORT_SYMBOL ( rtllib_MgntDisconnect  )
EXPORT_SYMBOL ( notify_wx_assoc_event  )
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.

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.

struct sk_buff* rtllib_association_req ( struct rtllib_network beacon,
struct rtllib_device ieee 
)
read

Definition at line 1166 of file rtllib_softmac.c.

struct sk_buff* rtllib_authentication_req ( struct rtllib_network beacon,
struct rtllib_device ieee,
int  challengelen,
u8 daddr 
)
read

Definition at line 792 of file rtllib_softmac.c.

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.

struct sk_buff* rtllib_disassociate_skb ( struct rtllib_network beacon,
struct rtllib_device ieee,
u16  asRsn 
)
read

Definition at line 3511 of file rtllib_softmac.c.

struct sk_buff* rtllib_disauth_skb ( struct rtllib_network beacon,
struct rtllib_device ieee,
u16  asRsn 
)
read

Definition at line 3485 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.

struct sk_buff* rtllib_get_beacon ( struct rtllib_device ieee)
read

Definition at line 2915 of file rtllib_softmac.c.

struct sk_buff * rtllib_get_beacon_ ( struct rtllib_device ieee)
read

Definition at line 2897 of file rtllib_softmac.c.

short rtllib_is_54g ( struct rtllib_network net)

Definition at line 25 of file rtllib_softmac.c.

short rtllib_is_shortslot ( const struct rtllib_network net)

Definition at line 30 of file rtllib_softmac.c.

bool rtllib_MgntDisconnect ( struct rtllib_device rtllib,
u8  asRsn 
)

Definition at line 3709 of file rtllib_softmac.c.

void rtllib_MgntDisconnectAP ( struct rtllib_device rtllib,
u8  asRsn 
)

Definition at line 3693 of file rtllib_softmac.c.

void rtllib_MgntDisconnectIBSS ( struct rtllib_device rtllib)

Definition at line 3641 of file rtllib_softmac.c.

void rtllib_MlmeDisassociateRequest ( struct rtllib_device rtllib,
u8 asSta,
u8  asRsn 
)

Definition at line 3666 of file rtllib_softmac.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.

void rtllib_randomize_cell ( struct rtllib_device ieee)
inline

Definition at line 2620 of file rtllib_softmac.c.

void rtllib_reset_queue ( struct rtllib_device ieee)

Definition at line 2537 of file rtllib_softmac.c.

int rtllib_rx_assoc_resp ( struct rtllib_device ieee,
struct sk_buff skb,
struct rtllib_rx_stats rx_stats 
)
inline

Definition at line 2215 of file rtllib_softmac.c.

int rtllib_rx_auth ( struct rtllib_device ieee,
struct sk_buff skb,
struct rtllib_rx_stats rx_stats 
)
inline

Definition at line 2298 of file rtllib_softmac.c.

int rtllib_rx_deauth ( struct rtllib_device ieee,
struct sk_buff skb 
)
inline

Definition at line 2372 of file rtllib_softmac.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_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.

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_TURBO_Info ( struct rtllib_device ieee,
u8 **  tag_p 
)

Definition at line 112 of file rtllib_softmac.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.

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 SecIsInPMKIDList ( struct rtllib_device ieee,
u8 bssid 
)
inline

Definition at line 1149 of file rtllib_softmac.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 softmac_ps_mgmt_xmit ( struct sk_buff skb,
struct rtllib_device ieee 
)
inline

Definition at line 289 of file rtllib_softmac.c.