nuttx/drivers/wireless
Anthony Merlino 535db0140a Merged in antmerlino/nuttx/wirelessnetdev (pull request #984)
wireless network devices: Attach radio to d_buf before registering device to handle forwarding case.

When CONFIG_NET_IPFORWARD is enabled, and CONFIG_NET_6LOWPAN is being used, a packet that attempts to get forwarded on the 6LoWPAN interface will require that the radio's buffer be attached to d_buf. Otherwise the below exception will be hit.

~line 542 of sixlowpan_framelist.c

```
      /* Recover the reassembly buffer from the driver d_buf. */

      reass = (FAR struct sixlowpan_reassbuf_s *)radio->r_dev.d_buf;
      DEBUGASSERT(reass != NULL);
```

The underlying "radio" in this case is the mac802154_netdev.

This behavior has probably not been observed because the buffer is normally attached in the periodic txpoll worker. However, in my case, the 6LoWPAN interace was not UP yet, and therefore the worker hadn't run yet.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:22:39 +00:00
..
bluetooth Squashed commit of the following: 2019-02-27 08:41:08 -06:00
ieee80211 i.MXRT USDHC: This change completes SDIO support for IMXRT, and also adds support for WiFi using the AP6212A module based on Simon Piriou's rather excellent work. The patch should also address DavidS's concern about width setting for USDHC1 & 2. 2019-07-28 16:20:33 -06:00
ieee802154 Merged in antmerlino/nuttx/wirelessnetdev (pull request #984) 2019-08-10 18:22:39 +00:00
lpwan Squashed commit of the following: 2019-05-21 18:57:54 -06:00
spirit Merged in antmerlino/nuttx/wirelessnetdev (pull request #984) 2019-08-10 18:22:39 +00:00
cc1101.c Squashed commit of the following: 2019-05-21 18:57:54 -06:00
gs2200m.c Fix typos. 2019-08-04 14:50:28 -06:00
ISM1_868MHzGFSK100kbps.c drivers/wireless: Fixes to spacing and alignement 2015-10-10 11:51:32 -06:00
ISM2_433MHzMSK500kbps.c Squashed commit of the following: 2018-03-03 08:53:51 -06:00
ISM2_905MHzGFSK250kbps.c drivers/wireless: Fixes to spacing and alignement 2015-10-10 11:51:32 -06:00
Kconfig Merged in masayuki2009/nuttx.nuttx/gs2200m_with_udp (pull request #953) 2019-07-25 05:40:06 +00:00
Make.defs Merged in masayuki2009/nuttx.nuttx/add_wireless_gs2200m (pull request #908) 2019-06-18 12:44:03 +00:00
nrf24l01.c Merged in fbraghiroli/nuttx/fix_nrf24l01 (pull request #922) 2019-06-29 16:56:57 +00:00
nrf24l01.h IOCTLS. Separate wireless character driver IOCTL commands from wireless network driver IOCTL commands. Move from wireless.h to ioctl.h. 2017-04-27 16:58:30 -06:00