Linux Kernel
3.7.1
|
#include <phy_common.h>
struct b43_phy_operations - Function pointers for PHY ops.
: Allocate and initialise the PHY data structures. Must not be NULL. : Destroy and free the PHY data structures. Must not be NULL.
: Prepare the PHY data structures. The data structures allocated in are initialized here. Must not be NULL. : Prepare the PHY. This is called before b43_chip_init to do some early early PHY hardware init. Can be NULL, if not required. : Initialize the PHY. Must not be NULL. : Shutdown the PHY. Can be NULL, if not required.
: Read from a PHY register. Must not be NULL. : Write to a PHY register. Must not be NULL. : Maskset a PHY register, taking shortcuts. If it is NULL, a generic algorithm is used. : Read from a Radio register. Must not be NULL. : Write to a Radio register. Must not be NULL.
: Returns a boolean whether Hardware Power Control is supported or not. If NULL, hwpctl is assumed to be never supported. : Turn the radio ON or OFF. Possible state values are RFKILL_STATE_SOFT_BLOCKED or RFKILL_STATE_UNBLOCKED Must not be NULL. : Turn the Analog on/off. Must not be NULL. : Switch the radio to another channel. Must not be NULL. : Just returns the default channel number. Must not be NULL. : Set the antenna used for RX. Can be NULL, if not supported. : Switch the Interference Mitigation mode. Can be NULL, if not supported.
: Recalculate the transmission power parameters. This callback has to recalculate the TX power settings, but does not need to write them to the hardware, yet. Returns enum b43_txpwr_result to indicate whether the hardware needs to be adjusted. If B43_TXPWR_NEED_ADJUST is returned, will be called later. If the parameter "ignore_tssi" is true, the TSSI values should be ignored and a recalculation of the power settings should be done even if the TSSI values did not change. This function may sleep, but should not. Must not be NULL. : Write the previously calculated TX power settings (from ) to the hardware. This function may sleep. Can be NULL, if (and ONLY if) always returns B43_TXPWR_RES_DONE.
: Periodic work. Called every 15 seconds. Can be NULL, if not required. : Periodic work. Called every 60 seconds. Can be NULL, if not required.
Definition at line 157 of file phy_common.h.
Definition at line 178 of file phy_common.h.
int(* interf_mitigation)(struct b43_wldev *dev, enum b43_interference_mitigation new_mode) |
Definition at line 180 of file phy_common.h.
Definition at line 169 of file phy_common.h.
Definition at line 168 of file phy_common.h.
Definition at line 171 of file phy_common.h.
enum b43_txpwr_result(* recalc_txpower)(struct b43_wldev *dev, bool ignore_tssi) |
Definition at line 184 of file phy_common.h.
Definition at line 179 of file phy_common.h.
Definition at line 175 of file phy_common.h.
Definition at line 177 of file phy_common.h.