02 Nov, 2017
1 commit
-
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.By default all files without license information are under the default
license of the kernel, which is GPL version 2.Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if
Reviewed-by: Philippe Ombredanne
Reviewed-by: Thomas Gleixner
Signed-off-by: Greg Kroah-Hartman
30 Sep, 2015
1 commit
-
This patch adds support for accessing mac802154 llsec implementation
over nl802154. I added for a new Kconfig entry to provide this
functionality CONFIG_IEEE802154_NL802154_EXPERIMENTAL. This interface is
still in development. It provides to change security parameters and
add/del/dump entries of security tables. Later we can add also a get to
get an entry by unique identifier.Cc: Phoebe Buckheister
Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann
11 Aug, 2015
1 commit
-
This patch introduce a new mib entry which isn't part of 802.15.4 but
useful as default behaviour to set the ack request bit or not if we
don't know if the ack request bit should set. This is currently used for
stacks like IEEE 802.15.4 6LoWPAN.Reviewed-by: Stefan Schmidt
Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann
23 Jul, 2015
1 commit
-
This patch help to implement suspend/resume in mac802154, these
hooks will be run before the device is suspended and after it
resumes.Signed-off-by: Varka Bhadram
Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann
28 May, 2015
1 commit
-
This patch adds support for setting the current cca ed level value over
nl802154.Signed-off-by: Alexander Aring
Reviewed-by: Varka Bhadram
Signed-off-by: Marcel Holtmann
27 May, 2015
1 commit
-
This patch adds transmission power setting support for IEEE-802.15.4
devices via nl802154.Signed-off-by: Varka Bhadram
Acked-by: Alexander Aring
Signed-off-by: Marcel Holtmann
01 May, 2015
2 commits
-
This code is based on commit 6bab2e19c5ffd
("cfg80211: pass name_assign_type to rdev_add_virtual_intf()")This will expose in sysfs whether the ifname of a IEEE-802.15.4
device is set by userspace or generated by the kernel.
We are using two types of name_assign_types
o NET_NAME_ENUM: Default interface name provided by kernel
o NET_NAME_USER: Interface name provided by user.Signed-off-by: Varka Bhadram
Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
Enabling tracing via
echo 1 > /sys/kernel/debug/tracing/events/cfg802154/enable
enables event tracing like
iwpan dev wpan0 set pan_id 0xbeef
cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 2/2 #P:1
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / delay
# TASK-PID CPU# |||| TIMESTAMP FUNCTION
# | | | |||| | |
iwpan-2663 [000] .... 170.369142: 802154_rdev_set_pan_id: phy0, wpan_dev(1), pan id: 0xbeef
iwpan-2663 [000] .... 170.369177: 802154_rdev_return_int: phy0, returned: 0Signed-off-by: Guido Günther
Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann
19 Dec, 2014
1 commit
-
This patch adds support for setting cca parameters via nl802154.
Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann
17 Nov, 2014
5 commits
-
This patch changes the byteorder handling for short and panid handling.
We now except to get little endian in nl802154 for these attributes.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch adds support for deleting a wpan interface via nl802154.
Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch adds support for setting an extended address while
registration a new interface. If ieee802154_is_valid_extended_addr
getting as parameter and invalid extended address then the perm address
is fallback. This is useful to make some default handling while for
example default registration of a wpan interface while phy registration.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch adds a new nl802154 command for adding a new interface
according to a wpan phy via nl802154.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patches removes the const keyword in variables which are non
pointers. There is no sense to declare call by value parameters as
const.Signed-off-by: Alexander Aring
Reported-by: Marc Kleine-Budde
Signed-off-by: Marcel Holtmann
12 Nov, 2014
7 commits
-
This patch adds support for setting listen before transmit mode via
nl802154 framework.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch add support for setting mac frame retries setting via
nl802154 framework.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch add support for max csma backoffs setting via nl802154
framework.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch adds support for setting backoff exponents via nl802154
framework.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch adds support for setting short address via nl802154 framework.
Also added a comment because a 0xffff seems to be valid address that we
don't have a short address. This is a valid setting but we need
more checks in upper layers to don't allow this address as source address.
Also the current netlink interface doesn't allow to set the short_addr
to 0xffff. Same for the 0xfffe short address which describes a not
allocated short address.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch adds support for setting pan_id via nl802154 framework.
Adding a comment because setting 0xffff as pan_id seems to be valid
setting. The pan_id 0xffff as source pan is invalid. I am not sure now
about this setting but for the current netlink interface this is an
invalid setting, so we do the same now. Maybe we need to change that
when we have coordinator support and association support.Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann -
This patch adds page and channel setting support to nl802154 framework.
Signed-off-by: Alexander Aring
Signed-off-by: Marcel Holtmann
02 Nov, 2014
1 commit
-
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
Signed-off-by: Marcel Holtmann