]> Git Repo - esp-hosted.git/log
esp-hosted.git
6 months agoAllow to specify reset pins via DT master example
Jesse Taube [Thu, 8 Dec 2022 22:35:06 +0000 (17:35 -0500)]
Allow to specify reset pins via DT

Some people may want to define all pins in the device tree. This patch
allows to specify the reset pin via the device tree.

NOTE: For sdio the reset pin must be pulled low ~200ms before probe is called.
Or be called ~500ms after probe is called.

Signed-off-by: Jesse Taube <[email protected]>
6 months agoAllow SDIO to match on the device tree
Jesse Taube [Wed, 7 Dec 2022 21:43:07 +0000 (16:43 -0500)]
Allow SDIO to match on the device tree

This allows the SDIO driver to match on the device tree. This
is a very simple change, by only adding of_match_table to the driver
structure, but it allows the driver to be used with other boards.

Signed-off-by: Jesse Taube <[email protected]>
6 months agoAllow to specify interrupt pins for spi via module parameters
Jesse Taube [Wed, 7 Dec 2022 21:16:52 +0000 (16:16 -0500)]
Allow to specify interrupt pins for spi via module parameters

Some people may want to use different pins for
handshake and data ready interrupts. this patch allows setting them with
the module parameters.

Signed-off-by: Jesse Taube <[email protected]>
6 months agoMerge branch 'bugfix/raw_tp_reboot_crash' into 'master'
Yogesh Mantri [Wed, 3 Jul 2024 09:10:15 +0000 (17:10 +0800)]
Merge branch 'bugfix/raw_tp_reboot_crash' into 'master'

esp_hosted_ng: Fix Crash obeserved on host when esp device reboots in raw_tp mode

See merge request app-frameworks/esp_hosted!461

6 months agoesp_hosted_ng: Fix Crash obeserved on host when esp device reboots in raw_tp mode
Shreyas Sheth [Wed, 3 Jul 2024 07:27:41 +0000 (12:57 +0530)]
esp_hosted_ng: Fix Crash obeserved on host when esp device reboots in raw_tp mode

6 months agoMerge branch 'bugfix/hci_gpio_timeout' into 'master'
Yogesh Mantri [Tue, 2 Jul 2024 09:55:12 +0000 (17:55 +0800)]
Merge branch 'bugfix/hci_gpio_timeout' into 'master'

esp_hosted_ng: Fix Common esp GPIO used for WAKE UP and Uart TX

See merge request app-frameworks/esp_hosted!460

6 months agoesp_hosted_ng: Fix Common esp GPIO used for WAKE UP and BT_TX
Shreyas Sheth [Mon, 1 Jul 2024 09:29:33 +0000 (14:59 +0530)]
esp_hosted_ng: Fix Common esp GPIO used for WAKE UP and BT_TX

6 months agoMerge branch 'feature/ap_mode_support' into 'master'
Yogesh Mantri [Thu, 27 Jun 2024 20:13:39 +0000 (04:13 +0800)]
Merge branch 'feature/ap_mode_support' into 'master'

hosted_ng: initial changes for AP mode support

See merge request app-frameworks/esp_hosted!295

6 months agohosted_ng: initial changes for AP mode support
Kapil Gupta [Thu, 27 Jun 2024 20:13:39 +0000 (04:13 +0800)]
hosted_ng: initial changes for AP mode support

6 months agoMerge branch 'bugfix/softap_ssid' into 'master'
Yogesh Mantri [Wed, 26 Jun 2024 07:43:40 +0000 (15:43 +0800)]
Merge branch 'bugfix/softap_ssid' into 'master'

bugfix/softap_ssid Fixed copied SoftAP SSID and Password length

See merge request app-frameworks/esp_hosted!458

6 months agobugfix/softap_ssid Fixed copied SoftAP SSID and Password length
Soh Kam Yung [Wed, 26 Jun 2024 05:42:40 +0000 (13:42 +0800)]
bugfix/softap_ssid Fixed copied SoftAP SSID and Password length

Fixed the strncpy() length used to copy the SoftAP SSID and Password
to the req sent using wifi_start_softap().

7 months agoMerge branch 'bugfix/bt_build_linux' into 'master'
Yogesh Mantri [Wed, 5 Jun 2024 07:05:36 +0000 (15:05 +0800)]
Merge branch 'bugfix/bt_build_linux' into 'master'

esp_hosted_ng: Fix Bluetooth build failure on if HCI_PRIMARY is not defined

See merge request app-frameworks/esp_hosted!456

7 months agoesp_hosted_ng: Fix Bluetooth build failure on if HCI_PRIMARY is not defined
Giulio Benetti [Mon, 3 Jun 2024 19:53:38 +0000 (21:53 +0200)]
esp_hosted_ng: Fix Bluetooth build failure on if HCI_PRIMARY is not defined

After Linux commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=84a4bb6548a29326564f0e659fb8064503ecc1c7
BT_HS has been removed and consequently AMP controllers can't be created,
so at this point only HCI_PRIMARY has been left as unique controller type
to be created and this became implicit with no need to define if the
controller if HCI_PRIMARY or HCI_AMP. So let's assign HCI_PRIMARY only if
it's defined, otherwise do nothing.

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Shreyas Sheth <[email protected]>
8 months agoMerge branch 'bugfix/default_kconfig_options' into 'master'
Yogesh Mantri [Thu, 16 May 2024 02:45:56 +0000 (10:45 +0800)]
Merge branch 'bugfix/default_kconfig_options' into 'master'

esp_hosted_ng: Change some default options for SDIO

See merge request app-frameworks/esp_hosted!439

8 months agoesp_hosted_ng: Change some default options for SDIO
Kapil Gupta [Tue, 30 Apr 2024 07:48:50 +0000 (13:18 +0530)]
esp_hosted_ng: Change some default options for SDIO

8 months agoMerge branch 'bugfix/bt_uart_init' into 'master'
Yogesh Mantri [Thu, 16 May 2024 02:03:09 +0000 (10:03 +0800)]
Merge branch 'bugfix/bt_uart_init' into 'master'

esp_hosted_ng: Fix bt uart init in rpi_init script

See merge request app-frameworks/esp_hosted!442

8 months agoesp_hosted_ng: Fix bt uart init in rpi_init script
Shreyas Sheth [Wed, 8 May 2024 06:47:43 +0000 (12:17 +0530)]
esp_hosted_ng: Fix bt uart init in rpi_init script

8 months agoMerge branch 'bugfix/compilation_issue' into 'master'
Yogesh Mantri [Thu, 2 May 2024 09:24:15 +0000 (17:24 +0800)]
Merge branch 'bugfix/compilation_issue' into 'master'

esp_hosted_ng: Fix compilation issues

See merge request app-frameworks/esp_hosted!441

8 months agoesp_hosted_ng: Fix compilation issues
Kapil Gupta [Thu, 2 May 2024 09:14:19 +0000 (14:44 +0530)]
esp_hosted_ng: Fix compilation issues

8 months agoMerge branch 'bugfix/local_disconnect_reason' into 'master'
Yogesh Mantri [Wed, 1 May 2024 06:18:25 +0000 (14:18 +0800)]
Merge branch 'bugfix/local_disconnect_reason' into 'master'

esp_hosted_ng: Don't send dummy deauth for locally generated event

See merge request app-frameworks/esp_hosted!423

8 months agoesp_hosted_ng: Don't send dummy deauth for locally generated event
Kapil Gupta [Wed, 3 Apr 2024 11:09:49 +0000 (16:39 +0530)]
esp_hosted_ng: Don't send dummy deauth for locally generated event

8 months agoMerge branch 'feature/debugfs_interface' into 'master'
Yogesh Mantri [Tue, 30 Apr 2024 07:31:48 +0000 (15:31 +0800)]
Merge branch 'feature/debugfs_interface' into 'master'

esp_hosted_ng: Add debugfs interface and logging caps

See merge request app-frameworks/esp_hosted!432

8 months agoesp_hosted_ng: Add debugfs interface and logging caps
Kapil Gupta [Thu, 18 Apr 2024 13:20:55 +0000 (18:50 +0530)]
esp_hosted_ng: Add debugfs interface and logging caps

8 months agoMerge branch 'feature/cd_pin_support' into 'master'
Yogesh Mantri [Sat, 27 Apr 2024 03:56:09 +0000 (11:56 +0800)]
Merge branch 'feature/cd_pin_support' into 'master'

esp_hosted_ng: Add card ready pin support

See merge request app-frameworks/esp_hosted!435

8 months agoesp_hosted_ng: Add card ready pin support
Kapil Gupta [Tue, 23 Apr 2024 12:52:01 +0000 (18:22 +0530)]
esp_hosted_ng: Add card ready pin support

8 months agoMerge branch 'feat/rebase_esp_idf_v5.1.3' into 'master'
Yogesh Mantri [Fri, 26 Apr 2024 13:48:31 +0000 (21:48 +0800)]
Merge branch 'feat/rebase_esp_idf_v5.1.3' into 'master'

feat(esp_hosted_ng): Update esp-idf component to v5.1.3

See merge request app-frameworks/esp_hosted!437

8 months agofeat(esp_hosted_ng): Update esp-idf component to v5.1.3
Shreyas Sheth [Fri, 26 Apr 2024 12:31:48 +0000 (18:01 +0530)]
feat(esp_hosted_ng): Update esp-idf component to v5.1.3

8 months agoMerge branch 'feat/rebase_ng_v5.1.3' into 'master'
Yogesh Mantri [Fri, 26 Apr 2024 09:28:55 +0000 (17:28 +0800)]
Merge branch 'feat/rebase_ng_v5.1.3' into 'master'

feat(esp_hosted_ng): Rebase esp_hosted_ng on top of v5.1.3

See merge request app-frameworks/esp_hosted!425

8 months agofeat(esp_hosted_ng): Rebase esp_hosted_ng on top of IDF v5.1.3
Shreyas Sheth [Thu, 4 Apr 2024 11:12:24 +0000 (16:42 +0530)]
feat(esp_hosted_ng): Rebase esp_hosted_ng on top of IDF v5.1.3

- Resolve issue regarding to PMK caching failure

8 months agoMerge branch 'fix/spi_buff_size' into 'master'
Yogesh Mantri [Fri, 26 Apr 2024 08:21:18 +0000 (16:21 +0800)]
Merge branch 'fix/spi_buff_size' into 'master'

Small fixes

See merge request app-frameworks/esp_hosted!436

8 months agofix(fg_spi): slave rx packet size (including header) to be checked against max transp...
Yogesh Mantri [Fri, 26 Apr 2024 07:55:08 +0000 (15:55 +0800)]
fix(fg_spi): slave rx packet size (including header) to be checked against max transport size
fix(ng): remove inlining for raw throughput

9 months agoMerge branch 'fix/RPiOS202403' into 'master'
Yogesh Mantri [Wed, 17 Apr 2024 10:25:03 +0000 (18:25 +0800)]
Merge branch 'fix/RPiOS202403' into 'master'

fix/RPiOS202403 Fix Raspberry Pi OS Bookworm compilation error, update documentation

See merge request app-frameworks/esp_hosted!430

9 months agofix/RPiOS202403 Fix Raspbery Pi OS Bookworm compilation error, update documentation
Soh Kam Yung [Tue, 16 Apr 2024 06:53:03 +0000 (14:53 +0800)]
fix/RPiOS202403 Fix Raspbery Pi OS Bookworm compilation error, update documentation

- fixed class_create() compile error due to change in kernel interface

- updated code and documentation due to changes found in March 2024 Raspberry Pi OS (Bookworm):
  - change in location of config.txt
  - change in numbering of GPIOs
  - change in method used to keep CPU performance high for max SPI clock

9 months agoMerge branch 'bugfixes/github_pr' into 'master'
Yogesh Mantri [Wed, 17 Apr 2024 03:49:13 +0000 (11:49 +0800)]
Merge branch 'bugfixes/github_pr' into 'master'

esp_hosted_ng: fix build failure on Linux 6.9.0

See merge request app-frameworks/esp_hosted!431

9 months agoesp_hosted_ng: Change scan type from passive to active
Mark Deneen [Fri, 12 Apr 2024 20:03:42 +0000 (16:03 -0400)]
esp_hosted_ng: Change scan type from passive to active

Change scan type during auth phase as active scan

Signed-off-by: Mark Deneen <[email protected]>
Signed-off-by: Kapil Gupta <[email protected]>
9 months agoesp_hosted_ng: fix build failure on Linux 6.9.0
Giulio Benetti [Mon, 1 Apr 2024 15:15:19 +0000 (17:15 +0200)]
esp_hosted_ng: fix build failure on Linux 6.9.0

With Linux version starting from 6.9.0 spi_master compatibility
has been removed.

Add changes to define macros spi_master and spi_master_put()
if Linux version is >=6.9.0.

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Kapil Gupta <[email protected]>
9 months agoMerge branch 'bugfix/wow_disable_suspend_allow' into 'master'
Yogesh Mantri [Fri, 12 Apr 2024 10:03:47 +0000 (18:03 +0800)]
Merge branch 'bugfix/wow_disable_suspend_allow' into 'master'

esp_hosted_ng: Allow suspend when wow is not set

See merge request app-frameworks/esp_hosted!428

9 months agoesp_hosted_ng: Allow suspend when wow is not set
Kapil Gupta [Fri, 12 Apr 2024 10:03:47 +0000 (18:03 +0800)]
esp_hosted_ng: Allow suspend when wow is not set

9 months agoMerge branch 'feature/uid' into 'master'
Yogesh Mantri [Thu, 11 Apr 2024 10:25:10 +0000 (18:25 +0800)]
Merge branch 'feature/uid' into 'master'

feature/uid Add uid to link responses to requests

See merge request app-frameworks/esp_hosted!427

9 months agofeature/uid Add uid to link responses to requests
Soh Kam Yung [Fri, 5 Apr 2024 09:20:24 +0000 (17:20 +0800)]
feature/uid Add uid to link responses to requests

Added a uid to link responses to requests. The uid from the response
is checked against the uid of the request. If there is a mismatch,
the response is discarded. This allows the ctrl_core to discard responses
that the app may not handle, preventing a memory leak.

For example, the response timeout occurred before the response was
received. In this case, the request already got the timeout response,
and not handle the delayed response.

For backward compatability with older fw, if returned uid is 0,
UID checking is ignored.

Added req_resp_type for future use.

9 months agoMerge branch 'fix/memory_leak' into 'master'
Yogesh Mantri [Fri, 5 Apr 2024 02:33:47 +0000 (10:33 +0800)]
Merge branch 'fix/memory_leak' into 'master'

fix/memory_leak Fixed memory leak in queue

See merge request app-frameworks/esp_hosted!426

9 months agofix/memory_leak Fixed memory leak in queue
Soh Kam Yung [Fri, 5 Apr 2024 02:28:26 +0000 (10:28 +0800)]
fix/memory_leak Fixed memory leak in queue

esp_queue_destroy() did not free the contents of the node before freeing
the node.

9 months agoMerge branch 'feat/no_static_drv_handle' into 'master'
Yogesh Mantri [Thu, 4 Apr 2024 07:44:09 +0000 (15:44 +0800)]
Merge branch 'feat/no_static_drv_handle' into 'master'

feat/no_static_drv_handle Removed static serial_drv_handle in platform wrapper

See merge request app-frameworks/esp_hosted!424

9 months agofeat/no_static_drv_handle Removed static serial_drv_handle in platform wrapper
Soh Kam Yung [Thu, 4 Apr 2024 06:20:09 +0000 (14:20 +0800)]
feat/no_static_drv_handle Removed static serial_drv_handle in platform wrapper

Removed static serial_drv_handle in platform wrapper.

Added serial_drv_handle parameter to control_path_platform_init(), to be used
instead of the now removed static serial_drv_handle.

Removed extra serial_drv_open call at start of ctrl_rx_thread as esp driver now
only allows one open() request at a time.

Removed extra control_path_platform_init() calls in test and stress. Already done
in serial_if and would fail as esp driver now only allows one open() request
at a time.

9 months agoMerge branch 'feat/dump_frame_while_wakeup' into 'master'
Yogesh Mantri [Wed, 3 Apr 2024 04:13:12 +0000 (12:13 +0800)]
Merge branch 'feat/dump_frame_while_wakeup' into 'master'

feat(host_wakeup): print pkt while waking up on unicast arp req

See merge request app-frameworks/esp_hosted!422

9 months agoesp_hosted_ng: dump wakeup event packet in host
Kapil Gupta [Wed, 3 Apr 2024 03:25:28 +0000 (08:55 +0530)]
esp_hosted_ng: dump wakeup event packet in host

9 months agofeat(host_wakeup): print pkt while waking up on unicast arp req
Yogesh Mantri [Wed, 3 Apr 2024 03:01:41 +0000 (11:01 +0800)]
feat(host_wakeup): print pkt while waking up on unicast arp req

9 months agoMerge branch 'fix/backward_compatible' into 'master'
Yogesh Mantri [Tue, 2 Apr 2024 05:16:28 +0000 (13:16 +0800)]
Merge branch 'fix/backward_compatible' into 'master'

fix(ota): Remove ESP_INVALID_IF for backward compatibility and OTA

See merge request app-frameworks/esp_hosted!421

9 months agofix(ota): Remove ESP_INVALID_IF for backward compatibility and OTA
Yogesh Mantri [Tue, 2 Apr 2024 05:15:02 +0000 (13:15 +0800)]
fix(ota): Remove ESP_INVALID_IF for backward compatibility and OTA

9 months agoMerge branch 'bugfix/tkip_group_key' into 'master'
Yogesh Mantri [Mon, 1 Apr 2024 09:25:34 +0000 (17:25 +0800)]
Merge branch 'bugfix/tkip_group_key' into 'master'

esp_hosted_ng: Correct key installation for TKIP group key

See merge request app-frameworks/esp_hosted!419

9 months agoesp_hosted_ng: Correct key installation for TKIP group key
Kapil Gupta [Mon, 1 Apr 2024 08:39:55 +0000 (14:09 +0530)]
esp_hosted_ng: Correct key installation for TKIP group key

9 months agoMerge branch 'bugfix/esp32c2_spi_queue_crash' into 'master'
Yogesh Mantri [Mon, 1 Apr 2024 06:33:35 +0000 (14:33 +0800)]
Merge branch 'bugfix/esp32c2_spi_queue_crash' into 'master'

fix(esp_hosted_ng): Reduce default spi queue size for esp32c2 to avoid mem alloc failure

See merge request app-frameworks/esp_hosted!418

9 months agofix(esp_hosted_ng): Reduce default spi queue size for esp32c2 to avoid mem alloc...
Shreyas Sheth [Thu, 28 Mar 2024 07:06:36 +0000 (12:36 +0530)]
fix(esp_hosted_ng): Reduce default spi queue size for esp32c2 to avoid mem alloc failure

9 months agoMerge branch 'fix/error_messages' into 'master'
Yogesh Mantri [Mon, 25 Mar 2024 07:41:02 +0000 (15:41 +0800)]
Merge branch 'fix/error_messages' into 'master'

fix/error_messages Fixed printing of messages

See merge request app-frameworks/esp_hosted!416

9 months agofix/error_messages Fixed printing of messages
Soh Kam Yung [Mon, 25 Mar 2024 06:40:21 +0000 (14:40 +0800)]
fix/error_messages Fixed printing of messages

- missed out __func__ that should go with "%s" in printf()

9 months agoMerge branch 'feature/single_user' into 'master'
Yogesh Mantri [Fri, 22 Mar 2024 03:08:32 +0000 (11:08 +0800)]
Merge branch 'feature/single_user' into 'master'

feature/single_user Allow only one user to access serial driver

See merge request app-frameworks/esp_hosted!414

9 months agofeature/single_user Allow only one user to access serial driver
Soh Kam Yung [Tue, 19 Mar 2024 03:03:02 +0000 (11:03 +0800)]
feature/single_user Allow only one user to access serial driver

- use fcntl() to switch file access between non-blocking and blocking
  while flushing ringbuffer, remove separate open()/close() call
- count open references in serial driver and deny access if already opened
- fix memory leak when app is unable to access the serial driver
- print informative messages when app is unable to access the serial driver
- added fclose() to fix memory leak
- added async version of disable heartbeat

9 months agoMerge branch 'bugfix/wow_triggers' into 'master'
Yogesh Mantri [Wed, 20 Mar 2024 09:02:29 +0000 (17:02 +0800)]
Merge branch 'bugfix/wow_triggers' into 'master'

esp_hosted_ng: Add multiple wow trigger support

See merge request app-frameworks/esp_hosted!415

9 months agoesp_hosted_ng(host_sleep): fix build error & allow host to wake up on disconnect
Yogesh Mantri [Wed, 20 Mar 2024 07:08:30 +0000 (15:08 +0800)]
esp_hosted_ng(host_sleep): fix build error & allow host to wake up on disconnect

10 months agoesp_hosted_ng: Add multiple wow trigger support
Kapil Gupta [Tue, 19 Mar 2024 16:28:04 +0000 (21:58 +0530)]
esp_hosted_ng: Add multiple wow trigger support

10 months agoMerge branch 'feature/char_driver' into 'master'
Yogesh Mantri [Mon, 18 Mar 2024 10:54:44 +0000 (18:54 +0800)]
Merge branch 'feature/char_driver' into 'master'

feature/char_driver Changed kernel module

See merge request app-frameworks/esp_hosted!413

10 months agoAdded ref count
Soh Kam Yung [Fri, 15 Mar 2024 08:38:09 +0000 (16:38 +0800)]
Added ref count

- incremented when driver is open
- decremented when driver is released
- if ref count is zero, drop incoming Rx packets

10 months agofeature/char_driver Changed kernel module
Soh Kam Yung [Thu, 14 Mar 2024 05:30:46 +0000 (13:30 +0800)]
feature/char_driver Changed kernel module

- create and maintain serial driver /dev/esps0 from kernel module
- removed serial creation and destroy from rpi_init.sh
- closes PR #71
- closes PR #81
- closes PR #180

Co-authored-by: Yunhao Tian <[email protected]>
Co-authored-by: ljgabc <[email protected]>
Co-authored-by: David Rosen <[email protected]>
Co-authored-by: Yogesh Mantri <[email protected]>
10 months agoMerge branch 'feature/android_pthread_cancel' into 'master'
Yogesh Mantri [Wed, 13 Mar 2024 02:23:16 +0000 (10:23 +0800)]
Merge branch 'feature/android_pthread_cancel' into 'master'

feature/android_pthread_cancel Implemented pthread_cancel() for Android

See merge request app-frameworks/esp_hosted!412

10 months agofeature/android_pthread_cancel Implemented pthread_cancel() for Android
Soh Kam Yung [Wed, 13 Mar 2024 02:04:02 +0000 (10:04 +0800)]
feature/android_pthread_cancel Implemented pthread_cancel() for Android

Android does not support pthread_cancel(). As a workaround, pthread_exit()
is used to send a user defined signal to the thread to cause it to exit.

10 months agoMerge branch 'fix/fg_performance_numbers' into 'master'
Yogesh Mantri [Mon, 11 Mar 2024 03:27:07 +0000 (11:27 +0800)]
Merge branch 'fix/fg_performance_numbers' into 'master'

(doc/fg): Update ESP32-C6 throughput numbers

See merge request app-frameworks/esp_hosted!411

10 months ago(doc/fg): Update ESP32-C6 throughput numbers
Yogesh Mantri [Mon, 11 Mar 2024 03:11:25 +0000 (11:11 +0800)]
(doc/fg): Update ESP32-C6 throughput numbers

10 months agoMerge branch 'bugfix/async_timer' into 'master'
Yogesh Mantri [Thu, 29 Feb 2024 06:49:10 +0000 (14:49 +0800)]
Merge branch 'bugfix/async_timer' into 'master'

bugfix/async_timer Fix memory leak in async command implementation

See merge request app-frameworks/esp_hosted!407

10 months agobugfix/async_timer Fix memory leak in async command implementation
Soh Kam Yung [Wed, 28 Feb 2024 10:16:56 +0000 (18:16 +0800)]
bugfix/async_timer Fix memory leak in async command implementation

Stopped async timer in ctrl_async_timeout_handle() when a timeout
is triggered (no message is received). This fixes a memory leak
as subsequent async commands will reuse the async_timer_handle.

Marked periodic timers as not supported (via an assert).

10 months agoMerge branch 'feature/transport_improvements' into 'master'
Yogesh Mantri [Thu, 29 Feb 2024 03:56:16 +0000 (11:56 +0800)]
Merge branch 'feature/transport_improvements' into 'master'

feature/transport_improvements Improve throughput

See merge request app-frameworks/esp_hosted!405

10 months agofeature/transport_improvements Improve throughput
Soh Kam Yung [Mon, 26 Feb 2024 08:53:04 +0000 (16:53 +0800)]
feature/transport_improvements Improve throughput

- SDIO transport defaults to high speed (40-50 MHz SDIO clock)
  - SDIO master sets the actual SDIO clock to use. This setting means
    host can choose a clock (> 25 MHz, <= 50 MHz) if it wants to.
- copy over sdkconfig.default.esp32c6 from NG code

10 months agoMerge branch 'fix/mem_check_before_free' into 'master'
Yogesh Mantri [Thu, 29 Feb 2024 03:38:20 +0000 (11:38 +0800)]
Merge branch 'fix/mem_check_before_free' into 'master'

fix/mem_check_before_free Check that pointers are valid before freeing memory

See merge request app-frameworks/esp_hosted!408

10 months agofix/mem_check_before_free Check that pointers are valid before freeing memory
Soh Kam Yung [Thu, 29 Feb 2024 03:32:33 +0000 (11:32 +0800)]
fix/mem_check_before_free Check that pointers are valid before freeing memory

Check that pointers are valid before freeing allocated memory.

10 months agoMerge branch 'bugfix/async' into 'master'
Yogesh Mantri [Mon, 26 Feb 2024 08:58:46 +0000 (16:58 +0800)]
Merge branch 'bugfix/async' into 'master'

bugix/async Fixed async implementatin in linux code

See merge request app-frameworks/esp_hosted!404

10 months agobugix/async Fixed async implementatin in linux code
Soh Kam Yung [Mon, 26 Feb 2024 06:38:12 +0000 (14:38 +0800)]
bugix/async Fixed async implementatin in linux code

- fix crash due to using stack-local data in async callback
- fix crash due to uninitialised data in allocated timeout response structure
- added checks in script to abort script due to build errors

10 months agoMerge branch 'fix/no_async' into 'master'
Yogesh Mantri [Fri, 23 Feb 2024 07:15:25 +0000 (15:15 +0800)]
Merge branch 'fix/no_async' into 'master'

fix/no_async Change async calls to sync

See merge request app-frameworks/esp_hosted!403

10 months agofix/no_async Change async calls to sync
Soh Kam Yung [Fri, 23 Feb 2024 07:03:55 +0000 (15:03 +0800)]
fix/no_async Change async calls to sync

10 months agoMerge branch 'feature/esp_printk' into 'master'
Yogesh Mantri [Fri, 23 Feb 2024 03:02:21 +0000 (11:02 +0800)]
Merge branch 'feature/esp_printk' into 'master'

feature/esp_printk Convert printk to esp print macros, added debug levels

See merge request app-frameworks/esp_hosted!400

10 months agofeature/esp_printk Convert printk to esp print macros, added debug levels
Soh Kam Yung [Tue, 20 Feb 2024 06:47:21 +0000 (14:47 +0800)]
feature/esp_printk Convert printk to esp print macros, added debug levels

printk() in code now uses esp_err / esp_warn / esp_info / esp_debug macros

Makefile sets the debug print level.

Support ESP32 and ESP32-C6 as SDIO devices by default. No need to set from script.

Use pinctrl for GPIO control.

10 months agoMerge branch 'bugfix/get_tx_power' into 'master'
Yogesh Mantri [Wed, 21 Feb 2024 07:23:55 +0000 (15:23 +0800)]
Merge branch 'bugfix/get_tx_power' into 'master'

esp_hosted_ng: Skip updating tx power value from firmware

See merge request app-frameworks/esp_hosted!402

10 months agoesp_hosted_ng: Skip updating tx power value from firmware
Kapil Gupta [Wed, 21 Feb 2024 06:23:01 +0000 (11:53 +0530)]
esp_hosted_ng: Skip updating tx power value from firmware

10 months agoMerge branch 'bugfix/verbose_logging' into 'master'
Yogesh Mantri [Mon, 19 Feb 2024 09:02:08 +0000 (17:02 +0800)]
Merge branch 'bugfix/verbose_logging' into 'master'

esp_hosted_ng: fixed some concurrency issues

See merge request app-frameworks/esp_hosted!398

10 months agoesp_hosted_ng: fixed some concurrency issues
Kapil Gupta [Fri, 16 Feb 2024 05:15:09 +0000 (10:45 +0530)]
esp_hosted_ng: fixed some concurrency issues

Also added option for verbose logging

10 months agoMerge branch 'jcmvbkbc/fix-skb-leak-ng' into 'master'
Yogesh Mantri [Mon, 19 Feb 2024 05:52:42 +0000 (13:52 +0800)]
Merge branch 'jcmvbkbc/fix-skb-leak-ng' into 'master'

esp_hosted_ng: fix skb leak in process_rx_packet

See merge request app-frameworks/esp_hosted!399

10 months agoesp_hosted_ng: fix skb leak in process_rx_packet
Max Filippov [Mon, 19 Feb 2024 03:25:14 +0000 (19:25 -0800)]
esp_hosted_ng: fix skb leak in process_rx_packet

process_rx_packet() doesn't free the original skb when PACKET_TYPE_EAPOL
packet is processed. Add dev_kfree_skb_any(skb) calls to both success
and error paths of the PACKET_TYPE_EAPOL message processing code.
This fixes memory leaks reported by the kernel built with KMEMLEAK.

Signed-off-by: Max Filippov <[email protected]>
Signed-off-by: Kapil Gupta <[email protected]>
11 months agoMerge branch 'docfix/feature_matrix_ym2_13feb' into 'master'
Yogesh Mantri [Tue, 13 Feb 2024 05:03:05 +0000 (13:03 +0800)]
Merge branch 'docfix/feature_matrix_ym2_13feb' into 'master'

fix(doc): NG: feature matrix changes for ESP32-C6

See merge request app-frameworks/esp_hosted!397

11 months agofix(doc): NG: feature matrix changes for ESP32-C6
Yogesh Mantri [Tue, 13 Feb 2024 04:03:03 +0000 (12:03 +0800)]
fix(doc): NG: feature matrix changes for ESP32-C6

11 months agoMerge branch 'bugfix/remove_chip_specific_compilation_sdio' into 'master'
Yogesh Mantri [Thu, 1 Feb 2024 09:25:13 +0000 (17:25 +0800)]
Merge branch 'bugfix/remove_chip_specific_compilation_sdio' into 'master'

fix(esp_hosted_ng): Remove chip specific compilation for SDIO

See merge request app-frameworks/esp_hosted!394

11 months agofix(esp_hosted_ng): Remove chip specific compilation for SDIO
Kapil Gupta [Wed, 31 Jan 2024 17:04:28 +0000 (22:34 +0530)]
fix(esp_hosted_ng): Remove chip specific compilation for SDIO

11 months agoMerge branch 'bugfix/kconfig_param_iperf' into 'master'
Yogesh Mantri [Thu, 1 Feb 2024 09:23:30 +0000 (17:23 +0800)]
Merge branch 'bugfix/kconfig_param_iperf' into 'master'

esp_hosted_ng: Update Kconfig params for better wifi performance

See merge request app-frameworks/esp_hosted!393

11 months agoesp_hosted_ng: Update Kconfig params for better wifi performance
Kapil Gupta [Wed, 31 Jan 2024 10:09:45 +0000 (15:39 +0530)]
esp_hosted_ng: Update Kconfig params for better wifi performance

11 months agoMerge branch 'bugfix/github_pull_requests' into 'master'
Yogesh Mantri [Tue, 30 Jan 2024 07:57:06 +0000 (15:57 +0800)]
Merge branch 'bugfix/github_pull_requests' into 'master'

esp_hosted_ng: Merging some pull requests

See merge request app-frameworks/esp_hosted!392

11 months agofix(esp_hosted_ng): Substitute strlcpy() with strscpy()
Giulio Benetti [Mon, 29 Jan 2024 22:56:03 +0000 (23:56 +0100)]
fix(esp_hosted_ng): Substitute strlcpy() with strscpy()

Substitute strlcpy() with strscpy() as suggested in Linux:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/scripts/checkpatch.pl#n7006

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Kapil Gupta <[email protected]>
11 months agofix(esp-hosted-ng): Fix build with Linux kernel version 6.7.0
Nicolas Aguirre [Thu, 25 Jan 2024 15:01:49 +0000 (16:01 +0100)]
fix(esp-hosted-ng): Fix build with Linux kernel version 6.7.0

cfg80211_rx_assoc_resp structure has been removed and replaced by
cfg80211_rx_assoc_resp_data after this changes :
https://patchwork.kernel.org/project/linux-wireless/patch/20231012114229.2931808[email protected]/

Signed-off-by: Nicolas Aguirre <[email protected]>
Signed-off-by: Kapil Gupta <[email protected]>
11 months agoMerge branch 'doc/windows11' into 'master'
Yogesh Mantri [Tue, 30 Jan 2024 05:57:27 +0000 (13:57 +0800)]
Merge branch 'doc/windows11' into 'master'

doc/windows11 Instructions for building on Windows 11

See merge request app-frameworks/esp_hosted!391

11 months agodoc/windows11 Instructions for building on Windows 11
Soh Kam Yung [Mon, 29 Jan 2024 04:06:06 +0000 (12:06 +0800)]
doc/windows11 Instructions for building on Windows 11

Added documentation and Powershell script to setup ESP-IDF on Windows
11 using the Command Line.

11 months agoUpdate .gitlab-ci.yml file
Yogesh Mantri [Fri, 26 Jan 2024 13:57:07 +0000 (21:57 +0800)]
Update .gitlab-ci.yml file

11 months agoUpdate .gitlab-ci.yml file
Yogesh Mantri [Thu, 25 Jan 2024 21:34:53 +0000 (05:34 +0800)]
Update .gitlab-ci.yml file

11 months agoUpdate .gitlab-ci.yml file
Yogesh Mantri [Thu, 25 Jan 2024 17:18:58 +0000 (01:18 +0800)]
Update .gitlab-ci.yml file

11 months agoUpdate .gitlab-ci.yml file
Yogesh Mantri [Thu, 25 Jan 2024 16:51:26 +0000 (00:51 +0800)]
Update .gitlab-ci.yml file

This page took 0.075283 seconds and 4 git commands to generate.