mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
feat: update new aic driver version
This commit is contained in:
@@ -19,6 +19,35 @@ typedef struct _android_wifi_priv_cmd {
|
||||
int total_len;
|
||||
} android_wifi_priv_cmd;
|
||||
|
||||
struct aicwf_cs_info {
|
||||
u8_l phymode;
|
||||
u8_l bandwidth;
|
||||
u16_l freq;
|
||||
|
||||
s8_l rssi;
|
||||
s8_l snr;
|
||||
s8_l noise;
|
||||
u8_l txpwr;
|
||||
|
||||
//chanutil
|
||||
u16_l chan_time_ms;
|
||||
u16_l chan_time_busy_ms;
|
||||
|
||||
char countrycode[4];
|
||||
u8_l rxnss;
|
||||
u8_l rxmcs;
|
||||
u8_l txnss;
|
||||
u8_l txmcs;
|
||||
|
||||
u32_l tx_phyrate;
|
||||
u32_l rx_phyrate;
|
||||
|
||||
u32_l tx_ack_succ_stat;
|
||||
u32_l tx_ack_fail_stat;
|
||||
|
||||
u16_l chan_tx_busy_time;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_COMPAT
|
||||
typedef struct _compat_android_wifi_priv_cmd {
|
||||
compat_caddr_t buf;
|
||||
@@ -28,6 +57,8 @@ typedef struct _compat_android_wifi_priv_cmd {
|
||||
#endif /* CONFIG_COMPAT */
|
||||
|
||||
int android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd);
|
||||
int get_cs_info(struct rwnx_vif *vif, u8 *mac_addr, u8 *val);
|
||||
|
||||
|
||||
#endif /* _AIC_PRIV_CMD_H_ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user