Commit Graph

20 Commits

Author SHA1 Message Date
Jonathan Hui b7b085c9f9 [fuzz] advance alarm time to cover timer handlers (#3753) 2019-04-11 11:59:20 -07:00
Jonathan Hui 3b41c7ef44 [fuzz] advance alarm time to cover timer handlers (#3710) 2019-03-26 12:17:31 -07:00
Jonathan Hui aaaae937d3 [style] prefer OT_UNUSED_VARIABLE (#3696) 2019-03-19 21:17:33 -07:00
Jonathan Hui 3eb5a106ff [fuzz] process pending tasklets to increase coverage (#3617) 2019-02-22 09:00:23 -08:00
Jonathan Hui 362f97df1e [fuzz] return valid radio transmit buffer (#3549) 2019-02-04 10:52:00 -08:00
Jonathan Hui f9eb4cb517 [fuzz] add CLI UART input to fuzz tests (#3482) 2019-01-22 09:07:13 -08:00
Jonathan Hui 64e62a5314 [fuzz] add NCP UART input to fuzz tests (#3456) 2019-01-14 13:52:17 -08:00
Zhanglong Xia f8909593a9 [api] update message API to create message with priority (#3199) 2018-11-05 12:48:39 -08:00
Jonathan Hui 9d585edc46 [types] move types into specific headers (#2946) 2018-08-08 11:19:41 -07:00
Jonathan Hui 69d98d4a53 [code-style] apply clang-format 2018-02-09 21:43:42 +00:00
Jonathan Hui 741941e271 [radio] remove transmit power config from core (#2352)
Thread (and OpenThread) does not employ any form of transmit power control.
As a result, while OpenThread provides APIs to control transmit power, it
simply buffers and passes the transmit power value straight through to the
radio.

Currently, the transmit power APIs allow specifying an int8_t in units of
dBm.  This is overly constraining for platforms that have more advanced ways
of configuring the transmit power.

This commit removes the transmit power configuration from the core.  This
provides better flexibility in platform-specific ways to configure transmit
power.
2017-11-28 17:33:32 +00:00
Jonathan Hui 66a98482ed [fuzz] clean up state at the end of each iteration (#2151) 2017-08-30 22:01:16 -07:00
Jonathan Hui 5c52373c99 [fuzz] reset state on each invocation (#2130) 2017-08-23 14:45:26 -07:00
Jonathan Hui 49fb997e76 [fuzz] add initial seed corpora to radio-receive-done (#2102) 2017-08-14 13:27:34 -07:00
Shu Chen 588613ba65 [posix] add microsecond timer support (#2086) 2017-08-10 10:08:17 -07:00
Jonathan Hui 71d40a5c83 [fuzz] enable Thread protocols and set state to Leader (#2067)
This commit:

- Enables Thread-related protocols and sets the device role state to Leader
  in fuzz tests.

- Bypasses AES-CCM decryption and authentication in fuzz tests.
2017-08-04 16:06:59 -07:00
Jonathan Hui 713c709e04 [fuzz] add fuzz target for otIp6Send() (#2056) 2017-08-02 12:29:59 -07:00
Jonathan Hui 49c80937be [fuzz] fix otPlatRadioSetExtendedAddress in mock platform (#2051) 2017-08-01 11:36:00 -07:00
Jonathan Hui 5d7a03334f [radio] unify around otExtAddress type (#2029) 2017-07-28 08:05:06 -07:00
Jonathan Hui 791dd24d07 [fuzz] add support to build fuzzing targets (#2014)
This enables adding OpenThread to OSS-Fuzz.
2017-07-20 10:38:29 -07:00