mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
Merge branch 'feature/use_iram_to_upload_pbuf' into 'master'
feat(lib): use iram to upload pbuf See merge request sdk/ESP8266_RTOS_SDK!334
This commit is contained in:
45
components/esp8266/include/internal/esp_wifi_internal.h
Normal file
45
components/esp8266/include/internal/esp_wifi_internal.h
Normal file
@ -0,0 +1,45 @@
|
||||
// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef _ESP_WIFI_INTERNAL_H
|
||||
#define _ESP_WIFI_INTERNAL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
WIFI_RX_PBUF_IRAM, /** save rx buffer to iram and upload to tcpip*/
|
||||
WIFI_RX_PBUF_DRAM, /** save rx buffer to dram and upload to tcpip */
|
||||
} wifi_rx_pbuf_mem_type_t;
|
||||
|
||||
/**
|
||||
* @brief Set WIFI received TCP/IP data cache ram type
|
||||
*
|
||||
* @param type if use dram
|
||||
*/
|
||||
void esp_wifi_set_rx_pbuf_mem_type(wifi_rx_pbuf_mem_type_t type);
|
||||
|
||||
/**
|
||||
* @brief get WIFI received TCP/IP data cache ram type
|
||||
*
|
||||
* @return true if use dram or false
|
||||
*/
|
||||
wifi_rx_pbuf_mem_type_t esp_wifi_get_rx_pbuf_mem_type(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ESP_WIFI_INTERNAL_H */
|
@ -2,8 +2,8 @@ gwen:
|
||||
crypto: 8943c89
|
||||
espnow: 8943c89
|
||||
core: f59f0e0
|
||||
net80211: f59f0e0
|
||||
pp: f59f0e0
|
||||
net80211: 06e0988
|
||||
pp: 06e0988
|
||||
pwm: 0181338
|
||||
smartconfig:8d61f0e
|
||||
wpa: f59f0e0
|
||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user