Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set DHCP Option (GIT8266O-581) #1004

Open
wants to merge 2,566 commits into
base: release/v2.x.x
Choose a base branch
from
Open

Set DHCP Option (GIT8266O-581) #1004

wants to merge 2,566 commits into from

Conversation

Meinsda
Copy link

@Meinsda Meinsda commented Nov 8, 2020

how can i set a DHCP Option at the ESP? I want to create an captiveportal . That an os automatic opens the side i must offer in option 160 the url of the page. But how can i set them?

donghengqaz and others added 30 commits September 2, 2020 16:24
fix(lib): do not recv pkt send by ourself

See merge request sdk/ESP8266_RTOS_SDK!1512
 - add max connection log in softap
 - add set and get inactive time api
 - remove taskdelay after station disconnect from ap
 - refactor set and get max phy tpw api
 - fix sig test error
feat(wpa_supplicant): pmf espnow coexistance fixes

See merge request sdk/ESP8266_RTOS_SDK!1515
…p' into 'master'

feat(esp8266): support 64bit sleep time for esp_deep_sleep

See merge request sdk/ESP8266_RTOS_SDK!1516
fix(tcpip_adapter): fix crash when clientdhcp is null

See merge request sdk/ESP8266_RTOS_SDK!1518
fix(wpa_suppllicant): use sha1 in wpa_supplicant instead of sha1 in mbedtls

See merge request sdk/ESP8266_RTOS_SDK!1519
feat(tools): Add xtensa-lx106-elf toolchain url

See merge request sdk/ESP8266_RTOS_SDK!1483
feat(esp8266): Avoid to NMI calling ets_printf crash

See merge request sdk/ESP8266_RTOS_SDK!1523
feat(kconfig): Remove unused config dependence

See merge request sdk/ESP8266_RTOS_SDK!1524
- return ERR_MEM when softap power queue is full
- remove some unused code and function
- do not rewrite flash when set station config
- wait 20~40ms before close RF when station received unicast packet from ap
- set default DTIM period to 1 when ESP8266 in softap mode
- fix authmode in scan record is open when scan WPA2/WPA3 router
- add esp_wifi_set_11b_tx_plcp api for signal test
- fix baudrate is incorrect when esp_restart called
feat(lib): update lib

See merge request sdk/ESP8266_RTOS_SDK!1517
feat(dhcp): Add dhcp timeout

See merge request sdk/ESP8266_RTOS_SDK!1508
feat(lw-ip): update lw-ip from idf

See merge request sdk/ESP8266_RTOS_SDK!1521
Commit ID: 26b54231
feat(ssc): update libssc

See merge request sdk/ESP8266_RTOS_SDK!1528
donghengqaz and others added 30 commits March 10, 2023 10:37
feat(spi_flash): Add patch to fix TH25Q16HB page 0 hardware issue

See merge request sdk/ESP8266_RTOS_SDK!1670
fix(lib): fix espnow protocol on unicast which have a litter difference with IDF

See merge request sdk/ESP8266_RTOS_SDK!1672
…erver without delay

Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket

Closes espressif/esp-idf#3381
feat(httpd): Allow binding to same address and port upon restarting server without delay

See merge request sdk/ESP8266_RTOS_SDK!1675
docs(wifi): Add WPA3 support

See merge request sdk/ESP8266_RTOS_SDK!1678
fix(lib): fix the multiple country info issue

See merge request sdk/ESP8266_RTOS_SDK!1681
Update the readthedocs yaml

See merge request sdk/ESP8266_RTOS_SDK!1683
- Reason:
A task and B interrupt indirectly access the shared resource pxDelayedTaskList without proper security protection, leading to further crash.
A task uses xEventGroupSetBits() to access the pxDelayedTaskList resource:
xEventGroupSetBits() -> vTaskRemoveFromUnorderedEventList() -> uxListRemove() -> pxList, where pxList is the pxDelayedTaskList.
At this point, another B interrupt is triggered (xEventGroupSetBits only suspends task scheduling and does not disable interrupts) and also accesses the pxDelayedTaskList resource:
MacIsrSigPostDefHdl() -> __wifi_queue_send_from_isr() -> xQueueGenericSendFromISR() -> xTaskRemoveFromEventList() -> prvResetNextTaskUnblockTime() -> pxDelayedTaskList.
This leads to an unsafe access to the pxDelayedTaskList resource by two entities, causing subsequent crash exceptions.

- Fix:
Modify the timing of the call to prvResetNextTaskUnblockTime() within xTaskRemoveFromEventList from unconditional execution to only execute when task scheduling is enabled.
This way, when the B interrupt reaches xTaskRemoveFromEventList, it will not call prvResetNextTaskUnblockTime to access the pxDelayedTaskList resource (due to task scheduling being disabled).
After the B interrupt execution is complete and control returns to A task, xTaskResumeAll() will be called, and then prvResetNextTaskUnblockTime() will update the pxDelayedTaskList resource again.
fix(ESPCS-924): Fixed a potential freertos crash

See merge request sdk/ESP8266_RTOS_SDK!1684
…master'

fix(esp8266): Fix open mode RX fragment packet fail issue

See merge request sdk/ESP8266_RTOS_SDK!1686
fix(wifi): Dropped fragmented aggregated packets

See merge request sdk/ESP8266_RTOS_SDK!1688
fix(tcpip_adapter): Fixed that IPv6 DNS can not work

See merge request sdk/ESP8266_RTOS_SDK!1690
esp-tls: Add API for mbedtls to get and set ciphersuites

See merge request sdk/ESP8266_RTOS_SDK!1673
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements

See merge request sdk/ESP8266_RTOS_SDK!1692
Fix RTD building errors due to the updates in RTD side

See merge request sdk/ESP8266_RTOS_SDK!1694
fix copy paste error

See merge request sdk/ESP8266_RTOS_SDK!1695
Fixed the ssid len error issue when the ssid string does not have an end delimiter

See merge request sdk/ESP8266_RTOS_SDK!1699
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.