1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

48 Commits

Author SHA1 Message Date
c1874c8d89 all: add missing limits.h includes
Removal of kernel_types.h make these necessary.
2020-11-25 17:52:34 +01:00
benpicco
9681c204d6
Merge pull request #14959 from benpicco/at86rf215-mr-fsk
drivers/at86rf215: implement MR-FSK
2020-11-03 11:26:24 +01:00
Bas Stottelaar
80d9da90df sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros 2020-10-13 13:32:53 +02:00
Benjamin Valentin
471e81d544 ieee802154: add definitions & config options for MR-FSK 2020-09-07 15:40:56 +02:00
Akshai M
b52e3e1587 net/netif : Move 'NETIF_NAMELENMAX' to 'CONFIG_' 2020-08-03 16:09:21 +05:30
Akshai M
caab4cd8c5 net/l2filter : Move 'L2FILTER_LISTSIZE' to 'CONFIG_' 2020-07-22 00:26:09 +05:30
Akshai M
0d52f81935 net/l2filter : Move 'L2FILTER_ADDR_MAXLEN' to 'CONFIG_' 2020-07-22 00:26:09 +05:30
Martine S. Lenders
e923d5dbd8
sc_gnrc_netif: fix whitespaces in output
Originally, the options and flags in the `netif` shell output were
separated by two spaces. For later added flags this is not the case,
making the parsing of those flags and options hard to impossible.

This change adds those missing spaces + comments so it might not happen
again in the future.
2020-07-07 12:24:40 +02:00
Gunar Schorcht
c95ebb63b4 sys/net: add NETOPT_RSSI for wireless channels 2020-06-26 12:33:38 +02:00
Benjamin Valentin
25a34a1897 ieee802154: add definitions & config options for MR-OFDM
Define options for IEEE 802.15.4g MR-OFDM as well as shell commands
to set them via ifconfig.
2020-06-03 15:58:50 +02:00
Benjamin Valentin
6ce0092982 shell/sc_gnrc_netif: fix vera++ errors 2020-04-29 10:41:37 +02:00
Benjamin Valentin
c77119957f shell/sc_gnrc_netif: fix space after NID
All option have a space behind them. This fixes the formatting of the
NID parameter if there are options after it.
2020-04-29 10:41:37 +02:00
Benjamin Valentin
fac35644d0 ieee802154: add definitions & config options for MR-O-QPSK
Define options for IEEE 802.15.4g MR-O-QPSK as well as shell commands
to set them via ifconfig.
2020-04-29 10:41:37 +02:00
Gunar Schorcht
8a1cfd99da sys/shell: fix ifconfig command for NETOPT_LINK 2020-03-30 09:01:21 +02:00
Jose Alamos
6143cd800b gnrc_netif: use gnrc_netif_send where possible 2020-03-06 15:22:58 +01:00
PeterKietzmann
9e83d12bc0 net/gnrc/netif: Move GNRC_NETIF_IPV6_ADDRS_NUMOF to 'CONFIG_' namespace 2020-01-13 12:28:37 +01:00
Francisco
dcc5299682
Merge pull request #10667 from miri64/gnrc_sixloenc/enh/6lo-config
gnrc_netif: make 6LoENC dynamically configurable
2020-01-06 13:19:24 +01:00
Hauke Petersen
cea260bb4f shell/sc_gnrc_netif: use fmt_is_number() 2019-12-05 15:39:25 +01:00
Leandro Lanzieri
5481124d86 shell/gnrc_netif: Use netif API 2019-11-29 10:22:00 +01:00
MichelRottleuthner
bf676d4728
Merge pull request #11022 from jia200x/pr/gnrc_lorawan
gnrc_lorawan: add support for GNRC based LoRaWAN stack
2019-11-27 09:25:20 +01:00
Jose Alamos
b3593e58cb sc_netif: add lorawan config commands to shell 2019-11-26 21:52:06 +01:00
Leandro Lanzieri
39984b1f51 shell/gnrc_netif: Use ipv6_addr_split_int for prefix 2019-11-15 14:35:30 +01:00
Martine Lenders
1c7e1c9efd shell_commands/sc_gnrc_netif: set 6Lo flag 2019-10-30 17:10:34 +01:00
Jose Alamos
f38a786108 sc_gnrc_netif: implement link command 2019-10-30 13:13:06 +01:00
Benjamin Valentin
2ff7c474b7 shell_commands: gnrc_netif: print correct scope for IPv6 addr
Previously `ifconfig` would only know link-local addresses
(printed as 'local') and everything else would be 'global'.

This is wrong for site-local and unique local addresses which were
also denoted as global.

So use the already existing helper functions to determine the correct
type of IPv6 address when printing.
2019-10-21 14:47:34 +02:00
Benjamin Valentin
c31e373214 shell_commands: gnrc_netif: only include LoRA options when LoRA PHY is present
If no LoRA module is used, there is no use in compiling in all the config options
for LoRA PHYs.

This saves about 1k of .text
2019-09-24 17:14:03 +02:00
Benjamin Valentin
e8dc1119b8 sys: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Martine S. Lenders
299c1a2959 shell_commands: fix regression to ifconfig introduced in #10350
The indentation of `ifconfig` is currently broken, due to an attempt to
fix some `scan-build` errors.
2019-06-26 10:30:26 +02:00
Martine Lenders
2cb0ccc800 shell_commands: gnrc_netif: fix _newline() handling 2019-06-20 16:18:23 +02:00
Marian Buschsieweke
aaacd16248
sys/shell: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
Updated the ifconfig shell command to use NETOPT_MAX_PDU_SIZE instead of the
deprecated NETOPT_MAX_PACKET_SIZE
2019-02-18 20:18:48 +01:00
Peter Kietzmann
b927c6ffa6
Merge pull request #10923 from maribu/ifconfig_l2pdu
shell/ifconfig: Add L2-PDU info
2019-02-04 08:55:32 +01:00
Marian Buschsieweke
996a837fff
shell/ifconfig: Add L2-PDU info
When IPv6 is enabled, the MTU is given. So users(*) sending IPv6 packets can
easily figure out what the supported maximum protocol unit is.

However, when IPv6 is disabled and a user wants to send layer 2 frames directly,
no information about the maximum PDU is available using the shell.

When 6LoWPAN is used, a user may be interested in the layer 2 PDU as well in
order to avoid layer 2 fragmentation.

This PR adds the L2-PDU info to the output of the ifconfig shell command, which
is printed regardless of the use of IPv6.

(*): Here "users" refers to human beings interacting with the shell.
Applications can get the maximum PDU of each layer more easily using
gnrc_netapi_get() with NETOPT_MAX_PACKET_SIZE instead of using a shell command.
2019-02-01 16:55:16 +01:00
Marian Buschsieweke
0351577e18
shell/ifconfig: Fixed stringification 2019-02-01 16:22:37 +01:00
Martine Lenders
e88abc49b8 shell_commands/sc_gnrc_netif: get 6Lo flag 2019-01-03 16:21:52 +01:00
Martine Lenders
e4a922260e shell_commands/ifconfig: mark TENTATIVE addresses correctly 2018-12-04 15:53:46 +01:00
05b6af466c sys: add missig <string.h> includes 2018-09-20 23:47:40 +02:00
Bas Stottelaar
7781da7799 sys: netopt: add busy option 2018-05-21 16:37:38 +02:00
Bas Stottelaar
02395e593d sys: netopt: add checksum option 2018-05-21 16:37:38 +02:00
Martine Lenders
ce807173ff
Merge pull request #8601 from bergzand/pr/netopt-link-status
netopt/drivers: Add phy link status output
2018-03-18 15:25:01 +00:00
9d61314c09
shell/netif: Add link status to interface status output 2018-03-18 15:32:40 +01:00
4ec8f4c2fc sys: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
d4d18d99af sys/shell: adapt ifconfig to work with sx127x devices 2017-12-14 16:13:39 +01:00
PeterKietzmann
4bd1d0ec9f shell/netif: extend set state option 2017-12-13 15:26:03 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
smlng
b455eece85 shell, neitf: fix output 2017-11-27 13:20:03 +01:00
20d050a42e shell_commands: Add multicast groups to ifconfig command 2017-11-19 22:32:47 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00