mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
update
This commit is contained in:
parent
01d402f038
commit
b1d891c21e
30 changed files with 3219 additions and 3085 deletions
|
|
@ -234,7 +234,7 @@ struct hal_ops {
|
|||
void (*disable_interrupt)(_adapter *padapter);
|
||||
|
||||
s32 (*interrupt_handler)(_adapter *padapter);
|
||||
void (*clear_interrupt)(_adapter *padapter);
|
||||
//pvvx void (*clear_interrupt)(_adapter *padapter); // нету в SDK !
|
||||
|
||||
#ifdef CONFIG_WOWLAN
|
||||
void (*disable_interrupt_but_cpwm2)(_adapter *padapter);
|
||||
|
|
|
|||
|
|
@ -480,16 +480,16 @@ typedef struct _RT_CHANNEL_INFO
|
|||
|
||||
extern int rtw_is_channel_set_contains_channel(RT_CHANNEL_INFO *channel_set, const u32 channel_num, int *pchannel_idx);
|
||||
|
||||
#ifdef CONFIG_CUSTOM_IE
|
||||
#ifndef _CUS_IE_
|
||||
#define _CUS_IE_
|
||||
typedef struct _cus_ie
|
||||
//#ifdef CONFIG_CUSTOM_IE
|
||||
//#ifndef _CUS_IE_
|
||||
//#define _CUS_IE_
|
||||
typedef struct __cus_ie
|
||||
{
|
||||
u8 *ie;
|
||||
u8 type;
|
||||
}rtw_custom_ie_t, *p_rtw_custom_ie_t;
|
||||
#endif /* _CUS_IE_ */
|
||||
#endif
|
||||
}_rtw_custom_ie_t, *_p_rtw_custom_ie_t;
|
||||
//#endif /* _CUS_IE_ */
|
||||
//#endif
|
||||
|
||||
struct mlme_ext_priv
|
||||
{
|
||||
|
|
@ -563,7 +563,7 @@ struct mlme_ext_priv
|
|||
#endif
|
||||
u8 partial_scan;
|
||||
#ifdef CONFIG_CUSTOM_IE
|
||||
p_rtw_custom_ie_t cus_ven_ie;
|
||||
_p_rtw_custom_ie_t cus_ven_ie;
|
||||
u8 ie_num;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ typedef int (*iw_handler)(struct net_device *, struct iw_request_info *,
|
|||
union iwreq_data *, char *);
|
||||
|
||||
struct _NDIS_802_11_SSID {
|
||||
uint32_t SsidLength;
|
||||
uint32_t SsidLength; //+164
|
||||
uint8_t Ssid[36];
|
||||
};
|
||||
typedef struct _NDIS_802_11_SSID NDIS_802_11_SSID;
|
||||
|
|
@ -422,7 +422,7 @@ struct _WLAN_BSSID_EX {
|
|||
uint32_t Length;
|
||||
NDIS_802_11_MAC_ADDRESS MacAddress;
|
||||
uint8_t Reserved[2];
|
||||
NDIS_802_11_SSID Ssid;
|
||||
NDIS_802_11_SSID Ssid; // +164
|
||||
uint32_t Privacy;
|
||||
NDIS_802_11_RSSI Rssi;
|
||||
NDIS_802_11_NETWORK_TYPE NetworkTypeInUse;
|
||||
|
|
@ -514,21 +514,21 @@ enum _RT_SCAN_TYPE //: sint32_t
|
|||
typedef enum _RT_SCAN_TYPE RT_SCAN_TYPE;
|
||||
|
||||
struct mlme_priv {
|
||||
_lock lock;
|
||||
sint fw_state;
|
||||
uint8_t bScanInProcess;
|
||||
uint8_t to_join;
|
||||
uint8_t *nic_hdl;
|
||||
_list *pscanned;
|
||||
_queue free_bss_pool;
|
||||
_queue scanned_queue;
|
||||
uint8_t *free_bss_buf;
|
||||
uint16_t num_of_scanned;
|
||||
uint8_t *scan_buf;
|
||||
uint32_t scan_buf_len;
|
||||
uint16_t scan_cnt;
|
||||
uint16_t scan_type;
|
||||
NDIS_802_11_SSID assoc_ssid;
|
||||
_lock lock; //+12
|
||||
sint fw_state; //+16
|
||||
uint8_t bScanInProcess; //+20
|
||||
uint8_t to_join; //+21
|
||||
uint8_t *nic_hdl; //+24
|
||||
_list *pscanned; //+28
|
||||
_queue free_bss_pool; //+32
|
||||
_queue scanned_queue; //+44
|
||||
uint8_t *free_bss_buf; //+56
|
||||
uint16_t num_of_scanned; //+60
|
||||
uint8_t *scan_buf; //+64
|
||||
uint32_t scan_buf_len; //+68
|
||||
uint16_t scan_cnt; //+72
|
||||
uint16_t scan_type; //+74
|
||||
NDIS_802_11_SSID assoc_ssid; //+76
|
||||
uint8_t assoc_bssid[6];
|
||||
struct wlan_network cur_network;
|
||||
uint32_t scan_interval;
|
||||
|
|
@ -687,7 +687,7 @@ struct mlme_ext_priv { //__attribute__((packed))?
|
|||
uint8_t mlmeext_init;
|
||||
struct atomic_t event_seq;
|
||||
uint16_t mgnt_seq;
|
||||
uint8_t cur_channel;
|
||||
uint8_t cur_channel; // padapter+1270
|
||||
uint8_t cur_bwmode;
|
||||
uint8_t cur_ch_offset;
|
||||
uint8_t cur_wireless_mode;
|
||||
|
|
@ -845,7 +845,7 @@ struct _atr_aligned8_ recv_priv {
|
|||
uint16_t rxbuffersize;
|
||||
uint8_t is_signal_dbg;
|
||||
uint8_t signal_strength_dbg;
|
||||
int8_t rssi;
|
||||
int8_t rssi; // +2932
|
||||
int8_t rxpwdb;
|
||||
uint8_t signal_strength;
|
||||
uint8_t signal_qual;
|
||||
|
|
@ -1980,7 +1980,7 @@ struct hal_ops {
|
|||
struct _atr_aligned4_ _ADAPTER {
|
||||
uint16_t HardwareType;
|
||||
uint16_t interface_type; //+2
|
||||
uint32_t work_mode;
|
||||
uint32_t work_mode; //+4
|
||||
struct dvobj_priv *dvobj; //+8
|
||||
struct mlme_priv mlmepriv; //+12 [1244]
|
||||
struct mlme_ext_priv mlmeextpriv; //+1256 [912]
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ typedef struct rtw_scan_handler_result {
|
|||
* @brief The structure is used to store the WIFI setting gotten from WIFI driver.
|
||||
*/
|
||||
typedef struct rtw_wifi_setting {
|
||||
rtw_mode_t mode;
|
||||
rtw_mode_t mode;
|
||||
unsigned char ssid[33];
|
||||
unsigned char channel;
|
||||
rtw_security_t security_type;
|
||||
|
|
|
|||
|
|
@ -617,7 +617,7 @@ typedef struct _WLAN_BSSID_EX
|
|||
u8 Reserved[1]; //[0]: IS beacon frame
|
||||
u8 bP2pNetwork;
|
||||
#else
|
||||
u8 Reserved[2]; //[0]: IS beacon frame
|
||||
u8 Reserved[2]; //[0]: IS beacon frame (padapter+163)
|
||||
#endif
|
||||
NDIS_802_11_SSID Ssid;
|
||||
u32 Privacy;
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ extern struct sk_buff *rltk_wlan_alloc_skb(unsigned int total_len);
|
|||
extern void rltk_wlan_send_skb(int idx, struct sk_buff *skb);
|
||||
extern void rltk_netif_rx(struct sk_buff *skb);
|
||||
extern int rltk_del_station(const char *ifname, u8 *hwaddr);
|
||||
extern int rltk_get_auto_chl(const char *ifname, u8 *channel_set, int channel_num, int a4);
|
||||
extern int rltk_get_auto_chl(const char *ifname, u8 *channel_set, int channel_num);
|
||||
extern int rltk_set_tx_power_percentage(rtw_tx_pwr_percentage_t power_percentage_idx);
|
||||
extern int rltk_wlan_control(unsigned long cmd, void *data);
|
||||
extern unsigned char rltk_wlan_running(unsigned char idx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue