Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/bwn/if_bwn_phy_n.c
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
#include <dev/pci/pcireg.h> | #include <dev/pci/pcireg.h> | ||||
#include <net80211/ieee80211_var.h> | #include <net80211/ieee80211_var.h> | ||||
#include <net80211/ieee80211_radiotap.h> | #include <net80211/ieee80211_radiotap.h> | ||||
#include <net80211/ieee80211_regdomain.h> | #include <net80211/ieee80211_regdomain.h> | ||||
#include <net80211/ieee80211_phy.h> | #include <net80211/ieee80211_phy.h> | ||||
#include <net80211/ieee80211_ratectl.h> | #include <net80211/ieee80211_ratectl.h> | ||||
#include <dev/bwn/if_bwn_siba.h> | |||||
#include <dev/bwn/if_bwnreg.h> | #include <dev/bwn/if_bwnreg.h> | ||||
#include <dev/bwn/if_bwnvar.h> | #include <dev/bwn/if_bwnvar.h> | ||||
#include <dev/bwn/if_bwn_debug.h> | #include <dev/bwn/if_bwn_debug.h> | ||||
#include <dev/bwn/if_bwn_misc.h> | #include <dev/bwn/if_bwn_misc.h> | ||||
#include <dev/bwn/if_bwn_phy_n.h> | #include <dev/bwn/if_bwn_phy_n.h> | ||||
#ifdef BWN_GPL_PHY | #ifdef BWN_GPL_PHY | ||||
Show All 31 Lines | |||||
#endif | #endif | ||||
} | } | ||||
int | int | ||||
bwn_phy_n_prepare_hw(struct bwn_mac *mac) | bwn_phy_n_prepare_hw(struct bwn_mac *mac) | ||||
{ | { | ||||
#ifdef BWN_GPL_PHY | #ifdef BWN_GPL_PHY | ||||
bwn_nphy_op_prepare_structs(mac); | return (bwn_nphy_op_prepare_structs(mac)); | ||||
return (0); | |||||
#else | #else | ||||
return (ENXIO); | return (ENXIO); | ||||
#endif | #endif | ||||
} | } | ||||
void | void | ||||
bwn_phy_n_init_pre(struct bwn_mac *mac) | bwn_phy_n_init_pre(struct bwn_mac *mac) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |