Commit Graph

3387 Commits

Author SHA1 Message Date
Gregory Nutt
c27cee2a94 configs/sim/sixlowpan: Refresh configuration. 2017-06-17 07:34:35 -06:00
Anthony Merlino
ca30b6c02a wireless/ieee802154: Fixes issue with wrong information being sent in a rejected association response frame 2017-06-15 13:01:28 -04:00
Gregory Nutt
77757410c8 Remove dangling white space at the end of lines. 2017-06-15 10:46:48 -06:00
Gregory Nutt
535ea4e0f5 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-15 10:34:38 -06:00
Gregory Nutt
4a88d6a50a Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-06-15 10:32:55 -06:00
Anthony Merlino
e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Gregory Nutt
a86f46bc54 MCP1515: Eliminate some warnings 2017-06-14 09:38:58 -06:00
Gregory Nutt
23a6ff5846 pthreads: Move pthread_barrier_init, pthread_barrier_destroy, and pthread_barrier_wait from sched/pthreads to libc/pthreads. This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS. 2017-06-14 07:59:54 -06:00
Gregory Nutt
ae168bffa0 pthreads: Move pthread_cond_init and pthread_cond_destory from sched/pthreads to libc/pthreads. This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS. 2017-06-14 07:48:45 -06:00
Gregory Nutt
557fd6504f pthreads: Move pthread_once from sched/pthreads to libc/pthreads. pthread_once just coordinates other OS interface calls but is not a fundamental OS interface and, hence, does not belong within the OS. 2017-06-14 07:31:10 -06:00
Gregory Nutt
8ae5450268 pthreads: Move pthread_yield from sched/pthreads to libc/pthreads. it is a simple wrapper for sched_yield and does not belong within the OS. 2017-06-14 07:31:10 -06:00
Anthony Merlino
908d438047 WIP: wireless/ieee802154: More work on association/beacon-enabled networks 2017-06-14 02:49:32 -04:00
Juha Niskanen
e577072790 power: battery_charger: add ioctl for charging input current 2017-06-06 06:56:50 -06:00
Jussi Kivilinna
05e5841000 include/nuttx/spi/spi/h: Use of argument to SPI_SEND should be within parentheses. 2017-05-31 09:20:14 -06:00
Juha Niskanen
80cc19d6b0 drivers/input: add Cypress MBR3108 CapSense touch button driver 2017-05-31 06:31:53 -06:00
Gregory Nutt
ae17e6bcf0 Cosmetic 2017-05-30 12:04:48 -06:00
Alan Carvalho de Assis
ef53800fa9 remove pcd8544_power() comment, this function doesn't exist for this driver 2017-05-26 11:38:17 -03:00
Alan Carvalho de Assis
8df5c29857 Add driver for Nokia 5110 (Philips PCD8544) 2017-05-26 10:53:13 -03:00
Gregory Nutt
38ae28e978 MCP2515: Changes from review of last PR 2017-05-23 12:22:49 -06:00
Alan Carvalho de Assis
001919ffe9 Add CANBUS SPIDEV definition 2017-05-23 14:33:52 -03:00
Alan Carvalho de Assis
eb7373cedf Add Microchip MCP2515 CAN Bus controller driver 2017-05-23 14:28:52 -03:00
Taras Drozdovsky
4ab2a3661e STM32F4: add cs43l22 audio driver and i2s driver 2017-05-21 14:14:09 -06:00
Gregory Nutt
679a08e371 Merge remote-tracking branch 'spiriou/wapi_scan' 2017-05-21 09:25:02 -06:00
Simon Piriou
6b15c26e56 bcmf: add SIOCGIWSCAN ioctl support 2017-05-20 22:13:15 +02:00
Anthony Merlino
06634afbe0 wireless/ieee802154: Restructuring of MAC notifications. Simplifes some interfaces 2017-05-15 21:44:57 -04:00
Anthony Merlino
8ec0b71a59 wireless/ieee802154: Updates configuration settings 2017-05-14 17:59:19 -04:00
Gregory Nutt
7fd08a60a3 Move prototype from nuttx/include/nuttx/arch.h to apps/include/platform/cxxinitialize.h 2017-05-13 16:53:55 -06:00
Gregory Nutt
14ae6df182 locale.h: Add a bogus definition of locale_t 2017-05-12 10:13:18 -06:00
Gregory Nutt
7698790be1 Changes from review of last PR 2017-05-12 09:04:52 -06:00
Alan Carvalho de Assis
853d332b6c Move CAN subsystem to its own directory and put device drivers there
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Gregory Nutt
d3b9f5b37f Syslog buffering: Use IOBs to buffer data, not an on-stack buffer 2017-05-10 17:36:08 -06:00
Gregory Nutt
20727d17c3 SYSLOG: Add option to buffer SYSLOG output to avoid interleaving. 2017-05-10 14:42:43 -06:00
Juha Niskanen
4f18b40429 mtd/config: erase block between block read and write 2017-05-10 08:25:39 -06:00
Anthony Merlino
806dcd9a47 wireless/ieee802154: Brings closer to Nuttx coding style 2017-05-09 17:20:57 -04:00
Gregory Nutt
2043e1a114 IOBs: Move from driver/iob to a better location in mm/iob 2017-05-09 07:35:30 -06:00
Anthony Merlino
3fa8e32e36 wireless/ieee802154: MRF24J40: Finishes receive functionality, supports promicuous mode, and rxonidle attributes 2017-05-08 16:23:13 -04:00
Anthony Merlino
bbb85332fd wireless/ieee802154: Finishes MAC char driver read functionality 2017-05-08 16:23:13 -04:00
Anthony Merlino
2ea6bb4dc1 wireless/ieee802154: Moves ind allocator from mac802154.h to ieee802154_mac.h 2017-05-08 16:23:13 -04:00
Gregory Nutt
47793aa8f8 Update ieee802.15.4 network driver so that it compiles cleanly. 2017-05-07 08:47:48 -06:00
Anthony Merlino
a19a44ad3d wireless/ieee802154: Completes Rx data flow through MAC layer to callback 2017-05-06 10:20:19 -04:00
Anthony Merlino
1490599b69 wireless/ieee802154: Reworks data_ind allocation to include IOB allocation/deallocation. Hides private data. 2017-05-06 10:20:19 -04:00
Anthony Merlino
88fb514b42 Merged in merlin17/nuttx/ieee802154 (pull request #351)
wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-06 11:53:15 +00: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
Gregory Nutt
0eb7ec046e 6loWPAN: Use information in struct ieee802154_data_ind_s when reassembling a packet 2017-05-05 11:36:16 -06:00
Anthony Merlino
b87fac776f wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB 2017-05-05 12:44:34 -04:00
Anthony Merlino
b98ba3b6fe wireless/ieee802154: Fixes ieee802154_data_ind_s 2017-05-05 12:07:38 -04:00
Gregory Nutt
95bacb6a34 6loWPAN: Some fixed to get a clean compile after last big changes to the radio IOCTLs. 2017-05-05 10:00:18 -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
Anthony Merlino
abc15c8429 wireless/ieee802154: Finishes promiscuous mode IOCTL 2017-05-05 11:15:38 -04:00
Anthony Merlino
2c57c3f83b wireless/ieee802154: Changes rxenable at radio layer 2017-05-05 11:15:38 -04:00
Gregory Nutt
14fc1b2d39 6loWPAN: Local MAC address is fixed by the configuration. The remote address be with short or extended. 2017-05-04 19:17:38 -06:00
Anthony Merlino
8435e93fe8 Merged in merlin17/nuttx/ieee802154 (pull request #344)
wireless/ieee802154:  Simplifies some primitive prototypes

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-04 19:29:48 +00:00
Gregory Nutt
d385f46130 6loWPAN: The last vestiges of MAC header generate stripped out. 2017-05-04 13:19:11 -06:00
Gregory Nutt
1cf891bbe1 Another baby step in removing MAC knowledge from 6loWPAN. 2017-05-04 11:33:22 -06:00
Gregory Nutt
6f6e61769a 6loWPAN: Remove final references to Rime from code. 2017-05-04 09:05:41 -06:00
Gregory Nutt
969c1ab614 6loWPAN: Replace some Rime address naming with more consistent short/exended address terminology 2017-05-04 08:20:59 -06:00
Gregory Nutt
6a45afdd75 Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-04 07:11:19 -06:00
Jussi Kivilinna
afc46cb7ba fixedmath: add square root and b32_t conversion operators 2017-05-04 06:50:08 -06:00
Simon Piriou
b5e1ea4bef bcmf: fix frame not freed when dropped + cleanup 2017-05-03 23:19:28 +02:00
Anthony Merlino
ba32b65813 wireless/ieee802154: Simplifies some primitive prototypes 2017-05-03 13:26:15 -04:00
Gregory Nutt
2b8d60970b Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-05-03 11:14:59 -06:00
Gregory Nutt
cf988309aa 6loWPAN: Fixes hang in loopback test. 2017-05-03 11:13:07 -06:00
Anthony Merlino
2c2cddd44b wireless/ieee802154: Starts work on setting PIB attributes 2017-05-03 11:42:52 -04:00
Anthony Merlino
352d8260f2 Merged in merlin17/nuttx/ieee802154 (pull request #342)
Ieee802154

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-03 15:41:50 +00:00
Gregory Nutt
858685e977 6loWPAN: Changes to use new MAC interfaces. Incomplete and needs some clean-up of dangling, unused definitions. 2017-05-03 09:40:42 -06:00
Anthony Merlino
653a0217f2 wireless/ieee802154: Finishes some IOCTL logic for MAC layer 2017-05-03 10:52:25 -04:00
Gregory Nutt
0afae22638 MAC: meta data must be const to assure that it is not modified. 2017-05-03 08:01:30 -06:00
Gregory Nutt
4ec14bb2e4 6loWPAN: Add basic call path to interface with the MAC layer through the MAC network driver. Logic has not yet been implemented. This is just a structural change in preparation for additional changes. 2017-05-02 16:03:26 -06:00
Gregory Nutt
2ece0c57dd Remove dangling whitespace at the end of lines 2017-05-02 14:42:40 -06:00
Gregory Nutt
e94865a317 Merge remote-tracking branch 'origin/master' into photon 2017-05-02 08:49:19 -06:00
Simon Piriou
91b3efa706 Extend wireless.h with definitions needed by wext. 2017-05-02 08:41:13 -06:00
Anthony Merlino
f02d98d15e wireless/ieee802154: Changes transmit data path to use IOBs and exposes function for getting size of MAC header 2017-05-02 09:58:54 -04:00
Mateusz Szafoni
1feaae7222 Merged in raiden00/nuttx (pull request #338)
OPAMP support for STM32F33XX
2017-05-02 13:57:56 +00:00
Anthony Merlino
ea44684f0c Merged in merlin17/nuttx/ieee802154 (pull request #339)
Ieee802154

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-02 13:22:38 +00:00
Gregory Nutt
f7a28c09b0 Merge remote-tracking branch 'origin/master' into photon 2017-05-01 18:06:23 -06:00
Gregory Nutt
e87991bbdc Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-01 18:05:38 -06:00
Gregory Nutt
0e3438b854 clicker2-stm32: Add protected build knsh configuration. 2017-05-01 15:19:23 -06:00
Anthony Merlino
c4007a111c wireless/ieee802154: Fixes semaphore logic and list logic 2017-05-01 09:27:44 -04:00
Anthony Merlino
b1ff257215 wireless/ieee802154: Minor fixes to account for moved IOCTL definitions 2017-05-01 09:27:44 -04:00
Gregory Nutt
25e0f31637 Merge remote-tracking branch 'origin/master' into photon 2017-04-30 17:44:50 -06:00
Gregory Nutt
1a98a17204 Cosmetic 2017-04-30 17:44:29 -06:00
Gregory Nutt
e43b86dbd0 Merge remote-tracking branch 'origin/master' into photon 2017-04-30 17:42:37 -06:00
Gregory Nutt
38948fb654 ieee802.11: Bring some BSD licensed header files in from FreeBSD. 2017-04-30 17:40:10 -06:00
raiden00pl
0b6190c1c4 drivers/analog: Add basic OPAMP driver 2017-04-30 11:11:17 +02:00
Gregory Nutt
84c887f48c Update a README and some comments. 2017-04-29 15:53:23 -06:00
Gregory Nutt
a7901f5c4c Merge remote-tracking branch 'origin/master' into photon 2017-04-29 12:35:01 -06:00
Gregory Nutt
f826877c61 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-29 12:27:49 -06:00
Gregory Nutt
e9a5477506 Add an instance argument to the SPIDEV definitions. 2017-04-29 12:26:52 -06:00
Gregory Nutt
3482172a16 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-29 10:06:35 -06:00
Gregory Nutt
73c78fb690 spi.h edited online with Bitbucket 2017-04-29 15:46:37 +00:00
Gregory Nutt
4ca4d2395b Merge branch 'spidevid' 2017-04-29 09:31:34 -06:00
Gregory Nutt
bfc1b0a557 I am not sure why spi.h is still generating warnings. A few more parentheses and that seems to fix the problem 2017-04-29 09:17:41 -06:00
Gregory Nutt
11e15edfdf Change to spi.h to follow coding standard 2017-04-29 08:59:45 -06:00
Gregory Nutt
90db11494e spi.h: Eliminate a warning 2017-04-29 08:35:46 -06:00
Sebastien Lorquet
faeef8e700 Make value an uint32 before shifting 16 places left 2017-04-29 09:03:32 +02:00
Gregory Nutt
1c3d0cbbdd Add all ieee802.15.4 IOCTLs to include/sys/ioctl.h 2017-04-28 12:41:51 -06:00
Gregory Nutt
22615d0d6d Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-28 12:32:59 -06:00
Gregory Nutt
5f5c82aa11 Add all network IOCTLs to include/sys/ioctl.h 2017-04-28 12:32:03 -06:00
Sebastien Lorquet
0138a79028 bitbang 2017-04-28 18:15:42 +02:00
Sebastien Lorquet
401caf6826 add main includes 2017-04-28 18:15:29 +02:00
Gregory Nutt
f07a677360 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-27 17:16:38 -06:00
Gregory Nutt
4910e073cb Correct use of _WLIOC where _WLCIOC is required. 2017-04-27 17:16:02 -06:00
Gregory Nutt
84a79502a2 IEEE 802.15.4: Move MAC character driver IOCTL commands from ieee802154_mac.h to ieee802154_ioctl.h 2017-04-27 17:11:36 -06:00
Gregory Nutt
414516be20 IEEE 802.15.4: Move MAC character driver IOCTL commands from ieee802154_mac.h to ieee802154_ioctl.h 2017-04-27 17:11:07 -06:00
Gregory Nutt
f1aa43512a Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-27 17:00:11 -06:00
Gregory Nutt
2e6908b384 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
Anthony Merlino
9e760dcf6a wireless/ieee802154: Lots of little fixes and changes to get everything to build 2017-04-26 11:36:06 -04:00
Gregory Nutt
c5e636ad84 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-24 17:34:35 -06:00
Gregory Nutt
51f6ce7af3 Merge remote-tracking branch 'origin/master' into photon 2017-04-24 15:12:02 -06:00
Gregory Nutt
a57c79e8b3 wireless/ieee80211: Add broadcom network device registration logic. 2017-04-24 10:43:57 -06:00
Nobutaka Toyoshima
c6376006f6 sched: Fix CHILD_FLAG_EXITED in include/nuttx/sched.h
Jira: PDFW15IS-196
Jira: PDFW15IS-1109
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-24 15:08:39 +09:00
Gregory Nutt
62966d915c Merge remote-tracking branch 'origin/master' into photon 2017-04-23 10:16:54 -06:00
Simon Piriou
a76266106a photon: fix compilation errors and update wlan defconfig 2017-04-23 10:00:19 -06:00
Gregory Nutt
0ea071f7eb Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-22 11:58:07 -06:00
Gregory Nutt
7da031aea1 6loWPAN: Add IEEE802.15.4 Rime address to union of link layer addresses in the network driver. 2017-04-22 11:52:45 -06:00
Gregory Nutt
79256573e1 net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment. 2017-04-22 11:10:30 -06:00
Gregory Nutt
1d4aee87a0 6loWPAN: Separate MAC-related definitions from sixlowpan.h. Put in ieee802154.h 2017-04-22 10:33:06 -06:00
Gregory Nutt
d8e4cbcfd5 Merge remote-tracking branch 'spiriou/wlan_dev' into photon 2017-04-22 08:26:40 -06:00
Gregory Nutt
e66caaf960 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 18:40:47 -06:00
Gregory Nutt
d884958a2e Back out most of ebf05cb9f5 2017-04-21 18:37:07 -06:00
Gregory Nutt
7c6f2c3c9a Back out most of ebf05cb9f5 2017-04-21 18:31:05 -06:00
Gregory Nutt
a253e420f2 MAC IOCTLs: Eliminate a couple 'To be determined.' 2017-04-21 17:38:34 -06:00
Gregory Nutt
309f0abc14 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 16:34:10 -06:00
Gregory Nutt
d5207efb5a Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
Gregory Nutt
5d68eb6059 6loWPAN: Remove the PAN ID from the 6loWPAN data structure. This is owned by the radio driver. Rather, use an IOCTL to obtain the PAN ID from the downstream radio driver. 2017-04-21 16:23:40 -06:00
Gregory Nutt
be415489f2 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 14:18:41 -06:00
Gregory Nutt
2c4800f511 Remove the 6loWPAN PANID IOCTLs they are redundant. 2017-04-21 14:17:46 -06:00
Anthony Merlino
b1c8f008d6 wireless/ieee802154: Simplifies TX completion interface. Documents and cleans up some functions 2017-04-21 14:57:27 -04:00
Gregory Nutt
c071cde220 Cosmetic changes to some comments. 2017-04-21 12:29:38 -06:00
Gregory Nutt
9d094a28be Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 11:17:35 -06:00
Anthony Merlino
795e70a952 wireless/ieee802154: Work on packet reception at radio layer (MRF24J40) 2017-04-21 13:06:26 -04:00
Gregory Nutt
7ed8e4166b MAC header: Keep IOCTL-related structures together. 2017-04-21 10:33:24 -06:00
Jussi Kivilinna
c57d49f420 clock: Add new type ssystime_t for relative 64-bit ticks, change ticks<->time conversion functions to use ssystime_t 2017-04-21 08:51:31 -06:00
Jussi Kivilinna
325ba1a803 clock: add clock_resynchronize and use subseconds RTC
Add clock_resynchronize for better synchronization of CLOCK_REALTIME and CLOCK_MONOTONIC to match RTC after resume from low-power state.

Add up_rtc_getdatetime_with_subseconds under CONFIG_ARCH_HAVE_RTC_SUBSECONDS to allow initializing (and resynchronizing) system clock with subseconds accuracy RTC.
2017-04-21 08:45:57 -06:00
Gregory Nutt
d08b802998 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-20 16:19:42 -06:00
Gregory Nutt
bfb93338f6 Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled. 2017-04-20 16:08:49 -06:00
Gregory Nutt
bcc6b61fc1 Move include/nuttx/net/iob.h to include/drivers/iob.h; rename CONFIG_NET_IOB to CONFIG_DRIVERS_IOB 2017-04-20 14:53:30 -06:00
Gregory Nutt
9ff5e83ea7 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-19 18:07:33 -06:00
Gregory Nutt
9281cd558e 6loWPAN: Add an IOCTL to set the IEEE802.15.4 PAN ID 2017-04-19 18:06:43 -06:00
Anthony Merlino
a5d73e42cd wireless/ieee802154: Fixes radio callback arguments 2017-04-19 18:15:09 -04:00
Gregory Nutt
9a1fe0b971 ieee802154: Cosmetic changes from review of last PR. 2017-04-19 14:52:45 -06:00
Anthony Merlino
1abe4ae4da wireless/ieee802154: Starts structuring transmission completion handling 2017-04-19 16:35:02 -04:00
Ian McAfee
6a2c43b0c1 SAMV7 EMAC: Add conditional logic to account the fact that the SAMV71 has 6 rather than 3 queues after version 1. 2017-04-19 14:32:28 -06:00
Gregory Nutt
1f7b190684 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-19 13:37:38 -06:00
Gregory Nutt
50fda0d748 6loWPAN: Fix a missing source address in header. Correct calculation of payload size. 2017-04-19 13:33:20 -06:00
Anthony Merlino
37e7c67373 wireless/ieee802154: Changes radio interface to match MAC callback design 2017-04-19 13:26:44 -04:00
Gregory Nutt
dbafc0fc49 ieee802154: Purely cosmetic changes from review of last PR. 2017-04-19 09:53:32 -06:00
Anthony Merlino
de4e2d84c4 wireless/ieee802154: Simplifies MAC callback interface. Adds missing data type definitions 2017-04-19 11:30:43 -04:00
Gregory Nutt
35756d6295 ieee802.15.4: Cosmetic changes from review of last PR. 2017-04-18 14:25:23 -06:00