7dce20afb6
cc110x: Add RSSI dBm conversion
2017-11-27 21:49:15 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
...
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Sichen Zhao
827ffbd048
cc110x-netdev.c: add NETOPT_ADDR_LEN.
2017-11-22 22:06:31 +08:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
Martine Lenders
e3ef42842e
cc110x: port to gnrc_netif2
2017-11-15 22:57:02 +01:00
94c753c07a
drivers: doxygen cleanup
2017-09-01 15:12:20 +02:00
Joakim Nohlgård
065bc62e0a
netdev: Make set() value parameter const void *
2017-08-25 13:41:19 +02:00
smlng
a7b049f98a
drivers: coding style, use {} for empty while loops
2017-06-11 20:08:10 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Oleg Hahm
0d3833a88a
net: cleanup ng_ remnants
2017-03-02 14:19:25 +01:00
Hauke Petersen
79a113d1ba
sys/drivers: renamed uuid module to luid
2017-02-27 11:01:20 +01:00
Hauke Petersen
8799b3ab9e
drivers/cc110x: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
84246d1687
drivers/cc110x: use uuid module for addr gen
2017-01-19 11:09:29 +01:00
Martine Lenders
7f7f08bf50
cc110x: only handle NETOPT_PROTO if gnrc_netif module is present
...
The cc110x_t::proto field is only present when the `gnrc_netif` module
is present. Handling its corresponding `NETOPT_PROTO` value leads to a
compile error when trying to compile without GNRC.
2017-01-15 20:36:53 +01:00
Martine Lenders
bd2429f299
cpu: drivers: adapt devices for netdev2 parameter type change
2016-08-03 12:30:51 +02:00
75168936f6
drivers/cc110x: fix typo in macro definition.
2016-07-14 17:22:03 +02:00
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
Oleg Hahm
86a83f8f86
cc110x: use CPP check instead of runtime check
2016-03-29 22:51:53 +02:00
Oleg Hahm
0ed54f0d4e
cc110x: fix typo (missing semicolon)
2016-03-29 20:11:35 +02:00
e64cffa359
drivers: cc110x: compile fix
2016-03-26 20:53:13 +01:00
Martine Lenders
69b63b7c5a
cc110x: generate IID from hardware address
2016-03-26 19:16:05 +01:00
Martine Lenders
536255696e
cc110x: take whole CPU ID for hardware address generation
2016-03-26 19:15:43 +01:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
Hauke Petersen
e51d634aeb
drivers: adapted gpio_init(_x)() calls
2016-03-17 14:55:30 +01:00
Martine Lenders
64ec89e9cb
cc110x: only set info values if != NULL
2016-02-23 15:51:10 +01:00
Martine Lenders
bd8d2d3a8a
cc110x: adapt for info struct
2016-02-22 15:17:05 +01:00
5b4b40cc1e
drivers: cc110x: don't pass isr_arg on rx complete event
2016-02-21 22:01:03 +01:00
Cenk Gündoğan
c0369f04f6
drivers: make default channel configurable at compile time
2016-02-16 13:07:17 +01:00
DipSwitch
62469957ae
Merge pull request #4193 from OlegHahm/cc110x_proto
...
cc110x: make protocol configurable
2016-02-14 16:47:04 +01:00
Hauke Petersen
f3ac84d43a
drivers: s/CPUID_ID_LEN/CPUID_LEN/
2016-02-08 11:10:59 +01:00
Oleg Hahm
2f5683b3f7
cc110x: make protocol configurable
2016-02-05 16:12:46 +01:00
Martine Lenders
3c00cec299
gnrc_netdev2: harmonize naming scheme to rest of GNRC
2015-11-27 13:03:37 +01:00
Hauke Petersen
aee4e564c0
drivers/cc110x: moved includes
...
let the driver follow the same structure than other drivers
for now: keeping 'private' includes in a local include folder
2015-11-20 10:32:43 +01:00
14d0ef6c4d
drivers: add cc110x driver
2015-09-23 18:55:11 +02:00
6e3e41b729
drivers: remove cc110x
2015-08-06 12:13:18 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
Hauke Petersen
2cc2d9f740
drivers: adjusted drivers to changed GPIO interface
2015-06-12 19:10:29 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Joakim Gebart
9597cfd946
drivers/cc110x: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
kushalsingh007
3dbe4cd8af
Reducing the scope of variable after running static code analyser.
...
- Part of fix for issue number 480 (variableScope)
- Suppression of warnings that are not needed.
2015-03-10 22:03:18 +05:30
Joakim Gebart
af1ddef1fb
cc110x: Acquire exclusive access to SPI bus.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Oleg Hahm
11d0a22ad7
doc: remove superfluous and erroneous @file params
2014-12-11 17:27:54 +01:00
Fabian Nack
eebfd5011a
drivers - cc110x: Initial import of new cc110x driver
2014-12-01 17:14:02 +01:00
Fabian Nack
53b0ad2be5
drivers - cc110x: rename cc110x to cc110x_legacy_csma
2014-10-28 16:18:50 +01:00
BytesGalore
469f28bf5c
added missing extern "C"
guards
2014-10-22 07:50:48 +02:00
BytesGalore
f94623ae0f
drivers: add extern "C"
to header files
2014-10-21 15:30:03 +02:00
René Kijewski
0cc699c0ce
lint: reduce scope
...
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Ludwig Ortmann
2439bd839c
doc: fix more license headers
...
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
René Kijewski
2cb4166c3e
all over the place: use sched_active_pid
...
In many places we needlessly use `sched_active_thread->pid` whilst we
already have `sched_active_pid` with the same value, and one less
indirection.
`thread_getpid()` is made `static inline` so that there is no penalty in
using this function over accessing `sched_active_pid` directly.
2014-08-17 21:04:25 +02:00
Oleg Hahm
c2b0423918
core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
...
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +02:00
Oleg Hahm
4e2640f9de
Merge pull request #1375 from OlegHahm/radio_packet_length
...
Radio packet length
2014-08-01 18:20:34 +02:00
Oleg Hahm
78237c3fba
cc110x: use radio_packet_length_t
2014-08-01 17:04:35 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Ludwig Ortmann
d55da67fb6
Merge pull request #1329 from LudwigOrtmann/riot_license
...
RIOT default license header change
2014-07-31 23:12:47 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
1200c3bc46
doc: fix comment indentation
2014-07-31 22:57:19 +02:00
Cenk Gündoğan
c0f80c7f75
converting tabs to spaces in drivers ( #1439 )
...
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:49:35 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
René Kijewski
6fae042a60
core: remove unneeded calls to mutex_init()
2014-07-29 09:33:24 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
René Kijewski
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Oleg Hahm
c8d474eae4
documentation: unified descriptive text for drivers
2014-05-24 16:06:05 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
René Kijewski
9a9caf2c68
Exterminate old-style function definitions
2014-05-12 21:57:09 +02:00
Ludwig Ortmann
91814e52ae
make: replace MAKEBASE with RIOTBASE
...
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
30b6c16512
include cc110x.h instead of deprecated interface.h
2014-02-11 13:36:40 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Christian Mehlis
331bc7e72c
cc1100-csmaca-mac.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
5e527d418f
cc1100_phy.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Oleg Hahm
b37b21c22c
use CC1100_NOBYTE consistently (fixing #129 )
2013-12-15 14:09:35 +01:00
Oleg Hahm
9817043ada
Merge pull request #375 from LudwigOrtmann/license_header_fix
...
fix grammar in license header
2013-11-26 10:55:41 -08:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Oleg Hahm
1f50d91332
making the pedantic gcc happy
2013-11-23 03:45:26 +01:00
Martin Lenders
d47907ed1a
Refactor net module to one include directory
2013-11-06 13:04:23 +01:00
Oleg Hahm
c142b40a5b
network stack related includes
2013-10-16 15:24:41 +02:00
Oleg Hahm
3e75b3828b
fixed casting of TCP flag in cc110x driver
2013-09-17 19:52:36 +02:00
Oleg Hahm
6d130a45ac
updated license headers
...
(No code changes!)
2013-08-16 10:20:23 +02:00
Oleg Hahm
39a4dc684e
fixes for #62 : eliminate unused parameter warnings
...
NOTE: this commit introduces a kernel API change for mutex_unlock
2013-08-04 04:10:33 +02:00
Oleg Hahm
f7ecc704a4
fixed includes and include pathes
2013-07-29 01:24:02 +02:00
Oliver Hahm
bf85e4902c
Merge branch 'rpl' of ssh://ukleos.org:2222/home/git/ukleos
...
Conflicts:
board/msba2-common/tools/src/control_2xxx.c
drivers/cc110x/cc1100-interface.h
projects/test_rpl/main.c
sys/include/vtimer.h
sys/net/sixlowpan/rpl/Jamfile
sys/net/sixlowpan/rpl/objective_functions.c
sys/net/sixlowpan/rpl/objective_functions.h
sys/net/sixlowpan/rpl/of0.c
sys/net/sixlowpan/rpl/of0.h
sys/net/sixlowpan/rpl/rpl.c
sys/net/sixlowpan/rpl/rpl_dodag.c
sys/net/sixlowpan/rpl/rpl_structs.h
sys/net/sixlowpan/rpl/trickle.c
sys/net/sixlowpan/sixlowmac.c
sys/vtimer/vtimer.c
2013-06-28 17:53:21 +02:00
Oliver Hahm
c8bee9e554
fixed coding style (space after most keywords)
2013-06-24 22:37:35 +02:00
Oliver Hahm
d01fd9a508
final coding convention fixes
2013-06-22 17:58:19 +02:00
Oliver Hahm
e2130fbd47
coding conventions for drivers
2013-06-21 22:36:48 +02:00
Christian Mehlis
9a3c0ab6ec
add missing &
2013-06-13 10:54:22 +02:00
Christian Mehlis
4d8783e023
use out parameter for vtimer_now
2013-06-13 10:23:47 +02:00
Oliver Hahm
3265910761
* renamed some struct members in cc110x driver to avoid naming conflicts with stm32f4discovery
2013-03-23 18:57:12 +01:00
Benjamin Valentin
4d73d17662
add Makefiles to sys/net
2013-03-16 17:27:27 +01:00
Stephan Arndt
adfc3306ab
WARNING: BROKEN COMMIT added not working etx_beaconing into rpl, added small vtimer debug changes, changed cc1100 default mode
2013-03-15 17:48:13 +01:00
Oliver Hahm
0d06e1bc18
Merge branch 'master' of github.com:RIOT-OS/RIOT
2013-03-10 16:46:46 +01:00
Oliver Hahm
7a4dec1830
* replaced new Makefile name in Makefiles
2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27
* renamed makefiles to Makefile
2013-03-09 23:45:56 +01:00
Oleg Hahm
2ed63bd5c6
* removed outdated (and probably confusing) FeuerWhere project as an author
2013-03-08 11:30:23 +01:00