#
986a8abf |
| 05-Nov-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: move interface add handling in iface
This patch moves and renames the mac802154_add_iface and mac802154_netdev_register functions into iface.c. The function mac802154_add_iface is renamed
mac802154: move interface add handling in iface
This patch moves and renames the mac802154_add_iface and mac802154_netdev_register functions into iface.c. The function mac802154_add_iface is renamed to ieee802154_if_add which is a similar naming convention like mac80211.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
b210b187 |
| 05-Nov-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: move interface del handling in iface
This patch moves and rename the mac802154_del_iface function into iface.c and rename the function to ieee802154_if_remove which is a similar naming co
mac802154: move interface del handling in iface
This patch moves and rename the mac802154_del_iface function into iface.c and rename the function to ieee802154_if_remove which is a similar naming convention like mac80211.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
Revision tags: v3.18-rc3 |
|
#
776e59de |
| 01-Nov-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: set extended address filter on ifup
This patch moves the setting of hardware extended address filtering inside of interface up instead doing it directly inside of netlink interface. Also
mac802154: set extended address filter on ifup
This patch moves the setting of hardware extended address filtering inside of interface up instead doing it directly inside of netlink interface. Also we don't need to set the sdata extended attribute in netlink. This is already done by ndo_set_mac_address of net_device_ops.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
4a9a816a |
| 01-Nov-2014 |
Alexander Aring <alex.aring@gmail.com> |
cfg802154: convert deprecated iface add and del
This patch removes the wpan_phy callbacks for add and del an interface on a phy. Instead we introduce deprecated cfg802154 callbacks for this. Further
cfg802154: convert deprecated iface add and del
This patch removes the wpan_phy callbacks for add and del an interface on a phy. Instead we introduce deprecated cfg802154 callbacks for this. Furthermore we introduce a new netlink interface nl802154 which use different callbacks. The deprecated function is to have a backwards compatibility with the current netlink interface.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
15a892e7 |
| 31-Oct-2014 |
John W. Linville <linville@tuxdriver.com> |
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
|
#
38130c31 |
| 29-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: add basic support for monitor
This patch adds basic support for monitor mode. Also change the open call that we set the transceiver mac setting on an interface up. Futher patches will add
mac802154: add basic support for monitor
This patch adds basic support for monitor mode. Also change the open call that we set the transceiver mac setting on an interface up. Futher patches will add a better handling while interface up an interface.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
c7420c36 |
| 28-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: move mac_params functions into mac_cmd
These functions can be static in mac_cmd file.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtman
mac802154: move mac_params functions into mac_cmd
These functions can be static in mac_cmd file.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
12439a53 |
| 28-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: remove channel attributes from sdata
These channel attributes was part of "channel context switch while xmit" which was removed by commit dc67c6b30f36d57b70b70547a30e7a8432540c6f ("mac802
mac802154: remove channel attributes from sdata
These channel attributes was part of "channel context switch while xmit" which was removed by commit dc67c6b30f36d57b70b70547a30e7a8432540c6f ("mac802154: tx: remove xmit channel context switch"). This patch removes these unnecessary variables and use the current_page and current_channel by wpan_phy struct now.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
e363eca3 |
| 28-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: move local started handling
This patch removes the current handling of started boolean. This is actually dead code, because mac802154_netdev_register can't never be called before ieee8021
mac802154: move local started handling
This patch removes the current handling of started boolean. This is actually dead code, because mac802154_netdev_register can't never be called before ieee802154_register_hw. This means that local->started is always be true when mac802154_netdev_register is called. Instead we using this now like mac80211 to indicate that an instance of sdata is running.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
5d65cae4 |
| 28-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rename running to started
This variable should be handled like ieee80211_local struct of mac80211. We rename this variable to started now to have the same name convention.
Signed-off-by:
mac802154: rename running to started
This variable should be handled like ieee80211_local struct of mac80211. We rename this variable to started now to have the same name convention.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
0ea3da64 |
| 28-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rework sdata state change to running
This patch reworks the handling for setting the state like mac80211. We use bit's instead a bool variable. The mutex is not needed because it use test
mac802154: rework sdata state change to running
This patch reworks the handling for setting the state like mac80211. We use bit's instead a bool variable. The mutex is not needed because it use test and set bits which are atomic operations.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
16301861 |
| 28-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: declare struct ieee802154_ops as const
The ieee802154_ops structure should be never changed during runtime. This patch declare this structure as const to avoid a runtime change.
Signed-o
mac802154: declare struct ieee802154_ops as const
The ieee802154_ops structure should be never changed during runtime. This patch declare this structure as const to avoid a runtime change.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Cc: Alan Ott <alan@signal11.us> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
19ec690a |
| 28-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: main: move open and close into iface
These functions can be static inside the iface file, because it's not used anywhere else. This patch moves these functions into iface file.
Signed-of
mac802154: main: move open and close into iface
These functions can be static inside the iface file, because it's not used anywhere else. This patch moves these functions into iface file.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
4ca18be5 |
| 27-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: tx: remove monitor receive while xmit
This removes the call of monitor receive funktion when any interface type call xmit. There exist no such use case that a monitor interface should rec
mac802154: tx: remove monitor receive while xmit
This removes the call of monitor receive funktion when any interface type call xmit. There exist no such use case that a monitor interface should receive the actual sending frame. One use case could be that a wpan interface and monitor interface could be running at the same time on one phy. Then the monitor interface receives the wpan frames also. Furthermore we adding support for promiscous mode setting. With promiscous mode setting we can't run a wpan and monitor interface at the same time.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
2a9820c9 |
| 27-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rx: move receive handling into rx.c
This patch removes all relevant receiving functions inclusive frame parsing into rx file. Like mac80211 we should implement the complete receive handli
mac802154: rx: move receive handling into rx.c
This patch removes all relevant receiving functions inclusive frame parsing into rx file. Like mac80211 we should implement the complete receive handling and parsing in this file.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
c5c47e67 |
| 27-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rx: use tasklet instead workqueue
Tasklets have much less overhead than workqueues. This patch also removes the heap allocation for the worker on receiving path. Like mac80211 we should p
mac802154: rx: use tasklet instead workqueue
Tasklets have much less overhead than workqueues. This patch also removes the heap allocation for the worker on receiving path. Like mac80211 we should prefer use a tasklet here instead a workqueue to getting fast out of interrupt context when ieee802154_rx_irqsafe is called by driver. Like wireless inside the tasklet context we should call netif_receive_skb instead netif_rx_ni anymore.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
Revision tags: v3.18-rc2 |
|
#
e5e584fc |
| 26-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: tx: change naming convention
This patch changes the naming convention of the tx functions like mac80211. Just with an 802154 instead 80211 inside the name.
Signed-off-by: Alexander Aring
mac802154: tx: change naming convention
This patch changes the naming convention of the tx functions like mac80211. Just with an 802154 instead 80211 inside the name.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
50c6fb99 |
| 26-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: tx: move xmit callback to tx file
This patch moves the netdev xmit callback functions into the tx.c file.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holt
mac802154: tx: move xmit callback to tx file
This patch moves the netdev xmit callback functions into the tx.c file.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
f7730542 |
| 25-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rename dev_workqueue to workqueue
Small rename to use the name workqueue than dev_workqueue. To bring the same naming convention like wireless into 802.15.4.
Signed-off-by: Alexander Ari
mac802154: rename dev_workqueue to workqueue
Small rename to use the name workqueue than dev_workqueue. To bring the same naming convention like wireless into 802.15.4.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
59d19cd7 |
| 25-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: introduce IEEE802154_DEV_TO_SUB_IF
This function adds a wrapper to call netdev_priv to getting the sdata attribute. This is similar like the IEEE80211_DEV_TO_SUB_IF function inside wirele
mac802154: introduce IEEE802154_DEV_TO_SUB_IF
This function adds a wrapper to call netdev_priv to getting the sdata attribute. This is similar like the IEEE80211_DEV_TO_SUB_IF function inside wireless stack implementation.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
60741361 |
| 25-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: introduce hw_to_local function
This patch replace the mac802154_to_priv macro with a static inline function named hw_to_local. This brings a similar naming convention like mac80211 stack.
mac802154: introduce hw_to_local function
This patch replace the mac802154_to_priv macro with a static inline function named hw_to_local. This brings a similar naming convention like mac80211 stack.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
d98be45b |
| 25-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rename sdata slaves and slaves_mtx
This patch renamens the slaves attribute in sdata to interfaces and slaves_mtx to iflist_mtx. This is similar like the mac80211 stack naming convention.
mac802154: rename sdata slaves and slaves_mtx
This patch renamens the slaves attribute in sdata to interfaces and slaves_mtx to iflist_mtx. This is similar like the mac80211 stack naming convention.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
04e850fe |
| 25-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rename hw subif_data variable to local
This patch renames the hw attribute in struct ieee802154_sub_if_data to local. This avoid confusing with the struct ieee802154_hw hw; inside of loca
mac802154: rename hw subif_data variable to local
This patch renames the hw attribute in struct ieee802154_sub_if_data to local. This avoid confusing with the struct ieee802154_hw hw; inside of local struct.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
036562f9 |
| 25-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rename mac802154_sub_if_data
Like wireless this structure should named ieee802154_sub_if_data and not mac802154_sub_if_data. This patch renames the struct and variables to sdata instead p
mac802154: rename mac802154_sub_if_data
Like wireless this structure should named ieee802154_sub_if_data and not mac802154_sub_if_data. This patch renames the struct and variables to sdata instead priv sometimes.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
a5e1ec53 |
| 25-Oct-2014 |
Alexander Aring <alex.aring@gmail.com> |
mac802154: rename mac802154_priv to ieee802154_local
This patch rename the mac802154_priv to ieee802154_local. The mac802154_priv structure is like ieee80211_local and so we name it ieee802154_local
mac802154: rename mac802154_priv to ieee802154_local
This patch rename the mac802154_priv to ieee802154_local. The mac802154_priv structure is like ieee80211_local and so we name it ieee802154_local.
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|