Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_core.h
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | struct bwn_phy_n { | ||||
uint16_t txiqlocal_bestc[11]; | uint16_t txiqlocal_bestc[11]; | ||||
bool txiqlocal_coeffsvalid; | bool txiqlocal_coeffsvalid; | ||||
struct bwn_phy_n_txpwrindex txpwrindex[2]; | struct bwn_phy_n_txpwrindex txpwrindex[2]; | ||||
struct bwn_phy_n_pwr_ctl_info pwr_ctl_info[2]; | struct bwn_phy_n_pwr_ctl_info pwr_ctl_info[2]; | ||||
struct bwn_chanspec txiqlocal_chanspec; | struct bwn_chanspec txiqlocal_chanspec; | ||||
struct bwn_ppr tx_pwr_max_ppr; | struct bwn_ppr tx_pwr_max_ppr; | ||||
uint16_t tx_pwr_last_recalc_freq; | uint16_t tx_pwr_last_recalc_freq; | ||||
int tx_pwr_last_recalc_limit; | int tx_pwr_last_recalc_limit; | ||||
uint8_t tsspos_2g; | |||||
uint8_t txrx_chain; | uint8_t txrx_chain; | ||||
uint16_t tx_rx_cal_phy_saveregs[11]; | uint16_t tx_rx_cal_phy_saveregs[11]; | ||||
uint16_t tx_rx_cal_radio_saveregs[22]; | uint16_t tx_rx_cal_radio_saveregs[22]; | ||||
uint16_t rfctrl_intc1_save; | uint16_t rfctrl_intc1_save; | ||||
uint16_t rfctrl_intc2_save; | uint16_t rfctrl_intc2_save; | ||||
Show All 15 Lines | struct bwn_phy_n { | ||||
struct bwn_phy_n_rssical_cache rssical_cache; | struct bwn_phy_n_rssical_cache rssical_cache; | ||||
struct bwn_phy_n_cal_cache cal_cache; | struct bwn_phy_n_cal_cache cal_cache; | ||||
bool crsminpwr_adjusted; | bool crsminpwr_adjusted; | ||||
bool noisevars_adjusted; | bool noisevars_adjusted; | ||||
}; | }; | ||||
extern bwn_txpwr_result_t bwn_nphy_op_recalc_txpower(struct bwn_mac *mac, bool ignore_tssi); | extern bwn_txpwr_result_t bwn_nphy_op_recalc_txpower(struct bwn_mac *mac, bool ignore_tssi); | ||||
extern int bwn_nphy_op_allocate(struct bwn_mac *mac); | extern int bwn_nphy_op_allocate(struct bwn_mac *mac); | ||||
extern void bwn_nphy_op_prepare_structs(struct bwn_mac *mac); | extern int bwn_nphy_op_prepare_structs(struct bwn_mac *mac); | ||||
extern void bwn_nphy_op_free(struct bwn_mac *mac); | extern void bwn_nphy_op_free(struct bwn_mac *mac); | ||||
extern int bwn_nphy_op_init(struct bwn_mac *mac); | extern int bwn_nphy_op_init(struct bwn_mac *mac); | ||||
extern void bwn_nphy_op_maskset(struct bwn_mac *mac, uint16_t reg, uint16_t mask, uint16_t set); | extern void bwn_nphy_op_maskset(struct bwn_mac *mac, uint16_t reg, uint16_t mask, uint16_t set); | ||||
extern uint16_t bwn_nphy_op_radio_read(struct bwn_mac *mac, uint16_t reg); | extern uint16_t bwn_nphy_op_radio_read(struct bwn_mac *mac, uint16_t reg); | ||||
extern void bwn_nphy_op_radio_write(struct bwn_mac *mac, uint16_t reg, uint16_t value); | extern void bwn_nphy_op_radio_write(struct bwn_mac *mac, uint16_t reg, uint16_t value); | ||||
extern void bwn_nphy_op_software_rfkill(struct bwn_mac *mac, bool blocked); | extern void bwn_nphy_op_software_rfkill(struct bwn_mac *mac, bool blocked); | ||||
extern void bwn_nphy_op_switch_analog(struct bwn_mac *mac, bool on); | extern void bwn_nphy_op_switch_analog(struct bwn_mac *mac, bool on); | ||||
extern int bwn_nphy_op_switch_channel(struct bwn_mac *mac, unsigned int new_channel); | extern int bwn_nphy_op_switch_channel(struct bwn_mac *mac, unsigned int new_channel); | ||||
extern unsigned int bwn_nphy_op_get_default_chan(struct bwn_mac *mac); | extern unsigned int bwn_nphy_op_get_default_chan(struct bwn_mac *mac); | ||||
#endif /* __IF_BWN_PHY_N_CORE_H__ */ | #endif /* __IF_BWN_PHY_N_CORE_H__ */ |