cfg802154.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) cfg802154.h (66e5c2672cd11b9310008099faf6a4ffb9dfb6d0)
1/*
2 * Copyright (C) 2007, 2008, 2009 Siemens AG
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 205 unchanged lines hidden (view full) ---

214 /* 802.15.4 acronym: Tdsym in usec */
215 u8 symbol_duration;
216 /* lifs and sifs periods timing */
217 u16 lifs_period;
218 u16 sifs_period;
219
220 struct device dev;
221
1/*
2 * Copyright (C) 2007, 2008, 2009 Siemens AG
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 205 unchanged lines hidden (view full) ---

214 /* 802.15.4 acronym: Tdsym in usec */
215 u8 symbol_duration;
216 /* lifs and sifs periods timing */
217 u16 lifs_period;
218 u16 sifs_period;
219
220 struct device dev;
221
222 /* the network namespace this phy lives in currently */
223 possible_net_t _net;
224
222 char priv[0] __aligned(NETDEV_ALIGN);
223};
224
225 char priv[0] __aligned(NETDEV_ALIGN);
226};
227
228static inline struct net *wpan_phy_net(struct wpan_phy *wpan_phy)
229{
230 return read_pnet(&wpan_phy->_net);
231}
232
233static inline void wpan_phy_net_set(struct wpan_phy *wpan_phy, struct net *net)
234{
235 write_pnet(&wpan_phy->_net, net);
236}
237
225struct ieee802154_addr {
226 u8 mode;
227 __le16 pan_id;
228 union {
229 __le16 short_addr;
230 __le64 extended_addr;
231 };
232};

--- 171 unchanged lines hidden ---
238struct ieee802154_addr {
239 u8 mode;
240 __le16 pan_id;
241 union {
242 __le16 short_addr;
243 __le64 extended_addr;
244 };
245};

--- 171 unchanged lines hidden ---