Files
luban-lite/bsp/peripheral/wireless/hugeic/hgic_smac/hw.h
刘可亮 3e10f578d3 v1.2.2
2025-10-21 13:59:50 +08:00

28 lines
765 B
C

#ifndef HGICS_HW_H_
#define HGICS_HW_H_
struct hgics_hw_ops {
int (*init)(struct hgics_wdev *hg);
int (*free)(struct hgics_wdev *hg);
int (*start)(struct ieee80211_hw *hw);
int (*stop)(struct ieee80211_hw *hw);
int (*start_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
int (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
int (*add_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
int (*remove_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
int (*create_procfs)(struct hgics_wdev *hg);
int (*delete_procfs)(struct hgics_wdev *hg);
};
struct hgics_hw {
u32 chip_id;
struct hgics_hw_ops *ops;
};
const struct hgics_hw *hgics_hw_match(u32 dev_id);
#endif