aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/ieee80211
diff options
context:
space:
mode:
authorMike McCormack <mikem@ring3k.org>2011-02-06 08:53:12 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-09 14:50:17 -0500
commit427bf120b67a098f0ab4ebb84ee238afcfc0c689 (patch)
treea250aa8719cd3deb0c2803937c95ccdf9271f365 /drivers/staging/rtl8192e/ieee80211
parentc8a0064cb7c9f12220f37ba52f4616a78bf9ddd5 (diff)
staging: rtl8192e: Remove redundant externs
Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192e/ieee80211')
-rw-r--r--drivers/staging/rtl8192e/ieee80211/ieee80211.h222
1 files changed, 109 insertions, 113 deletions
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211.h b/drivers/staging/rtl8192e/ieee80211/ieee80211.h
index 933c800d640..9a5f788d97c 100644
--- a/drivers/staging/rtl8192e/ieee80211/ieee80211.h
+++ b/drivers/staging/rtl8192e/ieee80211/ieee80211.h
@@ -2587,205 +2587,202 @@ static inline int ieee80211_is_cck_rate(u8 rate)
2587 2587
2588 2588
2589/* ieee80211.c */ 2589/* ieee80211.c */
2590extern void free_ieee80211(struct net_device *dev); 2590void free_ieee80211(struct net_device *dev);
2591extern struct net_device *alloc_ieee80211(int sizeof_priv); 2591struct net_device *alloc_ieee80211(int sizeof_priv);
2592 2592
2593extern int ieee80211_set_encryption(struct ieee80211_device *ieee); 2593int ieee80211_set_encryption(struct ieee80211_device *ieee);
2594 2594
2595/* ieee80211_tx.c */ 2595/* ieee80211_tx.c */
2596 2596
2597extern int ieee80211_encrypt_fragment( 2597int ieee80211_encrypt_fragment(
2598 struct ieee80211_device *ieee, 2598 struct ieee80211_device *ieee,
2599 struct sk_buff *frag, 2599 struct sk_buff *frag,
2600 int hdr_len); 2600 int hdr_len);
2601 2601
2602extern int ieee80211_rtl_xmit(struct sk_buff *skb, 2602int ieee80211_rtl_xmit(struct sk_buff *skb,
2603 struct net_device *dev); 2603 struct net_device *dev);
2604extern void ieee80211_txb_free(struct ieee80211_txb *); 2604void ieee80211_txb_free(struct ieee80211_txb *);
2605 2605
2606 2606
2607/* ieee80211_rx.c */ 2607/* ieee80211_rx.c */
2608extern int ieee80211_rtl_rx(struct ieee80211_device *ieee, struct sk_buff *skb, 2608int ieee80211_rtl_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
2609 struct ieee80211_rx_stats *rx_stats); 2609 struct ieee80211_rx_stats *rx_stats);
2610extern void ieee80211_rx_mgt(struct ieee80211_device *ieee, 2610void ieee80211_rx_mgt(struct ieee80211_device *ieee,
2611 struct ieee80211_hdr_4addr *header, 2611 struct ieee80211_hdr_4addr *header,
2612 struct ieee80211_rx_stats *stats); 2612 struct ieee80211_rx_stats *stats);
2613 2613
2614/* ieee80211_wx.c */ 2614/* ieee80211_wx.c */
2615extern int ieee80211_wx_get_scan(struct ieee80211_device *ieee, 2615int ieee80211_wx_get_scan(struct ieee80211_device *ieee,
2616 struct iw_request_info *info, 2616 struct iw_request_info *info,
2617 union iwreq_data *wrqu, char *key); 2617 union iwreq_data *wrqu, char *key);
2618extern int ieee80211_wx_set_encode(struct ieee80211_device *ieee, 2618int ieee80211_wx_set_encode(struct ieee80211_device *ieee,
2619 struct iw_request_info *info, 2619 struct iw_request_info *info,
2620 union iwreq_data *wrqu, char *key); 2620 union iwreq_data *wrqu, char *key);
2621extern int ieee80211_wx_get_encode(struct ieee80211_device *ieee, 2621int ieee80211_wx_get_encode(struct ieee80211_device *ieee,
2622 struct iw_request_info *info, 2622 struct iw_request_info *info,
2623 union iwreq_data *wrqu, char *key); 2623 union iwreq_data *wrqu, char *key);
2624#if WIRELESS_EXT >= 18 2624#if WIRELESS_EXT >= 18
2625extern int ieee80211_wx_get_encode_ext(struct ieee80211_device *ieee, 2625int ieee80211_wx_get_encode_ext(struct ieee80211_device *ieee,
2626 struct iw_request_info *info, 2626 struct iw_request_info *info,
2627 union iwreq_data* wrqu, char *extra); 2627 union iwreq_data* wrqu, char *extra);
2628extern int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee, 2628int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee,
2629 struct iw_request_info *info, 2629 struct iw_request_info *info,
2630 union iwreq_data* wrqu, char *extra); 2630 union iwreq_data* wrqu, char *extra);
2631extern int ieee80211_wx_set_auth(struct ieee80211_device *ieee, 2631int ieee80211_wx_set_auth(struct ieee80211_device *ieee,
2632 struct iw_request_info *info, 2632 struct iw_request_info *info,
2633 struct iw_param *data, char *extra); 2633 struct iw_param *data, char *extra);
2634extern int ieee80211_wx_set_mlme(struct ieee80211_device *ieee, 2634int ieee80211_wx_set_mlme(struct ieee80211_device *ieee,
2635 struct iw_request_info *info, 2635 struct iw_request_info *info,
2636 union iwreq_data *wrqu, char *extra); 2636 union iwreq_data *wrqu, char *extra);
2637#endif 2637#endif
2638extern int ieee80211_wx_set_gen_ie(struct ieee80211_device *ieee, u8 *ie, size_t len); 2638int ieee80211_wx_set_gen_ie(struct ieee80211_device *ieee, u8 *ie, size_t len);
2639 2639
2640/* ieee80211_softmac.c */ 2640/* ieee80211_softmac.c */
2641extern short ieee80211_is_54g(struct ieee80211_network net); 2641short ieee80211_is_54g(struct ieee80211_network net);
2642extern short ieee80211_is_shortslot(struct ieee80211_network net); 2642short ieee80211_is_shortslot(struct ieee80211_network net);
2643extern int ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb, 2643int ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb,
2644 struct ieee80211_rx_stats *rx_stats, u16 type, 2644 struct ieee80211_rx_stats *rx_stats, u16 type,
2645 u16 stype); 2645 u16 stype);
2646extern void ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee80211_network *net); 2646void ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee80211_network *net);
2647 2647
2648void SendDisassociation(struct ieee80211_device *ieee, u8* asSta, u8 asRsn); 2648void SendDisassociation(struct ieee80211_device *ieee, u8* asSta, u8 asRsn);
2649extern void ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *ieee); 2649void ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *ieee);
2650 2650
2651extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); 2651void ieee80211_stop_send_beacons(struct ieee80211_device *ieee);
2652extern void notify_wx_assoc_event(struct ieee80211_device *ieee); 2652void notify_wx_assoc_event(struct ieee80211_device *ieee);
2653extern void ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee); 2653void ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee);
2654extern void ieee80211_start_bss(struct ieee80211_device *ieee); 2654void ieee80211_start_bss(struct ieee80211_device *ieee);
2655extern void ieee80211_start_master_bss(struct ieee80211_device *ieee); 2655void ieee80211_start_master_bss(struct ieee80211_device *ieee);
2656extern void ieee80211_start_ibss(struct ieee80211_device *ieee); 2656void ieee80211_start_ibss(struct ieee80211_device *ieee);
2657extern void ieee80211_softmac_init(struct ieee80211_device *ieee); 2657void ieee80211_softmac_init(struct ieee80211_device *ieee);
2658extern void ieee80211_softmac_free(struct ieee80211_device *ieee); 2658void ieee80211_softmac_free(struct ieee80211_device *ieee);
2659extern void ieee80211_associate_abort(struct ieee80211_device *ieee); 2659void ieee80211_associate_abort(struct ieee80211_device *ieee);
2660extern void ieee80211_disassociate(struct ieee80211_device *ieee); 2660void ieee80211_disassociate(struct ieee80211_device *ieee);
2661extern void ieee80211_stop_scan(struct ieee80211_device *ieee); 2661void ieee80211_stop_scan(struct ieee80211_device *ieee);
2662extern void ieee80211_start_scan_syncro(struct ieee80211_device *ieee); 2662void ieee80211_start_scan_syncro(struct ieee80211_device *ieee);
2663extern void ieee80211_check_all_nets(struct ieee80211_device *ieee); 2663void ieee80211_check_all_nets(struct ieee80211_device *ieee);
2664extern void ieee80211_start_protocol(struct ieee80211_device *ieee); 2664void ieee80211_start_protocol(struct ieee80211_device *ieee);
2665extern void ieee80211_stop_protocol(struct ieee80211_device *ieee,u8 shutdown); 2665void ieee80211_stop_protocol(struct ieee80211_device *ieee,u8 shutdown);
2666extern void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee); 2666void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee);
2667extern void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee,u8 shutdown); 2667void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee,u8 shutdown);
2668extern void ieee80211_reset_queue(struct ieee80211_device *ieee); 2668void ieee80211_reset_queue(struct ieee80211_device *ieee);
2669extern void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee); 2669void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee);
2670extern void ieee80211_rtl_stop_queue(struct ieee80211_device *ieee); 2670void ieee80211_rtl_stop_queue(struct ieee80211_device *ieee);
2671extern struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee); 2671struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee);
2672extern void ieee80211_start_send_beacons(struct ieee80211_device *ieee); 2672void ieee80211_start_send_beacons(struct ieee80211_device *ieee);
2673extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); 2673void ieee80211_stop_send_beacons(struct ieee80211_device *ieee);
2674extern int ieee80211_wpa_supplicant_ioctl(struct ieee80211_device *ieee, struct iw_point *p); 2674int ieee80211_wpa_supplicant_ioctl(struct ieee80211_device *ieee, struct iw_point *p);
2675extern void notify_wx_assoc_event(struct ieee80211_device *ieee); 2675void notify_wx_assoc_event(struct ieee80211_device *ieee);
2676extern void ieee80211_ps_tx_ack(struct ieee80211_device *ieee, short success); 2676void ieee80211_ps_tx_ack(struct ieee80211_device *ieee, short success);
2677 2677
2678extern void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee); 2678void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee);
2679 2679
2680/* ieee80211_crypt_ccmp&tkip&wep.c */ 2680/* ieee80211_crypt_ccmp&tkip&wep.c */
2681extern void ieee80211_tkip_null(void); 2681void ieee80211_tkip_null(void);
2682extern void ieee80211_wep_null(void); 2682void ieee80211_wep_null(void);
2683extern void ieee80211_ccmp_null(void); 2683void ieee80211_ccmp_null(void);
2684 2684
2685/* ieee80211_softmac_wx.c */ 2685/* ieee80211_softmac_wx.c */
2686 2686
2687extern int ieee80211_wx_get_wap(struct ieee80211_device *ieee, 2687int ieee80211_wx_get_wap(struct ieee80211_device *ieee,
2688 struct iw_request_info *info, 2688 struct iw_request_info *info,
2689 union iwreq_data *wrqu, char *ext); 2689 union iwreq_data *wrqu, char *ext);
2690 2690
2691extern int ieee80211_wx_set_wap(struct ieee80211_device *ieee, 2691int ieee80211_wx_set_wap(struct ieee80211_device *ieee,
2692 struct iw_request_info *info, 2692 struct iw_request_info *info,
2693 union iwreq_data *awrq, 2693 union iwreq_data *awrq,
2694 char *extra); 2694 char *extra);
2695 2695
2696extern int ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b); 2696int ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b);
2697 2697
2698extern int ieee80211_wx_set_rate(struct ieee80211_device *ieee, 2698int ieee80211_wx_set_rate(struct ieee80211_device *ieee,
2699 struct iw_request_info *info, 2699 struct iw_request_info *info,
2700 union iwreq_data *wrqu, char *extra); 2700 union iwreq_data *wrqu, char *extra);
2701 2701
2702extern int ieee80211_wx_get_rate(struct ieee80211_device *ieee, 2702int ieee80211_wx_get_rate(struct ieee80211_device *ieee,
2703 struct iw_request_info *info, 2703 struct iw_request_info *info,
2704 union iwreq_data *wrqu, char *extra); 2704 union iwreq_data *wrqu, char *extra);
2705 2705
2706extern int ieee80211_wx_set_mode(struct ieee80211_device *ieee, struct iw_request_info *a, 2706int ieee80211_wx_set_mode(struct ieee80211_device *ieee, struct iw_request_info *a,
2707 union iwreq_data *wrqu, char *b); 2707 union iwreq_data *wrqu, char *b);
2708 2708
2709extern int ieee80211_wx_set_scan(struct ieee80211_device *ieee, struct iw_request_info *a, 2709int ieee80211_wx_set_scan(struct ieee80211_device *ieee, struct iw_request_info *a,
2710 union iwreq_data *wrqu, char *b); 2710 union iwreq_data *wrqu, char *b);
2711 2711
2712extern int ieee80211_wx_set_essid(struct ieee80211_device *ieee, 2712int ieee80211_wx_set_essid(struct ieee80211_device *ieee,
2713 struct iw_request_info *a, 2713 struct iw_request_info *a,
2714 union iwreq_data *wrqu, char *extra); 2714 union iwreq_data *wrqu, char *extra);
2715 2715
2716extern int ieee80211_wx_get_mode(struct ieee80211_device *ieee, struct iw_request_info *a, 2716int ieee80211_wx_get_mode(struct ieee80211_device *ieee, struct iw_request_info *a,
2717 union iwreq_data *wrqu, char *b); 2717 union iwreq_data *wrqu, char *b);
2718 2718
2719extern int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info *a, 2719int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info *a,
2720 union iwreq_data *wrqu, char *b); 2720 union iwreq_data *wrqu, char *b);
2721 2721
2722extern int ieee80211_wx_get_freq(struct ieee80211_device *ieee, struct iw_request_info *a, 2722int ieee80211_wx_get_freq(struct ieee80211_device *ieee, struct iw_request_info *a,
2723 union iwreq_data *wrqu, char *b); 2723 union iwreq_data *wrqu, char *b);
2724 2724
2725//extern void ieee80211_wx_sync_scan_wq(struct ieee80211_device *ieee); 2725void ieee80211_wx_sync_scan_wq(struct work_struct *work);
2726extern void ieee80211_wx_sync_scan_wq(struct work_struct *work);
2727 2726
2728 2727int ieee80211_wx_set_rawtx(struct ieee80211_device *ieee,
2729extern int ieee80211_wx_set_rawtx(struct ieee80211_device *ieee,
2730 struct iw_request_info *info, 2728 struct iw_request_info *info,
2731 union iwreq_data *wrqu, char *extra); 2729 union iwreq_data *wrqu, char *extra);
2732 2730
2733extern int ieee80211_wx_get_name(struct ieee80211_device *ieee, 2731int ieee80211_wx_get_name(struct ieee80211_device *ieee,
2734 struct iw_request_info *info, 2732 struct iw_request_info *info,
2735 union iwreq_data *wrqu, char *extra); 2733 union iwreq_data *wrqu, char *extra);
2736 2734
2737extern int ieee80211_wx_set_power(struct ieee80211_device *ieee, 2735int ieee80211_wx_set_power(struct ieee80211_device *ieee,
2738 struct iw_request_info *info, 2736 struct iw_request_info *info,
2739 union iwreq_data *wrqu, char *extra); 2737 union iwreq_data *wrqu, char *extra);
2740 2738
2741extern int ieee80211_wx_get_power(struct ieee80211_device *ieee, 2739int ieee80211_wx_get_power(struct ieee80211_device *ieee,
2742 struct iw_request_info *info, 2740 struct iw_request_info *info,
2743 union iwreq_data *wrqu, char *extra); 2741 union iwreq_data *wrqu, char *extra);
2744 2742
2745extern int ieee80211_wx_set_rts(struct ieee80211_device *ieee, 2743int ieee80211_wx_set_rts(struct ieee80211_device *ieee,
2746 struct iw_request_info *info, 2744 struct iw_request_info *info,
2747 union iwreq_data *wrqu, char *extra); 2745 union iwreq_data *wrqu, char *extra);
2748 2746
2749extern int ieee80211_wx_get_rts(struct ieee80211_device *ieee, 2747int ieee80211_wx_get_rts(struct ieee80211_device *ieee,
2750 struct iw_request_info *info, 2748 struct iw_request_info *info,
2751 union iwreq_data *wrqu, char *extra); 2749 union iwreq_data *wrqu, char *extra);
2752//HT 2750//HT
2753#define MAX_RECEIVE_BUFFER_SIZE 9100 // 2751#define MAX_RECEIVE_BUFFER_SIZE 9100
2754extern void HTDebugHTCapability(u8* CapIE, u8* TitleString ); 2752void HTDebugHTCapability(u8 *CapIE, u8 *TitleString );
2755extern void HTDebugHTInfo(u8* InfoIE, u8* TitleString); 2753void HTDebugHTInfo(u8 *InfoIE, u8 *TitleString);
2756 2754
2757void HTSetConnectBwMode(struct ieee80211_device* ieee, HT_CHANNEL_WIDTH Bandwidth, HT_EXTCHNL_OFFSET Offset); 2755void HTSetConnectBwMode(struct ieee80211_device *ieee, HT_CHANNEL_WIDTH Bandwidth, HT_EXTCHNL_OFFSET Offset);
2758extern void HTUpdateDefaultSetting(struct ieee80211_device* ieee); 2756void HTUpdateDefaultSetting(struct ieee80211_device *ieee);
2759extern void HTConstructCapabilityElement(struct ieee80211_device* ieee, u8* posHTCap, u8* len, u8 isEncrypt); 2757void HTConstructCapabilityElement(struct ieee80211_device *ieee, u8 *posHTCap, u8 *len, u8 isEncrypt);
2760extern void HTConstructInfoElement(struct ieee80211_device* ieee, u8* posHTInfo, u8* len, u8 isEncrypt); 2758void HTConstructInfoElement(struct ieee80211_device *ieee, u8 *posHTInfo, u8 *len, u8 isEncrypt);
2761extern void HTConstructRT2RTAggElement(struct ieee80211_device* ieee, u8* posRT2RTAgg, u8* len); 2759void HTConstructRT2RTAggElement(struct ieee80211_device *ieee, u8 *posRT2RTAgg, u8 *len);
2762extern void HTOnAssocRsp(struct ieee80211_device *ieee); 2760void HTOnAssocRsp(struct ieee80211_device *ieee);
2763extern void HTInitializeHTInfo(struct ieee80211_device* ieee); 2761void HTInitializeHTInfo(struct ieee80211_device *ieee);
2764extern void HTInitializeBssDesc(PBSS_HT pBssHT); 2762void HTInitializeBssDesc(PBSS_HT pBssHT);
2765extern void HTResetSelfAndSavePeerSetting(struct ieee80211_device* ieee, struct ieee80211_network * pNetwork); 2763void HTResetSelfAndSavePeerSetting(struct ieee80211_device *ieee, struct ieee80211_network *pNetwork);
2766extern void HTUpdateSelfAndPeerSetting(struct ieee80211_device* ieee, struct ieee80211_network * pNetwork); 2764void HTUpdateSelfAndPeerSetting(struct ieee80211_device *ieee, struct ieee80211_network *pNetwork);
2767extern u8 HTGetHighestMCSRate(struct ieee80211_device* ieee, u8* pMCSRateSet, u8* pMCSFilter); 2765u8 HTGetHighestMCSRate(struct ieee80211_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter);
2768extern u8 MCS_FILTER_ALL[]; 2766extern u8 MCS_FILTER_ALL[];
2769extern u16 MCS_DATA_RATE[2][2][77] ; 2767extern u16 MCS_DATA_RATE[2][2][77] ;
2770extern u8 HTCCheck(struct ieee80211_device* ieee, u8* pFrame); 2768
2771//extern void HTSetConnectBwModeCallback(unsigned long data); 2769u8 HTCCheck(struct ieee80211_device *ieee, u8 *pFrame);
2772extern void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo); 2770void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
2773extern bool IsHTHalfNmodeAPs(struct ieee80211_device* ieee); 2771bool IsHTHalfNmodeAPs(struct ieee80211_device *ieee);
2774extern u16 HTHalfMcsToDataRate(struct ieee80211_device* ieee, u8 nMcsRate); 2772u16 HTHalfMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate);
2775extern u16 HTMcsToDataRate( struct ieee80211_device* ieee, u8 nMcsRate); 2773u16 HTMcsToDataRate( struct ieee80211_device *ieee, u8 nMcsRate);
2776extern u16 TxCountToDataRate( struct ieee80211_device* ieee, u8 nDataRate); 2774u16 TxCountToDataRate( struct ieee80211_device *ieee, u8 nDataRate);
2777//function in BAPROC.c 2775int ieee80211_rx_ADDBAReq( struct ieee80211_device *ieee, struct sk_buff *skb);
2778extern int ieee80211_rx_ADDBAReq( struct ieee80211_device* ieee, struct sk_buff *skb); 2776int ieee80211_rx_ADDBARsp( struct ieee80211_device *ieee, struct sk_buff *skb);
2779extern int ieee80211_rx_ADDBARsp( struct ieee80211_device* ieee, struct sk_buff *skb); 2777int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb);
2780extern int ieee80211_rx_DELBA(struct ieee80211_device* ieee,struct sk_buff *skb); 2778void TsInitAddBA( struct ieee80211_device *ieee, PTX_TS_RECORD pTS, u8 Policy, u8 bOverwritePending);
2781extern void TsInitAddBA( struct ieee80211_device* ieee, PTX_TS_RECORD pTS, u8 Policy, u8 bOverwritePending); 2779void TsInitDelBA( struct ieee80211_device *ieee, PTS_COMMON_INFO pTsCommonInfo, TR_SELECT TxRxSelect);
2782extern void TsInitDelBA( struct ieee80211_device* ieee, PTS_COMMON_INFO pTsCommonInfo, TR_SELECT TxRxSelect); 2780void BaSetupTimeOut(unsigned long data);
2783extern void BaSetupTimeOut(unsigned long data); 2781void TxBaInactTimeout(unsigned long data);
2784extern void TxBaInactTimeout(unsigned long data); 2782void RxBaInactTimeout(unsigned long data);
2785extern void RxBaInactTimeout(unsigned long data); 2783void ResetBaEntry( PBA_RECORD pBA);
2786extern void ResetBaEntry( PBA_RECORD pBA);
2787//function in TS.c 2784//function in TS.c
2788extern bool GetTs( 2785bool GetTs(
2789 struct ieee80211_device* ieee, 2786 struct ieee80211_device* ieee,
2790 PTS_COMMON_INFO *ppTS, 2787 PTS_COMMON_INFO *ppTS,
2791 u8* Addr, 2788 u8* Addr,
@@ -2793,10 +2790,10 @@ extern bool GetTs(
2793 TR_SELECT TxRxSelect, //Rx:1, Tx:0 2790 TR_SELECT TxRxSelect, //Rx:1, Tx:0
2794 bool bAddNewTs 2791 bool bAddNewTs
2795 ); 2792 );
2796extern void TSInitialize(struct ieee80211_device *ieee); 2793void TSInitialize(struct ieee80211_device *ieee);
2797extern void TsStartAddBaProcess(struct ieee80211_device* ieee, PTX_TS_RECORD pTxTS); 2794void TsStartAddBaProcess(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTS);
2798extern void RemovePeerTS(struct ieee80211_device* ieee, u8* Addr); 2795void RemovePeerTS(struct ieee80211_device *ieee, u8 *Addr);
2799extern void RemoveAllTS(struct ieee80211_device* ieee); 2796void RemoveAllTS(struct ieee80211_device *ieee);
2800void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee); 2797void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee);
2801 2798
2802extern const long ieee80211_wlan_frequencies[]; 2799extern const long ieee80211_wlan_frequencies[];
@@ -2838,9 +2835,8 @@ static inline const char *escape_essid(const char *essid, u8 essid_len) {
2838/* For the function is more related to hardware setting, it's better to use the 2835/* For the function is more related to hardware setting, it's better to use the
2839 * ieee handler to refer to it. 2836 * ieee handler to refer to it.
2840 */ 2837 */
2841extern short check_nic_enough_desc(struct net_device *dev, int queue_index); 2838int ieee80211_data_xmit(struct sk_buff *skb, struct net_device *dev);
2842extern int ieee80211_data_xmit(struct sk_buff *skb, struct net_device *dev); 2839int ieee80211_parse_info_param(struct ieee80211_device *ieee,
2843extern int ieee80211_parse_info_param(struct ieee80211_device *ieee,
2844 struct ieee80211_info_element *info_element, 2840 struct ieee80211_info_element *info_element,
2845 u16 length, 2841 u16 length,
2846 struct ieee80211_network *network, 2842 struct ieee80211_network *network,