diff options
author | Mike McCormack <mikem@ring3k.org> | 2011-02-06 08:53:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-09 14:50:17 -0500 |
commit | 427bf120b67a098f0ab4ebb84ee238afcfc0c689 (patch) | |
tree | a250aa8719cd3deb0c2803937c95ccdf9271f365 /drivers/staging/rtl8192e/ieee80211 | |
parent | c8a0064cb7c9f12220f37ba52f4616a78bf9ddd5 (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.h | 222 |
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 */ |
2590 | extern void free_ieee80211(struct net_device *dev); | 2590 | void free_ieee80211(struct net_device *dev); |
2591 | extern struct net_device *alloc_ieee80211(int sizeof_priv); | 2591 | struct net_device *alloc_ieee80211(int sizeof_priv); |
2592 | 2592 | ||
2593 | extern int ieee80211_set_encryption(struct ieee80211_device *ieee); | 2593 | int ieee80211_set_encryption(struct ieee80211_device *ieee); |
2594 | 2594 | ||
2595 | /* ieee80211_tx.c */ | 2595 | /* ieee80211_tx.c */ |
2596 | 2596 | ||
2597 | extern int ieee80211_encrypt_fragment( | 2597 | int 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 | ||
2602 | extern int ieee80211_rtl_xmit(struct sk_buff *skb, | 2602 | int ieee80211_rtl_xmit(struct sk_buff *skb, |
2603 | struct net_device *dev); | 2603 | struct net_device *dev); |
2604 | extern void ieee80211_txb_free(struct ieee80211_txb *); | 2604 | void ieee80211_txb_free(struct ieee80211_txb *); |
2605 | 2605 | ||
2606 | 2606 | ||
2607 | /* ieee80211_rx.c */ | 2607 | /* ieee80211_rx.c */ |
2608 | extern int ieee80211_rtl_rx(struct ieee80211_device *ieee, struct sk_buff *skb, | 2608 | int 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); |
2610 | extern void ieee80211_rx_mgt(struct ieee80211_device *ieee, | 2610 | void 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 */ |
2615 | extern int ieee80211_wx_get_scan(struct ieee80211_device *ieee, | 2615 | int 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); |
2618 | extern int ieee80211_wx_set_encode(struct ieee80211_device *ieee, | 2618 | int 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); |
2621 | extern int ieee80211_wx_get_encode(struct ieee80211_device *ieee, | 2621 | int 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 |
2625 | extern int ieee80211_wx_get_encode_ext(struct ieee80211_device *ieee, | 2625 | int 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); |
2628 | extern int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee, | 2628 | int 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); |
2631 | extern int ieee80211_wx_set_auth(struct ieee80211_device *ieee, | 2631 | int 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); |
2634 | extern int ieee80211_wx_set_mlme(struct ieee80211_device *ieee, | 2634 | int 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 |
2638 | extern int ieee80211_wx_set_gen_ie(struct ieee80211_device *ieee, u8 *ie, size_t len); | 2638 | int ieee80211_wx_set_gen_ie(struct ieee80211_device *ieee, u8 *ie, size_t len); |
2639 | 2639 | ||
2640 | /* ieee80211_softmac.c */ | 2640 | /* ieee80211_softmac.c */ |
2641 | extern short ieee80211_is_54g(struct ieee80211_network net); | 2641 | short ieee80211_is_54g(struct ieee80211_network net); |
2642 | extern short ieee80211_is_shortslot(struct ieee80211_network net); | 2642 | short ieee80211_is_shortslot(struct ieee80211_network net); |
2643 | extern int ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb, | 2643 | int 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); |
2646 | extern void ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee80211_network *net); | 2646 | void ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee80211_network *net); |
2647 | 2647 | ||
2648 | void SendDisassociation(struct ieee80211_device *ieee, u8* asSta, u8 asRsn); | 2648 | void SendDisassociation(struct ieee80211_device *ieee, u8* asSta, u8 asRsn); |
2649 | extern void ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *ieee); | 2649 | void ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *ieee); |
2650 | 2650 | ||
2651 | extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); | 2651 | void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); |
2652 | extern void notify_wx_assoc_event(struct ieee80211_device *ieee); | 2652 | void notify_wx_assoc_event(struct ieee80211_device *ieee); |
2653 | extern void ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee); | 2653 | void ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee); |
2654 | extern void ieee80211_start_bss(struct ieee80211_device *ieee); | 2654 | void ieee80211_start_bss(struct ieee80211_device *ieee); |
2655 | extern void ieee80211_start_master_bss(struct ieee80211_device *ieee); | 2655 | void ieee80211_start_master_bss(struct ieee80211_device *ieee); |
2656 | extern void ieee80211_start_ibss(struct ieee80211_device *ieee); | 2656 | void ieee80211_start_ibss(struct ieee80211_device *ieee); |
2657 | extern void ieee80211_softmac_init(struct ieee80211_device *ieee); | 2657 | void ieee80211_softmac_init(struct ieee80211_device *ieee); |
2658 | extern void ieee80211_softmac_free(struct ieee80211_device *ieee); | 2658 | void ieee80211_softmac_free(struct ieee80211_device *ieee); |
2659 | extern void ieee80211_associate_abort(struct ieee80211_device *ieee); | 2659 | void ieee80211_associate_abort(struct ieee80211_device *ieee); |
2660 | extern void ieee80211_disassociate(struct ieee80211_device *ieee); | 2660 | void ieee80211_disassociate(struct ieee80211_device *ieee); |
2661 | extern void ieee80211_stop_scan(struct ieee80211_device *ieee); | 2661 | void ieee80211_stop_scan(struct ieee80211_device *ieee); |
2662 | extern void ieee80211_start_scan_syncro(struct ieee80211_device *ieee); | 2662 | void ieee80211_start_scan_syncro(struct ieee80211_device *ieee); |
2663 | extern void ieee80211_check_all_nets(struct ieee80211_device *ieee); | 2663 | void ieee80211_check_all_nets(struct ieee80211_device *ieee); |
2664 | extern void ieee80211_start_protocol(struct ieee80211_device *ieee); | 2664 | void ieee80211_start_protocol(struct ieee80211_device *ieee); |
2665 | extern void ieee80211_stop_protocol(struct ieee80211_device *ieee,u8 shutdown); | 2665 | void ieee80211_stop_protocol(struct ieee80211_device *ieee,u8 shutdown); |
2666 | extern void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee); | 2666 | void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee); |
2667 | extern void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee,u8 shutdown); | 2667 | void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee,u8 shutdown); |
2668 | extern void ieee80211_reset_queue(struct ieee80211_device *ieee); | 2668 | void ieee80211_reset_queue(struct ieee80211_device *ieee); |
2669 | extern void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee); | 2669 | void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee); |
2670 | extern void ieee80211_rtl_stop_queue(struct ieee80211_device *ieee); | 2670 | void ieee80211_rtl_stop_queue(struct ieee80211_device *ieee); |
2671 | extern struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee); | 2671 | struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee); |
2672 | extern void ieee80211_start_send_beacons(struct ieee80211_device *ieee); | 2672 | void ieee80211_start_send_beacons(struct ieee80211_device *ieee); |
2673 | extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); | 2673 | void ieee80211_stop_send_beacons(struct ieee80211_device *ieee); |
2674 | extern int ieee80211_wpa_supplicant_ioctl(struct ieee80211_device *ieee, struct iw_point *p); | 2674 | int ieee80211_wpa_supplicant_ioctl(struct ieee80211_device *ieee, struct iw_point *p); |
2675 | extern void notify_wx_assoc_event(struct ieee80211_device *ieee); | 2675 | void notify_wx_assoc_event(struct ieee80211_device *ieee); |
2676 | extern void ieee80211_ps_tx_ack(struct ieee80211_device *ieee, short success); | 2676 | void ieee80211_ps_tx_ack(struct ieee80211_device *ieee, short success); |
2677 | 2677 | ||
2678 | extern void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee); | 2678 | void 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 */ |
2681 | extern void ieee80211_tkip_null(void); | 2681 | void ieee80211_tkip_null(void); |
2682 | extern void ieee80211_wep_null(void); | 2682 | void ieee80211_wep_null(void); |
2683 | extern void ieee80211_ccmp_null(void); | 2683 | void ieee80211_ccmp_null(void); |
2684 | 2684 | ||
2685 | /* ieee80211_softmac_wx.c */ | 2685 | /* ieee80211_softmac_wx.c */ |
2686 | 2686 | ||
2687 | extern int ieee80211_wx_get_wap(struct ieee80211_device *ieee, | 2687 | int 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 | ||
2691 | extern int ieee80211_wx_set_wap(struct ieee80211_device *ieee, | 2691 | int 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 | ||
2696 | extern int ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b); | 2696 | int ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b); |
2697 | 2697 | ||
2698 | extern int ieee80211_wx_set_rate(struct ieee80211_device *ieee, | 2698 | int 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 | ||
2702 | extern int ieee80211_wx_get_rate(struct ieee80211_device *ieee, | 2702 | int 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 | ||
2706 | extern int ieee80211_wx_set_mode(struct ieee80211_device *ieee, struct iw_request_info *a, | 2706 | int 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 | ||
2709 | extern int ieee80211_wx_set_scan(struct ieee80211_device *ieee, struct iw_request_info *a, | 2709 | int 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 | ||
2712 | extern int ieee80211_wx_set_essid(struct ieee80211_device *ieee, | 2712 | int 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 | ||
2716 | extern int ieee80211_wx_get_mode(struct ieee80211_device *ieee, struct iw_request_info *a, | 2716 | int 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 | ||
2719 | extern int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info *a, | 2719 | int 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 | ||
2722 | extern int ieee80211_wx_get_freq(struct ieee80211_device *ieee, struct iw_request_info *a, | 2722 | int 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); | 2725 | void ieee80211_wx_sync_scan_wq(struct work_struct *work); |
2726 | extern void ieee80211_wx_sync_scan_wq(struct work_struct *work); | ||
2727 | 2726 | ||
2728 | 2727 | int ieee80211_wx_set_rawtx(struct ieee80211_device *ieee, | |
2729 | extern 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 | ||
2733 | extern int ieee80211_wx_get_name(struct ieee80211_device *ieee, | 2731 | int 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 | ||
2737 | extern int ieee80211_wx_set_power(struct ieee80211_device *ieee, | 2735 | int 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 | ||
2741 | extern int ieee80211_wx_get_power(struct ieee80211_device *ieee, | 2739 | int 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 | ||
2745 | extern int ieee80211_wx_set_rts(struct ieee80211_device *ieee, | 2743 | int 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 | ||
2749 | extern int ieee80211_wx_get_rts(struct ieee80211_device *ieee, | 2747 | int 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 |
2754 | extern void HTDebugHTCapability(u8* CapIE, u8* TitleString ); | 2752 | void HTDebugHTCapability(u8 *CapIE, u8 *TitleString ); |
2755 | extern void HTDebugHTInfo(u8* InfoIE, u8* TitleString); | 2753 | void HTDebugHTInfo(u8 *InfoIE, u8 *TitleString); |
2756 | 2754 | ||
2757 | void HTSetConnectBwMode(struct ieee80211_device* ieee, HT_CHANNEL_WIDTH Bandwidth, HT_EXTCHNL_OFFSET Offset); | 2755 | void HTSetConnectBwMode(struct ieee80211_device *ieee, HT_CHANNEL_WIDTH Bandwidth, HT_EXTCHNL_OFFSET Offset); |
2758 | extern void HTUpdateDefaultSetting(struct ieee80211_device* ieee); | 2756 | void HTUpdateDefaultSetting(struct ieee80211_device *ieee); |
2759 | extern void HTConstructCapabilityElement(struct ieee80211_device* ieee, u8* posHTCap, u8* len, u8 isEncrypt); | 2757 | void HTConstructCapabilityElement(struct ieee80211_device *ieee, u8 *posHTCap, u8 *len, u8 isEncrypt); |
2760 | extern void HTConstructInfoElement(struct ieee80211_device* ieee, u8* posHTInfo, u8* len, u8 isEncrypt); | 2758 | void HTConstructInfoElement(struct ieee80211_device *ieee, u8 *posHTInfo, u8 *len, u8 isEncrypt); |
2761 | extern void HTConstructRT2RTAggElement(struct ieee80211_device* ieee, u8* posRT2RTAgg, u8* len); | 2759 | void HTConstructRT2RTAggElement(struct ieee80211_device *ieee, u8 *posRT2RTAgg, u8 *len); |
2762 | extern void HTOnAssocRsp(struct ieee80211_device *ieee); | 2760 | void HTOnAssocRsp(struct ieee80211_device *ieee); |
2763 | extern void HTInitializeHTInfo(struct ieee80211_device* ieee); | 2761 | void HTInitializeHTInfo(struct ieee80211_device *ieee); |
2764 | extern void HTInitializeBssDesc(PBSS_HT pBssHT); | 2762 | void HTInitializeBssDesc(PBSS_HT pBssHT); |
2765 | extern void HTResetSelfAndSavePeerSetting(struct ieee80211_device* ieee, struct ieee80211_network * pNetwork); | 2763 | void HTResetSelfAndSavePeerSetting(struct ieee80211_device *ieee, struct ieee80211_network *pNetwork); |
2766 | extern void HTUpdateSelfAndPeerSetting(struct ieee80211_device* ieee, struct ieee80211_network * pNetwork); | 2764 | void HTUpdateSelfAndPeerSetting(struct ieee80211_device *ieee, struct ieee80211_network *pNetwork); |
2767 | extern u8 HTGetHighestMCSRate(struct ieee80211_device* ieee, u8* pMCSRateSet, u8* pMCSFilter); | 2765 | u8 HTGetHighestMCSRate(struct ieee80211_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter); |
2768 | extern u8 MCS_FILTER_ALL[]; | 2766 | extern u8 MCS_FILTER_ALL[]; |
2769 | extern u16 MCS_DATA_RATE[2][2][77] ; | 2767 | extern u16 MCS_DATA_RATE[2][2][77] ; |
2770 | extern u8 HTCCheck(struct ieee80211_device* ieee, u8* pFrame); | 2768 | |
2771 | //extern void HTSetConnectBwModeCallback(unsigned long data); | 2769 | u8 HTCCheck(struct ieee80211_device *ieee, u8 *pFrame); |
2772 | extern void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo); | 2770 | void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo); |
2773 | extern bool IsHTHalfNmodeAPs(struct ieee80211_device* ieee); | 2771 | bool IsHTHalfNmodeAPs(struct ieee80211_device *ieee); |
2774 | extern u16 HTHalfMcsToDataRate(struct ieee80211_device* ieee, u8 nMcsRate); | 2772 | u16 HTHalfMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate); |
2775 | extern u16 HTMcsToDataRate( struct ieee80211_device* ieee, u8 nMcsRate); | 2773 | u16 HTMcsToDataRate( struct ieee80211_device *ieee, u8 nMcsRate); |
2776 | extern u16 TxCountToDataRate( struct ieee80211_device* ieee, u8 nDataRate); | 2774 | u16 TxCountToDataRate( struct ieee80211_device *ieee, u8 nDataRate); |
2777 | //function in BAPROC.c | 2775 | int ieee80211_rx_ADDBAReq( struct ieee80211_device *ieee, struct sk_buff *skb); |
2778 | extern int ieee80211_rx_ADDBAReq( struct ieee80211_device* ieee, struct sk_buff *skb); | 2776 | int ieee80211_rx_ADDBARsp( struct ieee80211_device *ieee, struct sk_buff *skb); |
2779 | extern int ieee80211_rx_ADDBARsp( struct ieee80211_device* ieee, struct sk_buff *skb); | 2777 | int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb); |
2780 | extern int ieee80211_rx_DELBA(struct ieee80211_device* ieee,struct sk_buff *skb); | 2778 | void TsInitAddBA( struct ieee80211_device *ieee, PTX_TS_RECORD pTS, u8 Policy, u8 bOverwritePending); |
2781 | extern void TsInitAddBA( struct ieee80211_device* ieee, PTX_TS_RECORD pTS, u8 Policy, u8 bOverwritePending); | 2779 | void TsInitDelBA( struct ieee80211_device *ieee, PTS_COMMON_INFO pTsCommonInfo, TR_SELECT TxRxSelect); |
2782 | extern void TsInitDelBA( struct ieee80211_device* ieee, PTS_COMMON_INFO pTsCommonInfo, TR_SELECT TxRxSelect); | 2780 | void BaSetupTimeOut(unsigned long data); |
2783 | extern void BaSetupTimeOut(unsigned long data); | 2781 | void TxBaInactTimeout(unsigned long data); |
2784 | extern void TxBaInactTimeout(unsigned long data); | 2782 | void RxBaInactTimeout(unsigned long data); |
2785 | extern void RxBaInactTimeout(unsigned long data); | 2783 | void ResetBaEntry( PBA_RECORD pBA); |
2786 | extern void ResetBaEntry( PBA_RECORD pBA); | ||
2787 | //function in TS.c | 2784 | //function in TS.c |
2788 | extern bool GetTs( | 2785 | bool 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 | ); |
2796 | extern void TSInitialize(struct ieee80211_device *ieee); | 2793 | void TSInitialize(struct ieee80211_device *ieee); |
2797 | extern void TsStartAddBaProcess(struct ieee80211_device* ieee, PTX_TS_RECORD pTxTS); | 2794 | void TsStartAddBaProcess(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTS); |
2798 | extern void RemovePeerTS(struct ieee80211_device* ieee, u8* Addr); | 2795 | void RemovePeerTS(struct ieee80211_device *ieee, u8 *Addr); |
2799 | extern void RemoveAllTS(struct ieee80211_device* ieee); | 2796 | void RemoveAllTS(struct ieee80211_device *ieee); |
2800 | void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee); | 2797 | void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee); |
2801 | 2798 | ||
2802 | extern const long ieee80211_wlan_frequencies[]; | 2799 | extern 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 | */ |
2841 | extern short check_nic_enough_desc(struct net_device *dev, int queue_index); | 2838 | int ieee80211_data_xmit(struct sk_buff *skb, struct net_device *dev); |
2842 | extern int ieee80211_data_xmit(struct sk_buff *skb, struct net_device *dev); | 2839 | int ieee80211_parse_info_param(struct ieee80211_device *ieee, |
2843 | extern 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, |