forked from Minki/linux
staging: rtl8192u: Remove unnecessary externs
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ec9a0ffa49
commit
beb1216708
@ -2169,98 +2169,99 @@ static inline int ieee80211_is_cck_rate(u8 rate)
|
||||
|
||||
|
||||
/* ieee80211.c */
|
||||
extern void free_ieee80211(struct net_device *dev);
|
||||
extern struct net_device *alloc_ieee80211(int sizeof_priv);
|
||||
void free_ieee80211(struct net_device *dev);
|
||||
struct net_device *alloc_ieee80211(int sizeof_priv);
|
||||
|
||||
extern int ieee80211_set_encryption(struct ieee80211_device *ieee);
|
||||
int ieee80211_set_encryption(struct ieee80211_device *ieee);
|
||||
|
||||
/* ieee80211_tx.c */
|
||||
|
||||
extern int ieee80211_encrypt_fragment(
|
||||
struct ieee80211_device *ieee,
|
||||
struct sk_buff *frag,
|
||||
int hdr_len);
|
||||
int ieee80211_encrypt_fragment(struct ieee80211_device *ieee,
|
||||
struct sk_buff *frag, int hdr_len);
|
||||
|
||||
extern int ieee80211_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev);
|
||||
extern void ieee80211_txb_free(struct ieee80211_txb *);
|
||||
int ieee80211_xmit(struct sk_buff *skb, struct net_device *dev);
|
||||
void ieee80211_txb_free(struct ieee80211_txb *);
|
||||
|
||||
|
||||
/* ieee80211_rx.c */
|
||||
extern int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
|
||||
struct ieee80211_rx_stats *rx_stats);
|
||||
extern void ieee80211_rx_mgt(struct ieee80211_device *ieee,
|
||||
struct rtl_80211_hdr_4addr *header,
|
||||
struct ieee80211_rx_stats *stats);
|
||||
int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
|
||||
struct ieee80211_rx_stats *rx_stats);
|
||||
void ieee80211_rx_mgt(struct ieee80211_device *ieee,
|
||||
struct rtl_80211_hdr_4addr *header,
|
||||
struct ieee80211_rx_stats *stats);
|
||||
|
||||
/* ieee80211_wx.c */
|
||||
extern int ieee80211_wx_get_scan(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *key);
|
||||
extern int ieee80211_wx_set_encode(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *key);
|
||||
extern int ieee80211_wx_get_encode(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *key);
|
||||
extern int ieee80211_wx_get_encode_ext(struct ieee80211_device *ieee,
|
||||
int ieee80211_wx_get_scan(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *key);
|
||||
int ieee80211_wx_set_encode(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
extern int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee,
|
||||
union iwreq_data *wrqu, char *key);
|
||||
int ieee80211_wx_get_encode(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
extern int ieee80211_wx_set_auth(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
struct iw_param *data, char *extra);
|
||||
extern int ieee80211_wx_set_mlme(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
extern int ieee80211_wx_set_gen_ie(struct ieee80211_device *ieee, u8 *ie, size_t len);
|
||||
union iwreq_data *wrqu, char *key);
|
||||
int ieee80211_wx_get_encode_ext(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_set_auth(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
struct iw_param *data, char *extra);
|
||||
int ieee80211_wx_set_mlme(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_set_gen_ie(struct ieee80211_device *ieee, u8 *ie, size_t len);
|
||||
|
||||
/* ieee80211_softmac.c */
|
||||
extern short ieee80211_is_54g(const struct ieee80211_network *net);
|
||||
extern short ieee80211_is_shortslot(const struct ieee80211_network *net);
|
||||
extern int ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb,
|
||||
struct ieee80211_rx_stats *rx_stats, u16 type,
|
||||
u16 stype);
|
||||
extern void ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee80211_network *net);
|
||||
short ieee80211_is_54g(const struct ieee80211_network *net);
|
||||
short ieee80211_is_shortslot(const struct ieee80211_network *net);
|
||||
int ieee80211_rx_frame_softmac(struct ieee80211_device *ieee,
|
||||
struct sk_buff *skb,
|
||||
struct ieee80211_rx_stats *rx_stats,
|
||||
u16 type, u16 stype);
|
||||
void ieee80211_softmac_new_net(struct ieee80211_device *ieee,
|
||||
struct ieee80211_network *net);
|
||||
|
||||
void SendDisassociation(struct ieee80211_device *ieee, u8 *asSta, u8 asRsn);
|
||||
extern void ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *ieee);
|
||||
void ieee80211_softmac_xmit(struct ieee80211_txb *txb,
|
||||
struct ieee80211_device *ieee);
|
||||
|
||||
extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee);
|
||||
extern void notify_wx_assoc_event(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_start_bss(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_start_master_bss(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_start_ibss(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_softmac_init(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_softmac_free(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_associate_abort(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_disassociate(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_stop_scan(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_start_scan_syncro(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_check_all_nets(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_start_protocol(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_stop_protocol(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_reset_queue(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_wake_queue(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_stop_queue(struct ieee80211_device *ieee);
|
||||
extern struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_start_send_beacons(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_stop_send_beacons(struct ieee80211_device *ieee);
|
||||
extern int ieee80211_wpa_supplicant_ioctl(struct ieee80211_device *ieee, struct iw_point *p);
|
||||
extern void notify_wx_assoc_event(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_ps_tx_ack(struct ieee80211_device *ieee, short success);
|
||||
void ieee80211_stop_send_beacons(struct ieee80211_device *ieee);
|
||||
void notify_wx_assoc_event(struct ieee80211_device *ieee);
|
||||
void ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee);
|
||||
void ieee80211_start_bss(struct ieee80211_device *ieee);
|
||||
void ieee80211_start_master_bss(struct ieee80211_device *ieee);
|
||||
void ieee80211_start_ibss(struct ieee80211_device *ieee);
|
||||
void ieee80211_softmac_init(struct ieee80211_device *ieee);
|
||||
void ieee80211_softmac_free(struct ieee80211_device *ieee);
|
||||
void ieee80211_associate_abort(struct ieee80211_device *ieee);
|
||||
void ieee80211_disassociate(struct ieee80211_device *ieee);
|
||||
void ieee80211_stop_scan(struct ieee80211_device *ieee);
|
||||
void ieee80211_start_scan_syncro(struct ieee80211_device *ieee);
|
||||
void ieee80211_check_all_nets(struct ieee80211_device *ieee);
|
||||
void ieee80211_start_protocol(struct ieee80211_device *ieee);
|
||||
void ieee80211_stop_protocol(struct ieee80211_device *ieee);
|
||||
void ieee80211_softmac_start_protocol(struct ieee80211_device *ieee);
|
||||
void ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee);
|
||||
void ieee80211_reset_queue(struct ieee80211_device *ieee);
|
||||
void ieee80211_wake_queue(struct ieee80211_device *ieee);
|
||||
void ieee80211_stop_queue(struct ieee80211_device *ieee);
|
||||
struct sk_buff *ieee80211_get_beacon(struct ieee80211_device *ieee);
|
||||
void ieee80211_start_send_beacons(struct ieee80211_device *ieee);
|
||||
void ieee80211_stop_send_beacons(struct ieee80211_device *ieee);
|
||||
int ieee80211_wpa_supplicant_ioctl(struct ieee80211_device *ieee,
|
||||
struct iw_point *p);
|
||||
void notify_wx_assoc_event(struct ieee80211_device *ieee);
|
||||
void ieee80211_ps_tx_ack(struct ieee80211_device *ieee, short success);
|
||||
|
||||
extern void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee);
|
||||
void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee);
|
||||
|
||||
/* ieee80211_crypt_ccmp&tkip&wep.c */
|
||||
extern void ieee80211_tkip_null(void);
|
||||
extern void ieee80211_wep_null(void);
|
||||
extern void ieee80211_ccmp_null(void);
|
||||
void ieee80211_tkip_null(void);
|
||||
void ieee80211_wep_null(void);
|
||||
void ieee80211_ccmp_null(void);
|
||||
|
||||
int ieee80211_crypto_init(void);
|
||||
void ieee80211_crypto_deinit(void);
|
||||
@ -2273,116 +2274,128 @@ void ieee80211_crypto_wep_exit(void);
|
||||
|
||||
/* ieee80211_softmac_wx.c */
|
||||
|
||||
extern int ieee80211_wx_get_wap(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *ext);
|
||||
int ieee80211_wx_get_wap(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *ext);
|
||||
|
||||
extern int ieee80211_wx_set_wap(struct ieee80211_device *ieee,
|
||||
int ieee80211_wx_set_wap(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *awrq,
|
||||
char *extra);
|
||||
|
||||
extern int ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b);
|
||||
int ieee80211_wx_get_essid(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
|
||||
extern int ieee80211_wx_set_rate(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_set_rate(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
|
||||
extern int ieee80211_wx_get_rate(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_get_rate(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
|
||||
extern int ieee80211_wx_set_mode(struct ieee80211_device *ieee, struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
int ieee80211_wx_set_mode(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
|
||||
extern int ieee80211_wx_set_scan(struct ieee80211_device *ieee, struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
int ieee80211_wx_set_scan(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
|
||||
extern int ieee80211_wx_set_essid(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_set_essid(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
|
||||
extern int ieee80211_wx_get_mode(struct ieee80211_device *ieee, struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
int ieee80211_wx_get_mode(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
|
||||
extern int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
int ieee80211_wx_set_freq(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
|
||||
extern int ieee80211_wx_get_freq(struct ieee80211_device *ieee, struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
int ieee80211_wx_get_freq(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *a,
|
||||
union iwreq_data *wrqu, char *b);
|
||||
|
||||
/* ieee80211_module.c */
|
||||
extern int ieee80211_debug_init(void);
|
||||
extern void ieee80211_debug_exit(void);
|
||||
int ieee80211_debug_init(void);
|
||||
void ieee80211_debug_exit(void);
|
||||
|
||||
//extern void ieee80211_wx_sync_scan_wq(struct ieee80211_device *ieee);
|
||||
extern void ieee80211_wx_sync_scan_wq(struct work_struct *work);
|
||||
void ieee80211_wx_sync_scan_wq(struct work_struct *work);
|
||||
|
||||
|
||||
extern int ieee80211_wx_set_rawtx(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
int ieee80211_wx_set_rawtx(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
|
||||
extern int ieee80211_wx_get_name(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_get_name(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
|
||||
extern int ieee80211_wx_set_power(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_set_power(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
|
||||
extern int ieee80211_wx_get_power(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_get_power(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
|
||||
extern int ieee80211_wx_set_rts(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_set_rts(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
|
||||
extern int ieee80211_wx_get_rts(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
int ieee80211_wx_get_rts(struct ieee80211_device *ieee,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra);
|
||||
//HT
|
||||
#define MAX_RECEIVE_BUFFER_SIZE 9100 //
|
||||
extern void HTDebugHTCapability(u8 *CapIE, u8 *TitleString );
|
||||
extern void HTDebugHTInfo(u8 *InfoIE, u8 *TitleString);
|
||||
void HTDebugHTCapability(u8 *CapIE, u8 *TitleString);
|
||||
void HTDebugHTInfo(u8 *InfoIE, u8 *TitleString);
|
||||
|
||||
void HTSetConnectBwMode(struct ieee80211_device *ieee, HT_CHANNEL_WIDTH Bandwidth, HT_EXTCHNL_OFFSET Offset);
|
||||
extern void HTUpdateDefaultSetting(struct ieee80211_device *ieee);
|
||||
extern void HTConstructCapabilityElement(struct ieee80211_device *ieee, u8 *posHTCap, u8 *len, u8 isEncrypt);
|
||||
extern void HTConstructInfoElement(struct ieee80211_device *ieee, u8 *posHTInfo, u8 *len, u8 isEncrypt);
|
||||
extern void HTConstructRT2RTAggElement(struct ieee80211_device *ieee, u8 *posRT2RTAgg, u8 *len);
|
||||
extern void HTOnAssocRsp(struct ieee80211_device *ieee);
|
||||
extern void HTInitializeHTInfo(struct ieee80211_device *ieee);
|
||||
extern void HTInitializeBssDesc(PBSS_HT pBssHT);
|
||||
extern void HTResetSelfAndSavePeerSetting(struct ieee80211_device *ieee, struct ieee80211_network *pNetwork);
|
||||
extern void HTUpdateSelfAndPeerSetting(struct ieee80211_device *ieee, struct ieee80211_network *pNetwork);
|
||||
extern u8 HTGetHighestMCSRate(struct ieee80211_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter);
|
||||
void HTSetConnectBwMode(struct ieee80211_device *ieee,
|
||||
HT_CHANNEL_WIDTH Bandwidth, HT_EXTCHNL_OFFSET Offset);
|
||||
void HTUpdateDefaultSetting(struct ieee80211_device *ieee);
|
||||
void HTConstructCapabilityElement(struct ieee80211_device *ieee, u8 *posHTCap,
|
||||
u8 *len, u8 isEncrypt);
|
||||
void HTConstructInfoElement(struct ieee80211_device *ieee, u8 *posHTInfo,
|
||||
u8 *len, u8 isEncrypt);
|
||||
void HTConstructRT2RTAggElement(struct ieee80211_device *ieee, u8 *posRT2RTAgg,
|
||||
u8 *len);
|
||||
void HTOnAssocRsp(struct ieee80211_device *ieee);
|
||||
void HTInitializeHTInfo(struct ieee80211_device *ieee);
|
||||
void HTInitializeBssDesc(PBSS_HT pBssHT);
|
||||
void HTResetSelfAndSavePeerSetting(struct ieee80211_device *ieee,
|
||||
struct ieee80211_network *pNetwork);
|
||||
void HTUpdateSelfAndPeerSetting(struct ieee80211_device *ieee,
|
||||
struct ieee80211_network *pNetwork);
|
||||
u8 HTGetHighestMCSRate(struct ieee80211_device *ieee,
|
||||
u8 *pMCSRateSet, u8 *pMCSFilter);
|
||||
extern u8 MCS_FILTER_ALL[];
|
||||
extern u16 MCS_DATA_RATE[2][2][77] ;
|
||||
extern u8 HTCCheck(struct ieee80211_device *ieee, u8 *pFrame);
|
||||
u8 HTCCheck(struct ieee80211_device *ieee, u8 *pFrame);
|
||||
//extern void HTSetConnectBwModeCallback(unsigned long data);
|
||||
extern void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
|
||||
extern bool IsHTHalfNmodeAPs(struct ieee80211_device *ieee);
|
||||
extern u16 HTHalfMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate);
|
||||
extern u16 HTMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate);
|
||||
extern u16 TxCountToDataRate(struct ieee80211_device *ieee, u8 nDataRate);
|
||||
void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
|
||||
bool IsHTHalfNmodeAPs(struct ieee80211_device *ieee);
|
||||
u16 HTHalfMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate);
|
||||
u16 HTMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate);
|
||||
u16 TxCountToDataRate(struct ieee80211_device *ieee, u8 nDataRate);
|
||||
//function in BAPROC.c
|
||||
extern int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee,
|
||||
struct sk_buff *skb);
|
||||
extern int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee,
|
||||
struct sk_buff *skb);
|
||||
extern int ieee80211_rx_DELBA(struct ieee80211_device *ieee,struct sk_buff *skb);
|
||||
extern void TsInitAddBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTS,
|
||||
u8 Policy, u8 bOverwritePending);
|
||||
extern void TsInitDelBA(struct ieee80211_device *ieee,
|
||||
PTS_COMMON_INFO pTsCommonInfo, TR_SELECT TxRxSelect);
|
||||
extern void BaSetupTimeOut(unsigned long data);
|
||||
extern void TxBaInactTimeout(unsigned long data);
|
||||
extern void RxBaInactTimeout(unsigned long data);
|
||||
extern void ResetBaEntry(PBA_RECORD pBA);
|
||||
int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb);
|
||||
int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb);
|
||||
int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb);
|
||||
void TsInitAddBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTS,
|
||||
u8 Policy, u8 bOverwritePending);
|
||||
void TsInitDelBA(struct ieee80211_device *ieee,
|
||||
PTS_COMMON_INFO pTsCommonInfo, TR_SELECT TxRxSelect);
|
||||
void BaSetupTimeOut(unsigned long data);
|
||||
void TxBaInactTimeout(unsigned long data);
|
||||
void RxBaInactTimeout(unsigned long data);
|
||||
void ResetBaEntry(PBA_RECORD pBA);
|
||||
//function in TS.c
|
||||
extern bool GetTs(
|
||||
bool GetTs(
|
||||
struct ieee80211_device *ieee,
|
||||
PTS_COMMON_INFO *ppTS,
|
||||
u8 *Addr,
|
||||
@ -2390,10 +2403,10 @@ extern bool GetTs(
|
||||
TR_SELECT TxRxSelect, //Rx:1, Tx:0
|
||||
bool bAddNewTs
|
||||
);
|
||||
extern void TSInitialize(struct ieee80211_device *ieee);
|
||||
extern void TsStartAddBaProcess(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTS);
|
||||
extern void RemovePeerTS(struct ieee80211_device *ieee, u8 *Addr);
|
||||
extern void RemoveAllTS(struct ieee80211_device *ieee);
|
||||
void TSInitialize(struct ieee80211_device *ieee);
|
||||
void TsStartAddBaProcess(struct ieee80211_device *ieee, PTX_TS_RECORD pTxTS);
|
||||
void RemovePeerTS(struct ieee80211_device *ieee, u8 *Addr);
|
||||
void RemoveAllTS(struct ieee80211_device *ieee);
|
||||
void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee);
|
||||
|
||||
extern const long ieee80211_wlan_frequencies[];
|
||||
@ -2423,14 +2436,16 @@ static inline const char *escape_essid(const char *essid, u8 essid_len) {
|
||||
/* For the function is more related to hardware setting, it's better to use the
|
||||
* ieee handler to refer to it.
|
||||
*/
|
||||
extern short check_nic_enough_desc(struct net_device *dev, int queue_index);
|
||||
extern int ieee80211_data_xmit(struct sk_buff *skb, struct net_device *dev);
|
||||
extern int ieee80211_parse_info_param(struct ieee80211_device *ieee,
|
||||
struct ieee80211_info_element *info_element,
|
||||
u16 length,
|
||||
struct ieee80211_network *network,
|
||||
struct ieee80211_rx_stats *stats);
|
||||
short check_nic_enough_desc(struct net_device *dev, int queue_index);
|
||||
int ieee80211_data_xmit(struct sk_buff *skb, struct net_device *dev);
|
||||
int ieee80211_parse_info_param(struct ieee80211_device *ieee,
|
||||
struct ieee80211_info_element *info_element,
|
||||
u16 length,
|
||||
struct ieee80211_network *network,
|
||||
struct ieee80211_rx_stats *stats);
|
||||
|
||||
void ieee80211_indicate_packets(struct ieee80211_device *ieee, struct ieee80211_rxb **prxbIndicateArray,u8 index);
|
||||
void ieee80211_indicate_packets(struct ieee80211_device *ieee,
|
||||
struct ieee80211_rxb **prxbIndicateArray,
|
||||
u8 index);
|
||||
#define RT_ASOC_RETRY_LIMIT 5
|
||||
#endif /* IEEE80211_H */
|
||||
|
@ -14,11 +14,10 @@
|
||||
#define RTL8225H
|
||||
|
||||
#define RTL819X_TOTAL_RF_PATH 2 /* for 8192U */
|
||||
extern void PHY_SetRF8256Bandwidth(struct net_device *dev,
|
||||
HT_CHANNEL_WIDTH Bandwidth);
|
||||
extern void PHY_RF8256_Config(struct net_device *dev);
|
||||
extern void phy_RF8256_Config_ParaFile(struct net_device *dev);
|
||||
extern void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel);
|
||||
extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
|
||||
void PHY_SetRF8256Bandwidth(struct net_device *dev, HT_CHANNEL_WIDTH Bandwidth);
|
||||
void PHY_RF8256_Config(struct net_device *dev);
|
||||
void phy_RF8256_Config_ParaFile(struct net_device *dev);
|
||||
void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel);
|
||||
void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
|
||||
|
||||
#endif
|
||||
|
@ -1187,7 +1187,7 @@ void write_phy_cck(struct net_device *dev, u8 adr, u32 data);
|
||||
void write_phy_ofdm(struct net_device *dev, u8 adr, u32 data);
|
||||
void rtl8185_tx_antenna(struct net_device *dev, u8 ant);
|
||||
void rtl8192_set_rxconf(struct net_device *dev);
|
||||
extern void rtl819xusb_beacon_tx(struct net_device *dev, u16 tx_rate);
|
||||
void rtl819xusb_beacon_tx(struct net_device *dev, u16 tx_rate);
|
||||
|
||||
void EnableHWSecurityConfig8192(struct net_device *dev);
|
||||
void setKey(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, u8 *MacAddr, u8 DefaultKey, u32 *KeyContent);
|
||||
|
@ -212,24 +212,24 @@ extern struct dynamic_rx_path_sel DM_RxPathSelTable;
|
||||
|
||||
|
||||
/*--------------------------Exported Function prototype---------------------*/
|
||||
extern void init_hal_dm(struct net_device *dev);
|
||||
extern void deinit_hal_dm(struct net_device *dev);
|
||||
extern void hal_dm_watchdog(struct net_device *dev);
|
||||
extern void init_rate_adaptive(struct net_device *dev);
|
||||
extern void dm_txpower_trackingcallback(struct work_struct *work);
|
||||
extern void dm_restore_dynamic_mechanism_state(struct net_device *dev);
|
||||
extern void dm_backup_dynamic_mechanism_state(struct net_device *dev);
|
||||
extern void dm_change_dynamic_initgain_thresh(struct net_device *dev,
|
||||
u32 dm_type, u32 dm_value);
|
||||
extern void dm_force_tx_fw_info(struct net_device *dev,
|
||||
u32 force_type, u32 force_value);
|
||||
extern void dm_init_edca_turbo(struct net_device *dev);
|
||||
extern void dm_rf_operation_test_callback(unsigned long data);
|
||||
extern void dm_rf_pathcheck_workitemcallback(struct work_struct *work);
|
||||
extern void dm_fsync_timer_callback(unsigned long data);
|
||||
extern void dm_cck_txpower_adjust(struct net_device *dev, bool binch14);
|
||||
extern void dm_shadow_init(struct net_device *dev);
|
||||
extern void dm_initialize_txpower_tracking(struct net_device *dev);
|
||||
void init_hal_dm(struct net_device *dev);
|
||||
void deinit_hal_dm(struct net_device *dev);
|
||||
void hal_dm_watchdog(struct net_device *dev);
|
||||
void init_rate_adaptive(struct net_device *dev);
|
||||
void dm_txpower_trackingcallback(struct work_struct *work);
|
||||
void dm_restore_dynamic_mechanism_state(struct net_device *dev);
|
||||
void dm_backup_dynamic_mechanism_state(struct net_device *dev);
|
||||
void dm_change_dynamic_initgain_thresh(struct net_device *dev,
|
||||
u32 dm_type, u32 dm_value);
|
||||
void dm_force_tx_fw_info(struct net_device *dev,
|
||||
u32 force_type, u32 force_value);
|
||||
void dm_init_edca_turbo(struct net_device *dev);
|
||||
void dm_rf_operation_test_callback(unsigned long data);
|
||||
void dm_rf_pathcheck_workitemcallback(struct work_struct *work);
|
||||
void dm_fsync_timer_callback(unsigned long data);
|
||||
void dm_cck_txpower_adjust(struct net_device *dev, bool binch14);
|
||||
void dm_shadow_init(struct net_device *dev);
|
||||
void dm_initialize_txpower_tracking(struct net_device *dev);
|
||||
/*--------------------------Exported Function prototype---------------------*/
|
||||
|
||||
|
||||
|
@ -19,6 +19,6 @@
|
||||
|
||||
extern struct iw_handler_def r8192_wx_handlers_def;
|
||||
/* Enable the rtl819x_core.c to share this function, david 2008.9.22 */
|
||||
extern struct iw_statistics *r8192_get_wireless_stats(struct net_device *dev);
|
||||
struct iw_statistics *r8192_get_wireless_stats(struct net_device *dev);
|
||||
|
||||
#endif
|
||||
|
@ -182,10 +182,10 @@ typedef enum _rt_status {
|
||||
RT_STATUS_RESOURCE
|
||||
} rt_status, *prt_status;
|
||||
|
||||
extern u32 cmpk_message_handle_rx(struct net_device *dev,
|
||||
struct ieee80211_rx_stats *pstats);
|
||||
extern rt_status SendTxCommandPacket(struct net_device *dev,
|
||||
void *pData, u32 DataLen);
|
||||
u32 cmpk_message_handle_rx(struct net_device *dev,
|
||||
struct ieee80211_rx_stats *pstats);
|
||||
rt_status SendTxCommandPacket(struct net_device *dev,
|
||||
void *pData, u32 DataLen);
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -57,36 +57,35 @@ typedef enum _RF90_RADIO_PATH {
|
||||
#define bMaskLWord 0x0000ffff
|
||||
#define bMaskDWord 0xffffffff
|
||||
|
||||
extern u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 eRFPath);
|
||||
extern void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr,
|
||||
u32 bitmask, u32 data);
|
||||
extern u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr,
|
||||
u32 bitmask);
|
||||
extern void rtl8192_phy_SetRFReg(struct net_device *dev,
|
||||
RF90_RADIO_PATH_E eRFPath, u32 reg_addr, u32 bitmask, u32 data);
|
||||
extern u32 rtl8192_phy_QueryRFReg(struct net_device *dev,
|
||||
RF90_RADIO_PATH_E eRFPath, u32 reg_addr, u32 bitmask);
|
||||
extern void rtl8192_phy_configmac(struct net_device *dev);
|
||||
extern void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType);
|
||||
extern u8 rtl8192_phy_checkBBAndRF(struct net_device *dev,
|
||||
HW90_BLOCK_E CheckBlock, RF90_RADIO_PATH_E eRFPath);
|
||||
extern void rtl8192_BBConfig(struct net_device *dev);
|
||||
extern void rtl8192_phy_getTxPower(struct net_device *dev);
|
||||
extern void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
|
||||
extern void rtl8192_phy_RFConfig(struct net_device *dev);
|
||||
extern void rtl8192_phy_updateInitGain(struct net_device *dev);
|
||||
extern u8 rtl8192_phy_ConfigRFWithHeaderFile(struct net_device *dev,
|
||||
RF90_RADIO_PATH_E eRFPath);
|
||||
u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 eRFPath);
|
||||
void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr,
|
||||
u32 bitmask, u32 data);
|
||||
u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask);
|
||||
void rtl8192_phy_SetRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath,
|
||||
u32 reg_addr, u32 bitmask, u32 data);
|
||||
u32 rtl8192_phy_QueryRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath,
|
||||
u32 reg_addr, u32 bitmask);
|
||||
void rtl8192_phy_configmac(struct net_device *dev);
|
||||
void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType);
|
||||
u8 rtl8192_phy_checkBBAndRF(struct net_device *dev,
|
||||
HW90_BLOCK_E CheckBlock, RF90_RADIO_PATH_E eRFPath);
|
||||
void rtl8192_BBConfig(struct net_device *dev);
|
||||
void rtl8192_phy_getTxPower(struct net_device *dev);
|
||||
void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
|
||||
void rtl8192_phy_RFConfig(struct net_device *dev);
|
||||
void rtl8192_phy_updateInitGain(struct net_device *dev);
|
||||
u8 rtl8192_phy_ConfigRFWithHeaderFile(struct net_device *dev,
|
||||
RF90_RADIO_PATH_E eRFPath);
|
||||
|
||||
extern u8 rtl8192_phy_SwChnl(struct net_device *dev, u8 channel);
|
||||
extern void rtl8192_SetBWMode(struct net_device *dev,
|
||||
HT_CHANNEL_WIDTH bandwidth, HT_EXTCHNL_OFFSET offset);
|
||||
extern void rtl8192_SwChnl_WorkItem(struct net_device *dev);
|
||||
u8 rtl8192_phy_SwChnl(struct net_device *dev, u8 channel);
|
||||
void rtl8192_SetBWMode(struct net_device *dev, HT_CHANNEL_WIDTH bandwidth,
|
||||
HT_EXTCHNL_OFFSET offset);
|
||||
void rtl8192_SwChnl_WorkItem(struct net_device *dev);
|
||||
void rtl8192_SetBWModeWorkItem(struct net_device *dev);
|
||||
extern bool rtl8192_SetRFPowerState(struct net_device *dev,
|
||||
RT_RF_POWER_STATE eRFPowerState);
|
||||
extern void InitialGain819xUsb(struct net_device *dev, u8 Operation);
|
||||
bool rtl8192_SetRFPowerState(struct net_device *dev,
|
||||
RT_RF_POWER_STATE eRFPowerState);
|
||||
void InitialGain819xUsb(struct net_device *dev, u8 Operation);
|
||||
|
||||
extern void InitialGainOperateWorkItemCallBack(struct work_struct *work);
|
||||
void InitialGainOperateWorkItemCallBack(struct work_struct *work);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user