mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mac802154: remove driver ops in wpan-phy
This patch removes the driver ops callbacks inside of wpan_phy struct. It was used to check if a phy supports this driver ops call. We do this now via hardware flags. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
e1d299f61a
commit
a543c5989d
4 changed files with 8 additions and 116 deletions
|
|
@ -57,14 +57,6 @@ struct wpan_phy {
|
|||
const char *name, int type);
|
||||
void (*del_iface)(struct wpan_phy *phy, struct net_device *dev);
|
||||
|
||||
int (*set_txpower)(struct wpan_phy *phy, int db);
|
||||
int (*set_lbt)(struct wpan_phy *phy, bool on);
|
||||
int (*set_cca_mode)(struct wpan_phy *phy, u8 cca_mode);
|
||||
int (*set_cca_ed_level)(struct wpan_phy *phy, int level);
|
||||
int (*set_csma_params)(struct wpan_phy *phy, u8 min_be, u8 max_be,
|
||||
u8 retries);
|
||||
int (*set_frame_retries)(struct wpan_phy *phy, s8 retries);
|
||||
|
||||
char priv[0] __aligned(NETDEV_ALIGN);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue