mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
ieee802154: use ieee802154_addr instead of *_sa variants
Change all internal uses of ieee802154_addr_sa to ieee802154_addr, except for those instances that communicate directly with userspace. Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e6278d9200
commit
ae531b9475
10 changed files with 146 additions and 136 deletions
|
@ -200,11 +200,11 @@ struct ieee802154_frag_info {
|
|||
*/
|
||||
struct ieee802154_mac_cb {
|
||||
u8 lqi;
|
||||
struct ieee802154_addr_sa sa;
|
||||
struct ieee802154_addr_sa da;
|
||||
u8 flags;
|
||||
u8 seq;
|
||||
struct ieee802154_frag_info frag_info;
|
||||
struct ieee802154_addr source;
|
||||
struct ieee802154_addr dest;
|
||||
};
|
||||
|
||||
static inline struct ieee802154_mac_cb *mac_cb(struct sk_buff *skb)
|
||||
|
@ -248,16 +248,16 @@ struct ieee802154_mlme_ops {
|
|||
/* The following fields are optional (can be NULL). */
|
||||
|
||||
int (*assoc_req)(struct net_device *dev,
|
||||
struct ieee802154_addr_sa *addr,
|
||||
struct ieee802154_addr *addr,
|
||||
u8 channel, u8 page, u8 cap);
|
||||
int (*assoc_resp)(struct net_device *dev,
|
||||
struct ieee802154_addr_sa *addr,
|
||||
struct ieee802154_addr *addr,
|
||||
__le16 short_addr, u8 status);
|
||||
int (*disassoc_req)(struct net_device *dev,
|
||||
struct ieee802154_addr_sa *addr,
|
||||
struct ieee802154_addr *addr,
|
||||
u8 reason);
|
||||
int (*start_req)(struct net_device *dev,
|
||||
struct ieee802154_addr_sa *addr,
|
||||
struct ieee802154_addr *addr,
|
||||
u8 channel, u8 page, u8 bcn_ord, u8 sf_ord,
|
||||
u8 pan_coord, u8 blx, u8 coord_realign);
|
||||
int (*scan_req)(struct net_device *dev,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue