feat(net80211): modify esp8266 wifi api to keep consistent with esp32

This commit is contained in:
Chen Wen
2019-03-14 22:43:10 +08:00
parent 93e3a3f542
commit e0e6e8c086
3 changed files with 5 additions and 5 deletions

View File

@ -871,16 +871,16 @@ esp_err_t esp_wifi_get_event_mask(uint32_t *mask);
* the next packet is allowed to send. Otherwise, wifi_send_pkt_freedom * the next packet is allowed to send. Otherwise, wifi_send_pkt_freedom
* will return fail. * will return fail.
* *
* @param uint8 *buf : pointer of packet * @param const void *buffer: pointer of packet
* @param uint16 len : packet length * @param int len: packet length
* @param bool sys_seq : follow the system's 802.11 packets sequence number or not, * @param bool en_sys_seq: follow the system's 802.11 packets sequence number or not,
* if it is true, the sequence number will be increased 1 every * if it is true, the sequence number will be increased 1 every
* time a packet sent. * time a packet sent.
* *
* @return ESP_OK, succeed; * @return ESP_OK, succeed;
* @return ESP_FAIL, fail. * @return ESP_FAIL, fail.
*/ */
esp_err_t esp_wifi_send_pkt_freedom(uint8_t *buf, int32_t len, bool sys_seq); esp_err_t esp_wifi_80211_tx(wifi_interface_t ifx, const void *buffer, int len, bool en_sys_seq);
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -1,6 +1,6 @@
gwen: gwen:
core: 3613883 core: 3613883
net80211: df2730a net80211: c4f690c
pp: df2730a pp: df2730a
wpa: 4e2372f wpa: 4e2372f
espnow: eeb16c6 espnow: eeb16c6

BIN
components/esp8266/lib/libnet80211.a Normal file → Executable file

Binary file not shown.