Commit Graph

25 Commits

Author SHA1 Message Date
Gustavo Henrique Nihei 47cb41c92f makefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Alin Jerpelea f59814e7d7 wireless: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-19 08:07:47 -08:00
Xiang Xiao 5eae32577e build: Move INCDIROPT to common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:02:55 -06:00
Gregory Nutt 5c0e8e88b1 Revert "Makefile: move INCDIROPT to common place (#625)"
This reverts commit b9ace36fcc.

This change was added by PR 625 but has a serious logic flaw.  It removes all occurrences of INCDIROPT and replaces it with a definition in tools/Config.mk:

    else ifeq ($(WINTOOL),y)
      DEFINE = "$(TOPDIR)/tools/define.sh"
      INCDIR = "$(TOPDIR)/tools/incdir.sh" -w

This logic flaw is the Config.mk is included in all Make.defs files BEFORE WINTOOL is defined.  As a result, the definition is wrong in many places when building under Cygwin with a Windows native toolchain.
2020-03-26 08:50:29 -07:00
Xiang Xiao b9ace36fcc
Makefile: move INCDIROPT to common place (#625) 2020-03-26 08:09:59 -06:00
Anthony Merlino 14fb37c995 Merged in antmerlino/nuttx/sixlowpan-mac802154 (pull request #526)
ieee802154: Simplifies notify() and rxframe() calls to a single notify() call. dataind's and all other "notifs" are now "primitives" which aligns with standard terminology

* mac802154: Adds missing breaks from case statement

* sixlowpan: Fixes bad logic where ACK is not requested if address is not a broadcast

* ieee802154: Simplification of "notifs" and "datainds" to generic primitives passed via a single notify call to the layer above the MAC

* Directories.mk should reference CONFIG_WIRELESS instead of CONFIG_DRIVERS_WIRELESS

* xbee_netdev: Network must be locked when calling sixlowpan_input

* sixlowpan: Reassembly buffer can't be freed if provided by radio driver

* sixlowpan: Don't free IOB if there is an error processing it as the MAC will try to pass it along to another receiver

* ieee802154: Adds basic logging to ieee802154_primitive.c

* Minor fixes after rebase

* xbee: Adds AT query timeout to retry if XBee doesn't respond to request

* same70-xplained: Adds Xbee support. Makes mikroBus slot Kconfig 'choice'

* mac802154: Removes unused function declaration

* drivers/mrf24j40: Fixes compilation error using . operator rather than -> operator

* mac802154_device: Changes a few mac802154_primtive_free's to ieee802154_primitive_free() and changes notif to primitive in a couple places.

* mac802154: Adds promiscous mode logic to bypass parsing of incoming frames. MAC char device also checks for promiscous mode and passes whole frames including header and FCS to the application if promiscous mode is enabled.

* sixlowpan: Fixes logic to correctly check if packet is large enough to include header.  This would cause packets to be considered too small when they are sufficiently sized.

* sixlowpan: Fixes forwarding logic to use forwarding device rather than received device to look up destination link layer address

* net/ipforward: Fixes typo that caused build error when IP forwarding was enabled with CONFIG_NET_ICMPv6_NEIGHBOR enabled as well.

* configs/same70-xplained: Simple spelling fix

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-01 20:15:21 +00:00
Anthony Merlino 609934530d ieee802154: Renames mac802154_indalloc to ieee802154_indalloc since the functions are ieee802154 scoped functions 2017-07-01 17:05:42 -04:00
Anthony Merlino 83d8a7ed8b wireless/ieee802154: Renames Kconfig option, adds option for unimplemented receiver priority. 2017-06-18 10:53:31 -04:00
Anthony Merlino e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Anthony Merlino 8ec0b71a59 wireless/ieee802154: Updates configuration settings 2017-05-14 17:59:19 -04:00
Gregory Nutt 3fcdc28a59 ieee 802.15.4: Add a pool-based memory allocator for RX frame meta-data. 2017-05-05 12:50:34 -06:00
Anthony Merlino dd40014279 wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface. 2017-05-05 11:15:38 -04:00
Gregory Nutt 0c4ff5e60b wireless/ieee802154: Add radio IOCTL helpers 2017-04-14 12:59:49 -06:00
Gregory Nutt fba8c96540 ieee802.15.4: New global functions exported by the lower MAC layer should be private to the MAC module. Function prototypes moved from include/nuttx/wireless/ieee802154/ieee802154_mac.h to wireless/ieee802154/mac802154.h 2017-04-14 11:24:40 -06:00
Gregory Nutt 83660ac30e Add configuration/build support for an IEEE802.15.4 network device. 2017-04-08 13:27:03 -06:00
Gregory Nutt 86dc312ae4 iee802154 loopback: Eliminate dependency on CONFIG_NET_LOOPBACK 2017-04-02 16:29:02 -06:00
Anthony Merlino 8df78cc74b wireless/ieee802154: Adds MAC character driver structure. Nonfunctional 2017-03-29 12:51:01 -04:00
Anthony Merlino e360492f0c wireless/ieee802154: Removes wireless path prefix from VPATH, DEPPATH 2017-03-28 16:58:18 -04:00
Gregory Nutt 95f7d4dca7 There should not be paths on C file names in wireless/ieee802154/Make.defs 2017-03-28 14:33:45 -06:00
Gregory Nutt 4c6e4b2344 Remove some garbage from wireless/Makefile 2017-03-28 14:30:46 -06:00
Anthony Merlino a702d6b638 wireless/ieee802154: Fixes build and configuration setup 2017-03-24 11:06:59 -04:00
Sebastien Lorquet b5824d0993 Merge branch 'master' into ieee 2017-03-13 16:51:05 +01:00
Gregory Nutt 430b52c977 Networking: Add registration support for integrated ieee80211 wireless drivers. Rename CONFIG_IEEE802154 to CONFIG_WIRELESS_IEEE8021514 following the convention of including the location of the configuration variable as a part of its name. 2017-03-12 12:50:41 -06:00
Sebastien Lorquet b0afc4807d synthetic commit to import ieee branch from old repo 2016-06-01 12:12:21 +02:00
Gregory Nutt 1ecb092e51 Add wireless/ieee802154 to the build 2016-02-26 17:27:58 -06:00